From 9e47e80e9f82e09b2517c68c0d4bd0eefed95841 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Aug 2022 15:08:13 +0000 Subject: [PATCH 01/20] chore(main): release 3.2.1-SNAPSHOT (#1019) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-aiplatform-bom/pom.xml | 12 ++++++------ google-cloud-aiplatform/pom.xml | 4 ++-- grpc-google-cloud-aiplatform-v1/pom.xml | 4 ++-- grpc-google-cloud-aiplatform-v1beta1/pom.xml | 4 ++-- pom.xml | 12 ++++++------ proto-google-cloud-aiplatform-v1/pom.xml | 4 ++-- proto-google-cloud-aiplatform-v1beta1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 10 +++++----- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/google-cloud-aiplatform-bom/pom.xml b/google-cloud-aiplatform-bom/pom.xml index 9de136298..25b284ee0 100644 --- a/google-cloud-aiplatform-bom/pom.xml +++ b/google-cloud-aiplatform-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-aiplatform-bom - 3.2.0 + 3.2.1-SNAPSHOT pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-aiplatform - 3.2.0 + 3.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.2.0 + 3.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.18.0 + 0.18.1-SNAPSHOT com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.2.0 + 3.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.18.0 + 0.18.1-SNAPSHOT diff --git a/google-cloud-aiplatform/pom.xml b/google-cloud-aiplatform/pom.xml index 6f4d367f6..a7afed60e 100644 --- a/google-cloud-aiplatform/pom.xml +++ b/google-cloud-aiplatform/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-aiplatform - 3.2.0 + 3.2.1-SNAPSHOT jar Google Cloud Vertex AI https://github.com/googleapis/java-aiplatform @@ -11,7 +11,7 @@ com.google.cloud google-cloud-aiplatform-parent - 3.2.0 + 3.2.1-SNAPSHOT google-cloud-aiplatform diff --git a/grpc-google-cloud-aiplatform-v1/pom.xml b/grpc-google-cloud-aiplatform-v1/pom.xml index 6da0b45cd..10a75afb4 100644 --- a/grpc-google-cloud-aiplatform-v1/pom.xml +++ b/grpc-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.2.0 + 3.2.1-SNAPSHOT grpc-google-cloud-aiplatform-v1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.0 + 3.2.1-SNAPSHOT diff --git a/grpc-google-cloud-aiplatform-v1beta1/pom.xml b/grpc-google-cloud-aiplatform-v1beta1/pom.xml index 6eb70e6e7..6bac3584f 100644 --- a/grpc-google-cloud-aiplatform-v1beta1/pom.xml +++ b/grpc-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.18.0 + 0.18.1-SNAPSHOT grpc-google-cloud-aiplatform-v1beta1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.0 + 3.2.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index f4ae39d65..83fe949db 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-aiplatform-parent pom - 3.2.0 + 3.2.1-SNAPSHOT Google Cloud Vertex AI Parent https://github.com/googleapis/java- @@ -61,27 +61,27 @@ com.google.cloud google-cloud-aiplatform - 3.2.0 + 3.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.2.0 + 3.2.1-SNAPSHOT com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.18.0 + 0.18.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.2.0 + 3.2.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.18.0 + 0.18.1-SNAPSHOT com.google.cloud diff --git a/proto-google-cloud-aiplatform-v1/pom.xml b/proto-google-cloud-aiplatform-v1/pom.xml index d0e780b63..3751a7325 100644 --- a/proto-google-cloud-aiplatform-v1/pom.xml +++ b/proto-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.2.0 + 3.2.1-SNAPSHOT proto-google-cloud-aiplatform-v1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.0 + 3.2.1-SNAPSHOT diff --git a/proto-google-cloud-aiplatform-v1beta1/pom.xml b/proto-google-cloud-aiplatform-v1beta1/pom.xml index 86b21e12f..9c36466d0 100644 --- a/proto-google-cloud-aiplatform-v1beta1/pom.xml +++ b/proto-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.18.0 + 0.18.1-SNAPSHOT proto-google-cloud-aiplatform-v1beta1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.0 + 3.2.1-SNAPSHOT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9342ad131..396871198 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-aiplatform - 3.2.0 + 3.2.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index b551c91c2..2213f2e5e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-aiplatform:3.2.0:3.2.0 -grpc-google-cloud-aiplatform-v1:3.2.0:3.2.0 -grpc-google-cloud-aiplatform-v1beta1:0.18.0:0.18.0 -proto-google-cloud-aiplatform-v1:3.2.0:3.2.0 -proto-google-cloud-aiplatform-v1beta1:0.18.0:0.18.0 +google-cloud-aiplatform:3.2.0:3.2.1-SNAPSHOT +grpc-google-cloud-aiplatform-v1:3.2.0:3.2.1-SNAPSHOT +grpc-google-cloud-aiplatform-v1beta1:0.18.0:0.18.1-SNAPSHOT +proto-google-cloud-aiplatform-v1:3.2.0:3.2.1-SNAPSHOT +proto-google-cloud-aiplatform-v1beta1:0.18.0:0.18.1-SNAPSHOT From cf79830711e635b4d9cf21c273d15d7e44a02105 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 16 Aug 2022 17:04:14 +0000 Subject: [PATCH 02/20] feat: add WriteFeatureValues in aiplatform v1beta1 featurestore_online_service.proto (#1022) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 467107520 Source-Link: https://github.com/googleapis/googleapis/commit/0dd98150b55b1dfabc0d63ecc1984286aa82b73d Source-Link: https://github.com/googleapis/googleapis-gen/commit/03d96fd2965824e0fe50b136c1babe0e5c3c5f57 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDNkOTZmZDI5NjU4MjRlMGZlNTBiMTM2YzFiYWJlMGU1YzNjNWY1NyJ9 --- README.md | 4 +- ...eaturestoreOnlineServingServiceClient.java | 147 ++ ...turestoreOnlineServingServiceSettings.java | 13 + .../aiplatform/v1beta1/gapic_metadata.json | 3 + .../FeaturestoreOnlineServingServiceStub.java | 7 + ...storeOnlineServingServiceStubSettings.java | 28 + ...cFeaturestoreOnlineServingServiceStub.java | 38 + ...restoreOnlineServingServiceClientTest.java | 78 + ...kFeaturestoreOnlineServingServiceImpl.java | 22 + .../FeaturestoreOnlineServingServiceGrpc.java | 139 ++ .../FeaturestoreOnlineServiceProto.java | 214 ++- .../v1beta1/WriteFeatureValuesPayload.java | 1061 ++++++++++++++ .../WriteFeatureValuesPayloadOrBuilder.java | 136 ++ .../v1beta1/WriteFeatureValuesRequest.java | 1270 +++++++++++++++++ .../WriteFeatureValuesRequestOrBuilder.java | 130 ++ .../v1beta1/WriteFeatureValuesResponse.java | 465 ++++++ .../WriteFeatureValuesResponseOrBuilder.java | 24 + .../v1beta1/featurestore_online_service.proto | 49 + 18 files changed, 3752 insertions(+), 76 deletions(-) create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayload.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayloadOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequestOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponseOrBuilder.java diff --git a/README.md b/README.md index 62e7a01ee..2b85af9b6 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,13 @@ implementation 'com.google.cloud:google-cloud-aiplatform' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.1.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.2.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.2.0" ``` ## Authentication diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java index 19208a11a..0135bb4b3 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java @@ -335,6 +335,153 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques return stub.streamingReadFeatureValuesCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes Feature values of one or more entities of an EntityType. + * + *

The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
+   *     FeaturestoreOnlineServingServiceClient.create()) {
+   *   EntityTypeName entityType =
+   *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
+   *   List payloads = new ArrayList<>();
+   *   WriteFeatureValuesResponse response =
+   *       featurestoreOnlineServingServiceClient.writeFeatureValues(entityType, payloads);
+   * }
+   * }
+ * + * @param entityType Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, for a machine learning model + * predicting user clicks on a website, an EntityType ID could be `user`. + * @param payloads Required. The entities to be written. Up to 100,000 feature values can be + * written across all `payloads`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WriteFeatureValuesResponse writeFeatureValues( + EntityTypeName entityType, List payloads) { + WriteFeatureValuesRequest request = + WriteFeatureValuesRequest.newBuilder() + .setEntityType(entityType == null ? null : entityType.toString()) + .addAllPayloads(payloads) + .build(); + return writeFeatureValues(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes Feature values of one or more entities of an EntityType. + * + *

The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
+   *     FeaturestoreOnlineServingServiceClient.create()) {
+   *   String entityType =
+   *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+   *           .toString();
+   *   List payloads = new ArrayList<>();
+   *   WriteFeatureValuesResponse response =
+   *       featurestoreOnlineServingServiceClient.writeFeatureValues(entityType, payloads);
+   * }
+   * }
+ * + * @param entityType Required. The resource name of the EntityType for the entities being written. + * Value format: `projects/{project}/locations/{location}/featurestores/ + * {featurestore}/entityTypes/{entityType}`. For example, for a machine learning model + * predicting user clicks on a website, an EntityType ID could be `user`. + * @param payloads Required. The entities to be written. Up to 100,000 feature values can be + * written across all `payloads`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WriteFeatureValuesResponse writeFeatureValues( + String entityType, List payloads) { + WriteFeatureValuesRequest request = + WriteFeatureValuesRequest.newBuilder() + .setEntityType(entityType) + .addAllPayloads(payloads) + .build(); + return writeFeatureValues(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes Feature values of one or more entities of an EntityType. + * + *

The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
+   *     FeaturestoreOnlineServingServiceClient.create()) {
+   *   WriteFeatureValuesRequest request =
+   *       WriteFeatureValuesRequest.newBuilder()
+   *           .setEntityType(
+   *               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+   *                   .toString())
+   *           .addAllPayloads(new ArrayList())
+   *           .build();
+   *   WriteFeatureValuesResponse response =
+   *       featurestoreOnlineServingServiceClient.writeFeatureValues(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WriteFeatureValuesResponse writeFeatureValues(WriteFeatureValuesRequest request) { + return writeFeatureValuesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes Feature values of one or more entities of an EntityType. + * + *

The Feature values are merged into existing entities if any. The Feature values to be + * written must have timestamp within the online storage retention. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
+   *     FeaturestoreOnlineServingServiceClient.create()) {
+   *   WriteFeatureValuesRequest request =
+   *       WriteFeatureValuesRequest.newBuilder()
+   *           .setEntityType(
+   *               EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
+   *                   .toString())
+   *           .addAllPayloads(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       featurestoreOnlineServingServiceClient.writeFeatureValuesCallable().futureCall(request);
+   *   // Do something.
+   *   WriteFeatureValuesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + writeFeatureValuesCallable() { + return stub.writeFeatureValuesCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java index 553ef04ee..f249827bc 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java @@ -99,6 +99,13 @@ public class FeaturestoreOnlineServingServiceSettings .streamingReadFeatureValuesSettings(); } + /** Returns the object with the settings used for calls to writeFeatureValues. */ + public UnaryCallSettings + writeFeatureValuesSettings() { + return ((FeaturestoreOnlineServingServiceStubSettings) getStubSettings()) + .writeFeatureValuesSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -241,6 +248,12 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().streamingReadFeatureValuesSettings(); } + /** Returns the builder for the settings used for calls to writeFeatureValues. */ + public UnaryCallSettings.Builder + writeFeatureValuesSettings() { + return getStubSettingsBuilder().writeFeatureValuesSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json index a50c2f33b..929f61958 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json @@ -171,6 +171,9 @@ }, "TestIamPermissions": { "methods": ["testIamPermissions", "testIamPermissionsCallable"] + }, + "WriteFeatureValues": { + "methods": ["writeFeatureValues", "writeFeatureValues", "writeFeatureValues", "writeFeatureValuesCallable"] } } } diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStub.java index b23bedfb9..86c84612f 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStub.java @@ -25,6 +25,8 @@ import com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest; import com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse; import com.google.cloud.aiplatform.v1beta1.StreamingReadFeatureValuesRequest; +import com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest; +import com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -57,6 +59,11 @@ public abstract class FeaturestoreOnlineServingServiceStub implements Background "Not implemented: streamingReadFeatureValuesCallable()"); } + public UnaryCallable + writeFeatureValuesCallable() { + throw new UnsupportedOperationException("Not implemented: writeFeatureValuesCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java index 3e43a1164..425e37ecc 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java @@ -44,6 +44,8 @@ import com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest; import com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse; import com.google.cloud.aiplatform.v1beta1.StreamingReadFeatureValuesRequest; +import com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest; +import com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -111,6 +113,8 @@ public class FeaturestoreOnlineServingServiceStubSettings private final ServerStreamingCallSettings< StreamingReadFeatureValuesRequest, ReadFeatureValuesResponse> streamingReadFeatureValuesSettings; + private final UnaryCallSettings + writeFeatureValuesSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -185,6 +189,12 @@ public ApiFuture getFuturePagedResponse( return streamingReadFeatureValuesSettings; } + /** Returns the object with the settings used for calls to writeFeatureValues. */ + public UnaryCallSettings + writeFeatureValuesSettings() { + return writeFeatureValuesSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -292,6 +302,7 @@ protected FeaturestoreOnlineServingServiceStubSettings(Builder settingsBuilder) readFeatureValuesSettings = settingsBuilder.readFeatureValuesSettings().build(); streamingReadFeatureValuesSettings = settingsBuilder.streamingReadFeatureValuesSettings().build(); + writeFeatureValuesSettings = settingsBuilder.writeFeatureValuesSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); @@ -308,6 +319,8 @@ public static class Builder private final ServerStreamingCallSettings.Builder< StreamingReadFeatureValuesRequest, ReadFeatureValuesResponse> streamingReadFeatureValuesSettings; + private final UnaryCallSettings.Builder + writeFeatureValuesSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -355,6 +368,7 @@ protected Builder(ClientContext clientContext) { readFeatureValuesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); streamingReadFeatureValuesSettings = ServerStreamingCallSettings.newBuilder(); + writeFeatureValuesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -364,6 +378,7 @@ protected Builder(ClientContext clientContext) { unaryMethodSettingsBuilders = ImmutableList.>of( readFeatureValuesSettings, + writeFeatureValuesSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -377,6 +392,7 @@ protected Builder(FeaturestoreOnlineServingServiceStubSettings settings) { readFeatureValuesSettings = settings.readFeatureValuesSettings.toBuilder(); streamingReadFeatureValuesSettings = settings.streamingReadFeatureValuesSettings.toBuilder(); + writeFeatureValuesSettings = settings.writeFeatureValuesSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); @@ -386,6 +402,7 @@ protected Builder(FeaturestoreOnlineServingServiceStubSettings settings) { unaryMethodSettingsBuilders = ImmutableList.>of( readFeatureValuesSettings, + writeFeatureValuesSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -417,6 +434,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_13_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_13_params")); + builder + .writeFeatureValuesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -473,6 +495,12 @@ public Builder applyToAllUnaryMethods( return streamingReadFeatureValuesSettings; } + /** Returns the builder for the settings used for calls to writeFeatureValues. */ + public UnaryCallSettings.Builder + writeFeatureValuesSettings() { + return writeFeatureValuesSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcFeaturestoreOnlineServingServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcFeaturestoreOnlineServingServiceStub.java index a54e18972..5224b7f49 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcFeaturestoreOnlineServingServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcFeaturestoreOnlineServingServiceStub.java @@ -29,6 +29,8 @@ import com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest; import com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse; import com.google.cloud.aiplatform.v1beta1.StreamingReadFeatureValuesRequest; +import com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest; +import com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -81,6 +83,18 @@ public class GrpcFeaturestoreOnlineServingServiceStub extends FeaturestoreOnline ProtoUtils.marshaller(ReadFeatureValuesResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor + writeFeatureValuesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService/WriteFeatureValues") + .setRequestMarshaller( + ProtoUtils.marshaller(WriteFeatureValuesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(WriteFeatureValuesResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -132,6 +146,8 @@ public class GrpcFeaturestoreOnlineServingServiceStub extends FeaturestoreOnline private final ServerStreamingCallable< StreamingReadFeatureValuesRequest, ReadFeatureValuesResponse> streamingReadFeatureValuesCallable; + private final UnaryCallable + writeFeatureValuesCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -211,6 +227,17 @@ protected GrpcFeaturestoreOnlineServingServiceStub( return params.build(); }) .build(); + GrpcCallSettings + writeFeatureValuesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(writeFeatureValuesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("entity_type", String.valueOf(request.getEntityType())); + return params.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -273,6 +300,11 @@ protected GrpcFeaturestoreOnlineServingServiceStub( streamingReadFeatureValuesTransportSettings, settings.streamingReadFeatureValuesSettings(), clientContext); + this.writeFeatureValuesCallable = + callableFactory.createUnaryCallable( + writeFeatureValuesTransportSettings, + settings.writeFeatureValuesSettings(), + clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -314,6 +346,12 @@ public GrpcOperationsStub getOperationsStub() { return streamingReadFeatureValuesCallable; } + @Override + public UnaryCallable + writeFeatureValuesCallable() { + return writeFeatureValuesCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClientTest.java index e03ad0931..5294e2fac 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClientTest.java @@ -242,6 +242,84 @@ public void streamingReadFeatureValuesExceptionTest() throws Exception { } } + @Test + public void writeFeatureValuesTest() throws Exception { + WriteFeatureValuesResponse expectedResponse = WriteFeatureValuesResponse.newBuilder().build(); + mockFeaturestoreOnlineServingService.addResponse(expectedResponse); + + EntityTypeName entityType = + EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"); + List payloads = new ArrayList<>(); + + WriteFeatureValuesResponse actualResponse = client.writeFeatureValues(entityType, payloads); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeaturestoreOnlineServingService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + WriteFeatureValuesRequest actualRequest = ((WriteFeatureValuesRequest) actualRequests.get(0)); + + Assert.assertEquals(entityType.toString(), actualRequest.getEntityType()); + Assert.assertEquals(payloads, actualRequest.getPayloadsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void writeFeatureValuesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeaturestoreOnlineServingService.addException(exception); + + try { + EntityTypeName entityType = + EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]"); + List payloads = new ArrayList<>(); + client.writeFeatureValues(entityType, payloads); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void writeFeatureValuesTest2() throws Exception { + WriteFeatureValuesResponse expectedResponse = WriteFeatureValuesResponse.newBuilder().build(); + mockFeaturestoreOnlineServingService.addResponse(expectedResponse); + + String entityType = "entityType-1482998339"; + List payloads = new ArrayList<>(); + + WriteFeatureValuesResponse actualResponse = client.writeFeatureValues(entityType, payloads); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockFeaturestoreOnlineServingService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + WriteFeatureValuesRequest actualRequest = ((WriteFeatureValuesRequest) actualRequests.get(0)); + + Assert.assertEquals(entityType, actualRequest.getEntityType()); + Assert.assertEquals(payloads, actualRequest.getPayloadsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void writeFeatureValuesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockFeaturestoreOnlineServingService.addException(exception); + + try { + String entityType = "entityType-1482998339"; + List payloads = new ArrayList<>(); + client.writeFeatureValues(entityType, payloads); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockFeaturestoreOnlineServingServiceImpl.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockFeaturestoreOnlineServingServiceImpl.java index 0f579326b..150dea11f 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockFeaturestoreOnlineServingServiceImpl.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockFeaturestoreOnlineServingServiceImpl.java @@ -102,4 +102,26 @@ public void streamingReadFeatureValues( Exception.class.getName()))); } } + + @Override + public void writeFeatureValues( + WriteFeatureValuesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof WriteFeatureValuesResponse) { + requests.add(request); + responseObserver.onNext(((WriteFeatureValuesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method WriteFeatureValues, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + WriteFeatureValuesResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java index cdc61ecef..9c6001aa0 100644 --- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java +++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceGrpc.java @@ -141,6 +141,58 @@ private FeaturestoreOnlineServingServiceGrpc() {} return getStreamingReadFeatureValuesMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse> + getWriteFeatureValuesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "WriteFeatureValues", + requestType = com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse> + getWriteFeatureValuesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse> + getWriteFeatureValuesMethod; + if ((getWriteFeatureValuesMethod = + FeaturestoreOnlineServingServiceGrpc.getWriteFeatureValuesMethod) + == null) { + synchronized (FeaturestoreOnlineServingServiceGrpc.class) { + if ((getWriteFeatureValuesMethod = + FeaturestoreOnlineServingServiceGrpc.getWriteFeatureValuesMethod) + == null) { + FeaturestoreOnlineServingServiceGrpc.getWriteFeatureValuesMethod = + getWriteFeatureValuesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFeatureValues")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FeaturestoreOnlineServingServiceMethodDescriptorSupplier( + "WriteFeatureValues")) + .build(); + } + } + } + return getWriteFeatureValuesMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static FeaturestoreOnlineServingServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -227,6 +279,24 @@ public void streamingReadFeatureValues( getStreamingReadFeatureValuesMethod(), responseObserver); } + /** + * + * + *
+     * Writes Feature values of one or more entities of an EntityType.
+     * The Feature values are merged into existing entities if any. The Feature
+     * values to be written must have timestamp within the online storage
+     * retention.
+     * 
+ */ + public void writeFeatureValues( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getWriteFeatureValuesMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -244,6 +314,13 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.cloud.aiplatform.v1beta1.StreamingReadFeatureValuesRequest, com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse>( this, METHODID_STREAMING_READ_FEATURE_VALUES))) + .addMethod( + getWriteFeatureValuesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse>( + this, METHODID_WRITE_FEATURE_VALUES))) .build(); } } @@ -305,6 +382,26 @@ public void streamingReadFeatureValues( request, responseObserver); } + + /** + * + * + *
+     * Writes Feature values of one or more entities of an EntityType.
+     * The Feature values are merged into existing entities if any. The Feature
+     * values to be written must have timestamp within the online storage
+     * retention.
+     * 
+ */ + public void writeFeatureValues( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getWriteFeatureValuesMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -357,6 +454,22 @@ public com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse readFeature return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getStreamingReadFeatureValuesMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Writes Feature values of one or more entities of an EntityType.
+     * The Feature values are merged into existing entities if any. The Feature
+     * values to be written must have timestamp within the online storage
+     * retention.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse writeFeatureValues( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteFeatureValuesMethod(), getCallOptions(), request); + } } /** @@ -394,10 +507,28 @@ protected FeaturestoreOnlineServingServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReadFeatureValuesMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Writes Feature values of one or more entities of an EntityType.
+     * The Feature values are merged into existing entities if any. The Feature
+     * values to be written must have timestamp within the online storage
+     * retention.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse> + writeFeatureValues(com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getWriteFeatureValuesMethod(), getCallOptions()), request); + } } private static final int METHODID_READ_FEATURE_VALUES = 0; private static final int METHODID_STREAMING_READ_FEATURE_VALUES = 1; + private static final int METHODID_WRITE_FEATURE_VALUES = 2; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -430,6 +561,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse>) responseObserver); break; + case METHODID_WRITE_FEATURE_VALUES: + serviceImpl.writeFeatureValues( + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse>) + responseObserver); + break; default: throw new AssertionError(); } @@ -497,6 +635,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { new FeaturestoreOnlineServingServiceFileDescriptorSupplier()) .addMethod(getReadFeatureValuesMethod()) .addMethod(getStreamingReadFeatureValuesMethod()) + .addMethod(getWriteFeatureValuesMethod()) .build(); } } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServiceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServiceProto.java index 4814424e1..40887e081 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServiceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServiceProto.java @@ -27,6 +27,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_FeatureValuesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_FeatureValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -84,75 +100,93 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/resource.proto\0326google/cloud/aiplatform" + "/v1beta1/feature_selector.proto\032+google/" + "cloud/aiplatform/v1beta1/types.proto\032\037go" - + "ogle/protobuf/timestamp.proto\"\306\001\n\030ReadFe" - + "atureValuesRequest\022A\n\013entity_type\030\001 \001(\tB" - + ",\340A\002\372A&\n$aiplatform.googleapis.com/Entit" - + "yType\022\026\n\tentity_id\030\002 \001(\tB\003\340A\002\022O\n\020feature" - + "_selector\030\003 \001(\01320.google.cloud.aiplatfor" - + "m.v1beta1.FeatureSelectorB\003\340A\002\"\263\005\n\031ReadF" - + "eatureValuesResponse\022Q\n\006header\030\001 \001(\0132A.g" - + "oogle.cloud.aiplatform.v1beta1.ReadFeatu" - + "reValuesResponse.Header\022Z\n\013entity_view\030\002" - + " \001(\0132E.google.cloud.aiplatform.v1beta1.R" - + "eadFeatureValuesResponse.EntityView\032\037\n\021F" - + "eatureDescriptor\022\n\n\002id\030\001 \001(\t\032\263\001\n\006Header\022" - + ">\n\013entity_type\030\001 \001(\tB)\372A&\n$aiplatform.go" - + "ogleapis.com/EntityType\022i\n\023feature_descr" - + "iptors\030\002 \003(\0132L.google.cloud.aiplatform.v" - + "1beta1.ReadFeatureValuesResponse.Feature" - + "Descriptor\032\217\002\n\nEntityView\022\021\n\tentity_id\030\001" - + " \001(\t\022X\n\004data\030\002 \003(\0132J.google.cloud.aiplat" - + "form.v1beta1.ReadFeatureValuesResponse.E" - + "ntityView.Data\032\223\001\n\004Data\022>\n\005value\030\001 \001(\0132-" - + ".google.cloud.aiplatform.v1beta1.Feature" - + "ValueH\000\022C\n\006values\030\002 \001(\01321.google.cloud.a" - + "iplatform.v1beta1.FeatureValueListH\000B\006\n\004" - + "data\"\320\001\n!StreamingReadFeatureValuesReque" - + "st\022A\n\013entity_type\030\001 \001(\tB,\340A\002\372A&\n$aiplatf" - + "orm.googleapis.com/EntityType\022\027\n\nentity_" - + "ids\030\002 \003(\tB\003\340A\002\022O\n\020feature_selector\030\003 \001(\013" - + "20.google.cloud.aiplatform.v1beta1.Featu" - + "reSelectorB\003\340A\002\"\276\004\n\014FeatureValue\022\024\n\nbool" - + "_value\030\001 \001(\010H\000\022\026\n\014double_value\030\002 \001(\001H\000\022\025" - + "\n\013int64_value\030\005 \001(\003H\000\022\026\n\014string_value\030\006 " - + "\001(\tH\000\022F\n\020bool_array_value\030\007 \001(\0132*.google" - + ".cloud.aiplatform.v1beta1.BoolArrayH\000\022J\n" - + "\022double_array_value\030\010 \001(\0132,.google.cloud" - + ".aiplatform.v1beta1.DoubleArrayH\000\022H\n\021int" - + "64_array_value\030\013 \001(\0132+.google.cloud.aipl" - + "atform.v1beta1.Int64ArrayH\000\022J\n\022string_ar" - + "ray_value\030\014 \001(\0132,.google.cloud.aiplatfor" - + "m.v1beta1.StringArrayH\000\022\025\n\013bytes_value\030\r" - + " \001(\014H\000\022H\n\010metadata\030\016 \001(\01326.google.cloud." - + "aiplatform.v1beta1.FeatureValue.Metadata" - + "\032=\n\010Metadata\0221\n\rgenerate_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\007\n\005value\"Q\n\020Feat" - + "ureValueList\022=\n\006values\030\001 \003(\0132-.google.cl" - + "oud.aiplatform.v1beta1.FeatureValue2\230\005\n " - + "FeaturestoreOnlineServingService\022\202\002\n\021Rea" - + "dFeatureValues\0229.google.cloud.aiplatform" - + ".v1beta1.ReadFeatureValuesRequest\032:.goog" - + "le.cloud.aiplatform.v1beta1.ReadFeatureV" - + "aluesResponse\"v\202\323\344\223\002b\"]/v1beta1/{entity_" - + "type=projects/*/locations/*/featurestore" - + "s/*/entityTypes/*}:readFeatureValues:\001*\332" - + "A\013entity_type\022\237\002\n\032StreamingReadFeatureVa" - + "lues\022B.google.cloud.aiplatform.v1beta1.S" - + "treamingReadFeatureValuesRequest\032:.googl" - + "e.cloud.aiplatform.v1beta1.ReadFeatureVa" - + "luesResponse\"\177\202\323\344\223\002k\"f/v1beta1/{entity_t" - + "ype=projects/*/locations/*/featurestores" - + "/*/entityTypes/*}:streamingReadFeatureVa" - + "lues:\001*\332A\013entity_type0\001\032M\312A\031aiplatform.g" - + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\373\001\n#com.google.cl" - + "oud.aiplatform.v1beta1B\036FeaturestoreOnli" - + "neServiceProtoP\001ZIgoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1beta1" - + ";aiplatform\252\002\037Google.Cloud.AIPlatform.V1" - + "Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352" - + "\002\"Google::Cloud::AIPlatform::V1beta1b\006pr" - + "oto3" + + "ogle/protobuf/timestamp.proto\"\261\001\n\031WriteF" + + "eatureValuesRequest\022A\n\013entity_type\030\001 \001(\t" + + "B,\340A\002\372A&\n$aiplatform.googleapis.com/Enti" + + "tyType\022Q\n\010payloads\030\002 \003(\0132:.google.cloud." + + "aiplatform.v1beta1.WriteFeatureValuesPay" + + "loadB\003\340A\002\"\204\002\n\031WriteFeatureValuesPayload\022" + + "\026\n\tentity_id\030\001 \001(\tB\003\340A\002\022j\n\016feature_value" + + "s\030\002 \003(\0132M.google.cloud.aiplatform.v1beta" + + "1.WriteFeatureValuesPayload.FeatureValue" + + "sEntryB\003\340A\002\032c\n\022FeatureValuesEntry\022\013\n\003key" + + "\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud.aip" + + "latform.v1beta1.FeatureValue:\0028\001\"\034\n\032Writ" + + "eFeatureValuesResponse\"\306\001\n\030ReadFeatureVa" + + "luesRequest\022A\n\013entity_type\030\001 \001(\tB,\340A\002\372A&" + + "\n$aiplatform.googleapis.com/EntityType\022\026" + + "\n\tentity_id\030\002 \001(\tB\003\340A\002\022O\n\020feature_select" + + "or\030\003 \001(\01320.google.cloud.aiplatform.v1bet" + + "a1.FeatureSelectorB\003\340A\002\"\263\005\n\031ReadFeatureV" + + "aluesResponse\022Q\n\006header\030\001 \001(\0132A.google.c" + + "loud.aiplatform.v1beta1.ReadFeatureValue" + + "sResponse.Header\022Z\n\013entity_view\030\002 \001(\0132E." + + "google.cloud.aiplatform.v1beta1.ReadFeat" + + "ureValuesResponse.EntityView\032\037\n\021FeatureD" + + "escriptor\022\n\n\002id\030\001 \001(\t\032\263\001\n\006Header\022>\n\013enti" + + "ty_type\030\001 \001(\tB)\372A&\n$aiplatform.googleapi" + + "s.com/EntityType\022i\n\023feature_descriptors\030" + + "\002 \003(\0132L.google.cloud.aiplatform.v1beta1." + + "ReadFeatureValuesResponse.FeatureDescrip" + + "tor\032\217\002\n\nEntityView\022\021\n\tentity_id\030\001 \001(\t\022X\n" + + "\004data\030\002 \003(\0132J.google.cloud.aiplatform.v1" + + "beta1.ReadFeatureValuesResponse.EntityVi" + + "ew.Data\032\223\001\n\004Data\022>\n\005value\030\001 \001(\0132-.google" + + ".cloud.aiplatform.v1beta1.FeatureValueH\000" + + "\022C\n\006values\030\002 \001(\01321.google.cloud.aiplatfo" + + "rm.v1beta1.FeatureValueListH\000B\006\n\004data\"\320\001" + + "\n!StreamingReadFeatureValuesRequest\022A\n\013e" + + "ntity_type\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goo" + + "gleapis.com/EntityType\022\027\n\nentity_ids\030\002 \003" + + "(\tB\003\340A\002\022O\n\020feature_selector\030\003 \001(\01320.goog" + + "le.cloud.aiplatform.v1beta1.FeatureSelec" + + "torB\003\340A\002\"\276\004\n\014FeatureValue\022\024\n\nbool_value\030" + + "\001 \001(\010H\000\022\026\n\014double_value\030\002 \001(\001H\000\022\025\n\013int64" + + "_value\030\005 \001(\003H\000\022\026\n\014string_value\030\006 \001(\tH\000\022F" + + "\n\020bool_array_value\030\007 \001(\0132*.google.cloud." + + "aiplatform.v1beta1.BoolArrayH\000\022J\n\022double" + + "_array_value\030\010 \001(\0132,.google.cloud.aiplat" + + "form.v1beta1.DoubleArrayH\000\022H\n\021int64_arra" + + "y_value\030\013 \001(\0132+.google.cloud.aiplatform." + + "v1beta1.Int64ArrayH\000\022J\n\022string_array_val" + + "ue\030\014 \001(\0132,.google.cloud.aiplatform.v1bet" + + "a1.StringArrayH\000\022\025\n\013bytes_value\030\r \001(\014H\000\022" + + "H\n\010metadata\030\016 \001(\01326.google.cloud.aiplatf" + + "orm.v1beta1.FeatureValue.Metadata\032=\n\010Met" + + "adata\0221\n\rgenerate_time\030\001 \001(\0132\032.google.pr" + + "otobuf.TimestampB\007\n\005value\"Q\n\020FeatureValu" + + "eList\022=\n\006values\030\001 \003(\0132-.google.cloud.aip" + + "latform.v1beta1.FeatureValue2\253\007\n Feature" + + "storeOnlineServingService\022\202\002\n\021ReadFeatur" + + "eValues\0229.google.cloud.aiplatform.v1beta" + + "1.ReadFeatureValuesRequest\032:.google.clou" + + "d.aiplatform.v1beta1.ReadFeatureValuesRe" + + "sponse\"v\202\323\344\223\002b\"]/v1beta1/{entity_type=pr" + + "ojects/*/locations/*/featurestores/*/ent" + + "ityTypes/*}:readFeatureValues:\001*\332A\013entit" + + "y_type\022\237\002\n\032StreamingReadFeatureValues\022B." + + "google.cloud.aiplatform.v1beta1.Streamin" + + "gReadFeatureValuesRequest\032:.google.cloud" + + ".aiplatform.v1beta1.ReadFeatureValuesRes" + + "ponse\"\177\202\323\344\223\002k\"f/v1beta1/{entity_type=pro" + + "jects/*/locations/*/featurestores/*/enti" + + "tyTypes/*}:streamingReadFeatureValues:\001*" + + "\332A\013entity_type0\001\022\220\002\n\022WriteFeatureValues\022" + + ":.google.cloud.aiplatform.v1beta1.WriteF" + + "eatureValuesRequest\032;.google.cloud.aipla" + + "tform.v1beta1.WriteFeatureValuesResponse" + + "\"\200\001\202\323\344\223\002c\"^/v1beta1/{entity_type=project" + + "s/*/locations/*/featurestores/*/entityTy" + + "pes/*}:writeFeatureValues:\001*\332A\024entity_ty" + + "pe,payloads\032M\312A\031aiplatform.googleapis.co" + + "m\322A.https://www.googleapis.com/auth/clou" + + "d-platformB\373\001\n#com.google.cloud.aiplatfo" + + "rm.v1beta1B\036FeaturestoreOnlineServicePro" + + "toP\001ZIgoogle.golang.org/genproto/googlea" + + "pis/cloud/aiplatform/v1beta1;aiplatform\252" + + "\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goog" + + "le\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cl" + + "oud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -166,8 +200,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.TypesProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesRequest_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor, + new java.lang.String[] { + "EntityType", "Payloads", + }); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor, + new java.lang.String[] { + "EntityId", "FeatureValues", + }); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_FeatureValuesEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_FeatureValuesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_FeatureValuesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesRequest_descriptor, @@ -175,7 +241,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EntityType", "EntityId", "FeatureSelector", }); internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ReadFeatureValuesResponse_descriptor, @@ -223,7 +289,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Value", "Values", "Data", }); internal_static_google_cloud_aiplatform_v1beta1_StreamingReadFeatureValuesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_aiplatform_v1beta1_StreamingReadFeatureValuesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_StreamingReadFeatureValuesRequest_descriptor, @@ -231,7 +297,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EntityType", "EntityIds", "FeatureSelector", }); internal_static_google_cloud_aiplatform_v1beta1_FeatureValue_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_aiplatform_v1beta1_FeatureValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_FeatureValue_descriptor, @@ -259,7 +325,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GenerateTime", }); internal_static_google_cloud_aiplatform_v1beta1_FeatureValueList_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_aiplatform_v1beta1_FeatureValueList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_FeatureValueList_descriptor, diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayload.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayload.java new file mode 100644 index 000000000..76b08611e --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayload.java @@ -0,0 +1,1061 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Contains Feature values to be written for a specific entity.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload} + */ +public final class WriteFeatureValuesPayload extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + WriteFeatureValuesPayloadOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteFeatureValuesPayload.newBuilder() to construct. + private WriteFeatureValuesPayload(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WriteFeatureValuesPayload() { + entityId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteFeatureValuesPayload(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteFeatureValuesPayload( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + entityId_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + featureValues_ = + com.google.protobuf.MapField.newMapField( + FeatureValuesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + featureValues__ = + input.readMessage( + FeatureValuesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + featureValues_ + .getMutableMap() + .put(featureValues__.getKey(), featureValues__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetFeatureValues(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder.class); + } + + public static final int ENTITY_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object entityId_; + /** + * + * + *
+   * Required. The ID of the entity.
+   * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The entityId. + */ + @java.lang.Override + public java.lang.String getEntityId() { + java.lang.Object ref = entityId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityId_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The ID of the entity.
+   * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for entityId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntityIdBytes() { + java.lang.Object ref = entityId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entityId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEATURE_VALUES_FIELD_NUMBER = 2; + + private static final class FeatureValuesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_FeatureValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.aiplatform.v1beta1.FeatureValue.getDefaultInstance()); + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + featureValues_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + internalGetFeatureValues() { + if (featureValues_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FeatureValuesDefaultEntryHolder.defaultEntry); + } + return featureValues_; + } + + public int getFeatureValuesCount() { + return internalGetFeatureValues().getMap().size(); + } + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public boolean containsFeatureValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFeatureValues().getMap().containsKey(key); + } + /** Use {@link #getFeatureValuesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getFeatureValues() { + return getFeatureValuesMap(); + } + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.Map + getFeatureValuesMap() { + return internalGetFeatureValues().getMap(); + } + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrDefault( + java.lang.String key, com.google.cloud.aiplatform.v1beta1.FeatureValue defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetFeatureValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetFeatureValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityId_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFeatureValues(), FeatureValuesDefaultEntryHolder.defaultEntry, 2); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityId_); + } + for (java.util.Map.Entry + entry : internalGetFeatureValues().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + featureValues__ = + FeatureValuesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, featureValues__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload other = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) obj; + + if (!getEntityId().equals(other.getEntityId())) return false; + if (!internalGetFeatureValues().equals(other.internalGetFeatureValues())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; + hash = (53 * hash) + getEntityId().hashCode(); + if (!internalGetFeatureValues().getMap().isEmpty()) { + hash = (37 * hash) + FEATURE_VALUES_FIELD_NUMBER; + hash = (53 * hash) + internalGetFeatureValues().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Contains Feature values to be written for a specific entity.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetFeatureValues(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 2: + return internalGetMutableFeatureValues(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + entityId_ = ""; + + internalGetMutableFeatureValues().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesPayload_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload build() { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload buildPartial() { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload result = + new com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload(this); + int from_bitField0_ = bitField0_; + result.entityId_ = entityId_; + result.featureValues_ = internalGetFeatureValues(); + result.featureValues_.makeImmutable(); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload other) { + if (other + == com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.getDefaultInstance()) + return this; + if (!other.getEntityId().isEmpty()) { + entityId_ = other.entityId_; + onChanged(); + } + internalGetMutableFeatureValues().mergeFrom(other.internalGetFeatureValues()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object entityId_ = ""; + /** + * + * + *
+     * Required. The ID of the entity.
+     * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The entityId. + */ + public java.lang.String getEntityId() { + java.lang.Object ref = entityId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The ID of the entity.
+     * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for entityId. + */ + public com.google.protobuf.ByteString getEntityIdBytes() { + java.lang.Object ref = entityId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entityId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The ID of the entity.
+     * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The entityId to set. + * @return This builder for chaining. + */ + public Builder setEntityId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + entityId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The ID of the entity.
+     * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearEntityId() { + + entityId_ = getDefaultInstance().getEntityId(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The ID of the entity.
+     * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for entityId to set. + * @return This builder for chaining. + */ + public Builder setEntityIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + entityId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + featureValues_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + internalGetFeatureValues() { + if (featureValues_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FeatureValuesDefaultEntryHolder.defaultEntry); + } + return featureValues_; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.aiplatform.v1beta1.FeatureValue> + internalGetMutableFeatureValues() { + onChanged(); + ; + if (featureValues_ == null) { + featureValues_ = + com.google.protobuf.MapField.newMapField(FeatureValuesDefaultEntryHolder.defaultEntry); + } + if (!featureValues_.isMutable()) { + featureValues_ = featureValues_.copy(); + } + return featureValues_; + } + + public int getFeatureValuesCount() { + return internalGetFeatureValues().getMap().size(); + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public boolean containsFeatureValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFeatureValues().getMap().containsKey(key); + } + /** Use {@link #getFeatureValuesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getFeatureValues() { + return getFeatureValuesMap(); + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.Map + getFeatureValuesMap() { + return internalGetFeatureValues().getMap(); + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrDefault( + java.lang.String key, com.google.cloud.aiplatform.v1beta1.FeatureValue defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetFeatureValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetFeatureValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFeatureValues() { + internalGetMutableFeatureValues().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder removeFeatureValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFeatureValues().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableFeatureValues() { + return internalGetMutableFeatureValues().getMutableMap(); + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder putFeatureValues( + java.lang.String key, com.google.cloud.aiplatform.v1beta1.FeatureValue value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableFeatureValues().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Required. Feature values to be written, mapping from Feature ID to value. Up to
+     * 100,000 `feature_values` entries may be written across all payloads.  The
+     * feature generation time, aligned by days, must be no older than five
+     * years (1825 days) and no later than one year (366 days) in the future.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder putAllFeatureValues( + java.util.Map values) { + internalGetMutableFeatureValues().getMutableMap().putAll(values); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + private static final com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload(); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFeatureValuesPayload parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFeatureValuesPayload(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayloadOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayloadOrBuilder.java new file mode 100644 index 000000000..690d52ace --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesPayloadOrBuilder.java @@ -0,0 +1,136 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface WriteFeatureValuesPayloadOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ID of the entity.
+   * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The entityId. + */ + java.lang.String getEntityId(); + /** + * + * + *
+   * Required. The ID of the entity.
+   * 
+ * + * string entity_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for entityId. + */ + com.google.protobuf.ByteString getEntityIdBytes(); + + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getFeatureValuesCount(); + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + boolean containsFeatureValues(java.lang.String key); + /** Use {@link #getFeatureValuesMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getFeatureValues(); + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.Map + getFeatureValuesMap(); + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + + /* nullable */ + com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.aiplatform.v1beta1.FeatureValue defaultValue); + /** + * + * + *
+   * Required. Feature values to be written, mapping from Feature ID to value. Up to
+   * 100,000 `feature_values` entries may be written across all payloads.  The
+   * feature generation time, aligned by days, must be no older than five
+   * years (1825 days) and no later than one year (366 days) in the future.
+   * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.FeatureValue> feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.FeatureValue getFeatureValuesOrThrow(java.lang.String key); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java new file mode 100644 index 000000000..6d4dd1417 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequest.java @@ -0,0 +1,1270 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest} + */ +public final class WriteFeatureValuesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + WriteFeatureValuesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteFeatureValuesRequest.newBuilder() to construct. + private WriteFeatureValuesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WriteFeatureValuesRequest() { + entityType_ = ""; + payloads_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteFeatureValuesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteFeatureValuesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + entityType_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + payloads_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload>(); + mutable_bitField0_ |= 0x00000001; + } + payloads_.add( + input.readMessage( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + payloads_ = java.util.Collections.unmodifiableList(payloads_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.Builder.class); + } + + public static final int ENTITY_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object entityType_; + /** + * + * + *
+   * Required. The resource name of the EntityType for the entities being written.
+   * Value format: `projects/{project}/locations/{location}/featurestores/
+   * {featurestore}/entityTypes/{entityType}`. For example,
+   * for a machine learning model predicting user clicks on a website, an
+   * EntityType ID could be `user`.
+   * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The entityType. + */ + @java.lang.Override + public java.lang.String getEntityType() { + java.lang.Object ref = entityType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityType_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the EntityType for the entities being written.
+   * Value format: `projects/{project}/locations/{location}/featurestores/
+   * {featurestore}/entityTypes/{entityType}`. For example,
+   * for a machine learning model predicting user clicks on a website, an
+   * EntityType ID could be `user`.
+   * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for entityType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntityTypeBytes() { + java.lang.Object ref = entityType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entityType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAYLOADS_FIELD_NUMBER = 2; + private java.util.List payloads_; + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.List + getPayloadsList() { + return payloads_; + } + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder> + getPayloadsOrBuilderList() { + return payloads_; + } + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public int getPayloadsCount() { + return payloads_.size(); + } + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getPayloads(int index) { + return payloads_.get(index); + } + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder + getPayloadsOrBuilder(int index) { + return payloads_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityType_); + } + for (int i = 0; i < payloads_.size(); i++) { + output.writeMessage(2, payloads_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityType_); + } + for (int i = 0; i < payloads_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, payloads_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest other = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) obj; + + if (!getEntityType().equals(other.getEntityType())) return false; + if (!getPayloadsList().equals(other.getPayloadsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENTITY_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getEntityType().hashCode(); + if (getPayloadsCount() > 0) { + hash = (37 * hash) + PAYLOADS_FIELD_NUMBER; + hash = (53 * hash) + getPayloadsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPayloadsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + entityType_ = ""; + + if (payloadsBuilder_ == null) { + payloads_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + payloadsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest build() { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest result = + new com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest(this); + int from_bitField0_ = bitField0_; + result.entityType_ = entityType_; + if (payloadsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + payloads_ = java.util.Collections.unmodifiableList(payloads_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.payloads_ = payloads_; + } else { + result.payloads_ = payloadsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest.getDefaultInstance()) + return this; + if (!other.getEntityType().isEmpty()) { + entityType_ = other.entityType_; + onChanged(); + } + if (payloadsBuilder_ == null) { + if (!other.payloads_.isEmpty()) { + if (payloads_.isEmpty()) { + payloads_ = other.payloads_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePayloadsIsMutable(); + payloads_.addAll(other.payloads_); + } + onChanged(); + } + } else { + if (!other.payloads_.isEmpty()) { + if (payloadsBuilder_.isEmpty()) { + payloadsBuilder_.dispose(); + payloadsBuilder_ = null; + payloads_ = other.payloads_; + bitField0_ = (bitField0_ & ~0x00000001); + payloadsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPayloadsFieldBuilder() + : null; + } else { + payloadsBuilder_.addAllMessages(other.payloads_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object entityType_ = ""; + /** + * + * + *
+     * Required. The resource name of the EntityType for the entities being written.
+     * Value format: `projects/{project}/locations/{location}/featurestores/
+     * {featurestore}/entityTypes/{entityType}`. For example,
+     * for a machine learning model predicting user clicks on a website, an
+     * EntityType ID could be `user`.
+     * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The entityType. + */ + public java.lang.String getEntityType() { + java.lang.Object ref = entityType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the EntityType for the entities being written.
+     * Value format: `projects/{project}/locations/{location}/featurestores/
+     * {featurestore}/entityTypes/{entityType}`. For example,
+     * for a machine learning model predicting user clicks on a website, an
+     * EntityType ID could be `user`.
+     * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for entityType. + */ + public com.google.protobuf.ByteString getEntityTypeBytes() { + java.lang.Object ref = entityType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entityType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the EntityType for the entities being written.
+     * Value format: `projects/{project}/locations/{location}/featurestores/
+     * {featurestore}/entityTypes/{entityType}`. For example,
+     * for a machine learning model predicting user clicks on a website, an
+     * EntityType ID could be `user`.
+     * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The entityType to set. + * @return This builder for chaining. + */ + public Builder setEntityType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + entityType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the EntityType for the entities being written.
+     * Value format: `projects/{project}/locations/{location}/featurestores/
+     * {featurestore}/entityTypes/{entityType}`. For example,
+     * for a machine learning model predicting user clicks on a website, an
+     * EntityType ID could be `user`.
+     * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearEntityType() { + + entityType_ = getDefaultInstance().getEntityType(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the EntityType for the entities being written.
+     * Value format: `projects/{project}/locations/{location}/featurestores/
+     * {featurestore}/entityTypes/{entityType}`. For example,
+     * for a machine learning model predicting user clicks on a website, an
+     * EntityType ID could be `user`.
+     * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for entityType to set. + * @return This builder for chaining. + */ + public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + entityType_ = value; + onChanged(); + return this; + } + + private java.util.List + payloads_ = java.util.Collections.emptyList(); + + private void ensurePayloadsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + payloads_ = + new java.util.ArrayList( + payloads_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder> + payloadsBuilder_; + + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List + getPayloadsList() { + if (payloadsBuilder_ == null) { + return java.util.Collections.unmodifiableList(payloads_); + } else { + return payloadsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public int getPayloadsCount() { + if (payloadsBuilder_ == null) { + return payloads_.size(); + } else { + return payloadsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getPayloads(int index) { + if (payloadsBuilder_ == null) { + return payloads_.get(index); + } else { + return payloadsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setPayloads( + int index, com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload value) { + if (payloadsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePayloadsIsMutable(); + payloads_.set(index, value); + onChanged(); + } else { + payloadsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setPayloads( + int index, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder builderForValue) { + if (payloadsBuilder_ == null) { + ensurePayloadsIsMutable(); + payloads_.set(index, builderForValue.build()); + onChanged(); + } else { + payloadsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addPayloads( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload value) { + if (payloadsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePayloadsIsMutable(); + payloads_.add(value); + onChanged(); + } else { + payloadsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addPayloads( + int index, com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload value) { + if (payloadsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePayloadsIsMutable(); + payloads_.add(index, value); + onChanged(); + } else { + payloadsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addPayloads( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder builderForValue) { + if (payloadsBuilder_ == null) { + ensurePayloadsIsMutable(); + payloads_.add(builderForValue.build()); + onChanged(); + } else { + payloadsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addPayloads( + int index, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder builderForValue) { + if (payloadsBuilder_ == null) { + ensurePayloadsIsMutable(); + payloads_.add(index, builderForValue.build()); + onChanged(); + } else { + payloadsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder addAllPayloads( + java.lang.Iterable + values) { + if (payloadsBuilder_ == null) { + ensurePayloadsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, payloads_); + onChanged(); + } else { + payloadsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearPayloads() { + if (payloadsBuilder_ == null) { + payloads_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + payloadsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder removePayloads(int index) { + if (payloadsBuilder_ == null) { + ensurePayloadsIsMutable(); + payloads_.remove(index); + onChanged(); + } else { + payloadsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder getPayloadsBuilder( + int index) { + return getPayloadsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder + getPayloadsOrBuilder(int index) { + if (payloadsBuilder_ == null) { + return payloads_.get(index); + } else { + return payloadsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder> + getPayloadsOrBuilderList() { + if (payloadsBuilder_ != null) { + return payloadsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(payloads_); + } + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder + addPayloadsBuilder() { + return getPayloadsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.getDefaultInstance()); + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder addPayloadsBuilder( + int index) { + return getPayloadsFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.getDefaultInstance()); + } + /** + * + * + *
+     * Required. The entities to be written. Up to 100,000 feature values can be written
+     * across all `payloads`.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public java.util.List + getPayloadsBuilderList() { + return getPayloadsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder> + getPayloadsFieldBuilder() { + if (payloadsBuilder_ == null) { + payloadsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload.Builder, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder>( + payloads_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + payloads_ = null; + } + return payloadsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + private static final com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFeatureValuesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFeatureValuesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequestOrBuilder.java new file mode 100644 index 000000000..a7230a010 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesRequestOrBuilder.java @@ -0,0 +1,130 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface WriteFeatureValuesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.WriteFeatureValuesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the EntityType for the entities being written.
+   * Value format: `projects/{project}/locations/{location}/featurestores/
+   * {featurestore}/entityTypes/{entityType}`. For example,
+   * for a machine learning model predicting user clicks on a website, an
+   * EntityType ID could be `user`.
+   * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The entityType. + */ + java.lang.String getEntityType(); + /** + * + * + *
+   * Required. The resource name of the EntityType for the entities being written.
+   * Value format: `projects/{project}/locations/{location}/featurestores/
+   * {featurestore}/entityTypes/{entityType}`. For example,
+   * for a machine learning model predicting user clicks on a website, an
+   * EntityType ID could be `user`.
+   * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for entityType. + */ + com.google.protobuf.ByteString getEntityTypeBytes(); + + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getPayloadsList(); + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload getPayloads(int index); + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getPayloadsCount(); + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getPayloadsOrBuilderList(); + /** + * + * + *
+   * Required. The entities to be written. Up to 100,000 feature values can be written
+   * across all `payloads`.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesPayloadOrBuilder getPayloadsOrBuilder( + int index); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java new file mode 100644 index 000000000..f4fd2d6b4 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponse.java @@ -0,0 +1,465 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse} + */ +public final class WriteFeatureValuesResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + WriteFeatureValuesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use WriteFeatureValuesResponse.newBuilder() to construct. + private WriteFeatureValuesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WriteFeatureValuesResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteFeatureValuesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WriteFeatureValuesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse other = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.class, + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_WriteFeatureValuesResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse build() { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse result = + new com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse other) { + if (other + == com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + private static final com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFeatureValuesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFeatureValuesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponseOrBuilder.java new file mode 100644 index 000000000..8e40f0e53 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WriteFeatureValuesResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/featurestore_online_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface WriteFeatureValuesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.WriteFeatureValuesResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto index 02417d11f..5f7cbd144 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto @@ -58,6 +58,55 @@ service FeaturestoreOnlineServingService { }; option (google.api.method_signature) = "entity_type"; } + + // Writes Feature values of one or more entities of an EntityType. + // + // The Feature values are merged into existing entities if any. The Feature + // values to be written must have timestamp within the online storage + // retention. + rpc WriteFeatureValues(WriteFeatureValuesRequest) returns (WriteFeatureValuesResponse) { + option (google.api.http) = { + post: "/v1beta1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:writeFeatureValues" + body: "*" + }; + option (google.api.method_signature) = "entity_type,payloads"; + } +} + +// Request message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues]. +message WriteFeatureValuesRequest { + // Required. The resource name of the EntityType for the entities being written. + // Value format: `projects/{project}/locations/{location}/featurestores/ + // {featurestore}/entityTypes/{entityType}`. For example, + // for a machine learning model predicting user clicks on a website, an + // EntityType ID could be `user`. + string entity_type = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/EntityType" + } + ]; + + // Required. The entities to be written. Up to 100,000 feature values can be written + // across all `payloads`. + repeated WriteFeatureValuesPayload payloads = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Contains Feature values to be written for a specific entity. +message WriteFeatureValuesPayload { + // Required. The ID of the entity. + string entity_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Feature values to be written, mapping from Feature ID to value. Up to + // 100,000 `feature_values` entries may be written across all payloads. The + // feature generation time, aligned by days, must be no older than five + // years (1825 days) and no later than one year (366 days) in the future. + map feature_values = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for [FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues]. +message WriteFeatureValuesResponse { + } // Request message for [FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues]. From dd6b21ddcf0d1b9aa8ff18a489845998b54226ba Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 21:14:16 +0200 Subject: [PATCH 03/20] chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v3.2.0 (#1020) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-aiplatform](https://togithub.com/googleapis/java-) | `3.1.0` -> `3.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/3.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/3.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/3.2.0/compatibility-slim/3.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/3.2.0/confidence-slim/3.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- README.md | 4 ++-- samples/install-without-bom/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2b85af9b6..157a1d37d 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud google-cloud-aiplatform - 3.1.0 + 3.2.0 ``` @@ -30,7 +30,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-aiplatform - 3.1.0 + 3.2.0 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 3b0bf1529..156d8f82f 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-aiplatform - 3.1.0 + 3.2.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 812108ef4..fff46bdaf 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -27,7 +27,7 @@ com.google.cloud google-cloud-aiplatform - 3.1.0 + 3.2.0 From ff85984cb4313de3b39da74e5666b171f3ce483b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 21:22:26 +0200 Subject: [PATCH 04/20] deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.18.0 (#1021) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1](https://togithub.com/googleapis/java-) | `0.17.0` -> `0.18.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1/0.18.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1/0.18.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1/0.18.0/compatibility-slim/0.17.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1/0.18.0/confidence-slim/0.17.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index fff46bdaf..b8e1adb78 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -60,7 +60,7 @@ com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.17.0 + 0.18.0 com.google.cloud From d54f3372e5d8d28730a324a419327f9fb331614a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 22:14:23 +0200 Subject: [PATCH 05/20] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.5 (#1016) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.14.3` -> `2.14.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/compatibility-slim/2.14.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/confidence-slim/2.14.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 156d8f82f..af9ec027f 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.3 + 2.14.5
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 396871198..5bdef20f5 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.3 + 2.14.5
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b8e1adb78..57e00a80f 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -65,7 +65,7 @@ com.google.cloud google-cloud-bigquery - 2.14.3 + 2.14.5
From 538c2eb7d62a6045a848ccd93f9f3845ea4a46dd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 22:58:22 +0200 Subject: [PATCH 06/20] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.1 (#1023) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) ([source](https://togithub.com/apache/maven-javadoc-plugin)) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- README.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 157a1d37d..75e306775 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ 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:26.0.0') +implementation platform('com.google.cloud:libraries-bom:26.1.0') implementation 'com.google.cloud:google-cloud-aiplatform' ``` diff --git a/pom.xml b/pom.xml index 83fe949db..11dfdc092 100644 --- a/pom.xml +++ b/pom.xml @@ -151,7 +151,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.0 + 3.4.1 html From 6e796ccf6d6b82a52e1e4d8e01309aa82c23d19d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 23:08:16 +0200 Subject: [PATCH 07/20] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.1 (#1024) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 11dfdc092..b50f018fb 100644 --- a/pom.xml +++ b/pom.xml @@ -124,7 +124,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.0 + 3.4.1 From a8efb8e439492d19b49f9743f00927ff986b0391 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Aug 2022 20:56:18 +0200 Subject: [PATCH 08/20] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.6 (#1026) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.14.5` -> `2.14.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/compatibility-slim/2.14.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.14.6/confidence-slim/2.14.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index af9ec027f..f934293eb 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.5 + 2.14.6
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 5bdef20f5..492e8a17b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.5 + 2.14.6 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 57e00a80f..980945f81 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -65,7 +65,7 @@ com.google.cloud google-cloud-bigquery - 2.14.5 + 2.14.6 From 1bd8fe5cd2154b59f768c40d38cc8102e685bb1c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 22 Aug 2022 14:20:17 +0000 Subject: [PATCH 09/20] chore: remove unused proto imports (#1029) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 468735472 Source-Link: https://github.com/googleapis/googleapis/commit/cfa1b3782da7ccae31673d45401a0b79d2d4a84b Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9 --- ...ClassificationPredictionInstanceProto.java | 31 ++-- ...bjectDetectionPredictionInstanceProto.java | 31 ++-- ...geSegmentationPredictionInstanceProto.java | 31 ++-- ...ClassificationPredictionInstanceProto.java | 31 ++-- ...TextExtractionPredictionInstanceProto.java | 31 ++-- .../TextSentimentPredictionInstanceProto.java | 29 ++-- ...ionRecognitionPredictionInstanceProto.java | 34 ++-- ...ClassificationPredictionInstanceProto.java | 33 ++-- ...ObjectTrackingPredictionInstanceProto.java | 33 ++-- ...geClassificationPredictionParamsProto.java | 31 ++-- ...eObjectDetectionPredictionParamsProto.java | 31 ++-- ...mageSegmentationPredictionParamsProto.java | 29 ++-- ...ctionRecognitionPredictionParamsProto.java | 31 ++-- ...eoClassificationPredictionParamsProto.java | 35 ++-- ...eoObjectTrackingPredictionParamsProto.java | 32 ++-- .../ClassificationPredictionResultProto.java | 31 ++-- ...eObjectDetectionPredictionResultProto.java | 30 ++-- ...mageSegmentationPredictionResultProto.java | 31 ++-- ...arClassificationPredictionResultProto.java | 31 ++-- ...abularRegressionPredictionResultProto.java | 32 ++-- .../TextExtractionPredictionResultProto.java | 35 ++-- .../TextSentimentPredictionResultProto.java | 29 ++-- ...ctionRecognitionPredictionResultProto.java | 35 ++-- ...eoClassificationPredictionResultProto.java | 37 ++--- ...eoObjectTrackingPredictionResultProto.java | 51 +++--- .../AutoMLImageClassificationProto.java | 75 ++++----- .../AutoMLImageObjectDetectionProto.java | 76 +++++---- .../AutoMLImageSegmentationProto.java | 71 ++++---- .../definition/AutoMLTablesProto.java | 153 +++++++++--------- .../AutoMLTextClassificationProto.java | 38 ++--- .../definition/AutoMLTextExtractionProto.java | 36 ++--- .../definition/AutoMLTextSentimentProto.java | 37 ++--- .../AutoMLVideoActionRecognitionProto.java | 51 +++--- .../AutoMLVideoClassificationProto.java | 49 +++--- .../AutoMLVideoObjectTrackingProto.java | 53 +++--- .../ExportEvaluatedDataItemsConfigProto.java | 35 ++-- .../instance/image_classification.proto | 1 - .../instance/image_object_detection.proto | 1 - .../predict/instance/image_segmentation.proto | 1 - .../instance/text_classification.proto | 1 - .../predict/instance/text_extraction.proto | 1 - .../predict/instance/text_sentiment.proto | 1 - .../instance/video_action_recognition.proto | 1 - .../instance/video_classification.proto | 1 - .../instance/video_object_tracking.proto | 1 - .../predict/params/image_classification.proto | 1 - .../params/image_object_detection.proto | 1 - .../predict/params/image_segmentation.proto | 1 - .../params/video_action_recognition.proto | 1 - .../predict/params/video_classification.proto | 1 - .../params/video_object_tracking.proto | 1 - .../predict/prediction/classification.proto | 1 - .../prediction/image_object_detection.proto | 1 - .../prediction/image_segmentation.proto | 1 - .../prediction/tabular_classification.proto | 1 - .../prediction/tabular_regression.proto | 1 - .../predict/prediction/text_extraction.proto | 1 - .../predict/prediction/text_sentiment.proto | 1 - .../prediction/video_action_recognition.proto | 1 - .../prediction/video_classification.proto | 1 - .../prediction/video_object_tracking.proto | 1 - .../automl_image_classification.proto | 1 - .../automl_image_object_detection.proto | 1 - .../automl_image_segmentation.proto | 1 - .../definition/automl_tables.proto | 2 - .../automl_text_classification.proto | 1 - .../definition/automl_text_extraction.proto | 1 - .../definition/automl_text_sentiment.proto | 1 - .../automl_video_action_recognition.proto | 1 - .../automl_video_classification.proto | 1 - .../automl_video_object_tracking.proto | 1 - .../export_evaluated_data_items_config.proto | 1 - ...ClassificationPredictionInstanceProto.java | 33 ++-- ...bjectDetectionPredictionInstanceProto.java | 33 ++-- ...geSegmentationPredictionInstanceProto.java | 32 ++-- ...ClassificationPredictionInstanceProto.java | 32 ++-- ...TextExtractionPredictionInstanceProto.java | 33 ++-- .../TextSentimentPredictionInstanceProto.java | 31 ++-- ...ionRecognitionPredictionInstanceProto.java | 35 ++-- ...ClassificationPredictionInstanceProto.java | 35 ++-- ...ObjectTrackingPredictionInstanceProto.java | 35 ++-- ...geClassificationPredictionParamsProto.java | 33 ++-- ...eObjectDetectionPredictionParamsProto.java | 33 ++-- ...mageSegmentationPredictionParamsProto.java | 31 ++-- ...ctionRecognitionPredictionParamsProto.java | 33 ++-- ...eoClassificationPredictionParamsProto.java | 37 ++--- ...eoObjectTrackingPredictionParamsProto.java | 34 ++-- .../ClassificationPredictionResultProto.java | 33 ++-- ...eObjectDetectionPredictionResultProto.java | 32 ++-- ...mageSegmentationPredictionResultProto.java | 33 ++-- ...arClassificationPredictionResultProto.java | 33 ++-- ...abularRegressionPredictionResultProto.java | 33 ++-- .../TextExtractionPredictionResultProto.java | 37 ++--- .../TextSentimentPredictionResultProto.java | 31 ++-- ...eriesForecastingPredictionResultProto.java | 33 ++-- ...ctionRecognitionPredictionResultProto.java | 37 ++--- ...eoClassificationPredictionResultProto.java | 37 ++--- ...eoObjectTrackingPredictionResultProto.java | 53 +++--- .../definition/AutoMLForecastingProto.java | 134 ++++++++------- .../AutoMLImageClassificationProto.java | 78 +++++---- .../AutoMLImageObjectDetectionProto.java | 79 +++++---- .../AutoMLImageSegmentationProto.java | 74 ++++----- .../definition/AutoMLTablesProto.java | 149 +++++++++-------- .../AutoMLTextClassificationProto.java | 40 +++-- .../definition/AutoMLTextExtractionProto.java | 38 ++--- .../definition/AutoMLTextSentimentProto.java | 39 ++--- .../AutoMLVideoActionRecognitionProto.java | 51 +++--- .../AutoMLVideoClassificationProto.java | 49 +++--- .../AutoMLVideoObjectTrackingProto.java | 54 +++---- .../ExportEvaluatedDataItemsConfigProto.java | 34 ++-- .../v1beta1/schema/annotation_payload.proto | 1 - .../schema/annotation_spec_color.proto | 1 - .../v1beta1/schema/data_item_payload.proto | 2 - .../v1beta1/schema/dataset_metadata.proto | 1 - .../aiplatform/v1beta1/schema/geometry.proto | 1 - .../instance/image_classification.proto | 1 - .../instance/image_object_detection.proto | 1 - .../predict/instance/image_segmentation.proto | 1 - .../instance/text_classification.proto | 1 - .../predict/instance/text_extraction.proto | 1 - .../predict/instance/text_sentiment.proto | 1 - .../instance/video_action_recognition.proto | 1 - .../instance/video_classification.proto | 1 - .../instance/video_object_tracking.proto | 1 - .../predict/params/image_classification.proto | 1 - .../params/image_object_detection.proto | 1 - .../predict/params/image_segmentation.proto | 1 - .../params/video_action_recognition.proto | 1 - .../predict/params/video_classification.proto | 1 - .../params/video_object_tracking.proto | 1 - .../predict/prediction/classification.proto | 1 - .../prediction/image_object_detection.proto | 1 - .../prediction/image_segmentation.proto | 1 - .../prediction/tabular_classification.proto | 1 - .../prediction/tabular_regression.proto | 1 - .../predict/prediction/text_extraction.proto | 1 - .../predict/prediction/text_sentiment.proto | 1 - .../prediction/time_series_forecasting.proto | 1 - .../prediction/video_action_recognition.proto | 1 - .../prediction/video_classification.proto | 1 - .../prediction/video_object_tracking.proto | 1 - .../automl_image_classification.proto | 1 - .../automl_image_object_detection.proto | 1 - .../automl_image_segmentation.proto | 1 - .../definition/automl_tables.proto | 1 - .../automl_text_classification.proto | 1 - .../definition/automl_text_extraction.proto | 1 - .../definition/automl_text_sentiment.proto | 1 - .../automl_time_series_forecasting.proto | 1 - .../automl_video_action_recognition.proto | 1 - .../automl_video_classification.proto | 1 - .../automl_video_object_tracking.proto | 1 - .../export_evaluated_data_items_config.proto | 1 - 153 files changed, 1434 insertions(+), 1847 deletions(-) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java index 6254e8570..d6ab1543a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nMgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/image_classification.proto\022" + "2google.cloud.aiplatform.v1.schema.predi" - + "ct.instance\032\034google/api/annotations.prot" - + "o\"K\n%ImageClassificationPredictionInstan" - + "ce\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\347" - + "\002\n6com.google.cloud.aiplatform.v1.schema" - + ".predict.instanceB*ImageClassificationPr" - + "edictionInstanceProtoP\001ZZgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1/schema/predict/instance;instance\252\0022Go" - + "ogle.Cloud.AIPlatform.V1.Schema.Predict." - + "Instance\312\0022Google\\Cloud\\AIPlatform\\V1\\Sc" - + "hema\\Predict\\Instance\352\0028Google::Cloud::A" - + "IPlatform::V1::Schema::Predict::Instance" - + "b\006proto3" + + "ct.instance\"K\n%ImageClassificationPredic" + + "tionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_ty" + + "pe\030\002 \001(\tB\347\002\n6com.google.cloud.aiplatform" + + ".v1.schema.predict.instanceB*ImageClassi" + + "ficationPredictionInstanceProtoP\001ZZgoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "iplatform/v1/schema/predict/instance;ins" + + "tance\252\0022Google.Cloud.AIPlatform.V1.Schem" + + "a.Predict.Instance\312\0022Google\\Cloud\\AIPlat" + + "form\\V1\\Schema\\Predict\\Instance\352\0028Google" + + "::Cloud::AIPlatform::V1::Schema::Predict" + + "::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_ImageClassificationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_ImageClassificationPredictionInstance_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java index 3e2025c43..70d922fe5 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nOgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/image_object_detection.prot" + "o\0222google.cloud.aiplatform.v1.schema.pre" - + "dict.instance\032\034google/api/annotations.pr" - + "oto\"L\n&ImageObjectDetectionPredictionIns" - + "tance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(" - + "\tB\350\002\n6com.google.cloud.aiplatform.v1.sch" - + "ema.predict.instanceB+ImageObjectDetecti" - + "onPredictionInstanceProtoP\001ZZgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1/schema/predict/instance;instance\252" - + "\0022Google.Cloud.AIPlatform.V1.Schema.Pred" - + "ict.Instance\312\0022Google\\Cloud\\AIPlatform\\V" - + "1\\Schema\\Predict\\Instance\352\0028Google::Clou" - + "d::AIPlatform::V1::Schema::Predict::Inst" - + "anceb\006proto3" + + "dict.instance\"L\n&ImageObjectDetectionPre" + + "dictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime" + + "_type\030\002 \001(\tB\350\002\n6com.google.cloud.aiplatf" + + "orm.v1.schema.predict.instanceB+ImageObj" + + "ectDetectionPredictionInstanceProtoP\001ZZg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1/schema/predict/instance" + + ";instance\252\0022Google.Cloud.AIPlatform.V1.S" + + "chema.Predict.Instance\312\0022Google\\Cloud\\AI" + + "Platform\\V1\\Schema\\Predict\\Instance\352\0028Go" + + "ogle::Cloud::AIPlatform::V1::Schema::Pre" + + "dict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_ImageObjectDetectionPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_ImageObjectDetectionPredictionInstance_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java index 4d02f4135..4e828724e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nKgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/image_segmentation.proto\0222g" + "oogle.cloud.aiplatform.v1.schema.predict" - + ".instance\032\034google/api/annotations.proto\"" - + "I\n#ImageSegmentationPredictionInstance\022\017" - + "\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\345\002\n6c" - + "om.google.cloud.aiplatform.v1.schema.pre" - + "dict.instanceB(ImageSegmentationPredicti" - + "onInstanceProtoP\001ZZgoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1/sch" - + "ema/predict/instance;instance\252\0022Google.C" - + "loud.AIPlatform.V1.Schema.Predict.Instan" - + "ce\312\0022Google\\Cloud\\AIPlatform\\V1\\Schema\\P" - + "redict\\Instance\352\0028Google::Cloud::AIPlatf" - + "orm::V1::Schema::Predict::Instanceb\006prot" - + "o3" + + ".instance\"I\n#ImageSegmentationPrediction" + + "Instance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002" + + " \001(\tB\345\002\n6com.google.cloud.aiplatform.v1." + + "schema.predict.instanceB(ImageSegmentati" + + "onPredictionInstanceProtoP\001ZZgoogle.gola" + + "ng.org/genproto/googleapis/cloud/aiplatf" + + "orm/v1/schema/predict/instance;instance\252" + + "\0022Google.Cloud.AIPlatform.V1.Schema.Pred" + + "ict.Instance\312\0022Google\\Cloud\\AIPlatform\\V" + + "1\\Schema\\Predict\\Instance\352\0028Google::Clou" + + "d::AIPlatform::V1::Schema::Predict::Inst" + + "anceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_ImageSegmentationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_ImageSegmentationPredictionInstance_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java index 9663e221b..1a8e3fd68 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nLgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/text_classification.proto\0222" + "google.cloud.aiplatform.v1.schema.predic" - + "t.instance\032\034google/api/annotations.proto" - + "\"J\n$TextClassificationPredictionInstance" - + "\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\346\002\n" - + "6com.google.cloud.aiplatform.v1.schema.p" - + "redict.instanceB)TextClassificationPredi" - + "ctionInstanceProtoP\001ZZgoogle.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1/" - + "schema/predict/instance;instance\252\0022Googl" - + "e.Cloud.AIPlatform.V1.Schema.Predict.Ins" - + "tance\312\0022Google\\Cloud\\AIPlatform\\V1\\Schem" - + "a\\Predict\\Instance\352\0028Google::Cloud::AIPl" - + "atform::V1::Schema::Predict::Instanceb\006p" - + "roto3" + + "t.instance\"J\n$TextClassificationPredicti" + + "onInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type" + + "\030\002 \001(\tB\346\002\n6com.google.cloud.aiplatform.v" + + "1.schema.predict.instanceB)TextClassific" + + "ationPredictionInstanceProtoP\001ZZgoogle.g" + + "olang.org/genproto/googleapis/cloud/aipl" + + "atform/v1/schema/predict/instance;instan" + + "ce\252\0022Google.Cloud.AIPlatform.V1.Schema.P" + + "redict.Instance\312\0022Google\\Cloud\\AIPlatfor" + + "m\\V1\\Schema\\Predict\\Instance\352\0028Google::C" + + "loud::AIPlatform::V1::Schema::Predict::I" + + "nstanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_TextClassificationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_TextClassificationPredictionInstance_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java index 339e71fd7..a0c80fd27 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nHgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/text_extraction.proto\0222goog" + "le.cloud.aiplatform.v1.schema.predict.in" - + "stance\032\034google/api/annotations.proto\"S\n " - + "TextExtractionPredictionInstance\022\017\n\007cont" - + "ent\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\013\n\003key\030\003 \001(" - + "\tB\342\002\n6com.google.cloud.aiplatform.v1.sch" - + "ema.predict.instanceB%TextExtractionPred" - + "ictionInstanceProtoP\001ZZgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + "/schema/predict/instance;instance\252\0022Goog" - + "le.Cloud.AIPlatform.V1.Schema.Predict.In" - + "stance\312\0022Google\\Cloud\\AIPlatform\\V1\\Sche" - + "ma\\Predict\\Instance\352\0028Google::Cloud::AIP" - + "latform::V1::Schema::Predict::Instanceb\006" - + "proto3" + + "stance\"S\n TextExtractionPredictionInstan" + + "ce\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\013" + + "\n\003key\030\003 \001(\tB\342\002\n6com.google.cloud.aiplatf" + + "orm.v1.schema.predict.instanceB%TextExtr" + + "actionPredictionInstanceProtoP\001ZZgoogle." + + "golang.org/genproto/googleapis/cloud/aip" + + "latform/v1/schema/predict/instance;insta" + + "nce\252\0022Google.Cloud.AIPlatform.V1.Schema." + + "Predict.Instance\312\0022Google\\Cloud\\AIPlatfo" + + "rm\\V1\\Schema\\Predict\\Instance\352\0028Google::" + + "Cloud::AIPlatform::V1::Schema::Predict::" + + "Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_TextExtractionPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_TextExtractionPredictionInstance_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "Key", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java index c221529b3..946702f2a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java @@ -43,25 +43,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nGgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/text_sentiment.proto\0222googl" + "e.cloud.aiplatform.v1.schema.predict.ins" - + "tance\032\034google/api/annotations.proto\"E\n\037T" - + "extSentimentPredictionInstance\022\017\n\007conten" - + "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\341\002\n6com.googl" - + "e.cloud.aiplatform.v1.schema.predict.ins" - + "tanceB$TextSentimentPredictionInstancePr" - + "otoP\001ZZgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1/schema/predict/" - + "instance;instance\252\0022Google.Cloud.AIPlatf" - + "orm.V1.Schema.Predict.Instance\312\0022Google\\" - + "Cloud\\AIPlatform\\V1\\Schema\\Predict\\Insta" - + "nce\352\0028Google::Cloud::AIPlatform::V1::Sch" - + "ema::Predict::Instanceb\006proto3" + + "tance\"E\n\037TextSentimentPredictionInstance" + + "\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\341\002\n" + + "6com.google.cloud.aiplatform.v1.schema.p" + + "redict.instanceB$TextSentimentPrediction" + + "InstanceProtoP\001ZZgoogle.golang.org/genpr" + + "oto/googleapis/cloud/aiplatform/v1/schem" + + "a/predict/instance;instance\252\0022Google.Clo" + + "ud.AIPlatform.V1.Schema.Predict.Instance" + + "\312\0022Google\\Cloud\\AIPlatform\\V1\\Schema\\Pre" + + "dict\\Instance\352\0028Google::Cloud::AIPlatfor" + + "m::V1::Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_TextSentimentPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_TextSentimentPredictionInstance_fieldAccessorTable = @@ -70,7 +66,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java index 57f0cd62f..7ec1310b2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java @@ -43,27 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nQgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/video_action_recognition.pr" + "oto\0222google.cloud.aiplatform.v1.schema.p" - + "redict.instance\032\034google/api/annotations." - + "proto\"\204\001\n(VideoActionRecognitionPredicti" - + "onInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type" - + "\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030\n\020ti" - + "me_segment_end\030\004 \001(\tB\352\002\n6com.google.clou" - + "d.aiplatform.v1.schema.predict.instanceB" - + "-VideoActionRecognitionPredictionInstanc" - + "eProtoP\001ZZgoogle.golang.org/genproto/goo" - + "gleapis/cloud/aiplatform/v1/schema/predi" - + "ct/instance;instance\252\0022Google.Cloud.AIPl" - + "atform.V1.Schema.Predict.Instance\312\0022Goog" - + "le\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\In" - + "stance\352\0028Google::Cloud::AIPlatform::V1::" - + "Schema::Predict::Instanceb\006proto3" + + "redict.instance\"\204\001\n(VideoActionRecogniti" + + "onPredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n" + + "\tmime_type\030\002 \001(\t\022\032\n\022time_segment_start\030\003" + + " \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\352\002\n6com.g" + + "oogle.cloud.aiplatform.v1.schema.predict" + + ".instanceB-VideoActionRecognitionPredict" + + "ionInstanceProtoP\001ZZgoogle.golang.org/ge" + + "nproto/googleapis/cloud/aiplatform/v1/sc" + + "hema/predict/instance;instance\252\0022Google." + + "Cloud.AIPlatform.V1.Schema.Predict.Insta" + + "nce\312\0022Google\\Cloud\\AIPlatform\\V1\\Schema\\" + + "Predict\\Instance\352\0028Google::Cloud::AIPlat" + + "form::V1::Schema::Predict::Instanceb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_VideoActionRecognitionPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_VideoActionRecognitionPredictionInstance_fieldAccessorTable = @@ -72,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "TimeSegmentStart", "TimeSegmentEnd", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java index ba60a4ad5..27cdbad40 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nMgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/video_classification.proto\022" + "2google.cloud.aiplatform.v1.schema.predi" - + "ct.instance\032\034google/api/annotations.prot" - + "o\"\201\001\n%VideoClassificationPredictionInsta" - + "nce\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022" - + "\032\n\022time_segment_start\030\003 \001(\t\022\030\n\020time_segm" - + "ent_end\030\004 \001(\tB\347\002\n6com.google.cloud.aipla" - + "tform.v1.schema.predict.instanceB*VideoC" - + "lassificationPredictionInstanceProtoP\001ZZ" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1/schema/predict/instanc" - + "e;instance\252\0022Google.Cloud.AIPlatform.V1." - + "Schema.Predict.Instance\312\0022Google\\Cloud\\A" - + "IPlatform\\V1\\Schema\\Predict\\Instance\352\0028G" - + "oogle::Cloud::AIPlatform::V1::Schema::Pr" - + "edict::Instanceb\006proto3" + + "ct.instance\"\201\001\n%VideoClassificationPredi" + + "ctionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_t" + + "ype\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030\n" + + "\020time_segment_end\030\004 \001(\tB\347\002\n6com.google.c" + + "loud.aiplatform.v1.schema.predict.instan" + + "ceB*VideoClassificationPredictionInstanc" + + "eProtoP\001ZZgoogle.golang.org/genproto/goo" + + "gleapis/cloud/aiplatform/v1/schema/predi" + + "ct/instance;instance\252\0022Google.Cloud.AIPl" + + "atform.V1.Schema.Predict.Instance\312\0022Goog" + + "le\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\In" + + "stance\352\0028Google::Cloud::AIPlatform::V1::" + + "Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_VideoClassificationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_VideoClassificationPredictionInstance_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "TimeSegmentStart", "TimeSegmentEnd", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java index 86852f6b9..085769cd5 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nNgoogle/cloud/aiplatform/v1/schema/pred" + "ict/instance/video_object_tracking.proto" + "\0222google.cloud.aiplatform.v1.schema.pred" - + "ict.instance\032\034google/api/annotations.pro" - + "to\"\201\001\n%VideoObjectTrackingPredictionInst" - + "ance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t" - + "\022\032\n\022time_segment_start\030\003 \001(\t\022\030\n\020time_seg" - + "ment_end\030\004 \001(\tB\347\002\n6com.google.cloud.aipl" - + "atform.v1.schema.predict.instanceB*Video" - + "ObjectTrackingPredictionInstanceProtoP\001Z" - + "Zgoogle.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1/schema/predict/instan" - + "ce;instance\252\0022Google.Cloud.AIPlatform.V1" - + ".Schema.Predict.Instance\312\0022Google\\Cloud\\" - + "AIPlatform\\V1\\Schema\\Predict\\Instance\352\0028" - + "Google::Cloud::AIPlatform::V1::Schema::P" - + "redict::Instanceb\006proto3" + + "ict.instance\"\201\001\n%VideoObjectTrackingPred" + + "ictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_" + + "type\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030" + + "\n\020time_segment_end\030\004 \001(\tB\347\002\n6com.google." + + "cloud.aiplatform.v1.schema.predict.insta" + + "nceB*VideoObjectTrackingPredictionInstan" + + "ceProtoP\001ZZgoogle.golang.org/genproto/go" + + "ogleapis/cloud/aiplatform/v1/schema/pred" + + "ict/instance;instance\252\0022Google.Cloud.AIP" + + "latform.V1.Schema.Predict.Instance\312\0022Goo" + + "gle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\I" + + "nstance\352\0028Google::Cloud::AIPlatform::V1:" + + ":Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_VideoObjectTrackingPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_instance_VideoObjectTrackingPredictionInstance_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "TimeSegmentStart", "TimeSegmentEnd", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java index 28d267052..3d7682dfb 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nKgoogle/cloud/aiplatform/v1/schema/pred" + "ict/params/image_classification.proto\0220g" + "oogle.cloud.aiplatform.v1.schema.predict" - + ".params\032\034google/api/annotations.proto\"\\\n" - + "#ImageClassificationPredictionParams\022\034\n\024" - + "confidence_threshold\030\001 \001(\002\022\027\n\017max_predic" - + "tions\030\002 \001(\005B\331\002\n4com.google.cloud.aiplatf" - + "orm.v1.schema.predict.paramsB(ImageClass" - + "ificationPredictionParamsProtoP\001ZVgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1/schema/predict/params;params" - + "\252\0020Google.Cloud.AIPlatform.V1.Schema.Pre" - + "dict.Params\312\0020Google\\Cloud\\AIPlatform\\V1" - + "\\Schema\\Predict\\Params\352\0026Google::Cloud::" - + "AIPlatform::V1::Schema::Predict::Paramsb" - + "\006proto3" + + ".params\"\\\n#ImageClassificationPrediction" + + "Params\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n\017" + + "max_predictions\030\002 \001(\005B\331\002\n4com.google.clo" + + "ud.aiplatform.v1.schema.predict.paramsB(" + + "ImageClassificationPredictionParamsProto" + + "P\001ZVgoogle.golang.org/genproto/googleapi" + + "s/cloud/aiplatform/v1/schema/predict/par" + + "ams;params\252\0020Google.Cloud.AIPlatform.V1." + + "Schema.Predict.Params\312\0020Google\\Cloud\\AIP" + + "latform\\V1\\Schema\\Predict\\Params\352\0026Googl" + + "e::Cloud::AIPlatform::V1::Schema::Predic" + + "t::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_params_ImageClassificationPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_params_ImageClassificationPredictionParams_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java index a59f63942..94d58d722 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nMgoogle/cloud/aiplatform/v1/schema/pred" + "ict/params/image_object_detection.proto\022" + "0google.cloud.aiplatform.v1.schema.predi" - + "ct.params\032\034google/api/annotations.proto\"" - + "]\n$ImageObjectDetectionPredictionParams\022" - + "\034\n\024confidence_threshold\030\001 \001(\002\022\027\n\017max_pre" - + "dictions\030\002 \001(\005B\332\002\n4com.google.cloud.aipl" - + "atform.v1.schema.predict.paramsB)ImageOb" - + "jectDetectionPredictionParamsProtoP\001ZVgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1/schema/predict/params;pa" - + "rams\252\0020Google.Cloud.AIPlatform.V1.Schema" - + ".Predict.Params\312\0020Google\\Cloud\\AIPlatfor" - + "m\\V1\\Schema\\Predict\\Params\352\0026Google::Clo" - + "ud::AIPlatform::V1::Schema::Predict::Par" - + "amsb\006proto3" + + "ct.params\"]\n$ImageObjectDetectionPredict" + + "ionParams\022\034\n\024confidence_threshold\030\001 \001(\002\022" + + "\027\n\017max_predictions\030\002 \001(\005B\332\002\n4com.google." + + "cloud.aiplatform.v1.schema.predict.param" + + "sB)ImageObjectDetectionPredictionParamsP" + + "rotoP\001ZVgoogle.golang.org/genproto/googl" + + "eapis/cloud/aiplatform/v1/schema/predict" + + "/params;params\252\0020Google.Cloud.AIPlatform" + + ".V1.Schema.Predict.Params\312\0020Google\\Cloud" + + "\\AIPlatform\\V1\\Schema\\Predict\\Params\352\0026G" + + "oogle::Cloud::AIPlatform::V1::Schema::Pr" + + "edict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_params_ImageObjectDetectionPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_params_ImageObjectDetectionPredictionParams_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java index 0ed5f7772..f52d4e452 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java @@ -43,25 +43,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nIgoogle/cloud/aiplatform/v1/schema/pred" + "ict/params/image_segmentation.proto\0220goo" + "gle.cloud.aiplatform.v1.schema.predict.p" - + "arams\032\034google/api/annotations.proto\"A\n!I" - + "mageSegmentationPredictionParams\022\034\n\024conf" - + "idence_threshold\030\001 \001(\002B\327\002\n4com.google.cl" - + "oud.aiplatform.v1.schema.predict.paramsB" - + "&ImageSegmentationPredictionParamsProtoP" - + "\001ZVgoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1/schema/predict/para" - + "ms;params\252\0020Google.Cloud.AIPlatform.V1.S" - + "chema.Predict.Params\312\0020Google\\Cloud\\AIPl" - + "atform\\V1\\Schema\\Predict\\Params\352\0026Google" - + "::Cloud::AIPlatform::V1::Schema::Predict" - + "::Paramsb\006proto3" + + "arams\"A\n!ImageSegmentationPredictionPara" + + "ms\022\034\n\024confidence_threshold\030\001 \001(\002B\327\002\n4com" + + ".google.cloud.aiplatform.v1.schema.predi" + + "ct.paramsB&ImageSegmentationPredictionPa" + + "ramsProtoP\001ZVgoogle.golang.org/genproto/" + + "googleapis/cloud/aiplatform/v1/schema/pr" + + "edict/params;params\252\0020Google.Cloud.AIPla" + + "tform.V1.Schema.Predict.Params\312\0020Google\\" + + "Cloud\\AIPlatform\\V1\\Schema\\Predict\\Param" + + "s\352\0026Google::Cloud::AIPlatform::V1::Schem" + + "a::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_params_ImageSegmentationPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_params_ImageSegmentationPredictionParams_fieldAccessorTable = @@ -70,7 +66,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java index 123fe1cb7..f2244b02e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nOgoogle/cloud/aiplatform/v1/schema/pred" + "ict/params/video_action_recognition.prot" + "o\0220google.cloud.aiplatform.v1.schema.pre" - + "dict.params\032\034google/api/annotations.prot" - + "o\"_\n&VideoActionRecognitionPredictionPar" - + "ams\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n\017max" - + "_predictions\030\002 \001(\005B\334\002\n4com.google.cloud." - + "aiplatform.v1.schema.predict.paramsB+Vid" - + "eoActionRecognitionPredictionParamsProto" - + "P\001ZVgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1/schema/predict/par" - + "ams;params\252\0020Google.Cloud.AIPlatform.V1." - + "Schema.Predict.Params\312\0020Google\\Cloud\\AIP" - + "latform\\V1\\Schema\\Predict\\Params\352\0026Googl" - + "e::Cloud::AIPlatform::V1::Schema::Predic" - + "t::Paramsb\006proto3" + + "dict.params\"_\n&VideoActionRecognitionPre" + + "dictionParams\022\034\n\024confidence_threshold\030\001 " + + "\001(\002\022\027\n\017max_predictions\030\002 \001(\005B\334\002\n4com.goo" + + "gle.cloud.aiplatform.v1.schema.predict.p" + + "aramsB+VideoActionRecognitionPredictionP" + + "aramsProtoP\001ZVgoogle.golang.org/genproto" + + "/googleapis/cloud/aiplatform/v1/schema/p" + + "redict/params;params\252\0020Google.Cloud.AIPl" + + "atform.V1.Schema.Predict.Params\312\0020Google" + + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Para" + + "ms\352\0026Google::Cloud::AIPlatform::V1::Sche" + + "ma::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_params_VideoActionRecognitionPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_params_VideoActionRecognitionPredictionParams_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java index fca75c0d2..5c76927aa 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java @@ -43,28 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nKgoogle/cloud/aiplatform/v1/schema/pred" + "ict/params/video_classification.proto\0220g" + "oogle.cloud.aiplatform.v1.schema.predict" - + ".params\032\034google/api/annotations.proto\"\302\001" - + "\n#VideoClassificationPredictionParams\022\034\n" - + "\024confidence_threshold\030\001 \001(\002\022\027\n\017max_predi" - + "ctions\030\002 \001(\005\022\036\n\026segment_classification\030\003" - + " \001(\010\022\033\n\023shot_classification\030\004 \001(\010\022\'\n\037one" - + "_sec_interval_classification\030\005 \001(\010B\331\002\n4c" - + "om.google.cloud.aiplatform.v1.schema.pre" - + "dict.paramsB(VideoClassificationPredicti" - + "onParamsProtoP\001ZVgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1/schem" - + "a/predict/params;params\252\0020Google.Cloud.A" - + "IPlatform.V1.Schema.Predict.Params\312\0020Goo" - + "gle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\P" - + "arams\352\0026Google::Cloud::AIPlatform::V1::S" - + "chema::Predict::Paramsb\006proto3" + + ".params\"\302\001\n#VideoClassificationPredictio" + + "nParams\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n" + + "\017max_predictions\030\002 \001(\005\022\036\n\026segment_classi" + + "fication\030\003 \001(\010\022\033\n\023shot_classification\030\004 " + + "\001(\010\022\'\n\037one_sec_interval_classification\030\005" + + " \001(\010B\331\002\n4com.google.cloud.aiplatform.v1." + + "schema.predict.paramsB(VideoClassificati" + + "onPredictionParamsProtoP\001ZVgoogle.golang" + + ".org/genproto/googleapis/cloud/aiplatfor" + + "m/v1/schema/predict/params;params\252\0020Goog" + + "le.Cloud.AIPlatform.V1.Schema.Predict.Pa" + + "rams\312\0020Google\\Cloud\\AIPlatform\\V1\\Schema" + + "\\Predict\\Params\352\0026Google::Cloud::AIPlatf" + + "orm::V1::Schema::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_params_VideoClassificationPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_params_VideoClassificationPredictionParams_fieldAccessorTable = @@ -77,7 +73,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ShotClassification", "OneSecIntervalClassification", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java index 5890b41c5..6156ab98e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java @@ -43,26 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nLgoogle/cloud/aiplatform/v1/schema/pred" + "ict/params/video_object_tracking.proto\0220" + "google.cloud.aiplatform.v1.schema.predic" - + "t.params\032\034google/api/annotations.proto\"{" - + "\n#VideoObjectTrackingPredictionParams\022\034\n" - + "\024confidence_threshold\030\001 \001(\002\022\027\n\017max_predi" - + "ctions\030\002 \001(\005\022\035\n\025min_bounding_box_size\030\003 " - + "\001(\002B\331\002\n4com.google.cloud.aiplatform.v1.s" - + "chema.predict.paramsB(VideoObjectTrackin" - + "gPredictionParamsProtoP\001ZVgoogle.golang." - + "org/genproto/googleapis/cloud/aiplatform" - + "/v1/schema/predict/params;params\252\0020Googl" - + "e.Cloud.AIPlatform.V1.Schema.Predict.Par" - + "ams\312\0020Google\\Cloud\\AIPlatform\\V1\\Schema\\" - + "Predict\\Params\352\0026Google::Cloud::AIPlatfo" - + "rm::V1::Schema::Predict::Paramsb\006proto3" + + "t.params\"{\n#VideoObjectTrackingPredictio" + + "nParams\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n" + + "\017max_predictions\030\002 \001(\005\022\035\n\025min_bounding_b" + + "ox_size\030\003 \001(\002B\331\002\n4com.google.cloud.aipla" + + "tform.v1.schema.predict.paramsB(VideoObj" + + "ectTrackingPredictionParamsProtoP\001ZVgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "aiplatform/v1/schema/predict/params;para" + + "ms\252\0020Google.Cloud.AIPlatform.V1.Schema.P" + + "redict.Params\312\0020Google\\Cloud\\AIPlatform\\" + + "V1\\Schema\\Predict\\Params\352\0026Google::Cloud" + + "::AIPlatform::V1::Schema::Predict::Param" + + "sb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_params_VideoObjectTrackingPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_params_VideoObjectTrackingPredictionParams_fieldAccessorTable = @@ -71,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", "MinBoundingBoxSize", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java index 71d101e23..12374c3ea 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nIgoogle/cloud/aiplatform/v1/schema/pred" + "ict/prediction/classification.proto\0224goo" + "gle.cloud.aiplatform.v1.schema.predict.p" - + "rediction\032\034google/api/annotations.proto\"" - + "Y\n\036ClassificationPredictionResult\022\013\n\003ids" - + "\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(\t\022\023\n\013confide" - + "nces\030\003 \003(\002B\354\002\n8com.google.cloud.aiplatfo" - + "rm.v1.schema.predict.predictionB#Classif" - + "icationPredictionResultProtoP\001Z^google.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1/schema/predict/prediction;pred" - + "iction\252\0024Google.Cloud.AIPlatform.V1.Sche" - + "ma.Predict.Prediction\312\0024Google\\Cloud\\AIP" - + "latform\\V1\\Schema\\Predict\\Prediction\352\002:G" - + "oogle::Cloud::AIPlatform::V1::Schema::Pr" - + "edict::Predictionb\006proto3" + + "rediction\"Y\n\036ClassificationPredictionRes" + + "ult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(\t\022" + + "\023\n\013confidences\030\003 \003(\002B\354\002\n8com.google.clou" + + "d.aiplatform.v1.schema.predict.predictio" + + "nB#ClassificationPredictionResultProtoP\001" + + "Z^google.golang.org/genproto/googleapis/" + + "cloud/aiplatform/v1/schema/predict/predi" + + "ction;prediction\252\0024Google.Cloud.AIPlatfo" + + "rm.V1.Schema.Predict.Prediction\312\0024Google" + + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pred" + + "iction\352\002:Google::Cloud::AIPlatform::V1::" + + "Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_ClassificationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_ClassificationPredictionResult_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Ids", "DisplayNames", "Confidences", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java index 26ba07f5f..295e1c7a7 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java @@ -44,27 +44,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ict/prediction/image_object_detection.pr" + "oto\0224google.cloud.aiplatform.v1.schema.p" + "redict.prediction\032\034google/protobuf/struc" - + "t.proto\032\034google/api/annotations.proto\"\213\001" - + "\n$ImageObjectDetectionPredictionResult\022\013" - + "\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(\t\022\023\n\013co" - + "nfidences\030\003 \003(\002\022*\n\006bboxes\030\004 \003(\0132\032.google" - + ".protobuf.ListValueB\362\002\n8com.google.cloud" - + ".aiplatform.v1.schema.predict.prediction" - + "B)ImageObjectDetectionPredictionResultPr" - + "otoP\001Z^google.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1/schema/predict/" - + "prediction;prediction\252\0024Google.Cloud.AIP" - + "latform.V1.Schema.Predict.Prediction\312\0024G" - + "oogle\\Cloud\\AIPlatform\\V1\\Schema\\Predict" - + "\\Prediction\352\002:Google::Cloud::AIPlatform:" - + ":V1::Schema::Predict::Predictionb\006proto3" + + "t.proto\"\213\001\n$ImageObjectDetectionPredicti" + + "onResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002" + + " \003(\t\022\023\n\013confidences\030\003 \003(\002\022*\n\006bboxes\030\004 \003(" + + "\0132\032.google.protobuf.ListValueB\362\002\n8com.go" + + "ogle.cloud.aiplatform.v1.schema.predict." + + "predictionB)ImageObjectDetectionPredicti" + + "onResultProtoP\001Z^google.golang.org/genpr" + + "oto/googleapis/cloud/aiplatform/v1/schem" + + "a/predict/prediction;prediction\252\0024Google" + + ".Cloud.AIPlatform.V1.Schema.Predict.Pred" + + "iction\312\0024Google\\Cloud\\AIPlatform\\V1\\Sche" + + "ma\\Predict\\Prediction\352\002:Google::Cloud::A" + + "IPlatform::V1::Schema::Predict::Predicti" + + "onb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.StructProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_ImageObjectDetectionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -75,7 +74,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Ids", "DisplayNames", "Confidences", "Bboxes", }); com.google.protobuf.StructProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java index 480373d75..35e88d00e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nMgoogle/cloud/aiplatform/v1/schema/pred" + "ict/prediction/image_segmentation.proto\022" + "4google.cloud.aiplatform.v1.schema.predi" - + "ct.prediction\032\034google/api/annotations.pr" - + "oto\"S\n!ImageSegmentationPredictionResult" - + "\022\025\n\rcategory_mask\030\001 \001(\t\022\027\n\017confidence_ma" - + "sk\030\002 \001(\tB\357\002\n8com.google.cloud.aiplatform" - + ".v1.schema.predict.predictionB&ImageSegm" - + "entationPredictionResultProtoP\001Z^google." - + "golang.org/genproto/googleapis/cloud/aip" - + "latform/v1/schema/predict/prediction;pre" - + "diction\252\0024Google.Cloud.AIPlatform.V1.Sch" - + "ema.Predict.Prediction\312\0024Google\\Cloud\\AI" - + "Platform\\V1\\Schema\\Predict\\Prediction\352\002:" - + "Google::Cloud::AIPlatform::V1::Schema::P" - + "redict::Predictionb\006proto3" + + "ct.prediction\"S\n!ImageSegmentationPredic" + + "tionResult\022\025\n\rcategory_mask\030\001 \001(\t\022\027\n\017con" + + "fidence_mask\030\002 \001(\tB\357\002\n8com.google.cloud." + + "aiplatform.v1.schema.predict.predictionB" + + "&ImageSegmentationPredictionResultProtoP" + + "\001Z^google.golang.org/genproto/googleapis" + + "/cloud/aiplatform/v1/schema/predict/pred" + + "iction;prediction\252\0024Google.Cloud.AIPlatf" + + "orm.V1.Schema.Predict.Prediction\312\0024Googl" + + "e\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pre" + + "diction\352\002:Google::Cloud::AIPlatform::V1:" + + ":Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_ImageSegmentationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_ImageSegmentationPredictionResult_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CategoryMask", "ConfidenceMask", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java index b5334795a..49c387206 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nQgoogle/cloud/aiplatform/v1/schema/pred" + "ict/prediction/tabular_classification.pr" + "oto\0224google.cloud.aiplatform.v1.schema.p" - + "redict.prediction\032\034google/api/annotation" - + "s.proto\"H\n%TabularClassificationPredicti" - + "onResult\022\017\n\007classes\030\001 \003(\t\022\016\n\006scores\030\002 \003(" - + "\002B\363\002\n8com.google.cloud.aiplatform.v1.sch" - + "ema.predict.predictionB*TabularClassific" - + "ationPredictionResultProtoP\001Z^google.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1/schema/predict/prediction;predic" - + "tion\252\0024Google.Cloud.AIPlatform.V1.Schema" - + ".Predict.Prediction\312\0024Google\\Cloud\\AIPla" - + "tform\\V1\\Schema\\Predict\\Prediction\352\002:Goo" - + "gle::Cloud::AIPlatform::V1::Schema::Pred" - + "ict::Predictionb\006proto3" + + "redict.prediction\"H\n%TabularClassificati" + + "onPredictionResult\022\017\n\007classes\030\001 \003(\t\022\016\n\006s" + + "cores\030\002 \003(\002B\363\002\n8com.google.cloud.aiplatf" + + "orm.v1.schema.predict.predictionB*Tabula" + + "rClassificationPredictionResultProtoP\001Z^" + + "google.golang.org/genproto/googleapis/cl" + + "oud/aiplatform/v1/schema/predict/predict" + + "ion;prediction\252\0024Google.Cloud.AIPlatform" + + ".V1.Schema.Predict.Prediction\312\0024Google\\C" + + "loud\\AIPlatform\\V1\\Schema\\Predict\\Predic" + + "tion\352\002:Google::Cloud::AIPlatform::V1::Sc" + + "hema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TabularClassificationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TabularClassificationPredictionResult_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Classes", "Scores", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java index af21cee98..3f20d71c9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java @@ -43,26 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nMgoogle/cloud/aiplatform/v1/schema/pred" + "ict/prediction/tabular_regression.proto\022" + "4google.cloud.aiplatform.v1.schema.predi" - + "ct.prediction\032\034google/api/annotations.pr" - + "oto\"\\\n!TabularRegressionPredictionResult" - + "\022\r\n\005value\030\001 \001(\002\022\023\n\013lower_bound\030\002 \001(\002\022\023\n\013" - + "upper_bound\030\003 \001(\002B\357\002\n8com.google.cloud.a" - + "iplatform.v1.schema.predict.predictionB&" - + "TabularRegressionPredictionResultProtoP\001" - + "Z^google.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1/schema/predict/predi" - + "ction;prediction\252\0024Google.Cloud.AIPlatfo" - + "rm.V1.Schema.Predict.Prediction\312\0024Google" - + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pred" - + "iction\352\002:Google::Cloud::AIPlatform::V1::" - + "Schema::Predict::Predictionb\006proto3" + + "ct.prediction\"\\\n!TabularRegressionPredic" + + "tionResult\022\r\n\005value\030\001 \001(\002\022\023\n\013lower_bound" + + "\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\357\002\n8com.goog" + + "le.cloud.aiplatform.v1.schema.predict.pr" + + "edictionB&TabularRegressionPredictionRes" + + "ultProtoP\001Z^google.golang.org/genproto/g" + + "oogleapis/cloud/aiplatform/v1/schema/pre" + + "dict/prediction;prediction\252\0024Google.Clou" + + "d.AIPlatform.V1.Schema.Predict.Predictio" + + "n\312\0024Google\\Cloud\\AIPlatform\\V1\\Schema\\Pr" + + "edict\\Prediction\352\002:Google::Cloud::AIPlat" + + "form::V1::Schema::Predict::Predictionb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TabularRegressionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TabularRegressionPredictionResult_fieldAccessorTable = @@ -71,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Value", "LowerBound", "UpperBound", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java index f6689eeac..e52f96ad4 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java @@ -43,28 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nJgoogle/cloud/aiplatform/v1/schema/pred" + "ict/prediction/text_extraction.proto\0224go" + "ogle.cloud.aiplatform.v1.schema.predict." - + "prediction\032\034google/api/annotations.proto" - + "\"\237\001\n\036TextExtractionPredictionResult\022\013\n\003i" - + "ds\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(\t\022\"\n\032text_" - + "segment_start_offsets\030\003 \003(\003\022 \n\030text_segm" - + "ent_end_offsets\030\004 \003(\003\022\023\n\013confidences\030\005 \003" - + "(\002B\354\002\n8com.google.cloud.aiplatform.v1.sc" - + "hema.predict.predictionB#TextExtractionP" - + "redictionResultProtoP\001Z^google.golang.or" - + "g/genproto/googleapis/cloud/aiplatform/v" - + "1/schema/predict/prediction;prediction\252\002" - + "4Google.Cloud.AIPlatform.V1.Schema.Predi" - + "ct.Prediction\312\0024Google\\Cloud\\AIPlatform\\" - + "V1\\Schema\\Predict\\Prediction\352\002:Google::C" - + "loud::AIPlatform::V1::Schema::Predict::P" - + "redictionb\006proto3" + + "prediction\"\237\001\n\036TextExtractionPredictionR" + + "esult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(" + + "\t\022\"\n\032text_segment_start_offsets\030\003 \003(\003\022 \n" + + "\030text_segment_end_offsets\030\004 \003(\003\022\023\n\013confi" + + "dences\030\005 \003(\002B\354\002\n8com.google.cloud.aiplat" + + "form.v1.schema.predict.predictionB#TextE" + + "xtractionPredictionResultProtoP\001Z^google" + + ".golang.org/genproto/googleapis/cloud/ai" + + "platform/v1/schema/predict/prediction;pr" + + "ediction\252\0024Google.Cloud.AIPlatform.V1.Sc" + + "hema.Predict.Prediction\312\0024Google\\Cloud\\A" + + "IPlatform\\V1\\Schema\\Predict\\Prediction\352\002" + + ":Google::Cloud::AIPlatform::V1::Schema::" + + "Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TextExtractionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TextExtractionPredictionResult_fieldAccessorTable = @@ -77,7 +73,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TextSegmentEndOffsets", "Confidences", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java index 2bfad7ab8..de932f508 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java @@ -43,25 +43,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nIgoogle/cloud/aiplatform/v1/schema/pred" + "ict/prediction/text_sentiment.proto\0224goo" + "gle.cloud.aiplatform.v1.schema.predict.p" - + "rediction\032\034google/api/annotations.proto\"" - + "2\n\035TextSentimentPredictionResult\022\021\n\tsent" - + "iment\030\001 \001(\005B\353\002\n8com.google.cloud.aiplatf" - + "orm.v1.schema.predict.predictionB\"TextSe" - + "ntimentPredictionResultProtoP\001Z^google.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1/schema/predict/prediction;pred" - + "iction\252\0024Google.Cloud.AIPlatform.V1.Sche" - + "ma.Predict.Prediction\312\0024Google\\Cloud\\AIP" - + "latform\\V1\\Schema\\Predict\\Prediction\352\002:G" - + "oogle::Cloud::AIPlatform::V1::Schema::Pr" - + "edict::Predictionb\006proto3" + + "rediction\"2\n\035TextSentimentPredictionResu" + + "lt\022\021\n\tsentiment\030\001 \001(\005B\353\002\n8com.google.clo" + + "ud.aiplatform.v1.schema.predict.predicti" + + "onB\"TextSentimentPredictionResultProtoP\001" + + "Z^google.golang.org/genproto/googleapis/" + + "cloud/aiplatform/v1/schema/predict/predi" + + "ction;prediction\252\0024Google.Cloud.AIPlatfo" + + "rm.V1.Schema.Predict.Prediction\312\0024Google" + + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pred" + + "iction\352\002:Google::Cloud::AIPlatform::V1::" + + "Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TextSentimentPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_TextSentimentPredictionResult_fieldAccessorTable = @@ -70,7 +66,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Sentiment", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java index d6d6d4a13..70ee63f86 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java @@ -45,23 +45,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\0224google.cloud.aiplatform.v1.schema" + ".predict.prediction\032\036google/protobuf/dur" + "ation.proto\032\036google/protobuf/wrappers.pr" - + "oto\032\034google/api/annotations.proto\"\347\001\n&Vi" - + "deoActionRecognitionPredictionResult\022\n\n\002" - + "id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\0225\n\022time_s" - + "egment_start\030\004 \001(\0132\031.google.protobuf.Dur" - + "ation\0223\n\020time_segment_end\030\005 \001(\0132\031.google" - + ".protobuf.Duration\022/\n\nconfidence\030\006 \001(\0132\033" - + ".google.protobuf.FloatValueB\364\002\n8com.goog" - + "le.cloud.aiplatform.v1.schema.predict.pr" - + "edictionB+VideoActionRecognitionPredicti" - + "onResultProtoP\001Z^google.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1/schem" - + "a/predict/prediction;prediction\252\0024Google" - + ".Cloud.AIPlatform.V1.Schema.Predict.Pred" - + "iction\312\0024Google\\Cloud\\AIPlatform\\V1\\Sche" - + "ma\\Predict\\Prediction\352\002:Google::Cloud::A" - + "IPlatform::V1::Schema::Predict::Predicti" - + "onb\006proto3" + + "oto\"\347\001\n&VideoActionRecognitionPrediction" + + "Result\022\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t" + + "\0225\n\022time_segment_start\030\004 \001(\0132\031.google.pr" + + "otobuf.Duration\0223\n\020time_segment_end\030\005 \001(" + + "\0132\031.google.protobuf.Duration\022/\n\nconfiden" + + "ce\030\006 \001(\0132\033.google.protobuf.FloatValueB\364\002" + + "\n8com.google.cloud.aiplatform.v1.schema." + + "predict.predictionB+VideoActionRecogniti" + + "onPredictionResultProtoP\001Z^google.golang" + + ".org/genproto/googleapis/cloud/aiplatfor" + + "m/v1/schema/predict/prediction;predictio" + + "n\252\0024Google.Cloud.AIPlatform.V1.Schema.Pr" + + "edict.Prediction\312\0024Google\\Cloud\\AIPlatfo" + + "rm\\V1\\Schema\\Predict\\Prediction\352\002:Google" + + "::Cloud::AIPlatform::V1::Schema::Predict" + + "::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -69,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_VideoActionRecognitionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -81,7 +79,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java index 3b88e563f..9ddddf50c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java @@ -44,24 +44,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ict/prediction/video_classification.prot" + "o\0224google.cloud.aiplatform.v1.schema.pre" + "dict.prediction\032\036google/protobuf/duratio" - + "n.proto\032\036google/protobuf/wrappers.proto\032" - + "\034google/api/annotations.proto\"\362\001\n#VideoC" - + "lassificationPredictionResult\022\n\n\002id\030\001 \001(" - + "\t\022\024\n\014display_name\030\002 \001(\t\022\014\n\004type\030\003 \001(\t\0225\n" - + "\022time_segment_start\030\004 \001(\0132\031.google.proto" - + "buf.Duration\0223\n\020time_segment_end\030\005 \001(\0132\031" - + ".google.protobuf.Duration\022/\n\nconfidence\030" - + "\006 \001(\0132\033.google.protobuf.FloatValueB\361\002\n8c" - + "om.google.cloud.aiplatform.v1.schema.pre" - + "dict.predictionB(VideoClassificationPred" - + "ictionResultProtoP\001Z^google.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1/s" - + "chema/predict/prediction;prediction\252\0024Go" - + "ogle.Cloud.AIPlatform.V1.Schema.Predict." - + "Prediction\312\0024Google\\Cloud\\AIPlatform\\V1\\" - + "Schema\\Predict\\Prediction\352\002:Google::Clou" - + "d::AIPlatform::V1::Schema::Predict::Pred" - + "ictionb\006proto3" + + "n.proto\032\036google/protobuf/wrappers.proto\"" + + "\362\001\n#VideoClassificationPredictionResult\022" + + "\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\014\n\004typ" + + "e\030\003 \001(\t\0225\n\022time_segment_start\030\004 \001(\0132\031.go" + + "ogle.protobuf.Duration\0223\n\020time_segment_e" + + "nd\030\005 \001(\0132\031.google.protobuf.Duration\022/\n\nc" + + "onfidence\030\006 \001(\0132\033.google.protobuf.FloatV" + + "alueB\361\002\n8com.google.cloud.aiplatform.v1." + + "schema.predict.predictionB(VideoClassifi" + + "cationPredictionResultProtoP\001Z^google.go" + + "lang.org/genproto/googleapis/cloud/aipla" + + "tform/v1/schema/predict/prediction;predi" + + "ction\252\0024Google.Cloud.AIPlatform.V1.Schem" + + "a.Predict.Prediction\312\0024Google\\Cloud\\AIPl" + + "atform\\V1\\Schema\\Predict\\Prediction\352\002:Go" + + "ogle::Cloud::AIPlatform::V1::Schema::Pre" + + "dict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -69,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_VideoClassificationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -81,7 +79,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java index 32280706b..a685fe616 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java @@ -49,31 +49,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to\0224google.cloud.aiplatform.v1.schema.pr" + "edict.prediction\032\036google/protobuf/durati" + "on.proto\032\036google/protobuf/wrappers.proto" - + "\032\034google/api/annotations.proto\"\277\004\n#Video" - + "ObjectTrackingPredictionResult\022\n\n\002id\030\001 \001" - + "(\t\022\024\n\014display_name\030\002 \001(\t\0225\n\022time_segment" - + "_start\030\003 \001(\0132\031.google.protobuf.Duration\022" - + "3\n\020time_segment_end\030\004 \001(\0132\031.google.proto" - + "buf.Duration\022/\n\nconfidence\030\005 \001(\0132\033.googl" - + "e.protobuf.FloatValue\022o\n\006frames\030\006 \003(\0132_." - + "google.cloud.aiplatform.v1.schema.predic" - + "t.prediction.VideoObjectTrackingPredicti" - + "onResult.Frame\032\347\001\n\005Frame\022.\n\013time_offset\030" - + "\001 \001(\0132\031.google.protobuf.Duration\022*\n\005x_mi" - + "n\030\002 \001(\0132\033.google.protobuf.FloatValue\022*\n\005" - + "x_max\030\003 \001(\0132\033.google.protobuf.FloatValue" - + "\022*\n\005y_min\030\004 \001(\0132\033.google.protobuf.FloatV" - + "alue\022*\n\005y_max\030\005 \001(\0132\033.google.protobuf.Fl" - + "oatValueB\361\002\n8com.google.cloud.aiplatform" - + ".v1.schema.predict.predictionB(VideoObje" - + "ctTrackingPredictionResultProtoP\001Z^googl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1/schema/predict/prediction;p" - + "rediction\252\0024Google.Cloud.AIPlatform.V1.S" - + "chema.Predict.Prediction\312\0024Google\\Cloud\\" - + "AIPlatform\\V1\\Schema\\Predict\\Prediction\352" - + "\002:Google::Cloud::AIPlatform::V1::Schema:" - + ":Predict::Predictionb\006proto3" + + "\"\277\004\n#VideoObjectTrackingPredictionResult" + + "\022\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\0225\n\022ti" + + "me_segment_start\030\003 \001(\0132\031.google.protobuf" + + ".Duration\0223\n\020time_segment_end\030\004 \001(\0132\031.go" + + "ogle.protobuf.Duration\022/\n\nconfidence\030\005 \001" + + "(\0132\033.google.protobuf.FloatValue\022o\n\006frame" + + "s\030\006 \003(\0132_.google.cloud.aiplatform.v1.sch" + + "ema.predict.prediction.VideoObjectTracki" + + "ngPredictionResult.Frame\032\347\001\n\005Frame\022.\n\013ti" + + "me_offset\030\001 \001(\0132\031.google.protobuf.Durati" + + "on\022*\n\005x_min\030\002 \001(\0132\033.google.protobuf.Floa" + + "tValue\022*\n\005x_max\030\003 \001(\0132\033.google.protobuf." + + "FloatValue\022*\n\005y_min\030\004 \001(\0132\033.google.proto" + + "buf.FloatValue\022*\n\005y_max\030\005 \001(\0132\033.google.p" + + "rotobuf.FloatValueB\361\002\n8com.google.cloud." + + "aiplatform.v1.schema.predict.predictionB" + + "(VideoObjectTrackingPredictionResultProt" + + "oP\001Z^google.golang.org/genproto/googleap" + + "is/cloud/aiplatform/v1/schema/predict/pr" + + "ediction;prediction\252\0024Google.Cloud.AIPla" + + "tform.V1.Schema.Predict.Prediction\312\0024Goo" + + "gle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\P" + + "rediction\352\002:Google::Cloud::AIPlatform::V" + + "1::Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -81,7 +80,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_schema_predict_prediction_VideoObjectTrackingPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -103,7 +101,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java index 74cbf09b4..dee7584b2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java @@ -52,49 +52,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nZgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_image_classifi" + "cation.proto\0228google.cloud.aiplatform.v1" - + ".schema.trainingjob.definition\032\034google/a" - + "pi/annotations.proto\"\365\001\n\031AutoMlImageClas" - + "sification\022i\n\006inputs\030\001 \001(\0132Y.google.clou" + + ".schema.trainingjob.definition\"\365\001\n\031AutoM" + + "lImageClassification\022i\n\006inputs\030\001 \001(\0132Y.g" + + "oogle.cloud.aiplatform.v1.schema.trainin" + + "gjob.definition.AutoMlImageClassificatio" + + "nInputs\022m\n\010metadata\030\002 \001(\0132[.google.cloud" + + ".aiplatform.v1.schema.trainingjob.defini" + + "tion.AutoMlImageClassificationMetadata\"\223" + + "\003\n\037AutoMlImageClassificationInputs\022w\n\nmo" + + "del_type\030\001 \001(\0162c.google.cloud.aiplatform" + + ".v1.schema.trainingjob.definition.AutoMl" + + "ImageClassificationInputs.ModelType\022\025\n\rb" + + "ase_model_id\030\002 \001(\t\022\037\n\027budget_milli_node_" + + "hours\030\003 \001(\003\022\036\n\026disable_early_stopping\030\004 " + + "\001(\010\022\023\n\013multi_label\030\005 \001(\010\"\211\001\n\tModelType\022\032" + + "\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\033\n" + + "\027MOBILE_TF_LOW_LATENCY_1\020\002\022\031\n\025MOBILE_TF_" + + "VERSATILE_1\020\003\022\035\n\031MOBILE_TF_HIGH_ACCURACY" + + "_1\020\004\"\276\002\n!AutoMlImageClassificationMetada" + + "ta\022\035\n\025cost_milli_node_hours\030\001 \001(\003\022\220\001\n\026su" + + "ccessful_stop_reason\030\002 \001(\0162p.google.clou" + "d.aiplatform.v1.schema.trainingjob.defin" - + "ition.AutoMlImageClassificationInputs\022m\n" - + "\010metadata\030\002 \001(\0132[.google.cloud.aiplatfor" - + "m.v1.schema.trainingjob.definition.AutoM" - + "lImageClassificationMetadata\"\223\003\n\037AutoMlI" - + "mageClassificationInputs\022w\n\nmodel_type\030\001" - + " \001(\0162c.google.cloud.aiplatform.v1.schema" - + ".trainingjob.definition.AutoMlImageClass" - + "ificationInputs.ModelType\022\025\n\rbase_model_" - + "id\030\002 \001(\t\022\037\n\027budget_milli_node_hours\030\003 \001(" - + "\003\022\036\n\026disable_early_stopping\030\004 \001(\010\022\023\n\013mul" - + "ti_label\030\005 \001(\010\"\211\001\n\tModelType\022\032\n\026MODEL_TY" - + "PE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\033\n\027MOBILE_TF" - + "_LOW_LATENCY_1\020\002\022\031\n\025MOBILE_TF_VERSATILE_" - + "1\020\003\022\035\n\031MOBILE_TF_HIGH_ACCURACY_1\020\004\"\276\002\n!A" - + "utoMlImageClassificationMetadata\022\035\n\025cost" - + "_milli_node_hours\030\001 \001(\003\022\220\001\n\026successful_s" - + "top_reason\030\002 \001(\0162p.google.cloud.aiplatfo" - + "rm.v1.schema.trainingjob.definition.Auto" - + "MlImageClassificationMetadata.Successful" - + "StopReason\"g\n\024SuccessfulStopReason\022&\n\"SU" - + "CCESSFUL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BU" - + "DGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\373\002\n<" - + "com.google.cloud.aiplatform.v1.schema.tr" - + "ainingjob.definitionB\036AutoMLImageClassif" - + "icationProtoP\001Zbgoogle.golang.org/genpro" - + "to/googleapis/cloud/aiplatform/v1/schema" - + "/trainingjob/definition;definition\252\0028Goo" - + "gle.Cloud.AIPlatform.V1.Schema.TrainingJ" - + "ob.Definition\312\0028Google\\Cloud\\AIPlatform\\" - + "V1\\Schema\\TrainingJob\\Definition\352\002>Googl" - + "e::Cloud::AIPlatform::V1::Schema::Traini" - + "ngJob::Definitionb\006proto3" + + "ition.AutoMlImageClassificationMetadata." + + "SuccessfulStopReason\"g\n\024SuccessfulStopRe" + + "ason\022&\n\"SUCCESSFUL_STOP_REASON_UNSPECIFI" + + "ED\020\000\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVER" + + "GED\020\002B\373\002\nGoogle::Cloud::AIPlatform::V1::Sche" + + "ma::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlImageClassification_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlImageClassification_fieldAccessorTable = @@ -123,7 +119,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CostMilliNodeHours", "SuccessfulStopReason", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java index 74ab97db5..994ae71a0 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java @@ -52,49 +52,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n\\google/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_image_object_d" + "etection.proto\0228google.cloud.aiplatform." - + "v1.schema.trainingjob.definition\032\034google" - + "/api/annotations.proto\"\370\001\n\032AutoMlImageOb" - + "jectDetection\022j\n\006inputs\030\001 \001(\0132Z.google.c" + + "v1.schema.trainingjob.definition\"\370\001\n\032Aut" + + "oMlImageObjectDetection\022j\n\006inputs\030\001 \001(\0132" + + "Z.google.cloud.aiplatform.v1.schema.trai" + + "ningjob.definition.AutoMlImageObjectDete" + + "ctionInputs\022n\n\010metadata\030\002 \001(\0132\\.google.c" + "loud.aiplatform.v1.schema.trainingjob.de" - + "finition.AutoMlImageObjectDetectionInput" - + "s\022n\n\010metadata\030\002 \001(\0132\\.google.cloud.aipla" - + "tform.v1.schema.trainingjob.definition.A" - + "utoMlImageObjectDetectionMetadata\"\222\003\n Au" - + "toMlImageObjectDetectionInputs\022x\n\nmodel_" - + "type\030\001 \001(\0162d.google.cloud.aiplatform.v1." - + "schema.trainingjob.definition.AutoMlImag" - + "eObjectDetectionInputs.ModelType\022\037\n\027budg" - + "et_milli_node_hours\030\002 \001(\003\022\036\n\026disable_ear" - + "ly_stopping\030\003 \001(\010\"\262\001\n\tModelType\022\032\n\026MODEL" - + "_TYPE_UNSPECIFIED\020\000\022\031\n\025CLOUD_HIGH_ACCURA" - + "CY_1\020\001\022\027\n\023CLOUD_LOW_LATENCY_1\020\002\022\033\n\027MOBIL" - + "E_TF_LOW_LATENCY_1\020\003\022\031\n\025MOBILE_TF_VERSAT" - + "ILE_1\020\004\022\035\n\031MOBILE_TF_HIGH_ACCURACY_1\020\005\"\300" - + "\002\n\"AutoMlImageObjectDetectionMetadata\022\035\n" - + "\025cost_milli_node_hours\030\001 \001(\003\022\221\001\n\026success" - + "ful_stop_reason\030\002 \001(\0162q.google.cloud.aip" - + "latform.v1.schema.trainingjob.definition" - + ".AutoMlImageObjectDetectionMetadata.Succ" - + "essfulStopReason\"g\n\024SuccessfulStopReason" - + "\022&\n\"SUCCESSFUL_STOP_REASON_UNSPECIFIED\020\000" - + "\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020" - + "\002B\374\002\nGoogle::Cloud::AIPlatform::V1::Schema:" - + ":TrainingJob::Definitionb\006proto3" + + "finition.AutoMlImageObjectDetectionMetad" + + "ata\"\222\003\n AutoMlImageObjectDetectionInputs" + + "\022x\n\nmodel_type\030\001 \001(\0162d.google.cloud.aipl" + + "atform.v1.schema.trainingjob.definition." + + "AutoMlImageObjectDetectionInputs.ModelTy" + + "pe\022\037\n\027budget_milli_node_hours\030\002 \001(\003\022\036\n\026d" + + "isable_early_stopping\030\003 \001(\010\"\262\001\n\tModelTyp" + + "e\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\031\n\025CLOUD_H" + + "IGH_ACCURACY_1\020\001\022\027\n\023CLOUD_LOW_LATENCY_1\020" + + "\002\022\033\n\027MOBILE_TF_LOW_LATENCY_1\020\003\022\031\n\025MOBILE" + + "_TF_VERSATILE_1\020\004\022\035\n\031MOBILE_TF_HIGH_ACCU" + + "RACY_1\020\005\"\300\002\n\"AutoMlImageObjectDetectionM" + + "etadata\022\035\n\025cost_milli_node_hours\030\001 \001(\003\022\221" + + "\001\n\026successful_stop_reason\030\002 \001(\0162q.google" + + ".cloud.aiplatform.v1.schema.trainingjob." + + "definition.AutoMlImageObjectDetectionMet" + + "adata.SuccessfulStopReason\"g\n\024Successful" + + "StopReason\022&\n\"SUCCESSFUL_STOP_REASON_UNS" + + "PECIFIED\020\000\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_" + + "CONVERGED\020\002B\374\002\nGoogle::Cloud::AIPlatform::V" + + "1::Schema::TrainingJob::Definitionb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlImageObjectDetection_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlImageObjectDetection_fieldAccessorTable = @@ -119,7 +116,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CostMilliNodeHours", "SuccessfulStopReason", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java index 5eb4d3e25..9d52f438f 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java @@ -51,47 +51,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nXgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_image_segmenta" + "tion.proto\0228google.cloud.aiplatform.v1.s" - + "chema.trainingjob.definition\032\034google/api" - + "/annotations.proto\"\357\001\n\027AutoMlImageSegmen" - + "tation\022g\n\006inputs\030\001 \001(\0132W.google.cloud.ai" + + "chema.trainingjob.definition\"\357\001\n\027AutoMlI" + + "mageSegmentation\022g\n\006inputs\030\001 \001(\0132W.googl" + + "e.cloud.aiplatform.v1.schema.trainingjob" + + ".definition.AutoMlImageSegmentationInput" + + "s\022k\n\010metadata\030\002 \001(\0132Y.google.cloud.aipla" + + "tform.v1.schema.trainingjob.definition.A" + + "utoMlImageSegmentationMetadata\"\311\002\n\035AutoM" + + "lImageSegmentationInputs\022u\n\nmodel_type\030\001" + + " \001(\0162a.google.cloud.aiplatform.v1.schema" + + ".trainingjob.definition.AutoMlImageSegme" + + "ntationInputs.ModelType\022\037\n\027budget_milli_" + + "node_hours\030\002 \001(\003\022\025\n\rbase_model_id\030\003 \001(\t\"" + + "y\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000" + + "\022\031\n\025CLOUD_HIGH_ACCURACY_1\020\001\022\030\n\024CLOUD_LOW" + + "_ACCURACY_1\020\002\022\033\n\027MOBILE_TF_LOW_LATENCY_1" + + "\020\003\"\272\002\n\037AutoMlImageSegmentationMetadata\022\035" + + "\n\025cost_milli_node_hours\030\001 \001(\003\022\216\001\n\026succes" + + "sful_stop_reason\030\002 \001(\0162n.google.cloud.ai" + "platform.v1.schema.trainingjob.definitio" - + "n.AutoMlImageSegmentationInputs\022k\n\010metad" - + "ata\030\002 \001(\0132Y.google.cloud.aiplatform.v1.s" - + "chema.trainingjob.definition.AutoMlImage" - + "SegmentationMetadata\"\311\002\n\035AutoMlImageSegm" - + "entationInputs\022u\n\nmodel_type\030\001 \001(\0162a.goo" - + "gle.cloud.aiplatform.v1.schema.trainingj" - + "ob.definition.AutoMlImageSegmentationInp" - + "uts.ModelType\022\037\n\027budget_milli_node_hours" - + "\030\002 \001(\003\022\025\n\rbase_model_id\030\003 \001(\t\"y\n\tModelTy" - + "pe\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\031\n\025CLOUD_" - + "HIGH_ACCURACY_1\020\001\022\030\n\024CLOUD_LOW_ACCURACY_" - + "1\020\002\022\033\n\027MOBILE_TF_LOW_LATENCY_1\020\003\"\272\002\n\037Aut" - + "oMlImageSegmentationMetadata\022\035\n\025cost_mil" - + "li_node_hours\030\001 \001(\003\022\216\001\n\026successful_stop_" - + "reason\030\002 \001(\0162n.google.cloud.aiplatform.v" - + "1.schema.trainingjob.definition.AutoMlIm" - + "ageSegmentationMetadata.SuccessfulStopRe" - + "ason\"g\n\024SuccessfulStopReason\022&\n\"SUCCESSF" - + "UL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BUDGET_R" - + "EACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\371\002\nGoogle::Cloud" - + "::AIPlatform::V1::Schema::TrainingJob::D" - + "efinitionb\006proto3" + + "n.AutoMlImageSegmentationMetadata.Succes" + + "sfulStopReason\"g\n\024SuccessfulStopReason\022&" + + "\n\"SUCCESSFUL_STOP_REASON_UNSPECIFIED\020\000\022\022" + + "\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B" + + "\371\002\nGoo" + + "gle::Cloud::AIPlatform::V1::Schema::Trai" + + "ningJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlImageSegmentation_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlImageSegmentation_fieldAccessorTable = @@ -116,7 +112,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CostMilliNodeHours", "SuccessfulStopReason", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java index 6d6aa279c..fd5ce18b2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java @@ -87,93 +87,90 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nLgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_tables.proto\0228" + "google.cloud.aiplatform.v1.schema.traini" - + "ngjob.definition\032\037google/api/field_behav" - + "ior.proto\032agoogle/cloud/aiplatform/v1/sc" - + "hema/trainingjob/definition/export_evalu" - + "ated_data_items_config.proto\032\034google/api" - + "/annotations.proto\"\316\001\n\014AutoMlTables\022\\\n\006i" - + "nputs\030\001 \001(\0132L.google.cloud.aiplatform.v1" - + ".schema.trainingjob.definition.AutoMlTab" - + "lesInputs\022`\n\010metadata\030\002 \001(\0132N.google.clo" + + "ngjob.definition\032agoogle/cloud/aiplatfor" + + "m/v1/schema/trainingjob/definition/expor" + + "t_evaluated_data_items_config.proto\"\316\001\n\014" + + "AutoMlTables\022\\\n\006inputs\030\001 \001(\0132L.google.cl" + + "oud.aiplatform.v1.schema.trainingjob.def" + + "inition.AutoMlTablesInputs\022`\n\010metadata\030\002" + + " \001(\0132N.google.cloud.aiplatform.v1.schema" + + ".trainingjob.definition.AutoMlTablesMeta" + + "data\"\364\021\n\022AutoMlTablesInputs\022-\n#optimizat" + + "ion_objective_recall_value\030\005 \001(\002H\000\0220\n&op" + + "timization_objective_precision_value\030\006 \001" + + "(\002H\000\022\027\n\017prediction_type\030\001 \001(\t\022\025\n\rtarget_" + + "column\030\002 \001(\t\022t\n\017transformations\030\003 \003(\0132[." + + "google.cloud.aiplatform.v1.schema.traini" + + "ngjob.definition.AutoMlTablesInputs.Tran" + + "sformation\022\036\n\026optimization_objective\030\004 \001" + + "(\t\022%\n\035train_budget_milli_node_hours\030\007 \001(" + + "\003\022\036\n\026disable_early_stopping\030\010 \001(\010\022\032\n\022wei" + + "ght_column_name\030\t \001(\t\022\204\001\n\"export_evaluat" + + "ed_data_items_config\030\n \001(\0132X.google.clou" + + "d.aiplatform.v1.schema.trainingjob.defin" + + "ition.ExportEvaluatedDataItemsConfig\022\036\n\026" + + "additional_experiments\030\013 \003(\t\032\200\r\n\016Transfo" + + "rmation\022~\n\004auto\030\001 \001(\0132n.google.cloud.aip" + + "latform.v1.schema.trainingjob.definition" + + ".AutoMlTablesInputs.Transformation.AutoT" + + "ransformationH\000\022\204\001\n\007numeric\030\002 \001(\0132q.goog" + + "le.cloud.aiplatform.v1.schema.trainingjo" + + "b.definition.AutoMlTablesInputs.Transfor" + + "mation.NumericTransformationH\000\022\214\001\n\013categ" + + "orical\030\003 \001(\0132u.google.cloud.aiplatform.v" + + "1.schema.trainingjob.definition.AutoMlTa" + + "blesInputs.Transformation.CategoricalTra" + + "nsformationH\000\022\210\001\n\ttimestamp\030\004 \001(\0132s.goog" + + "le.cloud.aiplatform.v1.schema.trainingjo" + + "b.definition.AutoMlTablesInputs.Transfor" + + "mation.TimestampTransformationH\000\022~\n\004text" + + "\030\005 \001(\0132n.google.cloud.aiplatform.v1.sche" + + "ma.trainingjob.definition.AutoMlTablesIn" + + "puts.Transformation.TextTransformationH\000" + + "\022\222\001\n\020repeated_numeric\030\006 \001(\0132v.google.clo" + "ud.aiplatform.v1.schema.trainingjob.defi" - + "nition.AutoMlTablesMetadata\"\364\021\n\022AutoMlTa" - + "blesInputs\022-\n#optimization_objective_rec" - + "all_value\030\005 \001(\002H\000\0220\n&optimization_object" - + "ive_precision_value\030\006 \001(\002H\000\022\027\n\017predictio" - + "n_type\030\001 \001(\t\022\025\n\rtarget_column\030\002 \001(\t\022t\n\017t" - + "ransformations\030\003 \003(\0132[.google.cloud.aipl" + + "nition.AutoMlTablesInputs.Transformation" + + ".NumericArrayTransformationH\000\022\232\001\n\024repeat" + + "ed_categorical\030\007 \001(\0132z.google.cloud.aipl" + "atform.v1.schema.trainingjob.definition." - + "AutoMlTablesInputs.Transformation\022\036\n\026opt" - + "imization_objective\030\004 \001(\t\022%\n\035train_budge" - + "t_milli_node_hours\030\007 \001(\003\022\036\n\026disable_earl" - + "y_stopping\030\010 \001(\010\022\032\n\022weight_column_name\030\t" - + " \001(\t\022\204\001\n\"export_evaluated_data_items_con" - + "fig\030\n \001(\0132X.google.cloud.aiplatform.v1.s" - + "chema.trainingjob.definition.ExportEvalu" - + "atedDataItemsConfig\022\036\n\026additional_experi" - + "ments\030\013 \003(\t\032\200\r\n\016Transformation\022~\n\004auto\030\001" - + " \001(\0132n.google.cloud.aiplatform.v1.schema" - + ".trainingjob.definition.AutoMlTablesInpu" - + "ts.Transformation.AutoTransformationH\000\022\204" - + "\001\n\007numeric\030\002 \001(\0132q.google.cloud.aiplatfo" - + "rm.v1.schema.trainingjob.definition.Auto" - + "MlTablesInputs.Transformation.NumericTra" - + "nsformationH\000\022\214\001\n\013categorical\030\003 \001(\0132u.go" - + "ogle.cloud.aiplatform.v1.schema.training" - + "job.definition.AutoMlTablesInputs.Transf" - + "ormation.CategoricalTransformationH\000\022\210\001\n" - + "\ttimestamp\030\004 \001(\0132s.google.cloud.aiplatfo" - + "rm.v1.schema.trainingjob.definition.Auto" - + "MlTablesInputs.Transformation.TimestampT" - + "ransformationH\000\022~\n\004text\030\005 \001(\0132n.google.c" - + "loud.aiplatform.v1.schema.trainingjob.de" - + "finition.AutoMlTablesInputs.Transformati" - + "on.TextTransformationH\000\022\222\001\n\020repeated_num" - + "eric\030\006 \001(\0132v.google.cloud.aiplatform.v1." + + "AutoMlTablesInputs.Transformation.Catego" + + "ricalArrayTransformationH\000\022\214\001\n\rrepeated_" + + "text\030\010 \001(\0132s.google.cloud.aiplatform.v1." + "schema.trainingjob.definition.AutoMlTabl" - + "esInputs.Transformation.NumericArrayTran" - + "sformationH\000\022\232\001\n\024repeated_categorical\030\007 " - + "\001(\0132z.google.cloud.aiplatform.v1.schema." - + "trainingjob.definition.AutoMlTablesInput" - + "s.Transformation.CategoricalArrayTransfo" - + "rmationH\000\022\214\001\n\rrepeated_text\030\010 \001(\0132s.goog" - + "le.cloud.aiplatform.v1.schema.trainingjo" - + "b.definition.AutoMlTablesInputs.Transfor" - + "mation.TextArrayTransformationH\000\032)\n\022Auto" - + "Transformation\022\023\n\013column_name\030\001 \001(\t\032L\n\025N" - + "umericTransformation\022\023\n\013column_name\030\001 \001(" - + "\t\022\036\n\026invalid_values_allowed\030\002 \001(\010\0320\n\031Cat" - + "egoricalTransformation\022\023\n\013column_name\030\001 " - + "\001(\t\032c\n\027TimestampTransformation\022\023\n\013column" - + "_name\030\001 \001(\t\022\023\n\013time_format\030\002 \001(\t\022\036\n\026inva" - + "lid_values_allowed\030\003 \001(\010\032)\n\022TextTransfor" - + "mation\022\023\n\013column_name\030\001 \001(\t\032Q\n\032NumericAr" - + "rayTransformation\022\023\n\013column_name\030\001 \001(\t\022\036" - + "\n\026invalid_values_allowed\030\002 \001(\010\0325\n\036Catego" - + "ricalArrayTransformation\022\023\n\013column_name\030" - + "\001 \001(\t\032.\n\027TextArrayTransformation\022\023\n\013colu" - + "mn_name\030\001 \001(\tB\027\n\025transformation_detailB*" - + "\n(additional_optimization_objective_conf" - + "ig\";\n\024AutoMlTablesMetadata\022#\n\033train_cost" - + "_milli_node_hours\030\001 \001(\003B\356\002\nGoogle::Cloud::AIPlatform::V1:" - + ":Schema::TrainingJob::Definitionb\006proto3" + + "esInputs.Transformation.TextArrayTransfo" + + "rmationH\000\032)\n\022AutoTransformation\022\023\n\013colum" + + "n_name\030\001 \001(\t\032L\n\025NumericTransformation\022\023\n" + + "\013column_name\030\001 \001(\t\022\036\n\026invalid_values_all" + + "owed\030\002 \001(\010\0320\n\031CategoricalTransformation\022" + + "\023\n\013column_name\030\001 \001(\t\032c\n\027TimestampTransfo" + + "rmation\022\023\n\013column_name\030\001 \001(\t\022\023\n\013time_for" + + "mat\030\002 \001(\t\022\036\n\026invalid_values_allowed\030\003 \001(" + + "\010\032)\n\022TextTransformation\022\023\n\013column_name\030\001" + + " \001(\t\032Q\n\032NumericArrayTransformation\022\023\n\013co" + + "lumn_name\030\001 \001(\t\022\036\n\026invalid_values_allowe" + + "d\030\002 \001(\010\0325\n\036CategoricalArrayTransformatio" + + "n\022\023\n\013column_name\030\001 \001(\t\032.\n\027TextArrayTrans" + + "formation\022\023\n\013column_name\030\001 \001(\tB\027\n\025transf" + + "ormation_detailB*\n(additional_optimizati" + + "on_objective_config\";\n\024AutoMlTablesMetad" + + "ata\022#\n\033train_cost_milli_node_hours\030\001 \001(\003" + + "B\356\002\nGoogle::Cloud" + + "::AIPlatform::V1::Schema::TrainingJob::D" + + "efinitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.aiplatform.v1.schema.trainingjob.definition .ExportEvaluatedDataItemsConfigProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTables_descriptor = getDescriptor().getMessageTypes().get(0); @@ -308,10 +305,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "TrainCostMilliNodeHours", }); - com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfigProto .getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java index d47f17855..afdbd1583 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java @@ -47,29 +47,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nYgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_text_classific" + "ation.proto\0228google.cloud.aiplatform.v1." - + "schema.trainingjob.definition\032\034google/ap" - + "i/annotations.proto\"\204\001\n\030AutoMlTextClassi" - + "fication\022h\n\006inputs\030\001 \001(\0132X.google.cloud." - + "aiplatform.v1.schema.trainingjob.definit" - + "ion.AutoMlTextClassificationInputs\"5\n\036Au" - + "toMlTextClassificationInputs\022\023\n\013multi_la" - + "bel\030\001 \001(\010B\372\002\nGoogle::Cloud::AIPlatform::V1::S" - + "chema::TrainingJob::Definitionb\006proto3" + + "schema.trainingjob.definition\"\204\001\n\030AutoMl" + + "TextClassification\022h\n\006inputs\030\001 \001(\0132X.goo" + + "gle.cloud.aiplatform.v1.schema.trainingj" + + "ob.definition.AutoMlTextClassificationIn" + + "puts\"5\n\036AutoMlTextClassificationInputs\022\023" + + "\n\013multi_label\030\001 \001(\010B\372\002\nGoogle::Cloud::AIPlatf" + + "orm::V1::Schema::TrainingJob::Definition" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextClassification_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextClassification_fieldAccessorTable = @@ -86,7 +83,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "MultiLabel", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java index ae2dd989f..bcef82273 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java @@ -47,28 +47,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nUgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_text_extractio" + "n.proto\0228google.cloud.aiplatform.v1.sche" - + "ma.trainingjob.definition\032\034google/api/an" - + "notations.proto\"|\n\024AutoMlTextExtraction\022" - + "d\n\006inputs\030\001 \001(\0132T.google.cloud.aiplatfor" - + "m.v1.schema.trainingjob.definition.AutoM" - + "lTextExtractionInputs\"\034\n\032AutoMlTextExtra" - + "ctionInputsB\366\002\nGoogle::Cloud::AIPlatform::V1::Sch" - + "ema::TrainingJob::Definitionb\006proto3" + + "ma.trainingjob.definition\"|\n\024AutoMlTextE" + + "xtraction\022d\n\006inputs\030\001 \001(\0132T.google.cloud" + + ".aiplatform.v1.schema.trainingjob.defini" + + "tion.AutoMlTextExtractionInputs\"\034\n\032AutoM" + + "lTextExtractionInputsB\366\002\nGoogle::Cloud::AIPlatfor" + + "m::V1::Schema::TrainingJob::Definitionb\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextExtraction_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextExtraction_fieldAccessorTable = @@ -83,7 +80,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextExtractionInputs_descriptor, new java.lang.String[] {}); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java index 53ae5ddb4..ce71301f5 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java @@ -47,29 +47,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nTgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_text_sentiment" + ".proto\0228google.cloud.aiplatform.v1.schem" - + "a.trainingjob.definition\032\034google/api/ann" - + "otations.proto\"z\n\023AutoMlTextSentiment\022c\n" - + "\006inputs\030\001 \001(\0132S.google.cloud.aiplatform." - + "v1.schema.trainingjob.definition.AutoMlT" - + "extSentimentInputs\"2\n\031AutoMlTextSentimen" - + "tInputs\022\025\n\rsentiment_max\030\001 \001(\005B\365\002\nGoogle::Cloud::A" - + "IPlatform::V1::Schema::TrainingJob::Defi" - + "nitionb\006proto3" + + "a.trainingjob.definition\"z\n\023AutoMlTextSe" + + "ntiment\022c\n\006inputs\030\001 \001(\0132S.google.cloud.a" + + "iplatform.v1.schema.trainingjob.definiti" + + "on.AutoMlTextSentimentInputs\"2\n\031AutoMlTe" + + "xtSentimentInputs\022\025\n\rsentiment_max\030\001 \001(\005" + + "B\365\002\nGoogle" + + "::Cloud::AIPlatform::V1::Schema::Trainin" + + "gJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextSentiment_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlTextSentiment_fieldAccessorTable = @@ -86,7 +82,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "SentimentMax", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java index c10131f0c..350f09405 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java @@ -48,36 +48,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n^google/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_video_action_r" + "ecognition.proto\0228google.cloud.aiplatfor" - + "m.v1.schema.trainingjob.definition\032\034goog" - + "le/api/annotations.proto\"\214\001\n\034AutoMlVideo" - + "ActionRecognition\022l\n\006inputs\030\001 \001(\0132\\.goog" - + "le.cloud.aiplatform.v1.schema.trainingjo" - + "b.definition.AutoMlVideoActionRecognitio" - + "nInputs\"\252\002\n\"AutoMlVideoActionRecognition" - + "Inputs\022z\n\nmodel_type\030\001 \001(\0162f.google.clou" - + "d.aiplatform.v1.schema.trainingjob.defin" - + "ition.AutoMlVideoActionRecognitionInputs" - + ".ModelType\"\207\001\n\tModelType\022\032\n\026MODEL_TYPE_U" - + "NSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VERSAT" - + "ILE_1\020\002\022\035\n\031MOBILE_JETSON_VERSATILE_1\020\003\022\034" - + "\n\030MOBILE_CORAL_VERSATILE_1\020\004B\376\002\nGoogle::C" - + "loud::AIPlatform::V1::Schema::TrainingJo" - + "b::Definitionb\006proto3" + + "m.v1.schema.trainingjob.definition\"\214\001\n\034A" + + "utoMlVideoActionRecognition\022l\n\006inputs\030\001 " + + "\001(\0132\\.google.cloud.aiplatform.v1.schema." + + "trainingjob.definition.AutoMlVideoAction" + + "RecognitionInputs\"\252\002\n\"AutoMlVideoActionR" + + "ecognitionInputs\022z\n\nmodel_type\030\001 \001(\0162f.g" + + "oogle.cloud.aiplatform.v1.schema.trainin" + + "gjob.definition.AutoMlVideoActionRecogni" + + "tionInputs.ModelType\"\207\001\n\tModelType\022\032\n\026MO" + + "DEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOB" + + "ILE_VERSATILE_1\020\002\022\035\n\031MOBILE_JETSON_VERSA" + + "TILE_1\020\003\022\034\n\030MOBILE_CORAL_VERSATILE_1\020\004B\376" + + "\002\nGoogle::Cloud::AIPlatform::V1::Schema::" + + "TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlVideoActionRecognition_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlVideoActionRecognition_fieldAccessorTable = @@ -94,7 +90,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ModelType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java index f753ab406..79b1fab8a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java @@ -48,35 +48,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nZgoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_video_classifi" + "cation.proto\0228google.cloud.aiplatform.v1" - + ".schema.trainingjob.definition\032\034google/a" - + "pi/annotations.proto\"\206\001\n\031AutoMlVideoClas" - + "sification\022i\n\006inputs\030\001 \001(\0132Y.google.clou" - + "d.aiplatform.v1.schema.trainingjob.defin" - + "ition.AutoMlVideoClassificationInputs\"\205\002" - + "\n\037AutoMlVideoClassificationInputs\022w\n\nmod" - + "el_type\030\001 \001(\0162c.google.cloud.aiplatform." - + "v1.schema.trainingjob.definition.AutoMlV" - + "ideoClassificationInputs.ModelType\"i\n\tMo" - + "delType\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n\005C" - + "LOUD\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002\022\035\n\031MOBILE" - + "_JETSON_VERSATILE_1\020\003B\373\002\nGoogle::Cloud::AIPl" - + "atform::V1::Schema::TrainingJob::Definit" - + "ionb\006proto3" + + ".schema.trainingjob.definition\"\206\001\n\031AutoM" + + "lVideoClassification\022i\n\006inputs\030\001 \001(\0132Y.g" + + "oogle.cloud.aiplatform.v1.schema.trainin" + + "gjob.definition.AutoMlVideoClassificatio" + + "nInputs\"\205\002\n\037AutoMlVideoClassificationInp" + + "uts\022w\n\nmodel_type\030\001 \001(\0162c.google.cloud.a" + + "iplatform.v1.schema.trainingjob.definiti" + + "on.AutoMlVideoClassificationInputs.Model" + + "Type\"i\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIF" + + "IED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002" + + "\022\035\n\031MOBILE_JETSON_VERSATILE_1\020\003B\373\002\nGoogle::C" + + "loud::AIPlatform::V1::Schema::TrainingJo" + + "b::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlVideoClassification_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlVideoClassification_fieldAccessorTable = @@ -93,7 +89,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ModelType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java index 86d09df6a..0d8d55c38 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java @@ -48,37 +48,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n[google/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/automl_video_object_t" + "racking.proto\0228google.cloud.aiplatform.v" - + "1.schema.trainingjob.definition\032\034google/" - + "api/annotations.proto\"\206\001\n\031AutoMlVideoObj" - + "ectTracking\022i\n\006inputs\030\001 \001(\0132Y.google.clo" - + "ud.aiplatform.v1.schema.trainingjob.defi" - + "nition.AutoMlVideoObjectTrackingInputs\"\345" - + "\002\n\037AutoMlVideoObjectTrackingInputs\022w\n\nmo" - + "del_type\030\001 \001(\0162c.google.cloud.aiplatform" - + ".v1.schema.trainingjob.definition.AutoMl" - + "VideoObjectTrackingInputs.ModelType\"\310\001\n\t" - + "ModelType\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n" - + "\005CLOUD\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002\022\034\n\030MOBI" - + "LE_CORAL_VERSATILE_1\020\003\022\036\n\032MOBILE_CORAL_L" - + "OW_LATENCY_1\020\004\022\035\n\031MOBILE_JETSON_VERSATIL" - + "E_1\020\005\022\037\n\033MOBILE_JETSON_LOW_LATENCY_1\020\006B\373" - + "\002\nGo" - + "ogle::Cloud::AIPlatform::V1::Schema::Tra" - + "iningJob::Definitionb\006proto3" + + "1.schema.trainingjob.definition\"\206\001\n\031Auto" + + "MlVideoObjectTracking\022i\n\006inputs\030\001 \001(\0132Y." + + "google.cloud.aiplatform.v1.schema.traini" + + "ngjob.definition.AutoMlVideoObjectTracki" + + "ngInputs\"\345\002\n\037AutoMlVideoObjectTrackingIn" + + "puts\022w\n\nmodel_type\030\001 \001(\0162c.google.cloud." + + "aiplatform.v1.schema.trainingjob.definit" + + "ion.AutoMlVideoObjectTrackingInputs.Mode" + + "lType\"\310\001\n\tModelType\022\032\n\026MODEL_TYPE_UNSPEC" + + "IFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VERSATILE_1" + + "\020\002\022\034\n\030MOBILE_CORAL_VERSATILE_1\020\003\022\036\n\032MOBI" + + "LE_CORAL_LOW_LATENCY_1\020\004\022\035\n\031MOBILE_JETSO" + + "N_VERSATILE_1\020\005\022\037\n\033MOBILE_JETSON_LOW_LAT" + + "ENCY_1\020\006B\373\002\nGoogle::Cloud::AIPlatform::V1::S" + + "chema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlVideoObjectTracking_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_AutoMlVideoObjectTracking_fieldAccessorTable = @@ -95,7 +91,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ModelType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java index 83b095e27..d8b0af724 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java @@ -44,28 +44,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nagoogle/cloud/aiplatform/v1/schema/trai" + "ningjob/definition/export_evaluated_data" + "_items_config.proto\0228google.cloud.aiplat" - + "form.v1.schema.trainingjob.definition\032\034g" - + "oogle/api/annotations.proto\"c\n\036ExportEva" - + "luatedDataItemsConfig\022 \n\030destination_big" - + "query_uri\030\001 \001(\t\022\037\n\027override_existing_tab" - + "le\030\002 \001(\010B\200\003\nGoogle::Cloud::AIPlatform::" - + "V1::Schema::TrainingJob::Definitionb\006pro" - + "to3" + + "form.v1.schema.trainingjob.definition\"c\n" + + "\036ExportEvaluatedDataItemsConfig\022 \n\030desti" + + "nation_bigquery_uri\030\001 \001(\t\022\037\n\027override_ex" + + "isting_table\030\002 \001(\010B\200\003\nGoogle::Cloud::AI" + + "Platform::V1::Schema::TrainingJob::Defin" + + "itionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_ExportEvaluatedDataItemsConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_schema_trainingjob_definition_ExportEvaluatedDataItemsConfig_fieldAccessorTable = @@ -74,7 +70,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "DestinationBigqueryUri", "OverrideExistingTable", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto index 752227950..7ebb77ab8 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto index 5e5317336..96aa4b14e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto index b4682c035..95dbf98cf 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto index cfd431702..7d977a2f3 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto index 697ee1197..b0b60c0fc 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto index a06c7c2f6..15ded40b9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto index 9ab477e24..a43507dd6 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto index 68cb3cb35..70318a602 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto index 34adc8406..26b34930b 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto index b3cb7e20f..6aab8b468 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto index 34130f7c6..e957e2af2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto index 50e06ee8d..5469108a3 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto index aa6407226..ba6ec5403 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto index ec062072f..f4325f8a1 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto index 579dc4d4c..82449062d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto index b8e396ab6..be54f2c8d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto index 50d76ecc3..b0bb842e6 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto index f245f1e13..20ff4f6d2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto index 25cd6672b..979461bd3 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto index a26c3cb25..ba6bc6a7d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto index 00ca76943..f74a82bfd 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto index 09d24248d..4e8d5ec2c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto index 6cd59711c..35aecb6c5 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto @@ -18,7 +18,6 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto index 5d33c5aea..fee01c7e7 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto @@ -18,7 +18,6 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto index 20ecbb1a7..d445c0cc4 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto @@ -18,7 +18,6 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto index f51227cfb..0f2c1ea4e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto index 62e7ae2c3..1459a85a7 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto index 00af43c1c..8303ef692 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto index 0c4ee2d6e..5b43fc7be 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto @@ -16,9 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto index 8723af0e8..1713e6a6c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto index db33c3f56..01f56c31f 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto index 153a57fe5..cb3f0ac5f 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto index 86f723b7d..331033bdc 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto index ff0d78f08..194ea3c66 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto index 52cba9f38..d97e356f3 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto index ac0d32356..eaa3298a2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java index ace90a144..0c6b0f519 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nRgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/image_classification.p" + "roto\0227google.cloud.aiplatform.v1beta1.sc" - + "hema.predict.instance\032\034google/api/annota" - + "tions.proto\"K\n%ImageClassificationPredic" - + "tionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_ty" - + "pe\030\002 \001(\tB\200\003\n;com.google.cloud.aiplatform" - + ".v1beta1.schema.predict.instanceB*ImageC" - + "lassificationPredictionInstanceProtoP\001Z_" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1beta1/schema/predict/in" - + "stance;instance\252\0027Google.Cloud.AIPlatfor" - + "m.V1Beta1.Schema.Predict.Instance\312\0027Goog" - + "le\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predi" - + "ct\\Instance\352\002=Google::Cloud::AIPlatform:" - + ":V1beta1::Schema::Predict::Instanceb\006pro" - + "to3" + + "hema.predict.instance\"K\n%ImageClassifica" + + "tionPredictionInstance\022\017\n\007content\030\001 \001(\t\022" + + "\021\n\tmime_type\030\002 \001(\tB\200\003\n;com.google.cloud." + + "aiplatform.v1beta1.schema.predict.instan" + + "ceB*ImageClassificationPredictionInstanc" + + "eProtoP\001Z_google.golang.org/genproto/goo" + + "gleapis/cloud/aiplatform/v1beta1/schema/" + + "predict/instance;instance\252\0027Google.Cloud" + + ".AIPlatform.V1Beta1.Schema.Predict.Insta" + + "nce\312\0027Google\\Cloud\\AIPlatform\\V1beta1\\Sc" + + "hema\\Predict\\Instance\352\002=Google::Cloud::A" + + "IPlatform::V1beta1::Schema::Predict::Ins" + + "tanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_ImageClassificationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_ImageClassificationPredictionInstance_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java index 8bd328d1c..e06ab6d4e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nTgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/image_object_detection" + ".proto\0227google.cloud.aiplatform.v1beta1." - + "schema.predict.instance\032\034google/api/anno" - + "tations.proto\"L\n&ImageObjectDetectionPre" - + "dictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime" - + "_type\030\002 \001(\tB\201\003\n;com.google.cloud.aiplatf" - + "orm.v1beta1.schema.predict.instanceB+Ima" - + "geObjectDetectionPredictionInstanceProto" - + "P\001Z_google.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1beta1/schema/predic" - + "t/instance;instance\252\0027Google.Cloud.AIPla" - + "tform.V1Beta1.Schema.Predict.Instance\312\0027" - + "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\P" - + "redict\\Instance\352\002=Google::Cloud::AIPlatf" - + "orm::V1beta1::Schema::Predict::Instanceb" - + "\006proto3" + + "schema.predict.instance\"L\n&ImageObjectDe" + + "tectionPredictionInstance\022\017\n\007content\030\001 \001" + + "(\t\022\021\n\tmime_type\030\002 \001(\tB\201\003\n;com.google.clo" + + "ud.aiplatform.v1beta1.schema.predict.ins" + + "tanceB+ImageObjectDetectionPredictionIns" + + "tanceProtoP\001Z_google.golang.org/genproto" + + "/googleapis/cloud/aiplatform/v1beta1/sch" + + "ema/predict/instance;instance\252\0027Google.C" + + "loud.AIPlatform.V1Beta1.Schema.Predict.I" + + "nstance\312\0027Google\\Cloud\\AIPlatform\\V1beta" + + "1\\Schema\\Predict\\Instance\352\002=Google::Clou" + + "d::AIPlatform::V1beta1::Schema::Predict:" + + ":Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_ImageObjectDetectionPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_ImageObjectDetectionPredictionInstance_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java index 9d398592b..1db7d1cc0 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java @@ -43,26 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nPgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/image_segmentation.pro" + "to\0227google.cloud.aiplatform.v1beta1.sche" - + "ma.predict.instance\032\034google/api/annotati" - + "ons.proto\"I\n#ImageSegmentationPrediction" - + "Instance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002" - + " \001(\tB\376\002\n;com.google.cloud.aiplatform.v1b" - + "eta1.schema.predict.instanceB(ImageSegme" - + "ntationPredictionInstanceProtoP\001Z_google" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1beta1/schema/predict/instance" - + ";instance\252\0027Google.Cloud.AIPlatform.V1Be" - + "ta1.Schema.Predict.Instance\312\0027Google\\Clo" - + "ud\\AIPlatform\\V1beta1\\Schema\\Predict\\Ins" - + "tance\352\002=Google::Cloud::AIPlatform::V1bet" - + "a1::Schema::Predict::Instanceb\006proto3" + + "ma.predict.instance\"I\n#ImageSegmentation" + + "PredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tm" + + "ime_type\030\002 \001(\tB\376\002\n;com.google.cloud.aipl" + + "atform.v1beta1.schema.predict.instanceB(" + + "ImageSegmentationPredictionInstanceProto" + + "P\001Z_google.golang.org/genproto/googleapi" + + "s/cloud/aiplatform/v1beta1/schema/predic" + + "t/instance;instance\252\0027Google.Cloud.AIPla" + + "tform.V1Beta1.Schema.Predict.Instance\312\0027" + + "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\P" + + "redict\\Instance\352\002=Google::Cloud::AIPlatf" + + "orm::V1beta1::Schema::Predict::Instanceb" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_ImageSegmentationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_ImageSegmentationPredictionInstance_fieldAccessorTable = @@ -71,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java index 5f2aad6cb..59d6590f8 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java @@ -43,26 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nQgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/text_classification.pr" + "oto\0227google.cloud.aiplatform.v1beta1.sch" - + "ema.predict.instance\032\034google/api/annotat" - + "ions.proto\"J\n$TextClassificationPredicti" - + "onInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type" - + "\030\002 \001(\tB\377\002\n;com.google.cloud.aiplatform.v" - + "1beta1.schema.predict.instanceB)TextClas" - + "sificationPredictionInstanceProtoP\001Z_goo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1beta1/schema/predict/insta" - + "nce;instance\252\0027Google.Cloud.AIPlatform.V" - + "1Beta1.Schema.Predict.Instance\312\0027Google\\" - + "Cloud\\AIPlatform\\V1beta1\\Schema\\Predict\\" - + "Instance\352\002=Google::Cloud::AIPlatform::V1" - + "beta1::Schema::Predict::Instanceb\006proto3" + + "ema.predict.instance\"J\n$TextClassificati" + + "onPredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n" + + "\tmime_type\030\002 \001(\tB\377\002\n;com.google.cloud.ai" + + "platform.v1beta1.schema.predict.instance" + + "B)TextClassificationPredictionInstancePr" + + "otoP\001Z_google.golang.org/genproto/google" + + "apis/cloud/aiplatform/v1beta1/schema/pre" + + "dict/instance;instance\252\0027Google.Cloud.AI" + + "Platform.V1Beta1.Schema.Predict.Instance" + + "\312\0027Google\\Cloud\\AIPlatform\\V1beta1\\Schem" + + "a\\Predict\\Instance\352\002=Google::Cloud::AIPl" + + "atform::V1beta1::Schema::Predict::Instan" + + "ceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_TextClassificationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_TextClassificationPredictionInstance_fieldAccessorTable = @@ -71,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java index 79f035452..cd88d8c08 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nMgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/text_extraction.proto\022" + "7google.cloud.aiplatform.v1beta1.schema." - + "predict.instance\032\034google/api/annotations" - + ".proto\"S\n TextExtractionPredictionInstan" - + "ce\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\013" - + "\n\003key\030\003 \001(\tB\373\002\n;com.google.cloud.aiplatf" - + "orm.v1beta1.schema.predict.instanceB%Tex" - + "tExtractionPredictionInstanceProtoP\001Z_go" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1beta1/schema/predict/inst" - + "ance;instance\252\0027Google.Cloud.AIPlatform." - + "V1Beta1.Schema.Predict.Instance\312\0027Google" - + "\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict" - + "\\Instance\352\002=Google::Cloud::AIPlatform::V" - + "1beta1::Schema::Predict::Instanceb\006proto" - + "3" + + "predict.instance\"S\n TextExtractionPredic" + + "tionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_ty" + + "pe\030\002 \001(\t\022\013\n\003key\030\003 \001(\tB\373\002\n;com.google.clo" + + "ud.aiplatform.v1beta1.schema.predict.ins" + + "tanceB%TextExtractionPredictionInstanceP" + + "rotoP\001Z_google.golang.org/genproto/googl" + + "eapis/cloud/aiplatform/v1beta1/schema/pr" + + "edict/instance;instance\252\0027Google.Cloud.A" + + "IPlatform.V1Beta1.Schema.Predict.Instanc" + + "e\312\0027Google\\Cloud\\AIPlatform\\V1beta1\\Sche" + + "ma\\Predict\\Instance\352\002=Google::Cloud::AIP" + + "latform::V1beta1::Schema::Predict::Insta" + + "nceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_TextExtractionPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_TextExtractionPredictionInstance_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "Key", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java index d58bd20a8..5593377fb 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nLgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/text_sentiment.proto\0227" + "google.cloud.aiplatform.v1beta1.schema.p" - + "redict.instance\032\034google/api/annotations." - + "proto\"E\n\037TextSentimentPredictionInstance" - + "\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\372\002\n" - + ";com.google.cloud.aiplatform.v1beta1.sch" - + "ema.predict.instanceB$TextSentimentPredi" - + "ctionInstanceProtoP\001Z_google.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1b" - + "eta1/schema/predict/instance;instance\252\0027" - + "Google.Cloud.AIPlatform.V1Beta1.Schema.P" - + "redict.Instance\312\0027Google\\Cloud\\AIPlatfor" - + "m\\V1beta1\\Schema\\Predict\\Instance\352\002=Goog" - + "le::Cloud::AIPlatform::V1beta1::Schema::" - + "Predict::Instanceb\006proto3" + + "redict.instance\"E\n\037TextSentimentPredicti" + + "onInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type" + + "\030\002 \001(\tB\372\002\n;com.google.cloud.aiplatform.v" + + "1beta1.schema.predict.instanceB$TextSent" + + "imentPredictionInstanceProtoP\001Z_google.g" + + "olang.org/genproto/googleapis/cloud/aipl" + + "atform/v1beta1/schema/predict/instance;i" + + "nstance\252\0027Google.Cloud.AIPlatform.V1Beta" + + "1.Schema.Predict.Instance\312\0027Google\\Cloud" + + "\\AIPlatform\\V1beta1\\Schema\\Predict\\Insta" + + "nce\352\002=Google::Cloud::AIPlatform::V1beta1" + + "::Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_TextSentimentPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_TextSentimentPredictionInstance_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java index c1029175e..9cff669bd 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java @@ -43,28 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nVgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/video_action_recogniti" + "on.proto\0227google.cloud.aiplatform.v1beta" - + "1.schema.predict.instance\032\034google/api/an" - + "notations.proto\"\204\001\n(VideoActionRecogniti" - + "onPredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n" - + "\tmime_type\030\002 \001(\t\022\032\n\022time_segment_start\030\003" - + " \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\203\003\n;com.g" - + "oogle.cloud.aiplatform.v1beta1.schema.pr" - + "edict.instanceB-VideoActionRecognitionPr" - + "edictionInstanceProtoP\001Z_google.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1beta1/schema/predict/instance;instance" - + "\252\0027Google.Cloud.AIPlatform.V1Beta1.Schem" - + "a.Predict.Instance\312\0027Google\\Cloud\\AIPlat" - + "form\\V1beta1\\Schema\\Predict\\Instance\352\002=G" - + "oogle::Cloud::AIPlatform::V1beta1::Schem" - + "a::Predict::Instanceb\006proto3" + + "1.schema.predict.instance\"\204\001\n(VideoActio" + + "nRecognitionPredictionInstance\022\017\n\007conten" + + "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\032\n\022time_segme" + + "nt_start\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\t" + + "B\203\003\n;com.google.cloud.aiplatform.v1beta1" + + ".schema.predict.instanceB-VideoActionRec" + + "ognitionPredictionInstanceProtoP\001Z_googl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "iplatform/v1beta1/schema/predict/instanc" + + "e;instance\252\0027Google.Cloud.AIPlatform.V1B" + + "eta1.Schema.Predict.Instance\312\0027Google\\Cl" + + "oud\\AIPlatform\\V1beta1\\Schema\\Predict\\In" + + "stance\352\002=Google::Cloud::AIPlatform::V1be" + + "ta1::Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_VideoActionRecognitionPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_VideoActionRecognitionPredictionInstance_fieldAccessorTable = @@ -73,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "TimeSegmentStart", "TimeSegmentEnd", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java index 208548501..ffdcc6f48 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java @@ -43,28 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nRgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/video_classification.p" + "roto\0227google.cloud.aiplatform.v1beta1.sc" - + "hema.predict.instance\032\034google/api/annota" - + "tions.proto\"\201\001\n%VideoClassificationPredi" - + "ctionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_t" - + "ype\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030\n" - + "\020time_segment_end\030\004 \001(\tB\200\003\n;com.google.c" - + "loud.aiplatform.v1beta1.schema.predict.i" - + "nstanceB*VideoClassificationPredictionIn" - + "stanceProtoP\001Z_google.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1beta1/sc" - + "hema/predict/instance;instance\252\0027Google." - + "Cloud.AIPlatform.V1Beta1.Schema.Predict." - + "Instance\312\0027Google\\Cloud\\AIPlatform\\V1bet" - + "a1\\Schema\\Predict\\Instance\352\002=Google::Clo" - + "ud::AIPlatform::V1beta1::Schema::Predict" - + "::Instanceb\006proto3" + + "hema.predict.instance\"\201\001\n%VideoClassific" + + "ationPredictionInstance\022\017\n\007content\030\001 \001(\t" + + "\022\021\n\tmime_type\030\002 \001(\t\022\032\n\022time_segment_star" + + "t\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\200\003\n;co" + + "m.google.cloud.aiplatform.v1beta1.schema" + + ".predict.instanceB*VideoClassificationPr" + + "edictionInstanceProtoP\001Z_google.golang.o" + + "rg/genproto/googleapis/cloud/aiplatform/" + + "v1beta1/schema/predict/instance;instance" + + "\252\0027Google.Cloud.AIPlatform.V1Beta1.Schem" + + "a.Predict.Instance\312\0027Google\\Cloud\\AIPlat" + + "form\\V1beta1\\Schema\\Predict\\Instance\352\002=G" + + "oogle::Cloud::AIPlatform::V1beta1::Schem" + + "a::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_VideoClassificationPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_VideoClassificationPredictionInstance_fieldAccessorTable = @@ -73,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "TimeSegmentStart", "TimeSegmentEnd", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java index 0c3f08272..4814f5e63 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java @@ -43,28 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nSgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/instance/video_object_tracking." + "proto\0227google.cloud.aiplatform.v1beta1.s" - + "chema.predict.instance\032\034google/api/annot" - + "ations.proto\"\201\001\n%VideoObjectTrackingPred" - + "ictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_" - + "type\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030" - + "\n\020time_segment_end\030\004 \001(\tB\200\003\n;com.google." - + "cloud.aiplatform.v1beta1.schema.predict." - + "instanceB*VideoObjectTrackingPredictionI" - + "nstanceProtoP\001Z_google.golang.org/genpro" - + "to/googleapis/cloud/aiplatform/v1beta1/s" - + "chema/predict/instance;instance\252\0027Google" - + ".Cloud.AIPlatform.V1Beta1.Schema.Predict" - + ".Instance\312\0027Google\\Cloud\\AIPlatform\\V1be" - + "ta1\\Schema\\Predict\\Instance\352\002=Google::Cl" - + "oud::AIPlatform::V1beta1::Schema::Predic" - + "t::Instanceb\006proto3" + + "chema.predict.instance\"\201\001\n%VideoObjectTr" + + "ackingPredictionInstance\022\017\n\007content\030\001 \001(" + + "\t\022\021\n\tmime_type\030\002 \001(\t\022\032\n\022time_segment_sta" + + "rt\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\200\003\n;c" + + "om.google.cloud.aiplatform.v1beta1.schem" + + "a.predict.instanceB*VideoObjectTrackingP" + + "redictionInstanceProtoP\001Z_google.golang." + + "org/genproto/googleapis/cloud/aiplatform" + + "/v1beta1/schema/predict/instance;instanc" + + "e\252\0027Google.Cloud.AIPlatform.V1Beta1.Sche" + + "ma.Predict.Instance\312\0027Google\\Cloud\\AIPla" + + "tform\\V1beta1\\Schema\\Predict\\Instance\352\002=" + + "Google::Cloud::AIPlatform::V1beta1::Sche" + + "ma::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_VideoObjectTrackingPredictionInstance_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_instance_VideoObjectTrackingPredictionInstance_fieldAccessorTable = @@ -73,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Content", "MimeType", "TimeSegmentStart", "TimeSegmentEnd", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java index 74276ff7b..df77f0fd5 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nPgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/params/image_classification.pro" + "to\0225google.cloud.aiplatform.v1beta1.sche" - + "ma.predict.params\032\034google/api/annotation" - + "s.proto\"\\\n#ImageClassificationPrediction" - + "Params\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n\017" - + "max_predictions\030\002 \001(\005B\362\002\n9com.google.clo" - + "ud.aiplatform.v1beta1.schema.predict.par" - + "amsB(ImageClassificationPredictionParams" - + "ProtoP\001Z[google.golang.org/genproto/goog" - + "leapis/cloud/aiplatform/v1beta1/schema/p" - + "redict/params;params\252\0025Google.Cloud.AIPl" - + "atform.V1Beta1.Schema.Predict.Params\312\0025G" - + "oogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Pr" - + "edict\\Params\352\002;Google::Cloud::AIPlatform" - + "::V1beta1::Schema::Predict::Paramsb\006prot" - + "o3" + + "ma.predict.params\"\\\n#ImageClassification" + + "PredictionParams\022\034\n\024confidence_threshold" + + "\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\362\002\n9com." + + "google.cloud.aiplatform.v1beta1.schema.p" + + "redict.paramsB(ImageClassificationPredic" + + "tionParamsProtoP\001Z[google.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1beta" + + "1/schema/predict/params;params\252\0025Google." + + "Cloud.AIPlatform.V1Beta1.Schema.Predict." + + "Params\312\0025Google\\Cloud\\AIPlatform\\V1beta1" + + "\\Schema\\Predict\\Params\352\002;Google::Cloud::" + + "AIPlatform::V1beta1::Schema::Predict::Pa" + + "ramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_ImageClassificationPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_ImageClassificationPredictionParams_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java index 2e70a4571..c9a94382a 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nRgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/params/image_object_detection.p" + "roto\0225google.cloud.aiplatform.v1beta1.sc" - + "hema.predict.params\032\034google/api/annotati" - + "ons.proto\"]\n$ImageObjectDetectionPredict" - + "ionParams\022\034\n\024confidence_threshold\030\001 \001(\002\022" - + "\027\n\017max_predictions\030\002 \001(\005B\363\002\n9com.google." - + "cloud.aiplatform.v1beta1.schema.predict." - + "paramsB)ImageObjectDetectionPredictionPa" - + "ramsProtoP\001Z[google.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1beta1/sche" - + "ma/predict/params;params\252\0025Google.Cloud." - + "AIPlatform.V1Beta1.Schema.Predict.Params" - + "\312\0025Google\\Cloud\\AIPlatform\\V1beta1\\Schem" - + "a\\Predict\\Params\352\002;Google::Cloud::AIPlat" - + "form::V1beta1::Schema::Predict::Paramsb\006" - + "proto3" + + "hema.predict.params\"]\n$ImageObjectDetect" + + "ionPredictionParams\022\034\n\024confidence_thresh" + + "old\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\363\002\n9c" + + "om.google.cloud.aiplatform.v1beta1.schem" + + "a.predict.paramsB)ImageObjectDetectionPr" + + "edictionParamsProtoP\001Z[google.golang.org" + + "/genproto/googleapis/cloud/aiplatform/v1" + + "beta1/schema/predict/params;params\252\0025Goo" + + "gle.Cloud.AIPlatform.V1Beta1.Schema.Pred" + + "ict.Params\312\0025Google\\Cloud\\AIPlatform\\V1b" + + "eta1\\Schema\\Predict\\Params\352\002;Google::Clo" + + "ud::AIPlatform::V1beta1::Schema::Predict" + + "::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_ImageObjectDetectionPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_ImageObjectDetectionPredictionParams_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java index f67929261..8bee603d6 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nNgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/params/image_segmentation.proto" + "\0225google.cloud.aiplatform.v1beta1.schema" - + ".predict.params\032\034google/api/annotations." - + "proto\"A\n!ImageSegmentationPredictionPara" - + "ms\022\034\n\024confidence_threshold\030\001 \001(\002B\360\002\n9com" - + ".google.cloud.aiplatform.v1beta1.schema." - + "predict.paramsB&ImageSegmentationPredict" - + "ionParamsProtoP\001Z[google.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1beta1" - + "/schema/predict/params;params\252\0025Google.C" - + "loud.AIPlatform.V1Beta1.Schema.Predict.P" - + "arams\312\0025Google\\Cloud\\AIPlatform\\V1beta1\\" - + "Schema\\Predict\\Params\352\002;Google::Cloud::A" - + "IPlatform::V1beta1::Schema::Predict::Par" - + "amsb\006proto3" + + ".predict.params\"A\n!ImageSegmentationPred" + + "ictionParams\022\034\n\024confidence_threshold\030\001 \001" + + "(\002B\360\002\n9com.google.cloud.aiplatform.v1bet" + + "a1.schema.predict.paramsB&ImageSegmentat" + + "ionPredictionParamsProtoP\001Z[google.golan" + + "g.org/genproto/googleapis/cloud/aiplatfo" + + "rm/v1beta1/schema/predict/params;params\252" + + "\0025Google.Cloud.AIPlatform.V1Beta1.Schema" + + ".Predict.Params\312\0025Google\\Cloud\\AIPlatfor" + + "m\\V1beta1\\Schema\\Predict\\Params\352\002;Google" + + "::Cloud::AIPlatform::V1beta1::Schema::Pr" + + "edict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_ImageSegmentationPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_ImageSegmentationPredictionParams_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java index f8882de64..bc7a6e48f 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nTgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/params/video_action_recognition" + ".proto\0225google.cloud.aiplatform.v1beta1." - + "schema.predict.params\032\034google/api/annota" - + "tions.proto\"_\n&VideoActionRecognitionPre" - + "dictionParams\022\034\n\024confidence_threshold\030\001 " - + "\001(\002\022\027\n\017max_predictions\030\002 \001(\005B\365\002\n9com.goo" - + "gle.cloud.aiplatform.v1beta1.schema.pred" - + "ict.paramsB+VideoActionRecognitionPredic" - + "tionParamsProtoP\001Z[google.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1beta" - + "1/schema/predict/params;params\252\0025Google." - + "Cloud.AIPlatform.V1Beta1.Schema.Predict." - + "Params\312\0025Google\\Cloud\\AIPlatform\\V1beta1" - + "\\Schema\\Predict\\Params\352\002;Google::Cloud::" - + "AIPlatform::V1beta1::Schema::Predict::Pa" - + "ramsb\006proto3" + + "schema.predict.params\"_\n&VideoActionReco" + + "gnitionPredictionParams\022\034\n\024confidence_th" + + "reshold\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\365" + + "\002\n9com.google.cloud.aiplatform.v1beta1.s" + + "chema.predict.paramsB+VideoActionRecogni" + + "tionPredictionParamsProtoP\001Z[google.gola" + + "ng.org/genproto/googleapis/cloud/aiplatf" + + "orm/v1beta1/schema/predict/params;params" + + "\252\0025Google.Cloud.AIPlatform.V1Beta1.Schem" + + "a.Predict.Params\312\0025Google\\Cloud\\AIPlatfo" + + "rm\\V1beta1\\Schema\\Predict\\Params\352\002;Googl" + + "e::Cloud::AIPlatform::V1beta1::Schema::P" + + "redict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_VideoActionRecognitionPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_VideoActionRecognitionPredictionParams_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java index 3be4efc33..620cecdc2 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java @@ -43,29 +43,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nPgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/params/video_classification.pro" + "to\0225google.cloud.aiplatform.v1beta1.sche" - + "ma.predict.params\032\034google/api/annotation" - + "s.proto\"\302\001\n#VideoClassificationPredictio" - + "nParams\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n" - + "\017max_predictions\030\002 \001(\005\022\036\n\026segment_classi" - + "fication\030\003 \001(\010\022\033\n\023shot_classification\030\004 " - + "\001(\010\022\'\n\037one_sec_interval_classification\030\005" - + " \001(\010B\362\002\n9com.google.cloud.aiplatform.v1b" - + "eta1.schema.predict.paramsB(VideoClassif" - + "icationPredictionParamsProtoP\001Z[google.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1beta1/schema/predict/params;par" - + "ams\252\0025Google.Cloud.AIPlatform.V1Beta1.Sc" - + "hema.Predict.Params\312\0025Google\\Cloud\\AIPla" - + "tform\\V1beta1\\Schema\\Predict\\Params\352\002;Go" - + "ogle::Cloud::AIPlatform::V1beta1::Schema" - + "::Predict::Paramsb\006proto3" + + "ma.predict.params\"\302\001\n#VideoClassificatio" + + "nPredictionParams\022\034\n\024confidence_threshol" + + "d\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005\022\036\n\026segm" + + "ent_classification\030\003 \001(\010\022\033\n\023shot_classif" + + "ication\030\004 \001(\010\022\'\n\037one_sec_interval_classi" + + "fication\030\005 \001(\010B\362\002\n9com.google.cloud.aipl" + + "atform.v1beta1.schema.predict.paramsB(Vi" + + "deoClassificationPredictionParamsProtoP\001" + + "Z[google.golang.org/genproto/googleapis/" + + "cloud/aiplatform/v1beta1/schema/predict/" + + "params;params\252\0025Google.Cloud.AIPlatform." + + "V1Beta1.Schema.Predict.Params\312\0025Google\\C" + + "loud\\AIPlatform\\V1beta1\\Schema\\Predict\\P" + + "arams\352\002;Google::Cloud::AIPlatform::V1bet" + + "a1::Schema::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_VideoClassificationPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_VideoClassificationPredictionParams_fieldAccessorTable = @@ -78,7 +74,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ShotClassification", "OneSecIntervalClassification", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java index e0b7552cb..731a51c10 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java @@ -43,27 +43,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nQgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/params/video_object_tracking.pr" + "oto\0225google.cloud.aiplatform.v1beta1.sch" - + "ema.predict.params\032\034google/api/annotatio" - + "ns.proto\"{\n#VideoObjectTrackingPredictio" - + "nParams\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n" - + "\017max_predictions\030\002 \001(\005\022\035\n\025min_bounding_b" - + "ox_size\030\003 \001(\002B\362\002\n9com.google.cloud.aipla" - + "tform.v1beta1.schema.predict.paramsB(Vid" - + "eoObjectTrackingPredictionParamsProtoP\001Z" - + "[google.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1beta1/schema/predict/p" - + "arams;params\252\0025Google.Cloud.AIPlatform.V" - + "1Beta1.Schema.Predict.Params\312\0025Google\\Cl" - + "oud\\AIPlatform\\V1beta1\\Schema\\Predict\\Pa" - + "rams\352\002;Google::Cloud::AIPlatform::V1beta" - + "1::Schema::Predict::Paramsb\006proto3" + + "ema.predict.params\"{\n#VideoObjectTrackin" + + "gPredictionParams\022\034\n\024confidence_threshol" + + "d\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005\022\035\n\025min_" + + "bounding_box_size\030\003 \001(\002B\362\002\n9com.google.c" + + "loud.aiplatform.v1beta1.schema.predict.p" + + "aramsB(VideoObjectTrackingPredictionPara" + + "msProtoP\001Z[google.golang.org/genproto/go" + + "ogleapis/cloud/aiplatform/v1beta1/schema" + + "/predict/params;params\252\0025Google.Cloud.AI" + + "Platform.V1Beta1.Schema.Predict.Params\312\002" + + "5Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\" + + "Predict\\Params\352\002;Google::Cloud::AIPlatfo" + + "rm::V1beta1::Schema::Predict::Paramsb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_VideoObjectTrackingPredictionParams_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_params_VideoObjectTrackingPredictionParams_fieldAccessorTable = @@ -72,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ConfidenceThreshold", "MaxPredictions", "MinBoundingBoxSize", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java index 6c1b2ac55..770d0e3db 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nNgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/classification.proto" + "\0229google.cloud.aiplatform.v1beta1.schema" - + ".predict.prediction\032\034google/api/annotati" - + "ons.proto\"Y\n\036ClassificationPredictionRes" - + "ult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(\t\022" - + "\023\n\013confidences\030\003 \003(\002B\205\003\n=com.google.clou" - + "d.aiplatform.v1beta1.schema.predict.pred" - + "ictionB#ClassificationPredictionResultPr" - + "otoP\001Zcgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1/schema/pre" - + "dict/prediction;prediction\252\0029Google.Clou" - + "d.AIPlatform.V1Beta1.Schema.Predict.Pred" - + "iction\312\0029Google\\Cloud\\AIPlatform\\V1beta1" - + "\\Schema\\Predict\\Prediction\352\002?Google::Clo" - + "ud::AIPlatform::V1beta1::Schema::Predict" - + "::Predictionb\006proto3" + + ".predict.prediction\"Y\n\036ClassificationPre" + + "dictionResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_na" + + "mes\030\002 \003(\t\022\023\n\013confidences\030\003 \003(\002B\205\003\n=com.g" + + "oogle.cloud.aiplatform.v1beta1.schema.pr" + + "edict.predictionB#ClassificationPredicti" + + "onResultProtoP\001Zcgoogle.golang.org/genpr" + + "oto/googleapis/cloud/aiplatform/v1beta1/" + + "schema/predict/prediction;prediction\252\0029G" + + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Pr" + + "edict.Prediction\312\0029Google\\Cloud\\AIPlatfo" + + "rm\\V1beta1\\Schema\\Predict\\Prediction\352\002?G" + + "oogle::Cloud::AIPlatform::V1beta1::Schem" + + "a::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_ClassificationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_ClassificationPredictionResult_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Ids", "DisplayNames", "Confidences", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java index 86fd9e57c..720be912a 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java @@ -44,28 +44,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/predict/prediction/image_object_detecti" + "on.proto\0229google.cloud.aiplatform.v1beta" + "1.schema.predict.prediction\032\034google/prot" - + "obuf/struct.proto\032\034google/api/annotation" - + "s.proto\"\213\001\n$ImageObjectDetectionPredicti" - + "onResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002" - + " \003(\t\022\023\n\013confidences\030\003 \003(\002\022*\n\006bboxes\030\004 \003(" - + "\0132\032.google.protobuf.ListValueB\213\003\n=com.go" - + "ogle.cloud.aiplatform.v1beta1.schema.pre" - + "dict.predictionB)ImageObjectDetectionPre" - + "dictionResultProtoP\001Zcgoogle.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1b" - + "eta1/schema/predict/prediction;predictio" - + "n\252\0029Google.Cloud.AIPlatform.V1Beta1.Sche" - + "ma.Predict.Prediction\312\0029Google\\Cloud\\AIP" - + "latform\\V1beta1\\Schema\\Predict\\Predictio" - + "n\352\002?Google::Cloud::AIPlatform::V1beta1::" - + "Schema::Predict::Predictionb\006proto3" + + "obuf/struct.proto\"\213\001\n$ImageObjectDetecti" + + "onPredictionResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdispl" + + "ay_names\030\002 \003(\t\022\023\n\013confidences\030\003 \003(\002\022*\n\006b" + + "boxes\030\004 \003(\0132\032.google.protobuf.ListValueB" + + "\213\003\n=com.google.cloud.aiplatform.v1beta1." + + "schema.predict.predictionB)ImageObjectDe" + + "tectionPredictionResultProtoP\001Zcgoogle.g" + + "olang.org/genproto/googleapis/cloud/aipl" + + "atform/v1beta1/schema/predict/prediction" + + ";prediction\252\0029Google.Cloud.AIPlatform.V1" + + "Beta1.Schema.Predict.Prediction\312\0029Google" + + "\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict" + + "\\Prediction\352\002?Google::Cloud::AIPlatform:" + + ":V1beta1::Schema::Predict::Predictionb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.StructProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_ImageObjectDetectionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -76,7 +75,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Ids", "DisplayNames", "Confidences", "Bboxes", }); com.google.protobuf.StructProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java index d2c960e69..10f7d3c9a 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nRgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/image_segmentation.p" + "roto\0229google.cloud.aiplatform.v1beta1.sc" - + "hema.predict.prediction\032\034google/api/anno" - + "tations.proto\"S\n!ImageSegmentationPredic" - + "tionResult\022\025\n\rcategory_mask\030\001 \001(\t\022\027\n\017con" - + "fidence_mask\030\002 \001(\tB\210\003\n=com.google.cloud." - + "aiplatform.v1beta1.schema.predict.predic" - + "tionB&ImageSegmentationPredictionResultP" - + "rotoP\001Zcgoogle.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1beta1/schema/pr" - + "edict/prediction;prediction\252\0029Google.Clo" - + "ud.AIPlatform.V1Beta1.Schema.Predict.Pre" - + "diction\312\0029Google\\Cloud\\AIPlatform\\V1beta" - + "1\\Schema\\Predict\\Prediction\352\002?Google::Cl" - + "oud::AIPlatform::V1beta1::Schema::Predic" - + "t::Predictionb\006proto3" + + "hema.predict.prediction\"S\n!ImageSegmenta" + + "tionPredictionResult\022\025\n\rcategory_mask\030\001 " + + "\001(\t\022\027\n\017confidence_mask\030\002 \001(\tB\210\003\n=com.goo" + + "gle.cloud.aiplatform.v1beta1.schema.pred" + + "ict.predictionB&ImageSegmentationPredict" + + "ionResultProtoP\001Zcgoogle.golang.org/genp" + + "roto/googleapis/cloud/aiplatform/v1beta1" + + "/schema/predict/prediction;prediction\252\0029" + + "Google.Cloud.AIPlatform.V1Beta1.Schema.P" + + "redict.Prediction\312\0029Google\\Cloud\\AIPlatf" + + "orm\\V1beta1\\Schema\\Predict\\Prediction\352\002?" + + "Google::Cloud::AIPlatform::V1beta1::Sche" + + "ma::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_ImageSegmentationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_ImageSegmentationPredictionResult_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CategoryMask", "ConfidenceMask", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java index 7f7395958..bb2f9538d 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nVgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/tabular_classificati" + "on.proto\0229google.cloud.aiplatform.v1beta" - + "1.schema.predict.prediction\032\034google/api/" - + "annotations.proto\"H\n%TabularClassificati" - + "onPredictionResult\022\017\n\007classes\030\001 \003(\t\022\016\n\006s" - + "cores\030\002 \003(\002B\214\003\n=com.google.cloud.aiplatf" - + "orm.v1beta1.schema.predict.predictionB*T" - + "abularClassificationPredictionResultProt" - + "oP\001Zcgoogle.golang.org/genproto/googleap" - + "is/cloud/aiplatform/v1beta1/schema/predi" - + "ct/prediction;prediction\252\0029Google.Cloud." - + "AIPlatform.V1Beta1.Schema.Predict.Predic" - + "tion\312\0029Google\\Cloud\\AIPlatform\\V1beta1\\S" - + "chema\\Predict\\Prediction\352\002?Google::Cloud" - + "::AIPlatform::V1beta1::Schema::Predict::" - + "Predictionb\006proto3" + + "1.schema.predict.prediction\"H\n%TabularCl" + + "assificationPredictionResult\022\017\n\007classes\030" + + "\001 \003(\t\022\016\n\006scores\030\002 \003(\002B\214\003\n=com.google.clo" + + "ud.aiplatform.v1beta1.schema.predict.pre" + + "dictionB*TabularClassificationPrediction" + + "ResultProtoP\001Zcgoogle.golang.org/genprot" + + "o/googleapis/cloud/aiplatform/v1beta1/sc" + + "hema/predict/prediction;prediction\252\0029Goo" + + "gle.Cloud.AIPlatform.V1Beta1.Schema.Pred" + + "ict.Prediction\312\0029Google\\Cloud\\AIPlatform" + + "\\V1beta1\\Schema\\Predict\\Prediction\352\002?Goo" + + "gle::Cloud::AIPlatform::V1beta1::Schema:" + + ":Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TabularClassificationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TabularClassificationPredictionResult_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Classes", "Scores", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java index 21ecf4a36..dfd92de17 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nRgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/tabular_regression.p" + "roto\0229google.cloud.aiplatform.v1beta1.sc" - + "hema.predict.prediction\032\034google/api/anno" - + "tations.proto\"\\\n!TabularRegressionPredic" - + "tionResult\022\r\n\005value\030\001 \001(\002\022\023\n\013lower_bound" - + "\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\210\003\n=com.goog" - + "le.cloud.aiplatform.v1beta1.schema.predi" - + "ct.predictionB&TabularRegressionPredicti" - + "onResultProtoP\001Zcgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1/" - + "schema/predict/prediction;prediction\252\0029G" - + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Pr" - + "edict.Prediction\312\0029Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\Predict\\Prediction\352\002?G" - + "oogle::Cloud::AIPlatform::V1beta1::Schem" - + "a::Predict::Predictionb\006proto3" + + "hema.predict.prediction\"\\\n!TabularRegres" + + "sionPredictionResult\022\r\n\005value\030\001 \001(\002\022\023\n\013l" + + "ower_bound\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\210\003" + + "\n=com.google.cloud.aiplatform.v1beta1.sc" + + "hema.predict.predictionB&TabularRegressi" + + "onPredictionResultProtoP\001Zcgoogle.golang" + + ".org/genproto/googleapis/cloud/aiplatfor" + + "m/v1beta1/schema/predict/prediction;pred" + + "iction\252\0029Google.Cloud.AIPlatform.V1Beta1" + + ".Schema.Predict.Prediction\312\0029Google\\Clou" + + "d\\AIPlatform\\V1beta1\\Schema\\Predict\\Pred" + + "iction\352\002?Google::Cloud::AIPlatform::V1be" + + "ta1::Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TabularRegressionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TabularRegressionPredictionResult_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Value", "LowerBound", "UpperBound", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java index 43b60a88c..2dbd4d3f9 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java @@ -43,29 +43,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nOgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/text_extraction.prot" + "o\0229google.cloud.aiplatform.v1beta1.schem" - + "a.predict.prediction\032\034google/api/annotat" - + "ions.proto\"\237\001\n\036TextExtractionPredictionR" - + "esult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(" - + "\t\022\"\n\032text_segment_start_offsets\030\003 \003(\003\022 \n" - + "\030text_segment_end_offsets\030\004 \003(\003\022\023\n\013confi" - + "dences\030\005 \003(\002B\205\003\n=com.google.cloud.aiplat" - + "form.v1beta1.schema.predict.predictionB#" - + "TextExtractionPredictionResultProtoP\001Zcg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1beta1/schema/predict/pre" - + "diction;prediction\252\0029Google.Cloud.AIPlat" - + "form.V1Beta1.Schema.Predict.Prediction\312\002" - + "9Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\" - + "Predict\\Prediction\352\002?Google::Cloud::AIPl" - + "atform::V1beta1::Schema::Predict::Predic" - + "tionb\006proto3" + + "a.predict.prediction\"\237\001\n\036TextExtractionP" + + "redictionResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_" + + "names\030\002 \003(\t\022\"\n\032text_segment_start_offset" + + "s\030\003 \003(\003\022 \n\030text_segment_end_offsets\030\004 \003(" + + "\003\022\023\n\013confidences\030\005 \003(\002B\205\003\n=com.google.cl" + + "oud.aiplatform.v1beta1.schema.predict.pr" + + "edictionB#TextExtractionPredictionResult" + + "ProtoP\001Zcgoogle.golang.org/genproto/goog" + + "leapis/cloud/aiplatform/v1beta1/schema/p" + + "redict/prediction;prediction\252\0029Google.Cl" + + "oud.AIPlatform.V1Beta1.Schema.Predict.Pr" + + "ediction\312\0029Google\\Cloud\\AIPlatform\\V1bet" + + "a1\\Schema\\Predict\\Prediction\352\002?Google::C" + + "loud::AIPlatform::V1beta1::Schema::Predi" + + "ct::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TextExtractionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TextExtractionPredictionResult_fieldAccessorTable = @@ -78,7 +74,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TextSegmentEndOffsets", "Confidences", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java index 3f12f90f5..606faecff 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java @@ -43,26 +43,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nNgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/text_sentiment.proto" + "\0229google.cloud.aiplatform.v1beta1.schema" - + ".predict.prediction\032\034google/api/annotati" - + "ons.proto\"2\n\035TextSentimentPredictionResu" - + "lt\022\021\n\tsentiment\030\001 \001(\005B\204\003\n=com.google.clo" - + "ud.aiplatform.v1beta1.schema.predict.pre" - + "dictionB\"TextSentimentPredictionResultPr" - + "otoP\001Zcgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1/schema/pre" - + "dict/prediction;prediction\252\0029Google.Clou" - + "d.AIPlatform.V1Beta1.Schema.Predict.Pred" - + "iction\312\0029Google\\Cloud\\AIPlatform\\V1beta1" - + "\\Schema\\Predict\\Prediction\352\002?Google::Clo" - + "ud::AIPlatform::V1beta1::Schema::Predict" - + "::Predictionb\006proto3" + + ".predict.prediction\"2\n\035TextSentimentPred" + + "ictionResult\022\021\n\tsentiment\030\001 \001(\005B\204\003\n=com." + + "google.cloud.aiplatform.v1beta1.schema.p" + + "redict.predictionB\"TextSentimentPredicti" + + "onResultProtoP\001Zcgoogle.golang.org/genpr" + + "oto/googleapis/cloud/aiplatform/v1beta1/" + + "schema/predict/prediction;prediction\252\0029G" + + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Pr" + + "edict.Prediction\312\0029Google\\Cloud\\AIPlatfo" + + "rm\\V1beta1\\Schema\\Predict\\Prediction\352\002?G" + + "oogle::Cloud::AIPlatform::V1beta1::Schem" + + "a::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TextSentimentPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TextSentimentPredictionResult_fieldAccessorTable = @@ -71,7 +67,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Sentiment", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java index 1c95325a1..6884b7360 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java @@ -43,27 +43,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nWgoogle/cloud/aiplatform/v1beta1/schema" + "/predict/prediction/time_series_forecast" + "ing.proto\0229google.cloud.aiplatform.v1bet" - + "a1.schema.predict.prediction\032\034google/api" - + "/annotations.proto\"6\n%TimeSeriesForecast" - + "ingPredictionResult\022\r\n\005value\030\001 \001(\002B\214\003\n=c" - + "om.google.cloud.aiplatform.v1beta1.schem" - + "a.predict.predictionB*TimeSeriesForecast" - + "ingPredictionResultProtoP\001Zcgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1beta1/schema/predict/prediction;pre" - + "diction\252\0029Google.Cloud.AIPlatform.V1Beta" - + "1.Schema.Predict.Prediction\312\0029Google\\Clo" - + "ud\\AIPlatform\\V1beta1\\Schema\\Predict\\Pre" - + "diction\352\002?Google::Cloud::AIPlatform::V1b" - + "eta1::Schema::Predict::Predictionb\006proto" - + "3" + + "a1.schema.predict.prediction\"6\n%TimeSeri" + + "esForecastingPredictionResult\022\r\n\005value\030\001" + + " \001(\002B\214\003\n=com.google.cloud.aiplatform.v1b" + + "eta1.schema.predict.predictionB*TimeSeri" + + "esForecastingPredictionResultProtoP\001Zcgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/aiplatform/v1beta1/schema/predict/pred" + + "iction;prediction\252\0029Google.Cloud.AIPlatf" + + "orm.V1Beta1.Schema.Predict.Prediction\312\0029" + + "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\P" + + "redict\\Prediction\352\002?Google::Cloud::AIPla" + + "tform::V1beta1::Schema::Predict::Predict" + + "ionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_TimeSeriesForecastingPredictionResult_fieldAccessorTable = @@ -72,7 +68,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Value", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java index 3e9ba5071..66ede52b8 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java @@ -45,24 +45,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tion.proto\0229google.cloud.aiplatform.v1be" + "ta1.schema.predict.prediction\032\036google/pr" + "otobuf/duration.proto\032\036google/protobuf/w" - + "rappers.proto\032\034google/api/annotations.pr" - + "oto\"\347\001\n&VideoActionRecognitionPrediction" - + "Result\022\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t" - + "\0225\n\022time_segment_start\030\004 \001(\0132\031.google.pr" - + "otobuf.Duration\0223\n\020time_segment_end\030\005 \001(" - + "\0132\031.google.protobuf.Duration\022/\n\nconfiden" - + "ce\030\006 \001(\0132\033.google.protobuf.FloatValueB\215\003" - + "\n=com.google.cloud.aiplatform.v1beta1.sc" - + "hema.predict.predictionB+VideoActionReco" - + "gnitionPredictionResultProtoP\001Zcgoogle.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1beta1/schema/predict/prediction" - + ";prediction\252\0029Google.Cloud.AIPlatform.V1" - + "Beta1.Schema.Predict.Prediction\312\0029Google" - + "\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict" - + "\\Prediction\352\002?Google::Cloud::AIPlatform:" - + ":V1beta1::Schema::Predict::Predictionb\006p" - + "roto3" + + "rappers.proto\"\347\001\n&VideoActionRecognition" + + "PredictionResult\022\n\n\002id\030\001 \001(\t\022\024\n\014display_" + + "name\030\002 \001(\t\0225\n\022time_segment_start\030\004 \001(\0132\031" + + ".google.protobuf.Duration\0223\n\020time_segmen" + + "t_end\030\005 \001(\0132\031.google.protobuf.Duration\022/" + + "\n\nconfidence\030\006 \001(\0132\033.google.protobuf.Flo" + + "atValueB\215\003\n=com.google.cloud.aiplatform." + + "v1beta1.schema.predict.predictionB+Video" + + "ActionRecognitionPredictionResultProtoP\001" + + "Zcgoogle.golang.org/genproto/googleapis/" + + "cloud/aiplatform/v1beta1/schema/predict/" + + "prediction;prediction\252\0029Google.Cloud.AIP" + + "latform.V1Beta1.Schema.Predict.Predictio" + + "n\312\0029Google\\Cloud\\AIPlatform\\V1beta1\\Sche" + + "ma\\Predict\\Prediction\352\002?Google::Cloud::A" + + "IPlatform::V1beta1::Schema::Predict::Pre" + + "dictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -70,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_VideoActionRecognitionPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -82,7 +80,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java index abc67646d..39c984651 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java @@ -45,24 +45,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".proto\0229google.cloud.aiplatform.v1beta1." + "schema.predict.prediction\032\036google/protob" + "uf/duration.proto\032\036google/protobuf/wrapp" - + "ers.proto\032\034google/api/annotations.proto\"" - + "\362\001\n#VideoClassificationPredictionResult\022" - + "\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\014\n\004typ" - + "e\030\003 \001(\t\0225\n\022time_segment_start\030\004 \001(\0132\031.go" - + "ogle.protobuf.Duration\0223\n\020time_segment_e" - + "nd\030\005 \001(\0132\031.google.protobuf.Duration\022/\n\nc" - + "onfidence\030\006 \001(\0132\033.google.protobuf.FloatV" - + "alueB\212\003\n=com.google.cloud.aiplatform.v1b" - + "eta1.schema.predict.predictionB(VideoCla" - + "ssificationPredictionResultProtoP\001Zcgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "aiplatform/v1beta1/schema/predict/predic" - + "tion;prediction\252\0029Google.Cloud.AIPlatfor" - + "m.V1Beta1.Schema.Predict.Prediction\312\0029Go" - + "ogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Pre" - + "dict\\Prediction\352\002?Google::Cloud::AIPlatf" - + "orm::V1beta1::Schema::Predict::Predictio" - + "nb\006proto3" + + "ers.proto\"\362\001\n#VideoClassificationPredict" + + "ionResult\022\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 " + + "\001(\t\022\014\n\004type\030\003 \001(\t\0225\n\022time_segment_start\030" + + "\004 \001(\0132\031.google.protobuf.Duration\0223\n\020time" + + "_segment_end\030\005 \001(\0132\031.google.protobuf.Dur" + + "ation\022/\n\nconfidence\030\006 \001(\0132\033.google.proto" + + "buf.FloatValueB\212\003\n=com.google.cloud.aipl" + + "atform.v1beta1.schema.predict.prediction" + + "B(VideoClassificationPredictionResultPro" + + "toP\001Zcgoogle.golang.org/genproto/googlea" + + "pis/cloud/aiplatform/v1beta1/schema/pred" + + "ict/prediction;prediction\252\0029Google.Cloud" + + ".AIPlatform.V1Beta1.Schema.Predict.Predi" + + "ction\312\0029Google\\Cloud\\AIPlatform\\V1beta1\\" + + "Schema\\Predict\\Prediction\352\002?Google::Clou" + + "d::AIPlatform::V1beta1::Schema::Predict:" + + ":Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -70,7 +69,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_VideoClassificationPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -82,7 +80,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java index 4c2c1eaa4..4695cf63e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java @@ -49,32 +49,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "g.proto\0229google.cloud.aiplatform.v1beta1" + ".schema.predict.prediction\032\036google/proto" + "buf/duration.proto\032\036google/protobuf/wrap" - + "pers.proto\032\034google/api/annotations.proto" - + "\"\304\004\n#VideoObjectTrackingPredictionResult" - + "\022\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\0225\n\022ti" - + "me_segment_start\030\003 \001(\0132\031.google.protobuf" - + ".Duration\0223\n\020time_segment_end\030\004 \001(\0132\031.go" - + "ogle.protobuf.Duration\022/\n\nconfidence\030\005 \001" - + "(\0132\033.google.protobuf.FloatValue\022t\n\006frame" - + "s\030\006 \003(\0132d.google.cloud.aiplatform.v1beta" - + "1.schema.predict.prediction.VideoObjectT" - + "rackingPredictionResult.Frame\032\347\001\n\005Frame\022" - + ".\n\013time_offset\030\001 \001(\0132\031.google.protobuf.D" - + "uration\022*\n\005x_min\030\002 \001(\0132\033.google.protobuf" - + ".FloatValue\022*\n\005x_max\030\003 \001(\0132\033.google.prot" - + "obuf.FloatValue\022*\n\005y_min\030\004 \001(\0132\033.google." - + "protobuf.FloatValue\022*\n\005y_max\030\005 \001(\0132\033.goo" - + "gle.protobuf.FloatValueB\212\003\n=com.google.c" - + "loud.aiplatform.v1beta1.schema.predict.p" - + "redictionB(VideoObjectTrackingPrediction" - + "ResultProtoP\001Zcgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1beta1/sc" - + "hema/predict/prediction;prediction\252\0029Goo" - + "gle.Cloud.AIPlatform.V1Beta1.Schema.Pred" - + "ict.Prediction\312\0029Google\\Cloud\\AIPlatform" - + "\\V1beta1\\Schema\\Predict\\Prediction\352\002?Goo" - + "gle::Cloud::AIPlatform::V1beta1::Schema:" - + ":Predict::Predictionb\006proto3" + + "pers.proto\"\304\004\n#VideoObjectTrackingPredic" + + "tionResult\022\n\n\002id\030\001 \001(\t\022\024\n\014display_name\030\002" + + " \001(\t\0225\n\022time_segment_start\030\003 \001(\0132\031.googl" + + "e.protobuf.Duration\0223\n\020time_segment_end\030" + + "\004 \001(\0132\031.google.protobuf.Duration\022/\n\nconf" + + "idence\030\005 \001(\0132\033.google.protobuf.FloatValu" + + "e\022t\n\006frames\030\006 \003(\0132d.google.cloud.aiplatf" + + "orm.v1beta1.schema.predict.prediction.Vi" + + "deoObjectTrackingPredictionResult.Frame\032" + + "\347\001\n\005Frame\022.\n\013time_offset\030\001 \001(\0132\031.google." + + "protobuf.Duration\022*\n\005x_min\030\002 \001(\0132\033.googl" + + "e.protobuf.FloatValue\022*\n\005x_max\030\003 \001(\0132\033.g" + + "oogle.protobuf.FloatValue\022*\n\005y_min\030\004 \001(\013" + + "2\033.google.protobuf.FloatValue\022*\n\005y_max\030\005" + + " \001(\0132\033.google.protobuf.FloatValueB\212\003\n=co" + + "m.google.cloud.aiplatform.v1beta1.schema" + + ".predict.predictionB(VideoObjectTracking" + + "PredictionResultProtoP\001Zcgoogle.golang.o" + + "rg/genproto/googleapis/cloud/aiplatform/" + + "v1beta1/schema/predict/prediction;predic" + + "tion\252\0029Google.Cloud.AIPlatform.V1Beta1.S" + + "chema.Predict.Prediction\312\0029Google\\Cloud\\" + + "AIPlatform\\V1beta1\\Schema\\Predict\\Predic" + + "tion\352\002?Google::Cloud::AIPlatform::V1beta" + + "1::Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -82,7 +81,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_schema_predict_prediction_VideoObjectTrackingPredictionResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -104,7 +102,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java index 57c0120ca..1858491e0 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java @@ -83,73 +83,73 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tform.v1beta1.schema.trainingjob.definit" + "ion\032fgoogle/cloud/aiplatform/v1beta1/sch" + "ema/trainingjob/definition/export_evalua" - + "ted_data_items_config.proto\032\034google/api/" - + "annotations.proto\"\347\001\n\021AutoMlForecasting\022" - + "f\n\006inputs\030\001 \001(\0132V.google.cloud.aiplatfor" - + "m.v1beta1.schema.trainingjob.definition." - + "AutoMlForecastingInputs\022j\n\010metadata\030\002 \001(" - + "\0132X.google.cloud.aiplatform.v1beta1.sche" - + "ma.trainingjob.definition.AutoMlForecast" - + "ingMetadata\"\367\016\n\027AutoMlForecastingInputs\022" - + "\025\n\rtarget_column\030\001 \001(\t\022%\n\035time_series_id" - + "entifier_column\030\002 \001(\t\022\023\n\013time_column\030\003 \001" - + "(\t\022~\n\017transformations\030\004 \003(\0132e.google.clo" - + "ud.aiplatform.v1beta1.schema.trainingjob" - + ".definition.AutoMlForecastingInputs.Tran" - + "sformation\022\036\n\026optimization_objective\030\005 \001" - + "(\t\022%\n\035train_budget_milli_node_hours\030\006 \001(" - + "\003\022\025\n\rweight_column\030\007 \001(\t\022%\n\035time_series_" - + "attribute_columns\030\023 \003(\t\022\'\n\037unavailable_a" - + "t_forecast_columns\030\024 \003(\t\022%\n\035available_at" - + "_forecast_columns\030\025 \003(\t\022|\n\020data_granular" - + "ity\030\026 \001(\0132b.google.cloud.aiplatform.v1be" - + "ta1.schema.trainingjob.definition.AutoMl" - + "ForecastingInputs.Granularity\022\030\n\020forecas" - + "t_horizon\030\027 \001(\003\022\026\n\016context_window\030\030 \001(\003\022" - + "\211\001\n\"export_evaluated_data_items_config\030\017" - + " \001(\0132].google.cloud.aiplatform.v1beta1.s" - + "chema.trainingjob.definition.ExportEvalu" - + "atedDataItemsConfig\022\021\n\tquantiles\030\020 \003(\001\022\032" - + "\n\022validation_options\030\021 \001(\t\022\036\n\026additional" - + "_experiments\030\031 \003(\t\032\371\007\n\016Transformation\022\210\001" - + "\n\004auto\030\001 \001(\0132x.google.cloud.aiplatform.v" - + "1beta1.schema.trainingjob.definition.Aut" - + "oMlForecastingInputs.Transformation.Auto" - + "TransformationH\000\022\216\001\n\007numeric\030\002 \001(\0132{.goo" - + "gle.cloud.aiplatform.v1beta1.schema.trai" - + "ningjob.definition.AutoMlForecastingInpu" - + "ts.Transformation.NumericTransformationH" - + "\000\022\226\001\n\013categorical\030\003 \001(\0132\177.google.cloud.a" - + "iplatform.v1beta1.schema.trainingjob.def" - + "inition.AutoMlForecastingInputs.Transfor" - + "mation.CategoricalTransformationH\000\022\222\001\n\tt" - + "imestamp\030\004 \001(\0132}.google.cloud.aiplatform" - + ".v1beta1.schema.trainingjob.definition.A" - + "utoMlForecastingInputs.Transformation.Ti" - + "mestampTransformationH\000\022\210\001\n\004text\030\005 \001(\0132x" - + ".google.cloud.aiplatform.v1beta1.schema." - + "trainingjob.definition.AutoMlForecasting" - + "Inputs.Transformation.TextTransformation" - + "H\000\032)\n\022AutoTransformation\022\023\n\013column_name\030" - + "\001 \001(\t\032,\n\025NumericTransformation\022\023\n\013column" - + "_name\030\001 \001(\t\0320\n\031CategoricalTransformation" - + "\022\023\n\013column_name\030\001 \001(\t\032C\n\027TimestampTransf" - + "ormation\022\023\n\013column_name\030\001 \001(\t\022\023\n\013time_fo" - + "rmat\030\002 \001(\t\032)\n\022TextTransformation\022\023\n\013colu" - + "mn_name\030\001 \001(\tB\027\n\025transformation_detail\032-" - + "\n\013Granularity\022\014\n\004unit\030\001 \001(\t\022\020\n\010quantity\030" - + "\002 \001(\003\"@\n\031AutoMlForecastingMetadata\022#\n\033tr" - + "ain_cost_milli_node_hours\030\001 \001(\003B\214\003\nAcom." + + "ted_data_items_config.proto\"\347\001\n\021AutoMlFo" + + "recasting\022f\n\006inputs\030\001 \001(\0132V.google.cloud" + + ".aiplatform.v1beta1.schema.trainingjob.d" + + "efinition.AutoMlForecastingInputs\022j\n\010met" + + "adata\030\002 \001(\0132X.google.cloud.aiplatform.v1" + + "beta1.schema.trainingjob.definition.Auto" + + "MlForecastingMetadata\"\367\016\n\027AutoMlForecast" + + "ingInputs\022\025\n\rtarget_column\030\001 \001(\t\022%\n\035time" + + "_series_identifier_column\030\002 \001(\t\022\023\n\013time_" + + "column\030\003 \001(\t\022~\n\017transformations\030\004 \003(\0132e." + "google.cloud.aiplatform.v1beta1.schema.t" - + "rainingjob.definitionB\026AutoMLForecasting" - + "ProtoP\001Zggoogle.golang.org/genproto/goog" - + "leapis/cloud/aiplatform/v1beta1/schema/t" - + "rainingjob/definition;definition\252\002=Googl" - + "e.Cloud.AIPlatform.V1Beta1.Schema.Traini" - + "ngJob.Definition\312\002=Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\TrainingJob\\Definition" - + "\352\002CGoogle::Cloud::AIPlatform::V1beta1::S" - + "chema::TrainingJob::Definitionb\006proto3" + + "rainingjob.definition.AutoMlForecastingI" + + "nputs.Transformation\022\036\n\026optimization_obj" + + "ective\030\005 \001(\t\022%\n\035train_budget_milli_node_" + + "hours\030\006 \001(\003\022\025\n\rweight_column\030\007 \001(\t\022%\n\035ti" + + "me_series_attribute_columns\030\023 \003(\t\022\'\n\037una" + + "vailable_at_forecast_columns\030\024 \003(\t\022%\n\035av" + + "ailable_at_forecast_columns\030\025 \003(\t\022|\n\020dat" + + "a_granularity\030\026 \001(\0132b.google.cloud.aipla" + + "tform.v1beta1.schema.trainingjob.definit" + + "ion.AutoMlForecastingInputs.Granularity\022" + + "\030\n\020forecast_horizon\030\027 \001(\003\022\026\n\016context_win" + + "dow\030\030 \001(\003\022\211\001\n\"export_evaluated_data_item" + + "s_config\030\017 \001(\0132].google.cloud.aiplatform" + + ".v1beta1.schema.trainingjob.definition.E" + + "xportEvaluatedDataItemsConfig\022\021\n\tquantil" + + "es\030\020 \003(\001\022\032\n\022validation_options\030\021 \001(\t\022\036\n\026" + + "additional_experiments\030\031 \003(\t\032\371\007\n\016Transfo" + + "rmation\022\210\001\n\004auto\030\001 \001(\0132x.google.cloud.ai" + + "platform.v1beta1.schema.trainingjob.defi" + + "nition.AutoMlForecastingInputs.Transform" + + "ation.AutoTransformationH\000\022\216\001\n\007numeric\030\002" + + " \001(\0132{.google.cloud.aiplatform.v1beta1.s" + + "chema.trainingjob.definition.AutoMlForec" + + "astingInputs.Transformation.NumericTrans" + + "formationH\000\022\226\001\n\013categorical\030\003 \001(\0132\177.goog" + + "le.cloud.aiplatform.v1beta1.schema.train" + + "ingjob.definition.AutoMlForecastingInput" + + "s.Transformation.CategoricalTransformati" + + "onH\000\022\222\001\n\ttimestamp\030\004 \001(\0132}.google.cloud." + + "aiplatform.v1beta1.schema.trainingjob.de" + + "finition.AutoMlForecastingInputs.Transfo" + + "rmation.TimestampTransformationH\000\022\210\001\n\004te" + + "xt\030\005 \001(\0132x.google.cloud.aiplatform.v1bet" + + "a1.schema.trainingjob.definition.AutoMlF" + + "orecastingInputs.Transformation.TextTran" + + "sformationH\000\032)\n\022AutoTransformation\022\023\n\013co" + + "lumn_name\030\001 \001(\t\032,\n\025NumericTransformation" + + "\022\023\n\013column_name\030\001 \001(\t\0320\n\031CategoricalTran" + + "sformation\022\023\n\013column_name\030\001 \001(\t\032C\n\027Times" + + "tampTransformation\022\023\n\013column_name\030\001 \001(\t\022" + + "\023\n\013time_format\030\002 \001(\t\032)\n\022TextTransformati" + + "on\022\023\n\013column_name\030\001 \001(\tB\027\n\025transformatio" + + "n_detail\032-\n\013Granularity\022\014\n\004unit\030\001 \001(\t\022\020\n" + + "\010quantity\030\002 \001(\003\"@\n\031AutoMlForecastingMeta" + + "data\022#\n\033train_cost_milli_node_hours\030\001 \001(" + + "\003B\214\003\nAcom.google.cloud.aiplatform.v1beta" + + "1.schema.trainingjob.definitionB\026AutoMLF" + + "orecastingProtoP\001Zggoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1beta" + + "1/schema/trainingjob/definition;definiti" + + "on\252\002=Google.Cloud.AIPlatform.V1Beta1.Sch" + + "ema.TrainingJob.Definition\312\002=Google\\Clou" + + "d\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\" + + "Definition\352\002CGoogle::Cloud::AIPlatform::" + + "V1beta1::Schema::TrainingJob::Definition" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -157,7 +157,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition .ExportEvaluatedDataItemsConfigProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlForecasting_descriptor = getDescriptor().getMessageTypes().get(0); @@ -271,7 +270,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition .ExportEvaluatedDataItemsConfigProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java index abe84d2e1..e59de8bc3 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java @@ -53,49 +53,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/trainingjob/definition/automl_image_cla" + "ssification.proto\022=google.cloud.aiplatfo" + "rm.v1beta1.schema.trainingjob.definition" - + "\032\034google/api/annotations.proto\"\377\001\n\031AutoM" - + "lImageClassification\022n\n\006inputs\030\001 \001(\0132^.g" - + "oogle.cloud.aiplatform.v1beta1.schema.tr" - + "ainingjob.definition.AutoMlImageClassifi" - + "cationInputs\022r\n\010metadata\030\002 \001(\0132`.google." - + "cloud.aiplatform.v1beta1.schema.training" - + "job.definition.AutoMlImageClassification" - + "Metadata\"\230\003\n\037AutoMlImageClassificationIn" - + "puts\022|\n\nmodel_type\030\001 \001(\0162h.google.cloud." - + "aiplatform.v1beta1.schema.trainingjob.de" - + "finition.AutoMlImageClassificationInputs" - + ".ModelType\022\025\n\rbase_model_id\030\002 \001(\t\022\037\n\027bud" - + "get_milli_node_hours\030\003 \001(\003\022\036\n\026disable_ea" - + "rly_stopping\030\004 \001(\010\022\023\n\013multi_label\030\005 \001(\010\"" - + "\211\001\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIFIED\020" - + "\000\022\t\n\005CLOUD\020\001\022\033\n\027MOBILE_TF_LOW_LATENCY_1\020" - + "\002\022\031\n\025MOBILE_TF_VERSATILE_1\020\003\022\035\n\031MOBILE_T" - + "F_HIGH_ACCURACY_1\020\004\"\303\002\n!AutoMlImageClass" - + "ificationMetadata\022\035\n\025cost_milli_node_hou" - + "rs\030\001 \001(\003\022\225\001\n\026successful_stop_reason\030\002 \001(" - + "\0162u.google.cloud.aiplatform.v1beta1.sche" - + "ma.trainingjob.definition.AutoMlImageCla" - + "ssificationMetadata.SuccessfulStopReason" - + "\"g\n\024SuccessfulStopReason\022&\n\"SUCCESSFUL_S" - + "TOP_REASON_UNSPECIFIED\020\000\022\022\n\016BUDGET_REACH" - + "ED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\224\003\nAcom.google" - + ".cloud.aiplatform.v1beta1.schema.trainin" - + "gjob.definitionB\036AutoMLImageClassificati" - + "onProtoP\001Zggoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1beta1/schema" - + "/trainingjob/definition;definition\252\002=Goo" - + "gle.Cloud.AIPlatform.V1Beta1.Schema.Trai" - + "ningJob.Definition\312\002=Google\\Cloud\\AIPlat" - + "form\\V1beta1\\Schema\\TrainingJob\\Definiti" - + "on\352\002CGoogle::Cloud::AIPlatform::V1beta1:" - + ":Schema::TrainingJob::Definitionb\006proto3" + + "\"\377\001\n\031AutoMlImageClassification\022n\n\006inputs" + + "\030\001 \001(\0132^.google.cloud.aiplatform.v1beta1" + + ".schema.trainingjob.definition.AutoMlIma" + + "geClassificationInputs\022r\n\010metadata\030\002 \001(\013" + + "2`.google.cloud.aiplatform.v1beta1.schem" + + "a.trainingjob.definition.AutoMlImageClas" + + "sificationMetadata\"\230\003\n\037AutoMlImageClassi" + + "ficationInputs\022|\n\nmodel_type\030\001 \001(\0162h.goo" + + "gle.cloud.aiplatform.v1beta1.schema.trai" + + "ningjob.definition.AutoMlImageClassifica" + + "tionInputs.ModelType\022\025\n\rbase_model_id\030\002 " + + "\001(\t\022\037\n\027budget_milli_node_hours\030\003 \001(\003\022\036\n\026" + + "disable_early_stopping\030\004 \001(\010\022\023\n\013multi_la" + + "bel\030\005 \001(\010\"\211\001\n\tModelType\022\032\n\026MODEL_TYPE_UN" + + "SPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\033\n\027MOBILE_TF_LOW_" + + "LATENCY_1\020\002\022\031\n\025MOBILE_TF_VERSATILE_1\020\003\022\035" + + "\n\031MOBILE_TF_HIGH_ACCURACY_1\020\004\"\303\002\n!AutoMl" + + "ImageClassificationMetadata\022\035\n\025cost_mill" + + "i_node_hours\030\001 \001(\003\022\225\001\n\026successful_stop_r" + + "eason\030\002 \001(\0162u.google.cloud.aiplatform.v1" + + "beta1.schema.trainingjob.definition.Auto" + + "MlImageClassificationMetadata.Successful" + + "StopReason\"g\n\024SuccessfulStopReason\022&\n\"SU" + + "CCESSFUL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BU" + + "DGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\224\003\nA" + + "com.google.cloud.aiplatform.v1beta1.sche" + + "ma.trainingjob.definitionB\036AutoMLImageCl" + + "assificationProtoP\001Zggoogle.golang.org/g" + + "enproto/googleapis/cloud/aiplatform/v1be" + + "ta1/schema/trainingjob/definition;defini" + + "tion\252\002=Google.Cloud.AIPlatform.V1Beta1.S" + + "chema.TrainingJob.Definition\312\002=Google\\Cl" + + "oud\\AIPlatform\\V1beta1\\Schema\\TrainingJo" + + "b\\Definition\352\002CGoogle::Cloud::AIPlatform" + + "::V1beta1::Schema::TrainingJob::Definiti" + + "onb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlImageClassification_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlImageClassification_fieldAccessorTable = @@ -124,7 +121,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CostMilliNodeHours", "SuccessfulStopReason", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java index 0d1a88308..2a09090af 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java @@ -53,50 +53,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/trainingjob/definition/automl_image_obj" + "ect_detection.proto\022=google.cloud.aiplat" + "form.v1beta1.schema.trainingjob.definiti" - + "on\032\034google/api/annotations.proto\"\202\002\n\032Aut" - + "oMlImageObjectDetection\022o\n\006inputs\030\001 \001(\0132" - + "_.google.cloud.aiplatform.v1beta1.schema" - + ".trainingjob.definition.AutoMlImageObjec" - + "tDetectionInputs\022s\n\010metadata\030\002 \001(\0132a.goo" - + "gle.cloud.aiplatform.v1beta1.schema.trai" - + "ningjob.definition.AutoMlImageObjectDete" - + "ctionMetadata\"\227\003\n AutoMlImageObjectDetec" - + "tionInputs\022}\n\nmodel_type\030\001 \001(\0162i.google." - + "cloud.aiplatform.v1beta1.schema.training" - + "job.definition.AutoMlImageObjectDetectio" - + "nInputs.ModelType\022\037\n\027budget_milli_node_h" - + "ours\030\002 \001(\003\022\036\n\026disable_early_stopping\030\003 \001" - + "(\010\"\262\001\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIFI" - + "ED\020\000\022\031\n\025CLOUD_HIGH_ACCURACY_1\020\001\022\027\n\023CLOUD" - + "_LOW_LATENCY_1\020\002\022\033\n\027MOBILE_TF_LOW_LATENC" - + "Y_1\020\003\022\031\n\025MOBILE_TF_VERSATILE_1\020\004\022\035\n\031MOBI" - + "LE_TF_HIGH_ACCURACY_1\020\005\"\305\002\n\"AutoMlImageO" - + "bjectDetectionMetadata\022\035\n\025cost_milli_nod" - + "e_hours\030\001 \001(\003\022\226\001\n\026successful_stop_reason" - + "\030\002 \001(\0162v.google.cloud.aiplatform.v1beta1" - + ".schema.trainingjob.definition.AutoMlIma" - + "geObjectDetectionMetadata.SuccessfulStop" - + "Reason\"g\n\024SuccessfulStopReason\022&\n\"SUCCES" - + "SFUL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BUDGET" - + "_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\225\003\nAcom." - + "google.cloud.aiplatform.v1beta1.schema.t" - + "rainingjob.definitionB\037AutoMLImageObject" - + "DetectionProtoP\001Zggoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1beta1" - + "/schema/trainingjob/definition;definitio" - + "n\252\002=Google.Cloud.AIPlatform.V1Beta1.Sche" - + "ma.TrainingJob.Definition\312\002=Google\\Cloud" - + "\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\D" - + "efinition\352\002CGoogle::Cloud::AIPlatform::V" - + "1beta1::Schema::TrainingJob::Definitionb" - + "\006proto3" + + "on\"\202\002\n\032AutoMlImageObjectDetection\022o\n\006inp" + + "uts\030\001 \001(\0132_.google.cloud.aiplatform.v1be" + + "ta1.schema.trainingjob.definition.AutoMl" + + "ImageObjectDetectionInputs\022s\n\010metadata\030\002" + + " \001(\0132a.google.cloud.aiplatform.v1beta1.s" + + "chema.trainingjob.definition.AutoMlImage" + + "ObjectDetectionMetadata\"\227\003\n AutoMlImageO" + + "bjectDetectionInputs\022}\n\nmodel_type\030\001 \001(\016" + + "2i.google.cloud.aiplatform.v1beta1.schem" + + "a.trainingjob.definition.AutoMlImageObje" + + "ctDetectionInputs.ModelType\022\037\n\027budget_mi" + + "lli_node_hours\030\002 \001(\003\022\036\n\026disable_early_st" + + "opping\030\003 \001(\010\"\262\001\n\tModelType\022\032\n\026MODEL_TYPE" + + "_UNSPECIFIED\020\000\022\031\n\025CLOUD_HIGH_ACCURACY_1\020" + + "\001\022\027\n\023CLOUD_LOW_LATENCY_1\020\002\022\033\n\027MOBILE_TF_" + + "LOW_LATENCY_1\020\003\022\031\n\025MOBILE_TF_VERSATILE_1" + + "\020\004\022\035\n\031MOBILE_TF_HIGH_ACCURACY_1\020\005\"\305\002\n\"Au" + + "toMlImageObjectDetectionMetadata\022\035\n\025cost" + + "_milli_node_hours\030\001 \001(\003\022\226\001\n\026successful_s" + + "top_reason\030\002 \001(\0162v.google.cloud.aiplatfo" + + "rm.v1beta1.schema.trainingjob.definition" + + ".AutoMlImageObjectDetectionMetadata.Succ" + + "essfulStopReason\"g\n\024SuccessfulStopReason" + + "\022&\n\"SUCCESSFUL_STOP_REASON_UNSPECIFIED\020\000" + + "\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020" + + "\002B\225\003\nAcom.google.cloud.aiplatform.v1beta" + + "1.schema.trainingjob.definitionB\037AutoMLI" + + "mageObjectDetectionProtoP\001Zggoogle.golan" + + "g.org/genproto/googleapis/cloud/aiplatfo" + + "rm/v1beta1/schema/trainingjob/definition" + + ";definition\252\002=Google.Cloud.AIPlatform.V1" + + "Beta1.Schema.TrainingJob.Definition\312\002=Go" + + "ogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Tra" + + "iningJob\\Definition\352\002CGoogle::Cloud::AIP" + + "latform::V1beta1::Schema::TrainingJob::D" + + "efinitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlImageObjectDetection_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlImageObjectDetection_fieldAccessorTable = @@ -121,7 +117,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CostMilliNodeHours", "SuccessfulStopReason", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java index 457d43fdf..2753744b4 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java @@ -52,48 +52,45 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n]google/cloud/aiplatform/v1beta1/schema" + "/trainingjob/definition/automl_image_seg" + "mentation.proto\022=google.cloud.aiplatform" - + ".v1beta1.schema.trainingjob.definition\032\034" - + "google/api/annotations.proto\"\371\001\n\027AutoMlI" - + "mageSegmentation\022l\n\006inputs\030\001 \001(\0132\\.googl" - + "e.cloud.aiplatform.v1beta1.schema.traini" - + "ngjob.definition.AutoMlImageSegmentation" - + "Inputs\022p\n\010metadata\030\002 \001(\0132^.google.cloud." + + ".v1beta1.schema.trainingjob.definition\"\371" + + "\001\n\027AutoMlImageSegmentation\022l\n\006inputs\030\001 \001" + + "(\0132\\.google.cloud.aiplatform.v1beta1.sch" + + "ema.trainingjob.definition.AutoMlImageSe" + + "gmentationInputs\022p\n\010metadata\030\002 \001(\0132^.goo" + + "gle.cloud.aiplatform.v1beta1.schema.trai" + + "ningjob.definition.AutoMlImageSegmentati" + + "onMetadata\"\316\002\n\035AutoMlImageSegmentationIn" + + "puts\022z\n\nmodel_type\030\001 \001(\0162f.google.cloud." + "aiplatform.v1beta1.schema.trainingjob.de" - + "finition.AutoMlImageSegmentationMetadata" - + "\"\316\002\n\035AutoMlImageSegmentationInputs\022z\n\nmo" - + "del_type\030\001 \001(\0162f.google.cloud.aiplatform" - + ".v1beta1.schema.trainingjob.definition.A" - + "utoMlImageSegmentationInputs.ModelType\022\037" - + "\n\027budget_milli_node_hours\030\002 \001(\003\022\025\n\rbase_" - + "model_id\030\003 \001(\t\"y\n\tModelType\022\032\n\026MODEL_TYP" - + "E_UNSPECIFIED\020\000\022\031\n\025CLOUD_HIGH_ACCURACY_1" - + "\020\001\022\030\n\024CLOUD_LOW_ACCURACY_1\020\002\022\033\n\027MOBILE_T" - + "F_LOW_LATENCY_1\020\003\"\277\002\n\037AutoMlImageSegment" - + "ationMetadata\022\035\n\025cost_milli_node_hours\030\001" - + " \001(\003\022\223\001\n\026successful_stop_reason\030\002 \001(\0162s." - + "google.cloud.aiplatform.v1beta1.schema.t" - + "rainingjob.definition.AutoMlImageSegment" - + "ationMetadata.SuccessfulStopReason\"g\n\024Su" - + "ccessfulStopReason\022&\n\"SUCCESSFUL_STOP_RE" - + "ASON_UNSPECIFIED\020\000\022\022\n\016BUDGET_REACHED\020\001\022\023" - + "\n\017MODEL_CONVERGED\020\002B\222\003\nAcom.google.cloud" - + ".aiplatform.v1beta1.schema.trainingjob.d" - + "efinitionB\034AutoMLImageSegmentationProtoP" - + "\001Zggoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1beta1/schema/trainin" - + "gjob/definition;definition\252\002=Google.Clou" - + "d.AIPlatform.V1Beta1.Schema.TrainingJob." - + "Definition\312\002=Google\\Cloud\\AIPlatform\\V1b" - + "eta1\\Schema\\TrainingJob\\Definition\352\002CGoo" - + "gle::Cloud::AIPlatform::V1beta1::Schema:" - + ":TrainingJob::Definitionb\006proto3" + + "finition.AutoMlImageSegmentationInputs.M" + + "odelType\022\037\n\027budget_milli_node_hours\030\002 \001(" + + "\003\022\025\n\rbase_model_id\030\003 \001(\t\"y\n\tModelType\022\032\n" + + "\026MODEL_TYPE_UNSPECIFIED\020\000\022\031\n\025CLOUD_HIGH_" + + "ACCURACY_1\020\001\022\030\n\024CLOUD_LOW_ACCURACY_1\020\002\022\033" + + "\n\027MOBILE_TF_LOW_LATENCY_1\020\003\"\277\002\n\037AutoMlIm" + + "ageSegmentationMetadata\022\035\n\025cost_milli_no" + + "de_hours\030\001 \001(\003\022\223\001\n\026successful_stop_reaso" + + "n\030\002 \001(\0162s.google.cloud.aiplatform.v1beta" + + "1.schema.trainingjob.definition.AutoMlIm" + + "ageSegmentationMetadata.SuccessfulStopRe" + + "ason\"g\n\024SuccessfulStopReason\022&\n\"SUCCESSF" + + "UL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BUDGET_R" + + "EACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\222\003\nAcom.go" + + "ogle.cloud.aiplatform.v1beta1.schema.tra" + + "iningjob.definitionB\034AutoMLImageSegmenta" + + "tionProtoP\001Zggoogle.golang.org/genproto/" + + "googleapis/cloud/aiplatform/v1beta1/sche" + + "ma/trainingjob/definition;definition\252\002=G" + + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Tr" + + "ainingJob.Definition\312\002=Google\\Cloud\\AIPl" + + "atform\\V1beta1\\Schema\\TrainingJob\\Defini" + + "tion\352\002CGoogle::Cloud::AIPlatform::V1beta" + + "1::Schema::TrainingJob::Definitionb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlImageSegmentation_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlImageSegmentation_fieldAccessorTable = @@ -118,7 +115,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "CostMilliNodeHours", "SuccessfulStopReason", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java index 071e2a51b..04478ab2f 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java @@ -90,83 +90,82 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ema.trainingjob.definition\032fgoogle/cloud" + "/aiplatform/v1beta1/schema/trainingjob/d" + "efinition/export_evaluated_data_items_co" - + "nfig.proto\032\034google/api/annotations.proto" - + "\"\330\001\n\014AutoMlTables\022a\n\006inputs\030\001 \001(\0132Q.goog" - + "le.cloud.aiplatform.v1beta1.schema.train" - + "ingjob.definition.AutoMlTablesInputs\022e\n\010" - + "metadata\030\002 \001(\0132S.google.cloud.aiplatform" - + ".v1beta1.schema.trainingjob.definition.A" - + "utoMlTablesMetadata\"\250\022\n\022AutoMlTablesInpu" - + "ts\022-\n#optimization_objective_recall_valu" - + "e\030\005 \001(\002H\000\0220\n&optimization_objective_prec" - + "ision_value\030\006 \001(\002H\000\022\027\n\017prediction_type\030\001" - + " \001(\t\022\025\n\rtarget_column\030\002 \001(\t\022y\n\017transform" - + "ations\030\003 \003(\0132`.google.cloud.aiplatform.v" - + "1beta1.schema.trainingjob.definition.Aut" - + "oMlTablesInputs.Transformation\022\036\n\026optimi" - + "zation_objective\030\004 \001(\t\022%\n\035train_budget_m" - + "illi_node_hours\030\007 \001(\003\022\036\n\026disable_early_s" - + "topping\030\010 \001(\010\022\032\n\022weight_column_name\030\t \001(" - + "\t\022\211\001\n\"export_evaluated_data_items_config" - + "\030\n \001(\0132].google.cloud.aiplatform.v1beta1" - + ".schema.trainingjob.definition.ExportEva" - + "luatedDataItemsConfig\022\036\n\026additional_expe" - + "riments\030\013 \003(\t\032\252\r\n\016Transformation\022\203\001\n\004aut" - + "o\030\001 \001(\0132s.google.cloud.aiplatform.v1beta" - + "1.schema.trainingjob.definition.AutoMlTa" - + "blesInputs.Transformation.AutoTransforma" - + "tionH\000\022\211\001\n\007numeric\030\002 \001(\0132v.google.cloud." + + "nfig.proto\"\330\001\n\014AutoMlTables\022a\n\006inputs\030\001 " + + "\001(\0132Q.google.cloud.aiplatform.v1beta1.sc" + + "hema.trainingjob.definition.AutoMlTables" + + "Inputs\022e\n\010metadata\030\002 \001(\0132S.google.cloud." + "aiplatform.v1beta1.schema.trainingjob.de" - + "finition.AutoMlTablesInputs.Transformati" - + "on.NumericTransformationH\000\022\221\001\n\013categoric" - + "al\030\003 \001(\0132z.google.cloud.aiplatform.v1bet" - + "a1.schema.trainingjob.definition.AutoMlT" - + "ablesInputs.Transformation.CategoricalTr" - + "ansformationH\000\022\215\001\n\ttimestamp\030\004 \001(\0132x.goo" + + "finition.AutoMlTablesMetadata\"\250\022\n\022AutoMl" + + "TablesInputs\022-\n#optimization_objective_r" + + "ecall_value\030\005 \001(\002H\000\0220\n&optimization_obje" + + "ctive_precision_value\030\006 \001(\002H\000\022\027\n\017predict" + + "ion_type\030\001 \001(\t\022\025\n\rtarget_column\030\002 \001(\t\022y\n" + + "\017transformations\030\003 \003(\0132`.google.cloud.ai" + + "platform.v1beta1.schema.trainingjob.defi" + + "nition.AutoMlTablesInputs.Transformation" + + "\022\036\n\026optimization_objective\030\004 \001(\t\022%\n\035trai" + + "n_budget_milli_node_hours\030\007 \001(\003\022\036\n\026disab" + + "le_early_stopping\030\010 \001(\010\022\032\n\022weight_column" + + "_name\030\t \001(\t\022\211\001\n\"export_evaluated_data_it" + + "ems_config\030\n \001(\0132].google.cloud.aiplatfo" + + "rm.v1beta1.schema.trainingjob.definition" + + ".ExportEvaluatedDataItemsConfig\022\036\n\026addit" + + "ional_experiments\030\013 \003(\t\032\252\r\n\016Transformati" + + "on\022\203\001\n\004auto\030\001 \001(\0132s.google.cloud.aiplatf" + + "orm.v1beta1.schema.trainingjob.definitio" + + "n.AutoMlTablesInputs.Transformation.Auto" + + "TransformationH\000\022\211\001\n\007numeric\030\002 \001(\0132v.goo" + "gle.cloud.aiplatform.v1beta1.schema.trai" + "ningjob.definition.AutoMlTablesInputs.Tr" - + "ansformation.TimestampTransformationH\000\022\203" - + "\001\n\004text\030\005 \001(\0132s.google.cloud.aiplatform." - + "v1beta1.schema.trainingjob.definition.Au" - + "toMlTablesInputs.Transformation.TextTran" - + "sformationH\000\022\227\001\n\020repeated_numeric\030\006 \001(\0132" - + "{.google.cloud.aiplatform.v1beta1.schema" - + ".trainingjob.definition.AutoMlTablesInpu" - + "ts.Transformation.NumericArrayTransforma" - + "tionH\000\022\237\001\n\024repeated_categorical\030\007 \001(\0132\177." - + "google.cloud.aiplatform.v1beta1.schema.t" - + "rainingjob.definition.AutoMlTablesInputs" - + ".Transformation.CategoricalArrayTransfor" - + "mationH\000\022\221\001\n\rrepeated_text\030\010 \001(\0132x.googl" - + "e.cloud.aiplatform.v1beta1.schema.traini" - + "ngjob.definition.AutoMlTablesInputs.Tran" - + "sformation.TextArrayTransformationH\000\032)\n\022" - + "AutoTransformation\022\023\n\013column_name\030\001 \001(\t\032" - + "L\n\025NumericTransformation\022\023\n\013column_name\030" - + "\001 \001(\t\022\036\n\026invalid_values_allowed\030\002 \001(\010\0320\n" - + "\031CategoricalTransformation\022\023\n\013column_nam" - + "e\030\001 \001(\t\032c\n\027TimestampTransformation\022\023\n\013co" - + "lumn_name\030\001 \001(\t\022\023\n\013time_format\030\002 \001(\t\022\036\n\026" - + "invalid_values_allowed\030\003 \001(\010\032)\n\022TextTran" - + "sformation\022\023\n\013column_name\030\001 \001(\t\032Q\n\032Numer" - + "icArrayTransformation\022\023\n\013column_name\030\001 \001" - + "(\t\022\036\n\026invalid_values_allowed\030\002 \001(\010\0325\n\036Ca" - + "tegoricalArrayTransformation\022\023\n\013column_n" - + "ame\030\001 \001(\t\032.\n\027TextArrayTransformation\022\023\n\013" - + "column_name\030\001 \001(\tB\027\n\025transformation_deta" - + "ilB*\n(additional_optimization_objective_" - + "config\";\n\024AutoMlTablesMetadata\022#\n\033train_" - + "cost_milli_node_hours\030\001 \001(\003B\207\003\nAcom.goog" - + "le.cloud.aiplatform.v1beta1.schema.train" - + "ingjob.definitionB\021AutoMLTablesProtoP\001Zg" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1beta1/schema/trainingjo" - + "b/definition;definition\252\002=Google.Cloud.A" - + "IPlatform.V1Beta1.Schema.TrainingJob.Def" - + "inition\312\002=Google\\Cloud\\AIPlatform\\V1beta" - + "1\\Schema\\TrainingJob\\Definition\352\002CGoogle" - + "::Cloud::AIPlatform::V1beta1::Schema::Tr" - + "ainingJob::Definitionb\006proto3" + + "ansformation.NumericTransformationH\000\022\221\001\n" + + "\013categorical\030\003 \001(\0132z.google.cloud.aiplat" + + "form.v1beta1.schema.trainingjob.definiti" + + "on.AutoMlTablesInputs.Transformation.Cat" + + "egoricalTransformationH\000\022\215\001\n\ttimestamp\030\004" + + " \001(\0132x.google.cloud.aiplatform.v1beta1.s" + + "chema.trainingjob.definition.AutoMlTable" + + "sInputs.Transformation.TimestampTransfor" + + "mationH\000\022\203\001\n\004text\030\005 \001(\0132s.google.cloud.a" + + "iplatform.v1beta1.schema.trainingjob.def" + + "inition.AutoMlTablesInputs.Transformatio" + + "n.TextTransformationH\000\022\227\001\n\020repeated_nume" + + "ric\030\006 \001(\0132{.google.cloud.aiplatform.v1be" + + "ta1.schema.trainingjob.definition.AutoMl" + + "TablesInputs.Transformation.NumericArray" + + "TransformationH\000\022\237\001\n\024repeated_categorica" + + "l\030\007 \001(\0132\177.google.cloud.aiplatform.v1beta" + + "1.schema.trainingjob.definition.AutoMlTa" + + "blesInputs.Transformation.CategoricalArr" + + "ayTransformationH\000\022\221\001\n\rrepeated_text\030\010 \001" + + "(\0132x.google.cloud.aiplatform.v1beta1.sch" + + "ema.trainingjob.definition.AutoMlTablesI" + + "nputs.Transformation.TextArrayTransforma" + + "tionH\000\032)\n\022AutoTransformation\022\023\n\013column_n" + + "ame\030\001 \001(\t\032L\n\025NumericTransformation\022\023\n\013co" + + "lumn_name\030\001 \001(\t\022\036\n\026invalid_values_allowe" + + "d\030\002 \001(\010\0320\n\031CategoricalTransformation\022\023\n\013" + + "column_name\030\001 \001(\t\032c\n\027TimestampTransforma" + + "tion\022\023\n\013column_name\030\001 \001(\t\022\023\n\013time_format" + + "\030\002 \001(\t\022\036\n\026invalid_values_allowed\030\003 \001(\010\032)" + + "\n\022TextTransformation\022\023\n\013column_name\030\001 \001(" + + "\t\032Q\n\032NumericArrayTransformation\022\023\n\013colum" + + "n_name\030\001 \001(\t\022\036\n\026invalid_values_allowed\030\002" + + " \001(\010\0325\n\036CategoricalArrayTransformation\022\023" + + "\n\013column_name\030\001 \001(\t\032.\n\027TextArrayTransfor" + + "mation\022\023\n\013column_name\030\001 \001(\tB\027\n\025transform" + + "ation_detailB*\n(additional_optimization_" + + "objective_config\";\n\024AutoMlTablesMetadata" + + "\022#\n\033train_cost_milli_node_hours\030\001 \001(\003B\207\003" + + "\nAcom.google.cloud.aiplatform.v1beta1.sc" + + "hema.trainingjob.definitionB\021AutoMLTable" + + "sProtoP\001Zggoogle.golang.org/genproto/goo" + + "gleapis/cloud/aiplatform/v1beta1/schema/" + + "trainingjob/definition;definition\252\002=Goog" + + "le.Cloud.AIPlatform.V1Beta1.Schema.Train" + + "ingJob.Definition\312\002=Google\\Cloud\\AIPlatf" + + "orm\\V1beta1\\Schema\\TrainingJob\\Definitio" + + "n\352\002CGoogle::Cloud::AIPlatform::V1beta1::" + + "Schema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -174,7 +173,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition .ExportEvaluatedDataItemsConfigProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTables_descriptor = getDescriptor().getMessageTypes().get(0); @@ -311,7 +309,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition .ExportEvaluatedDataItemsConfigProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java index ed06c8b5d..9d1dc6ba9 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java @@ -48,30 +48,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n^google/cloud/aiplatform/v1beta1/schema" + "/trainingjob/definition/automl_text_clas" + "sification.proto\022=google.cloud.aiplatfor" - + "m.v1beta1.schema.trainingjob.definition\032" - + "\034google/api/annotations.proto\"\211\001\n\030AutoMl" - + "TextClassification\022m\n\006inputs\030\001 \001(\0132].goo" - + "gle.cloud.aiplatform.v1beta1.schema.trai" - + "ningjob.definition.AutoMlTextClassificat" - + "ionInputs\"5\n\036AutoMlTextClassificationInp" - + "uts\022\023\n\013multi_label\030\001 \001(\010B\223\003\nAcom.google." - + "cloud.aiplatform.v1beta1.schema.training" - + "job.definitionB\035AutoMLTextClassification" - + "ProtoP\001Zggoogle.golang.org/genproto/goog" - + "leapis/cloud/aiplatform/v1beta1/schema/t" - + "rainingjob/definition;definition\252\002=Googl" - + "e.Cloud.AIPlatform.V1Beta1.Schema.Traini" - + "ngJob.Definition\312\002=Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\TrainingJob\\Definition" - + "\352\002CGoogle::Cloud::AIPlatform::V1beta1::S" - + "chema::TrainingJob::Definitionb\006proto3" + + "m.v1beta1.schema.trainingjob.definition\"" + + "\211\001\n\030AutoMlTextClassification\022m\n\006inputs\030\001" + + " \001(\0132].google.cloud.aiplatform.v1beta1.s" + + "chema.trainingjob.definition.AutoMlTextC" + + "lassificationInputs\"5\n\036AutoMlTextClassif" + + "icationInputs\022\023\n\013multi_label\030\001 \001(\010B\223\003\nAc" + + "om.google.cloud.aiplatform.v1beta1.schem" + + "a.trainingjob.definitionB\035AutoMLTextClas" + + "sificationProtoP\001Zggoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1beta" + + "1/schema/trainingjob/definition;definiti" + + "on\252\002=Google.Cloud.AIPlatform.V1Beta1.Sch" + + "ema.TrainingJob.Definition\312\002=Google\\Clou" + + "d\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\" + + "Definition\352\002CGoogle::Cloud::AIPlatform::" + + "V1beta1::Schema::TrainingJob::Definition" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextClassification_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextClassification_fieldAccessorTable = @@ -88,7 +85,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "MultiLabel", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java index 2691741c9..c7e1ee97e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java @@ -48,29 +48,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nZgoogle/cloud/aiplatform/v1beta1/schema" + "/trainingjob/definition/automl_text_extr" + "action.proto\022=google.cloud.aiplatform.v1" - + "beta1.schema.trainingjob.definition\032\034goo" - + "gle/api/annotations.proto\"\201\001\n\024AutoMlText" - + "Extraction\022i\n\006inputs\030\001 \001(\0132Y.google.clou" - + "d.aiplatform.v1beta1.schema.trainingjob." - + "definition.AutoMlTextExtractionInputs\"\034\n" - + "\032AutoMlTextExtractionInputsB\217\003\nAcom.goog" - + "le.cloud.aiplatform.v1beta1.schema.train" - + "ingjob.definitionB\031AutoMLTextExtractionP" - + "rotoP\001Zggoogle.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1beta1/schema/tr" - + "ainingjob/definition;definition\252\002=Google" - + ".Cloud.AIPlatform.V1Beta1.Schema.Trainin" - + "gJob.Definition\312\002=Google\\Cloud\\AIPlatfor" - + "m\\V1beta1\\Schema\\TrainingJob\\Definition\352" - + "\002CGoogle::Cloud::AIPlatform::V1beta1::Sc" - + "hema::TrainingJob::Definitionb\006proto3" + + "beta1.schema.trainingjob.definition\"\201\001\n\024" + + "AutoMlTextExtraction\022i\n\006inputs\030\001 \001(\0132Y.g" + + "oogle.cloud.aiplatform.v1beta1.schema.tr" + + "ainingjob.definition.AutoMlTextExtractio" + + "nInputs\"\034\n\032AutoMlTextExtractionInputsB\217\003" + + "\nAcom.google.cloud.aiplatform.v1beta1.sc" + + "hema.trainingjob.definitionB\031AutoMLTextE" + + "xtractionProtoP\001Zggoogle.golang.org/genp" + + "roto/googleapis/cloud/aiplatform/v1beta1" + + "/schema/trainingjob/definition;definitio" + + "n\252\002=Google.Cloud.AIPlatform.V1Beta1.Sche" + + "ma.TrainingJob.Definition\312\002=Google\\Cloud" + + "\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\D" + + "efinition\352\002CGoogle::Cloud::AIPlatform::V" + + "1beta1::Schema::TrainingJob::Definitionb" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextExtraction_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextExtraction_fieldAccessorTable = @@ -85,7 +82,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextExtractionInputs_descriptor, new java.lang.String[] {}); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java index 99a527b9d..3a87d16ec 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java @@ -47,30 +47,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nYgoogle/cloud/aiplatform/v1beta1/schema" + "/trainingjob/definition/automl_text_sent" + "iment.proto\022=google.cloud.aiplatform.v1b" - + "eta1.schema.trainingjob.definition\032\034goog" - + "le/api/annotations.proto\"\177\n\023AutoMlTextSe" - + "ntiment\022h\n\006inputs\030\001 \001(\0132X.google.cloud.a" - + "iplatform.v1beta1.schema.trainingjob.def" - + "inition.AutoMlTextSentimentInputs\"2\n\031Aut" - + "oMlTextSentimentInputs\022\025\n\rsentiment_max\030" - + "\001 \001(\005B\216\003\nAcom.google.cloud.aiplatform.v1" - + "beta1.schema.trainingjob.definitionB\030Aut" - + "oMLTextSentimentProtoP\001Zggoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1beta1/schema/trainingjob/definition;de" - + "finition\252\002=Google.Cloud.AIPlatform.V1Bet" - + "a1.Schema.TrainingJob.Definition\312\002=Googl" - + "e\\Cloud\\AIPlatform\\V1beta1\\Schema\\Traini" - + "ngJob\\Definition\352\002CGoogle::Cloud::AIPlat" - + "form::V1beta1::Schema::TrainingJob::Defi" - + "nitionb\006proto3" + + "eta1.schema.trainingjob.definition\"\177\n\023Au" + + "toMlTextSentiment\022h\n\006inputs\030\001 \001(\0132X.goog" + + "le.cloud.aiplatform.v1beta1.schema.train" + + "ingjob.definition.AutoMlTextSentimentInp" + + "uts\"2\n\031AutoMlTextSentimentInputs\022\025\n\rsent" + + "iment_max\030\001 \001(\005B\216\003\nAcom.google.cloud.aip" + + "latform.v1beta1.schema.trainingjob.defin" + + "itionB\030AutoMLTextSentimentProtoP\001Zggoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "iplatform/v1beta1/schema/trainingjob/def" + + "inition;definition\252\002=Google.Cloud.AIPlat" + + "form.V1Beta1.Schema.TrainingJob.Definiti" + + "on\312\002=Google\\Cloud\\AIPlatform\\V1beta1\\Sch" + + "ema\\TrainingJob\\Definition\352\002CGoogle::Clo" + + "ud::AIPlatform::V1beta1::Schema::Trainin" + + "gJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextSentiment_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlTextSentiment_fieldAccessorTable = @@ -87,7 +83,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "SentimentMax", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java index a1f6810d6..25fb0206e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java @@ -49,36 +49,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/trainingjob/definition/automl_video_act" + "ion_recognition.proto\022=google.cloud.aipl" + "atform.v1beta1.schema.trainingjob.defini" - + "tion\032\034google/api/annotations.proto\"\221\001\n\034A" - + "utoMlVideoActionRecognition\022q\n\006inputs\030\001 " - + "\001(\0132a.google.cloud.aiplatform.v1beta1.sc" - + "hema.trainingjob.definition.AutoMlVideoA" - + "ctionRecognitionInputs\"\257\002\n\"AutoMlVideoAc" - + "tionRecognitionInputs\022\177\n\nmodel_type\030\001 \001(" - + "\0162k.google.cloud.aiplatform.v1beta1.sche" - + "ma.trainingjob.definition.AutoMlVideoAct" - + "ionRecognitionInputs.ModelType\"\207\001\n\tModel" - + "Type\022\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOU" - + "D\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002\022\035\n\031MOBILE_JE" - + "TSON_VERSATILE_1\020\003\022\034\n\030MOBILE_CORAL_VERSA" - + "TILE_1\020\004B\227\003\nAcom.google.cloud.aiplatform" - + ".v1beta1.schema.trainingjob.definitionB!" - + "AutoMLVideoActionRecognitionProtoP\001Zggoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1beta1/schema/trainingjob/d" - + "efinition;definition\252\002=Google.Cloud.AIPl" - + "atform.V1Beta1.Schema.TrainingJob.Defini" - + "tion\312\002=Google\\Cloud\\AIPlatform\\V1beta1\\S" - + "chema\\TrainingJob\\Definition\352\002CGoogle::C" - + "loud::AIPlatform::V1beta1::Schema::Train" - + "ingJob::Definitionb\006proto3" + + "tion\"\221\001\n\034AutoMlVideoActionRecognition\022q\n" + + "\006inputs\030\001 \001(\0132a.google.cloud.aiplatform." + + "v1beta1.schema.trainingjob.definition.Au" + + "toMlVideoActionRecognitionInputs\"\257\002\n\"Aut" + + "oMlVideoActionRecognitionInputs\022\177\n\nmodel" + + "_type\030\001 \001(\0162k.google.cloud.aiplatform.v1" + + "beta1.schema.trainingjob.definition.Auto" + + "MlVideoActionRecognitionInputs.ModelType" + + "\"\207\001\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIFIED" + + "\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002\022\035\n" + + "\031MOBILE_JETSON_VERSATILE_1\020\003\022\034\n\030MOBILE_C" + + "ORAL_VERSATILE_1\020\004B\227\003\nAcom.google.cloud." + + "aiplatform.v1beta1.schema.trainingjob.de" + + "finitionB!AutoMLVideoActionRecognitionPr" + + "otoP\001Zggoogle.golang.org/genproto/google" + + "apis/cloud/aiplatform/v1beta1/schema/tra" + + "iningjob/definition;definition\252\002=Google." + + "Cloud.AIPlatform.V1Beta1.Schema.Training" + + "Job.Definition\312\002=Google\\Cloud\\AIPlatform" + + "\\V1beta1\\Schema\\TrainingJob\\Definition\352\002" + + "CGoogle::Cloud::AIPlatform::V1beta1::Sch" + + "ema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlVideoActionRecognition_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlVideoActionRecognition_fieldAccessorTable = @@ -95,7 +91,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ModelType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java index bbf1b96a1..ad929fb1d 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java @@ -49,35 +49,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/trainingjob/definition/automl_video_cla" + "ssification.proto\022=google.cloud.aiplatfo" + "rm.v1beta1.schema.trainingjob.definition" - + "\032\034google/api/annotations.proto\"\213\001\n\031AutoM" - + "lVideoClassification\022n\n\006inputs\030\001 \001(\0132^.g" - + "oogle.cloud.aiplatform.v1beta1.schema.tr" - + "ainingjob.definition.AutoMlVideoClassifi" - + "cationInputs\"\212\002\n\037AutoMlVideoClassificati" - + "onInputs\022|\n\nmodel_type\030\001 \001(\0162h.google.cl" - + "oud.aiplatform.v1beta1.schema.trainingjo" - + "b.definition.AutoMlVideoClassificationIn" - + "puts.ModelType\"i\n\tModelType\022\032\n\026MODEL_TYP" - + "E_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VER" - + "SATILE_1\020\002\022\035\n\031MOBILE_JETSON_VERSATILE_1\020" - + "\003B\224\003\nAcom.google.cloud.aiplatform.v1beta" - + "1.schema.trainingjob.definitionB\036AutoMLV" - + "ideoClassificationProtoP\001Zggoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1beta1/schema/trainingjob/definition;" - + "definition\252\002=Google.Cloud.AIPlatform.V1B" - + "eta1.Schema.TrainingJob.Definition\312\002=Goo" - + "gle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Trai" - + "ningJob\\Definition\352\002CGoogle::Cloud::AIPl" - + "atform::V1beta1::Schema::TrainingJob::De" - + "finitionb\006proto3" + + "\"\213\001\n\031AutoMlVideoClassification\022n\n\006inputs" + + "\030\001 \001(\0132^.google.cloud.aiplatform.v1beta1" + + ".schema.trainingjob.definition.AutoMlVid" + + "eoClassificationInputs\"\212\002\n\037AutoMlVideoCl" + + "assificationInputs\022|\n\nmodel_type\030\001 \001(\0162h" + + ".google.cloud.aiplatform.v1beta1.schema." + + "trainingjob.definition.AutoMlVideoClassi" + + "ficationInputs.ModelType\"i\n\tModelType\022\032\n" + + "\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022" + + "MOBILE_VERSATILE_1\020\002\022\035\n\031MOBILE_JETSON_VE" + + "RSATILE_1\020\003B\224\003\nAcom.google.cloud.aiplatf" + + "orm.v1beta1.schema.trainingjob.definitio" + + "nB\036AutoMLVideoClassificationProtoP\001Zggoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/aiplatform/v1beta1/schema/trainingjob/d" + + "efinition;definition\252\002=Google.Cloud.AIPl" + + "atform.V1Beta1.Schema.TrainingJob.Defini" + + "tion\312\002=Google\\Cloud\\AIPlatform\\V1beta1\\S" + + "chema\\TrainingJob\\Definition\352\002CGoogle::C" + + "loud::AIPlatform::V1beta1::Schema::Train" + + "ingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlVideoClassification_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlVideoClassification_fieldAccessorTable = @@ -94,7 +90,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ModelType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java index ab5275d44..75e7fc4c4 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java @@ -49,37 +49,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/trainingjob/definition/automl_video_obj" + "ect_tracking.proto\022=google.cloud.aiplatf" + "orm.v1beta1.schema.trainingjob.definitio" - + "n\032\034google/api/annotations.proto\"\213\001\n\031Auto" - + "MlVideoObjectTracking\022n\n\006inputs\030\001 \001(\0132^." - + "google.cloud.aiplatform.v1beta1.schema.t" - + "rainingjob.definition.AutoMlVideoObjectT" - + "rackingInputs\"\352\002\n\037AutoMlVideoObjectTrack" - + "ingInputs\022|\n\nmodel_type\030\001 \001(\0162h.google.c" - + "loud.aiplatform.v1beta1.schema.trainingj" - + "ob.definition.AutoMlVideoObjectTrackingI" - + "nputs.ModelType\"\310\001\n\tModelType\022\032\n\026MODEL_T" - + "YPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_V" - + "ERSATILE_1\020\002\022\034\n\030MOBILE_CORAL_VERSATILE_1" - + "\020\003\022\036\n\032MOBILE_CORAL_LOW_LATENCY_1\020\004\022\035\n\031MO" - + "BILE_JETSON_VERSATILE_1\020\005\022\037\n\033MOBILE_JETS" - + "ON_LOW_LATENCY_1\020\006B\224\003\nAcom.google.cloud." - + "aiplatform.v1beta1.schema.trainingjob.de" - + "finitionB\036AutoMLVideoObjectTrackingProto" - + "P\001Zggoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1beta1/schema/traini" - + "ngjob/definition;definition\252\002=Google.Clo" - + "ud.AIPlatform.V1Beta1.Schema.TrainingJob" - + ".Definition\312\002=Google\\Cloud\\AIPlatform\\V1" - + "beta1\\Schema\\TrainingJob\\Definition\352\002CGo" - + "ogle::Cloud::AIPlatform::V1beta1::Schema" - + "::TrainingJob::Definitionb\006proto3" + + "n\"\213\001\n\031AutoMlVideoObjectTracking\022n\n\006input" + + "s\030\001 \001(\0132^.google.cloud.aiplatform.v1beta" + + "1.schema.trainingjob.definition.AutoMlVi" + + "deoObjectTrackingInputs\"\352\002\n\037AutoMlVideoO" + + "bjectTrackingInputs\022|\n\nmodel_type\030\001 \001(\0162" + + "h.google.cloud.aiplatform.v1beta1.schema" + + ".trainingjob.definition.AutoMlVideoObjec" + + "tTrackingInputs.ModelType\"\310\001\n\tModelType\022" + + "\032\n\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026" + + "\n\022MOBILE_VERSATILE_1\020\002\022\034\n\030MOBILE_CORAL_V" + + "ERSATILE_1\020\003\022\036\n\032MOBILE_CORAL_LOW_LATENCY" + + "_1\020\004\022\035\n\031MOBILE_JETSON_VERSATILE_1\020\005\022\037\n\033M" + + "OBILE_JETSON_LOW_LATENCY_1\020\006B\224\003\nAcom.goo" + + "gle.cloud.aiplatform.v1beta1.schema.trai" + + "ningjob.definitionB\036AutoMLVideoObjectTra" + + "ckingProtoP\001Zggoogle.golang.org/genproto" + + "/googleapis/cloud/aiplatform/v1beta1/sch" + + "ema/trainingjob/definition;definition\252\002=" + + "Google.Cloud.AIPlatform.V1Beta1.Schema.T" + + "rainingJob.Definition\312\002=Google\\Cloud\\AIP" + + "latform\\V1beta1\\Schema\\TrainingJob\\Defin" + + "ition\352\002CGoogle::Cloud::AIPlatform::V1bet" + + "a1::Schema::TrainingJob::Definitionb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlVideoObjectTracking_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_AutoMlVideoObjectTracking_fieldAccessorTable = @@ -96,7 +93,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ModelType", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java index eab86759a..0fd0b5817 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java @@ -45,27 +45,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/trainingjob/definition/export_evaluated" + "_data_items_config.proto\022=google.cloud.a" + "iplatform.v1beta1.schema.trainingjob.def" - + "inition\032\034google/api/annotations.proto\"c\n" - + "\036ExportEvaluatedDataItemsConfig\022 \n\030desti" - + "nation_bigquery_uri\030\001 \001(\t\022\037\n\027override_ex" - + "isting_table\030\002 \001(\010B\231\003\nAcom.google.cloud." - + "aiplatform.v1beta1.schema.trainingjob.de" - + "finitionB#ExportEvaluatedDataItemsConfig" - + "ProtoP\001Zggoogle.golang.org/genproto/goog" - + "leapis/cloud/aiplatform/v1beta1/schema/t" - + "rainingjob/definition;definition\252\002=Googl" - + "e.Cloud.AIPlatform.V1Beta1.Schema.Traini" - + "ngJob.Definition\312\002=Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\TrainingJob\\Definition" - + "\352\002CGoogle::Cloud::AIPlatform::V1beta1::S" - + "chema::TrainingJob::Definitionb\006proto3" + + "inition\"c\n\036ExportEvaluatedDataItemsConfi" + + "g\022 \n\030destination_bigquery_uri\030\001 \001(\t\022\037\n\027o" + + "verride_existing_table\030\002 \001(\010B\231\003\nAcom.goo" + + "gle.cloud.aiplatform.v1beta1.schema.trai" + + "ningjob.definitionB#ExportEvaluatedDataI" + + "temsConfigProtoP\001Zggoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1beta" + + "1/schema/trainingjob/definition;definiti" + + "on\252\002=Google.Cloud.AIPlatform.V1Beta1.Sch" + + "ema.TrainingJob.Definition\312\002=Google\\Clou" + + "d\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\" + + "Definition\352\002CGoogle::Cloud::AIPlatform::" + + "V1beta1::Schema::TrainingJob::Definition" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_ExportEvaluatedDataItemsConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_ExportEvaluatedDataItemsConfig_fieldAccessorTable = @@ -74,7 +71,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "DestinationBigqueryUri", "OverrideExistingTable", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto index 384e92c6c..249c5ca3c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto @@ -19,7 +19,6 @@ package google.cloud.aiplatform.v1beta1.schema; import "google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto"; import "google/cloud/aiplatform/v1beta1/schema/geometry.proto"; import "google/protobuf/duration.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto index 1f53d4de4..5a4b97674 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema; import "google/type/color.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto index 164aacef6..6f8b3eff8 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto @@ -17,8 +17,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema; import "google/api/field_behavior.proto"; -import "google/protobuf/duration.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto index 2a0ed1217..d35bbc33c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto index dc53d2d7f..5dd708e37 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto index 572886a8f..7ce0a3442 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto index 41eb7a6a8..b92db336c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto index 9da318e51..a83b7fbcc 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto index 68bf6c102..99b8deda7 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto index 9b6292133..0265e4c03 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto index e312e865f..17480d0c1 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto index 810a4112e..f65c6d2b1 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto index edc61a69a..9261a2402 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto index 119e0c9b0..6a420074a 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.instance; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto index a637e4a78..088f04952 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto index 35856e6cc..32861f2b6 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto index ee18a8809..a49c81364 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto index 8cd1d47cb..02e8ec9fb 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto index 856869cd8..c93ccb6be 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto index 8fc616cd0..25c91dd71 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.params; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto index 0a77a2475..b7b6d3db1 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto index 3df5d1e41..a5489b1bc 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto index db998c632..77629ccff 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto index fde1fae66..1616dfca5 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto index 7e8de866b..0aa04bdda 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto index cce7b068e..e7c0cffce 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto index faefeb195..b5b7a1458 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto index d1517b4ae..e2db5812d 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.predict.prediction; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto index 5a03f70dc..86ff341c2 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto @@ -18,7 +18,6 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto index bc5c5c37d..6cff97622 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto @@ -18,7 +18,6 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto index fcfbff92f..11e28a9aa 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto @@ -18,7 +18,6 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto index 53ead6267..1b874b03b 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto index 4c0066444..938ece400 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto index c16721dad..e368e00b6 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto index 29d8d80aa..5488f747f 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; import "google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto index 6a2c93dd1..b57492a5f 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto index 6b1727640..a367486a4 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto index 18e42dcef..b63162d7c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto index fdae0f0db..596d0abd5 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; import "google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto index 4a16d6585..ef5284b7d 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto index 020ef5260..c6e152291 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto index 9858eafcf..7d929d203 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto index 80385668d..b88d0c4f1 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; From 112a827210a8c184a6075b9f7ad037b31ccf2b1d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 22 Aug 2022 19:52:22 +0200 Subject: [PATCH 10/20] deps: update dependency com.google.cloud:google-cloud-storage to v2.11.3 (#1015) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-storage](https://togithub.com/googleapis/java-storage) | `2.11.2` -> `2.11.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/compatibility-slim/2.11.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.3/confidence-slim/2.11.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-storage ### [`v2.11.3`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​2113-httpsgithubcomgoogleapisjava-storagecomparev2112v2113-2022-08-08) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.11.2...v2.11.3) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.120.11 ([#​1551](https://togithub.com/googleapis/java-storage/issues/1551)) ([0fc2d33](https://togithub.com/googleapis/java-storage/commit/0fc2d336c536deb3efe95e770d47fc898af12323))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index f934293eb..ae7d20acc 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -35,7 +35,7 @@ com.google.cloud google-cloud-storage - 2.11.2 + 2.11.3 com.google.protobuf diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 492e8a17b..ffb611970 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -34,7 +34,7 @@ com.google.cloud google-cloud-storage - 2.11.2 + 2.11.3 com.google.protobuf diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 980945f81..f13001edd 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -33,7 +33,7 @@ com.google.cloud google-cloud-storage - 2.11.2 + 2.11.3 com.google.protobuf From bbf4f3f7be282fd53ba9e45cb2e23140647991f1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Aug 2022 15:46:21 +0200 Subject: [PATCH 11/20] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.7 (#1031) --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index ae7d20acc..8e8ae9114 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.6 + 2.14.7 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index ffb611970..57531be5f 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.6 + 2.14.7 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index f13001edd..e7f4b106b 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -65,7 +65,7 @@ com.google.cloud google-cloud-bigquery - 2.14.6 + 2.14.7 From fddedd58455ec6aebe347400344e9b9e42fed922 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 15:00:19 +0000 Subject: [PATCH 12/20] feat: add UpsertDatapoints and RemoveDatapoints rpcs to IndexService in aiplatform v1 index_service.proto (#1030) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 469481982 Source-Link: https://github.com/googleapis/googleapis/commit/e4fe55a80e18c5e60827821243146e2bb2ac17bd Source-Link: https://github.com/googleapis/googleapis-gen/commit/1ff3c40d85fe8f13538b0f2264d60f806d744fd2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWZmM2M0MGQ4NWZlOGYxMzUzOGIwZjIyNjRkNjBmODA2ZDc0NGZkMiJ9 feat: add UpsertDatapoints and RemoveDatapoints rpcs to IndexService in aiplatform v1beta1 index_service.proto PiperOrigin-RevId: 469481692 Source-Link: https://github.com/googleapis/googleapis/commit/624cc451fc305bb5c4d844024890b55add66406f Source-Link: https://github.com/googleapis/googleapis-gen/commit/fd6880812cab6b3434a7e1d339a99907698f9508 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmQ2ODgwODEyY2FiNmIzNDM0YTdlMWQzMzlhOTk5MDc2OThmOTUwOCJ9 --- .../aiplatform/v1/IndexServiceClient.java | 106 + .../aiplatform/v1/IndexServiceSettings.java | 24 + .../aiplatform/v1/ModelServiceClient.java | 12 +- .../cloud/aiplatform/v1/gapic_metadata.json | 6 + .../v1/stub/GrpcIndexServiceStub.java | 70 + .../aiplatform/v1/stub/IndexServiceStub.java | 14 + .../v1/stub/IndexServiceStubSettings.java | 56 + .../v1beta1/IndexServiceClient.java | 106 + .../v1beta1/IndexServiceSettings.java | 24 + .../v1beta1/ModelServiceClient.java | 12 +- .../aiplatform/v1beta1/gapic_metadata.json | 6 + .../v1beta1/stub/GrpcIndexServiceStub.java | 70 + .../v1beta1/stub/IndexServiceStub.java | 14 + .../stub/IndexServiceStubSettings.java | 56 + .../aiplatform/v1/IndexServiceClientTest.java | 93 + .../aiplatform/v1/MockIndexServiceImpl.java | 42 + .../v1beta1/IndexServiceClientTest.java | 93 + .../v1beta1/MockIndexServiceImpl.java | 42 + .../cloud/aiplatform/v1/IndexServiceGrpc.java | 242 ++ .../aiplatform/v1beta1/IndexServiceGrpc.java | 244 ++ .../aiplatform/v1/ExplanationParameters.java | 24 +- .../v1/ExplanationParametersOrBuilder.java | 6 +- .../cloud/aiplatform/v1/ExplanationProto.java | 2 +- .../cloud/aiplatform/v1/ExplanationSpec.java | 48 +- .../v1/ExplanationSpecOrBuilder.java | 12 +- .../com/google/cloud/aiplatform/v1/Index.java | 648 +++ .../cloud/aiplatform/v1/IndexDatapoint.java | 3846 ++++++++++++++++ .../v1/IndexDatapointOrBuilder.java | 213 + .../cloud/aiplatform/v1/IndexOrBuilder.java | 72 + .../cloud/aiplatform/v1/IndexProto.java | 93 +- .../aiplatform/v1/IndexServiceProto.java | 172 +- .../cloud/aiplatform/v1/IndexStats.java | 636 +++ .../aiplatform/v1/IndexStatsOrBuilder.java | 51 + .../v1/ListSavedQueriesResponse.java | 69 +- .../v1/ListSavedQueriesResponseOrBuilder.java | 15 +- .../v1/MergeVersionAliasesRequest.java | 26 +- .../MergeVersionAliasesRequestOrBuilder.java | 8 +- .../v1/ModelMonitoringAlertConfig.java | 20 +- .../v1/ModelMonitoringObjectiveConfig.java | 6 +- .../v1/RemoveDatapointsRequest.java | 947 ++++ .../v1/RemoveDatapointsRequestOrBuilder.java | 109 + .../v1/RemoveDatapointsResponse.java | 459 ++ .../v1/RemoveDatapointsResponseOrBuilder.java | 24 + .../cloud/aiplatform/v1/SamplingStrategy.java | 2 - .../cloud/aiplatform/v1/SavedQuery.java | 14 +- .../aiplatform/v1/SavedQueryOrBuilder.java | 4 +- .../aiplatform/v1/SuggestTrialsRequest.java | 8 +- .../v1/SuggestTrialsRequestOrBuilder.java | 2 +- .../cloud/aiplatform/v1/ThresholdConfig.java | 2 - .../v1/UpsertDatapointsRequest.java | 1163 +++++ .../v1/UpsertDatapointsRequestOrBuilder.java | 110 + .../v1/UpsertDatapointsResponse.java | 459 ++ .../v1/UpsertDatapointsResponseOrBuilder.java | 24 + .../cloud/aiplatform/v1/dataset_service.proto | 3 +- .../cloud/aiplatform/v1/explanation.proto | 6 +- .../google/cloud/aiplatform/v1/index.proto | 76 + .../cloud/aiplatform/v1/index_service.proto | 58 + .../aiplatform/v1/model_monitoring.proto | 6 +- .../cloud/aiplatform/v1/model_service.proto | 2 +- .../cloud/aiplatform/v1/saved_query.proto | 3 +- .../cloud/aiplatform/v1/vizier_service.proto | 2 +- .../v1beta1/ExplanationParameters.java | 24 +- .../ExplanationParametersOrBuilder.java | 6 +- .../aiplatform/v1beta1/ExplanationProto.java | 2 +- .../aiplatform/v1beta1/ExplanationSpec.java | 48 +- .../v1beta1/ExplanationSpecOrBuilder.java | 12 +- .../cloud/aiplatform/v1beta1/Index.java | 650 +++ .../aiplatform/v1beta1/IndexDatapoint.java | 3867 +++++++++++++++++ .../v1beta1/IndexDatapointOrBuilder.java | 213 + .../aiplatform/v1beta1/IndexOrBuilder.java | 72 + .../cloud/aiplatform/v1beta1/IndexProto.java | 93 +- .../aiplatform/v1beta1/IndexServiceProto.java | 177 +- .../cloud/aiplatform/v1beta1/IndexStats.java | 636 +++ .../v1beta1/IndexStatsOrBuilder.java | 51 + .../v1beta1/ListSavedQueriesResponse.java | 69 +- .../ListSavedQueriesResponseOrBuilder.java | 15 +- .../v1beta1/MergeVersionAliasesRequest.java | 26 +- .../MergeVersionAliasesRequestOrBuilder.java | 8 +- .../v1beta1/ModelMonitoringAlertConfig.java | 20 +- .../v1beta1/ModelMonitoringConfig.java | 340 +- .../ModelMonitoringConfigOrBuilder.java | 48 + .../ModelMonitoringObjectiveConfig.java | 18 +- .../v1beta1/ModelMonitoringProto.java | 189 +- .../v1beta1/RemoveDatapointsRequest.java | 947 ++++ .../RemoveDatapointsRequestOrBuilder.java | 109 + .../v1beta1/RemoveDatapointsResponse.java | 462 ++ .../RemoveDatapointsResponseOrBuilder.java | 24 + .../aiplatform/v1beta1/SamplingStrategy.java | 2 - .../cloud/aiplatform/v1beta1/SavedQuery.java | 14 +- .../v1beta1/SavedQueryOrBuilder.java | 4 +- .../v1beta1/SuggestTrialsRequest.java | 8 +- .../SuggestTrialsRequestOrBuilder.java | 2 +- .../aiplatform/v1beta1/ThresholdConfig.java | 2 - .../v1beta1/UpsertDatapointsRequest.java | 1171 +++++ .../UpsertDatapointsRequestOrBuilder.java | 110 + .../v1beta1/UpsertDatapointsResponse.java | 462 ++ .../UpsertDatapointsResponseOrBuilder.java | 24 + .../aiplatform/v1beta1/dataset_service.proto | 3 +- .../aiplatform/v1beta1/explanation.proto | 6 +- .../cloud/aiplatform/v1beta1/index.proto | 76 + .../aiplatform/v1beta1/index_service.proto | 58 + .../aiplatform/v1beta1/model_monitoring.proto | 27 +- .../aiplatform/v1beta1/model_service.proto | 2 +- .../aiplatform/v1beta1/saved_query.proto | 3 +- .../aiplatform/v1beta1/vizier_service.proto | 2 +- 105 files changed, 20296 insertions(+), 588 deletions(-) create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapoint.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapointOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStats.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStatsOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequest.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequestOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponse.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponseOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequest.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequestOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponse.java create mode 100644 proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponseOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapoint.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapointOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStats.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStatsOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequest.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequestOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponse.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponseOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequest.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequestOrBuilder.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponse.java create mode 100644 proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponseOrBuilder.java diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java index fa4ab3ec0..8778008d8 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java @@ -800,6 +800,112 @@ public final UnaryCallable deleteIndexCallable() return stub.deleteIndexCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Add/update Datapoints into an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   UpsertDatapointsRequest request =
+   *       UpsertDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapoints(new ArrayList())
+   *           .build();
+   *   UpsertDatapointsResponse response = indexServiceClient.upsertDatapoints(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final UpsertDatapointsResponse upsertDatapoints(UpsertDatapointsRequest request) { + return upsertDatapointsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Add/update Datapoints into an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   UpsertDatapointsRequest request =
+   *       UpsertDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapoints(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       indexServiceClient.upsertDatapointsCallable().futureCall(request);
+   *   // Do something.
+   *   UpsertDatapointsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + upsertDatapointsCallable() { + return stub.upsertDatapointsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove Datapoints from an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   RemoveDatapointsRequest request =
+   *       RemoveDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapointIds(new ArrayList())
+   *           .build();
+   *   RemoveDatapointsResponse response = indexServiceClient.removeDatapoints(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveDatapointsResponse removeDatapoints(RemoveDatapointsRequest request) { + return removeDatapointsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove Datapoints from an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   RemoveDatapointsRequest request =
+   *       RemoveDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapointIds(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       indexServiceClient.removeDatapointsCallable().futureCall(request);
+   *   // Do something.
+   *   RemoveDatapointsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeDatapointsCallable() { + return stub.removeDatapointsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceSettings.java index 6b1d481e8..ff5536780 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceSettings.java @@ -127,6 +127,18 @@ public UnaryCallSettings deleteIndexSettings() { return ((IndexServiceStubSettings) getStubSettings()).deleteIndexOperationSettings(); } + /** Returns the object with the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings + upsertDatapointsSettings() { + return ((IndexServiceStubSettings) getStubSettings()).upsertDatapointsSettings(); + } + + /** Returns the object with the settings used for calls to removeDatapoints. */ + public UnaryCallSettings + removeDatapointsSettings() { + return ((IndexServiceStubSettings) getStubSettings()).removeDatapointsSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -296,6 +308,18 @@ public UnaryCallSettings.Builder deleteIndexSetti return getStubSettingsBuilder().deleteIndexOperationSettings(); } + /** Returns the builder for the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings.Builder + upsertDatapointsSettings() { + return getStubSettingsBuilder().upsertDatapointsSettings(); + } + + /** Returns the builder for the settings used for calls to removeDatapoints. */ + public UnaryCallSettings.Builder + removeDatapointsSettings() { + return getStubSettingsBuilder().removeDatapointsSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java index 0846d90c2..f0735d823 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java @@ -1151,9 +1151,9 @@ public final UnaryCallable deleteModelVers * explicitly included. *

Example: `projects/{project}/locations/{location}/models/{model}{@literal @}1234` * @param versionAliases Required. The set of version aliases to merge. The alias should be at - * most 128 characters, and match `[a-z][a-z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to an - * alias means removing that alias from the version. `-` is NOT counted in the 128 characters. - * Example: `-golden` means removing the `golden` alias from the version. + * most 128 characters, and match `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to + * an alias means removing that alias from the version. `-` is NOT counted in the 128 + * characters. Example: `-golden` means removing the `golden` alias from the version. *

There is NO ordering in aliases, which means 1) The aliases returned from GetModel API * might not have the exactly same order from this MergeVersionAliases API. 2) Adding and * deleting the same alias in the request is not recommended, and the 2 operations will be @@ -1189,9 +1189,9 @@ public final Model mergeVersionAliases(ModelName name, List versionAlias * explicitly included. *

Example: `projects/{project}/locations/{location}/models/{model}{@literal @}1234` * @param versionAliases Required. The set of version aliases to merge. The alias should be at - * most 128 characters, and match `[a-z][a-z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to an - * alias means removing that alias from the version. `-` is NOT counted in the 128 characters. - * Example: `-golden` means removing the `golden` alias from the version. + * most 128 characters, and match `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to + * an alias means removing that alias from the version. `-` is NOT counted in the 128 + * characters. Example: `-golden` means removing the `golden` alias from the version. *

There is NO ordering in aliases, which means 1) The aliases returned from GetModel API * might not have the exactly same order from this MergeVersionAliases API. 2) Adding and * deleting the same alias in the request is not recommended, and the 2 operations will be diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json index 3f39baf58..cbc61de48 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json @@ -295,6 +295,9 @@ "ListLocations": { "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] }, + "RemoveDatapoints": { + "methods": ["removeDatapoints", "removeDatapointsCallable"] + }, "SetIamPolicy": { "methods": ["setIamPolicy", "setIamPolicyCallable"] }, @@ -303,6 +306,9 @@ }, "UpdateIndex": { "methods": ["updateIndexAsync", "updateIndexAsync", "updateIndexOperationCallable", "updateIndexCallable"] + }, + "UpsertDatapoints": { + "methods": ["upsertDatapoints", "upsertDatapointsCallable"] } } } diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcIndexServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcIndexServiceStub.java index e653f1bef..7980baceb 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcIndexServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcIndexServiceStub.java @@ -34,8 +34,12 @@ import com.google.cloud.aiplatform.v1.Index; import com.google.cloud.aiplatform.v1.ListIndexesRequest; import com.google.cloud.aiplatform.v1.ListIndexesResponse; +import com.google.cloud.aiplatform.v1.RemoveDatapointsRequest; +import com.google.cloud.aiplatform.v1.RemoveDatapointsResponse; import com.google.cloud.aiplatform.v1.UpdateIndexOperationMetadata; import com.google.cloud.aiplatform.v1.UpdateIndexRequest; +import com.google.cloud.aiplatform.v1.UpsertDatapointsRequest; +import com.google.cloud.aiplatform.v1.UpsertDatapointsResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -105,6 +109,28 @@ public class GrpcIndexServiceStub extends IndexServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + upsertDatapointsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.IndexService/UpsertDatapoints") + .setRequestMarshaller( + ProtoUtils.marshaller(UpsertDatapointsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(UpsertDatapointsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + removeDatapointsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.IndexService/RemoveDatapoints") + .setRequestMarshaller( + ProtoUtils.marshaller(RemoveDatapointsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(RemoveDatapointsResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -164,6 +190,10 @@ public class GrpcIndexServiceStub extends IndexServiceStub { private final UnaryCallable deleteIndexCallable; private final OperationCallable deleteIndexOperationCallable; + private final UnaryCallable + upsertDatapointsCallable; + private final UnaryCallable + removeDatapointsCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -265,6 +295,28 @@ protected GrpcIndexServiceStub( return params.build(); }) .build(); + GrpcCallSettings + upsertDatapointsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(upsertDatapointsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("index", String.valueOf(request.getIndex())); + return params.build(); + }) + .build(); + GrpcCallSettings + removeDatapointsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(removeDatapointsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("index", String.valueOf(request.getIndex())); + return params.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -353,6 +405,12 @@ protected GrpcIndexServiceStub( settings.deleteIndexOperationSettings(), clientContext, operationsStub); + this.upsertDatapointsCallable = + callableFactory.createUnaryCallable( + upsertDatapointsTransportSettings, settings.upsertDatapointsSettings(), clientContext); + this.removeDatapointsCallable = + callableFactory.createUnaryCallable( + removeDatapointsTransportSettings, settings.removeDatapointsSettings(), clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -430,6 +488,18 @@ public UnaryCallable deleteIndexCallable() { return deleteIndexOperationCallable; } + @Override + public UnaryCallable + upsertDatapointsCallable() { + return upsertDatapointsCallable; + } + + @Override + public UnaryCallable + removeDatapointsCallable() { + return removeDatapointsCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStub.java index e53e746f1..a33545d99 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStub.java @@ -30,8 +30,12 @@ import com.google.cloud.aiplatform.v1.Index; import com.google.cloud.aiplatform.v1.ListIndexesRequest; import com.google.cloud.aiplatform.v1.ListIndexesResponse; +import com.google.cloud.aiplatform.v1.RemoveDatapointsRequest; +import com.google.cloud.aiplatform.v1.RemoveDatapointsResponse; import com.google.cloud.aiplatform.v1.UpdateIndexOperationMetadata; import com.google.cloud.aiplatform.v1.UpdateIndexRequest; +import com.google.cloud.aiplatform.v1.UpsertDatapointsRequest; +import com.google.cloud.aiplatform.v1.UpsertDatapointsResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -98,6 +102,16 @@ public UnaryCallable deleteIndexCallable() { throw new UnsupportedOperationException("Not implemented: deleteIndexCallable()"); } + public UnaryCallable + upsertDatapointsCallable() { + throw new UnsupportedOperationException("Not implemented: upsertDatapointsCallable()"); + } + + public UnaryCallable + removeDatapointsCallable() { + throw new UnsupportedOperationException("Not implemented: removeDatapointsCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java index dca0bdb70..1d4c7b211 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java @@ -53,8 +53,12 @@ import com.google.cloud.aiplatform.v1.Index; import com.google.cloud.aiplatform.v1.ListIndexesRequest; import com.google.cloud.aiplatform.v1.ListIndexesResponse; +import com.google.cloud.aiplatform.v1.RemoveDatapointsRequest; +import com.google.cloud.aiplatform.v1.RemoveDatapointsResponse; import com.google.cloud.aiplatform.v1.UpdateIndexOperationMetadata; import com.google.cloud.aiplatform.v1.UpdateIndexRequest; +import com.google.cloud.aiplatform.v1.UpsertDatapointsRequest; +import com.google.cloud.aiplatform.v1.UpsertDatapointsResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -127,6 +131,10 @@ public class IndexServiceStubSettings extends StubSettings deleteIndexSettings; private final OperationCallSettings deleteIndexOperationSettings; + private final UnaryCallSettings + upsertDatapointsSettings; + private final UnaryCallSettings + removeDatapointsSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -286,6 +294,18 @@ public UnaryCallSettings deleteIndexSettings() { return deleteIndexOperationSettings; } + /** Returns the object with the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings + upsertDatapointsSettings() { + return upsertDatapointsSettings; + } + + /** Returns the object with the settings used for calls to removeDatapoints. */ + public UnaryCallSettings + removeDatapointsSettings() { + return removeDatapointsSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -396,6 +416,8 @@ protected IndexServiceStubSettings(Builder settingsBuilder) throws IOException { updateIndexOperationSettings = settingsBuilder.updateIndexOperationSettings().build(); deleteIndexSettings = settingsBuilder.deleteIndexSettings().build(); deleteIndexOperationSettings = settingsBuilder.deleteIndexOperationSettings().build(); + upsertDatapointsSettings = settingsBuilder.upsertDatapointsSettings().build(); + removeDatapointsSettings = settingsBuilder.removeDatapointsSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); @@ -421,6 +443,10 @@ public static class Builder extends StubSettings.Builder deleteIndexSettings; private final OperationCallSettings.Builder deleteIndexOperationSettings; + private final UnaryCallSettings.Builder + upsertDatapointsSettings; + private final UnaryCallSettings.Builder + removeDatapointsSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -464,6 +490,8 @@ protected Builder(ClientContext clientContext) { updateIndexOperationSettings = OperationCallSettings.newBuilder(); deleteIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteIndexOperationSettings = OperationCallSettings.newBuilder(); + upsertDatapointsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeDatapointsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -477,6 +505,8 @@ protected Builder(ClientContext clientContext) { listIndexesSettings, updateIndexSettings, deleteIndexSettings, + upsertDatapointsSettings, + removeDatapointsSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -496,6 +526,8 @@ protected Builder(IndexServiceStubSettings settings) { updateIndexOperationSettings = settings.updateIndexOperationSettings.toBuilder(); deleteIndexSettings = settings.deleteIndexSettings.toBuilder(); deleteIndexOperationSettings = settings.deleteIndexOperationSettings.toBuilder(); + upsertDatapointsSettings = settings.upsertDatapointsSettings.toBuilder(); + removeDatapointsSettings = settings.removeDatapointsSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); @@ -509,6 +541,8 @@ protected Builder(IndexServiceStubSettings settings) { listIndexesSettings, updateIndexSettings, deleteIndexSettings, + upsertDatapointsSettings, + removeDatapointsSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -555,6 +589,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .upsertDatapointsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .removeDatapointsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -720,6 +764,18 @@ public UnaryCallSettings.Builder deleteIndexSetti return deleteIndexOperationSettings; } + /** Returns the builder for the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings.Builder + upsertDatapointsSettings() { + return upsertDatapointsSettings; + } + + /** Returns the builder for the settings used for calls to removeDatapoints. */ + public UnaryCallSettings.Builder + removeDatapointsSettings() { + return removeDatapointsSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java index 9ef0bd8ec..f571458a0 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java @@ -802,6 +802,112 @@ public final UnaryCallable deleteIndexCallable() return stub.deleteIndexCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Add/update Datapoints into an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   UpsertDatapointsRequest request =
+   *       UpsertDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapoints(new ArrayList())
+   *           .build();
+   *   UpsertDatapointsResponse response = indexServiceClient.upsertDatapoints(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final UpsertDatapointsResponse upsertDatapoints(UpsertDatapointsRequest request) { + return upsertDatapointsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Add/update Datapoints into an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   UpsertDatapointsRequest request =
+   *       UpsertDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapoints(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       indexServiceClient.upsertDatapointsCallable().futureCall(request);
+   *   // Do something.
+   *   UpsertDatapointsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + upsertDatapointsCallable() { + return stub.upsertDatapointsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove Datapoints from an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   RemoveDatapointsRequest request =
+   *       RemoveDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapointIds(new ArrayList())
+   *           .build();
+   *   RemoveDatapointsResponse response = indexServiceClient.removeDatapoints(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveDatapointsResponse removeDatapoints(RemoveDatapointsRequest request) { + return removeDatapointsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove Datapoints from an Index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
+   *   RemoveDatapointsRequest request =
+   *       RemoveDatapointsRequest.newBuilder()
+   *           .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString())
+   *           .addAllDatapointIds(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       indexServiceClient.removeDatapointsCallable().futureCall(request);
+   *   // Do something.
+   *   RemoveDatapointsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeDatapointsCallable() { + return stub.removeDatapointsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java index d16ed7ff3..fe62e551a 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java @@ -128,6 +128,18 @@ public UnaryCallSettings deleteIndexSettings() { return ((IndexServiceStubSettings) getStubSettings()).deleteIndexOperationSettings(); } + /** Returns the object with the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings + upsertDatapointsSettings() { + return ((IndexServiceStubSettings) getStubSettings()).upsertDatapointsSettings(); + } + + /** Returns the object with the settings used for calls to removeDatapoints. */ + public UnaryCallSettings + removeDatapointsSettings() { + return ((IndexServiceStubSettings) getStubSettings()).removeDatapointsSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -297,6 +309,18 @@ public UnaryCallSettings.Builder deleteIndexSetti return getStubSettingsBuilder().deleteIndexOperationSettings(); } + /** Returns the builder for the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings.Builder + upsertDatapointsSettings() { + return getStubSettingsBuilder().upsertDatapointsSettings(); + } + + /** Returns the builder for the settings used for calls to removeDatapoints. */ + public UnaryCallSettings.Builder + removeDatapointsSettings() { + return getStubSettingsBuilder().removeDatapointsSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java index 96e594ca1..8c47bb258 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java @@ -1295,9 +1295,9 @@ public final UnaryCallable deleteModelVers * explicitly included. *

Example: `projects/{project}/locations/{location}/models/{model}{@literal @}1234` * @param versionAliases Required. The set of version aliases to merge. The alias should be at - * most 128 characters, and match `[a-z][a-z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to an - * alias means removing that alias from the version. `-` is NOT counted in the 128 characters. - * Example: `-golden` means removing the `golden` alias from the version. + * most 128 characters, and match `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to + * an alias means removing that alias from the version. `-` is NOT counted in the 128 + * characters. Example: `-golden` means removing the `golden` alias from the version. *

There is NO ordering in aliases, which means 1) The aliases returned from GetModel API * might not have the exactly same order from this MergeVersionAliases API. 2) Adding and * deleting the same alias in the request is not recommended, and the 2 operations will be @@ -1333,9 +1333,9 @@ public final Model mergeVersionAliases(ModelName name, List versionAlias * explicitly included. *

Example: `projects/{project}/locations/{location}/models/{model}{@literal @}1234` * @param versionAliases Required. The set of version aliases to merge. The alias should be at - * most 128 characters, and match `[a-z][a-z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to an - * alias means removing that alias from the version. `-` is NOT counted in the 128 characters. - * Example: `-golden` means removing the `golden` alias from the version. + * most 128 characters, and match `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to + * an alias means removing that alias from the version. `-` is NOT counted in the 128 + * characters. Example: `-golden` means removing the `golden` alias from the version. *

There is NO ordering in aliases, which means 1) The aliases returned from GetModel API * might not have the exactly same order from this MergeVersionAliases API. 2) Adding and * deleting the same alias in the request is not recommended, and the 2 operations will be diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json index 929f61958..4db13dbe8 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json @@ -337,6 +337,9 @@ "ListLocations": { "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] }, + "RemoveDatapoints": { + "methods": ["removeDatapoints", "removeDatapointsCallable"] + }, "SetIamPolicy": { "methods": ["setIamPolicy", "setIamPolicyCallable"] }, @@ -345,6 +348,9 @@ }, "UpdateIndex": { "methods": ["updateIndexAsync", "updateIndexAsync", "updateIndexOperationCallable", "updateIndexCallable"] + }, + "UpsertDatapoints": { + "methods": ["upsertDatapoints", "upsertDatapointsCallable"] } } } diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcIndexServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcIndexServiceStub.java index 006a16018..b21f862e9 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcIndexServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcIndexServiceStub.java @@ -35,8 +35,12 @@ import com.google.cloud.aiplatform.v1beta1.Index; import com.google.cloud.aiplatform.v1beta1.ListIndexesRequest; import com.google.cloud.aiplatform.v1beta1.ListIndexesResponse; +import com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse; import com.google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata; import com.google.cloud.aiplatform.v1beta1.UpdateIndexRequest; +import com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest; +import com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -107,6 +111,28 @@ public class GrpcIndexServiceStub extends IndexServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + upsertDatapointsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.IndexService/UpsertDatapoints") + .setRequestMarshaller( + ProtoUtils.marshaller(UpsertDatapointsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(UpsertDatapointsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + removeDatapointsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.IndexService/RemoveDatapoints") + .setRequestMarshaller( + ProtoUtils.marshaller(RemoveDatapointsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(RemoveDatapointsResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -166,6 +192,10 @@ public class GrpcIndexServiceStub extends IndexServiceStub { private final UnaryCallable deleteIndexCallable; private final OperationCallable deleteIndexOperationCallable; + private final UnaryCallable + upsertDatapointsCallable; + private final UnaryCallable + removeDatapointsCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -267,6 +297,28 @@ protected GrpcIndexServiceStub( return params.build(); }) .build(); + GrpcCallSettings + upsertDatapointsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(upsertDatapointsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("index", String.valueOf(request.getIndex())); + return params.build(); + }) + .build(); + GrpcCallSettings + removeDatapointsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(removeDatapointsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("index", String.valueOf(request.getIndex())); + return params.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -355,6 +407,12 @@ protected GrpcIndexServiceStub( settings.deleteIndexOperationSettings(), clientContext, operationsStub); + this.upsertDatapointsCallable = + callableFactory.createUnaryCallable( + upsertDatapointsTransportSettings, settings.upsertDatapointsSettings(), clientContext); + this.removeDatapointsCallable = + callableFactory.createUnaryCallable( + removeDatapointsTransportSettings, settings.removeDatapointsSettings(), clientContext); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -432,6 +490,18 @@ public UnaryCallable deleteIndexCallable() { return deleteIndexOperationCallable; } + @Override + public UnaryCallable + upsertDatapointsCallable() { + return upsertDatapointsCallable; + } + + @Override + public UnaryCallable + removeDatapointsCallable() { + return removeDatapointsCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStub.java index 47bdbdb76..66d646754 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStub.java @@ -31,8 +31,12 @@ import com.google.cloud.aiplatform.v1beta1.Index; import com.google.cloud.aiplatform.v1beta1.ListIndexesRequest; import com.google.cloud.aiplatform.v1beta1.ListIndexesResponse; +import com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse; import com.google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata; import com.google.cloud.aiplatform.v1beta1.UpdateIndexRequest; +import com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest; +import com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -100,6 +104,16 @@ public UnaryCallable deleteIndexCallable() { throw new UnsupportedOperationException("Not implemented: deleteIndexCallable()"); } + public UnaryCallable + upsertDatapointsCallable() { + throw new UnsupportedOperationException("Not implemented: upsertDatapointsCallable()"); + } + + public UnaryCallable + removeDatapointsCallable() { + throw new UnsupportedOperationException("Not implemented: removeDatapointsCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java index d778d0476..9cd8849ae 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java @@ -53,8 +53,12 @@ import com.google.cloud.aiplatform.v1beta1.Index; import com.google.cloud.aiplatform.v1beta1.ListIndexesRequest; import com.google.cloud.aiplatform.v1beta1.ListIndexesResponse; +import com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse; import com.google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata; import com.google.cloud.aiplatform.v1beta1.UpdateIndexRequest; +import com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest; +import com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; import com.google.cloud.location.ListLocationsResponse; @@ -128,6 +132,10 @@ public class IndexServiceStubSettings extends StubSettings deleteIndexSettings; private final OperationCallSettings deleteIndexOperationSettings; + private final UnaryCallSettings + upsertDatapointsSettings; + private final UnaryCallSettings + removeDatapointsSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -287,6 +295,18 @@ public UnaryCallSettings deleteIndexSettings() { return deleteIndexOperationSettings; } + /** Returns the object with the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings + upsertDatapointsSettings() { + return upsertDatapointsSettings; + } + + /** Returns the object with the settings used for calls to removeDatapoints. */ + public UnaryCallSettings + removeDatapointsSettings() { + return removeDatapointsSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -397,6 +417,8 @@ protected IndexServiceStubSettings(Builder settingsBuilder) throws IOException { updateIndexOperationSettings = settingsBuilder.updateIndexOperationSettings().build(); deleteIndexSettings = settingsBuilder.deleteIndexSettings().build(); deleteIndexOperationSettings = settingsBuilder.deleteIndexOperationSettings().build(); + upsertDatapointsSettings = settingsBuilder.upsertDatapointsSettings().build(); + removeDatapointsSettings = settingsBuilder.removeDatapointsSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); @@ -422,6 +444,10 @@ public static class Builder extends StubSettings.Builder deleteIndexSettings; private final OperationCallSettings.Builder deleteIndexOperationSettings; + private final UnaryCallSettings.Builder + upsertDatapointsSettings; + private final UnaryCallSettings.Builder + removeDatapointsSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -475,6 +501,8 @@ protected Builder(ClientContext clientContext) { updateIndexOperationSettings = OperationCallSettings.newBuilder(); deleteIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteIndexOperationSettings = OperationCallSettings.newBuilder(); + upsertDatapointsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeDatapointsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -488,6 +516,8 @@ protected Builder(ClientContext clientContext) { listIndexesSettings, updateIndexSettings, deleteIndexSettings, + upsertDatapointsSettings, + removeDatapointsSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -507,6 +537,8 @@ protected Builder(IndexServiceStubSettings settings) { updateIndexOperationSettings = settings.updateIndexOperationSettings.toBuilder(); deleteIndexSettings = settings.deleteIndexSettings.toBuilder(); deleteIndexOperationSettings = settings.deleteIndexOperationSettings.toBuilder(); + upsertDatapointsSettings = settings.upsertDatapointsSettings.toBuilder(); + removeDatapointsSettings = settings.removeDatapointsSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); @@ -520,6 +552,8 @@ protected Builder(IndexServiceStubSettings settings) { listIndexesSettings, updateIndexSettings, deleteIndexSettings, + upsertDatapointsSettings, + removeDatapointsSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -566,6 +600,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); + builder + .upsertDatapointsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .removeDatapointsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -731,6 +775,18 @@ public UnaryCallSettings.Builder deleteIndexSetti return deleteIndexOperationSettings; } + /** Returns the builder for the settings used for calls to upsertDatapoints. */ + public UnaryCallSettings.Builder + upsertDatapointsSettings() { + return upsertDatapointsSettings; + } + + /** Returns the builder for the settings used for calls to removeDatapoints. */ + public UnaryCallSettings.Builder + removeDatapointsSettings() { + return removeDatapointsSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexServiceClientTest.java index a472a1171..e83ee956a 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexServiceClientTest.java @@ -121,6 +121,7 @@ public void createIndexTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -179,6 +180,7 @@ public void createIndexTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -237,6 +239,7 @@ public void getIndexTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); mockIndexService.addResponse(expectedResponse); @@ -284,6 +287,7 @@ public void getIndexTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); mockIndexService.addResponse(expectedResponse); @@ -419,6 +423,7 @@ public void updateIndexTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -547,6 +552,94 @@ public void deleteIndexExceptionTest2() throws Exception { } } + @Test + public void upsertDatapointsTest() throws Exception { + UpsertDatapointsResponse expectedResponse = UpsertDatapointsResponse.newBuilder().build(); + mockIndexService.addResponse(expectedResponse); + + UpsertDatapointsRequest request = + UpsertDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapoints(new ArrayList()) + .build(); + + UpsertDatapointsResponse actualResponse = client.upsertDatapoints(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIndexService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpsertDatapointsRequest actualRequest = ((UpsertDatapointsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getDatapointsList(), actualRequest.getDatapointsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void upsertDatapointsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIndexService.addException(exception); + + try { + UpsertDatapointsRequest request = + UpsertDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapoints(new ArrayList()) + .build(); + client.upsertDatapoints(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeDatapointsTest() throws Exception { + RemoveDatapointsResponse expectedResponse = RemoveDatapointsResponse.newBuilder().build(); + mockIndexService.addResponse(expectedResponse); + + RemoveDatapointsRequest request = + RemoveDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapointIds(new ArrayList()) + .build(); + + RemoveDatapointsResponse actualResponse = client.removeDatapoints(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIndexService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveDatapointsRequest actualRequest = ((RemoveDatapointsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getDatapointIdsList(), actualRequest.getDatapointIdsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeDatapointsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIndexService.addException(exception); + + try { + RemoveDatapointsRequest request = + RemoveDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapointIds(new ArrayList()) + .build(); + client.removeDatapoints(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockIndexServiceImpl.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockIndexServiceImpl.java index 3261637c6..b1f906708 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockIndexServiceImpl.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockIndexServiceImpl.java @@ -159,4 +159,46 @@ public void deleteIndex(DeleteIndexRequest request, StreamObserver re Exception.class.getName()))); } } + + @Override + public void upsertDatapoints( + UpsertDatapointsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof UpsertDatapointsResponse) { + requests.add(request); + responseObserver.onNext(((UpsertDatapointsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpsertDatapoints, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + UpsertDatapointsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void removeDatapoints( + RemoveDatapointsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof RemoveDatapointsResponse) { + requests.add(request); + responseObserver.onNext(((RemoveDatapointsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RemoveDatapoints, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + RemoveDatapointsResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClientTest.java index c7810750d..80fe30947 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClientTest.java @@ -121,6 +121,7 @@ public void createIndexTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -179,6 +180,7 @@ public void createIndexTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -237,6 +239,7 @@ public void getIndexTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); mockIndexService.addResponse(expectedResponse); @@ -284,6 +287,7 @@ public void getIndexTest2() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); mockIndexService.addResponse(expectedResponse); @@ -419,6 +423,7 @@ public void updateIndexTest() throws Exception { .putAllLabels(new HashMap()) .setCreateTime(Timestamp.newBuilder().build()) .setUpdateTime(Timestamp.newBuilder().build()) + .setIndexStats(IndexStats.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -547,6 +552,94 @@ public void deleteIndexExceptionTest2() throws Exception { } } + @Test + public void upsertDatapointsTest() throws Exception { + UpsertDatapointsResponse expectedResponse = UpsertDatapointsResponse.newBuilder().build(); + mockIndexService.addResponse(expectedResponse); + + UpsertDatapointsRequest request = + UpsertDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapoints(new ArrayList()) + .build(); + + UpsertDatapointsResponse actualResponse = client.upsertDatapoints(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIndexService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpsertDatapointsRequest actualRequest = ((UpsertDatapointsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getDatapointsList(), actualRequest.getDatapointsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void upsertDatapointsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIndexService.addException(exception); + + try { + UpsertDatapointsRequest request = + UpsertDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapoints(new ArrayList()) + .build(); + client.upsertDatapoints(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeDatapointsTest() throws Exception { + RemoveDatapointsResponse expectedResponse = RemoveDatapointsResponse.newBuilder().build(); + mockIndexService.addResponse(expectedResponse); + + RemoveDatapointsRequest request = + RemoveDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapointIds(new ArrayList()) + .build(); + + RemoveDatapointsResponse actualResponse = client.removeDatapoints(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockIndexService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveDatapointsRequest actualRequest = ((RemoveDatapointsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertEquals(request.getDatapointIdsList(), actualRequest.getDatapointIdsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeDatapointsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockIndexService.addException(exception); + + try { + RemoveDatapointsRequest request = + RemoveDatapointsRequest.newBuilder() + .setIndex(IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString()) + .addAllDatapointIds(new ArrayList()) + .build(); + client.removeDatapoints(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockIndexServiceImpl.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockIndexServiceImpl.java index 24593209d..366c35241 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockIndexServiceImpl.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockIndexServiceImpl.java @@ -159,4 +159,46 @@ public void deleteIndex(DeleteIndexRequest request, StreamObserver re Exception.class.getName()))); } } + + @Override + public void upsertDatapoints( + UpsertDatapointsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof UpsertDatapointsResponse) { + requests.add(request); + responseObserver.onNext(((UpsertDatapointsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpsertDatapoints, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + UpsertDatapointsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void removeDatapoints( + RemoveDatapointsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof RemoveDatapointsResponse) { + requests.add(request); + responseObserver.onNext(((RemoveDatapointsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RemoveDatapoints, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + RemoveDatapointsResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java index 1c331406b..fc00d0ab5 100644 --- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java +++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceGrpc.java @@ -248,6 +248,100 @@ private IndexServiceGrpc() {} return getDeleteIndexMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse> + getUpsertDatapointsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpsertDatapoints", + requestType = com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.class, + responseType = com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse> + getUpsertDatapointsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse> + getUpsertDatapointsMethod; + if ((getUpsertDatapointsMethod = IndexServiceGrpc.getUpsertDatapointsMethod) == null) { + synchronized (IndexServiceGrpc.class) { + if ((getUpsertDatapointsMethod = IndexServiceGrpc.getUpsertDatapointsMethod) == null) { + IndexServiceGrpc.getUpsertDatapointsMethod = + getUpsertDatapointsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpsertDatapoints")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new IndexServiceMethodDescriptorSupplier("UpsertDatapoints")) + .build(); + } + } + } + return getUpsertDatapointsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse> + getRemoveDatapointsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDatapoints", + requestType = com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.class, + responseType = com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse> + getRemoveDatapointsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse> + getRemoveDatapointsMethod; + if ((getRemoveDatapointsMethod = IndexServiceGrpc.getRemoveDatapointsMethod) == null) { + synchronized (IndexServiceGrpc.class) { + if ((getRemoveDatapointsMethod = IndexServiceGrpc.getRemoveDatapointsMethod) == null) { + IndexServiceGrpc.getRemoveDatapointsMethod = + getRemoveDatapointsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDatapoints")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new IndexServiceMethodDescriptorSupplier("RemoveDatapoints")) + .build(); + } + } + } + return getRemoveDatapointsMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static IndexServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -370,6 +464,36 @@ public void deleteIndex( getDeleteIndexMethod(), responseObserver); } + /** + * + * + *

+     * Add/update Datapoints into an Index.
+     * 
+ */ + public void upsertDatapoints( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpsertDatapointsMethod(), responseObserver); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public void removeDatapoints( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveDatapointsMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -404,6 +528,20 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1.DeleteIndexRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_INDEX))) + .addMethod( + getUpsertDatapointsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse>( + this, METHODID_UPSERT_DATAPOINTS))) + .addMethod( + getRemoveDatapointsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse>( + this, METHODID_REMOVE_DATAPOINTS))) .build(); } } @@ -506,6 +644,40 @@ public void deleteIndex( request, responseObserver); } + + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public void upsertDatapoints( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpsertDatapointsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public void removeDatapoints( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDatapointsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -593,6 +765,32 @@ public com.google.longrunning.Operation deleteIndex( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteIndexMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.UpsertDatapointsResponse upsertDatapoints( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpsertDatapointsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.RemoveDatapointsResponse removeDatapoints( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDatapointsMethod(), getCallOptions(), request); + } } /** @@ -681,6 +879,34 @@ protected IndexServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse> + upsertDatapoints(com.google.cloud.aiplatform.v1.UpsertDatapointsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpsertDatapointsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse> + removeDatapoints(com.google.cloud.aiplatform.v1.RemoveDatapointsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDatapointsMethod(), getCallOptions()), request); + } } private static final int METHODID_CREATE_INDEX = 0; @@ -688,6 +914,8 @@ protected IndexServiceFutureStub build( private static final int METHODID_LIST_INDEXES = 2; private static final int METHODID_UPDATE_INDEX = 3; private static final int METHODID_DELETE_INDEX = 4; + private static final int METHODID_UPSERT_DATAPOINTS = 5; + private static final int METHODID_REMOVE_DATAPOINTS = 6; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -732,6 +960,18 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1.DeleteIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_UPSERT_DATAPOINTS: + serviceImpl.upsertDatapoints( + (com.google.cloud.aiplatform.v1.UpsertDatapointsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REMOVE_DATAPOINTS: + serviceImpl.removeDatapoints( + (com.google.cloud.aiplatform.v1.RemoveDatapointsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; default: throw new AssertionError(); } @@ -801,6 +1041,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getListIndexesMethod()) .addMethod(getUpdateIndexMethod()) .addMethod(getDeleteIndexMethod()) + .addMethod(getUpsertDatapointsMethod()) + .addMethod(getRemoveDatapointsMethod()) .build(); } } diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java index c8bff54dd..353a5d6b3 100644 --- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java +++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceGrpc.java @@ -255,6 +255,100 @@ private IndexServiceGrpc() {} return getDeleteIndexMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse> + getUpsertDatapointsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpsertDatapoints", + requestType = com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse> + getUpsertDatapointsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse> + getUpsertDatapointsMethod; + if ((getUpsertDatapointsMethod = IndexServiceGrpc.getUpsertDatapointsMethod) == null) { + synchronized (IndexServiceGrpc.class) { + if ((getUpsertDatapointsMethod = IndexServiceGrpc.getUpsertDatapointsMethod) == null) { + IndexServiceGrpc.getUpsertDatapointsMethod = + getUpsertDatapointsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpsertDatapoints")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new IndexServiceMethodDescriptorSupplier("UpsertDatapoints")) + .build(); + } + } + } + return getUpsertDatapointsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse> + getRemoveDatapointsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDatapoints", + requestType = com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse> + getRemoveDatapointsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse> + getRemoveDatapointsMethod; + if ((getRemoveDatapointsMethod = IndexServiceGrpc.getRemoveDatapointsMethod) == null) { + synchronized (IndexServiceGrpc.class) { + if ((getRemoveDatapointsMethod = IndexServiceGrpc.getRemoveDatapointsMethod) == null) { + IndexServiceGrpc.getRemoveDatapointsMethod = + getRemoveDatapointsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDatapoints")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new IndexServiceMethodDescriptorSupplier("RemoveDatapoints")) + .build(); + } + } + } + return getRemoveDatapointsMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static IndexServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -377,6 +471,36 @@ public void deleteIndex( getDeleteIndexMethod(), responseObserver); } + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public void upsertDatapoints( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpsertDatapointsMethod(), responseObserver); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public void removeDatapoints( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveDatapointsMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -411,6 +535,20 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1beta1.DeleteIndexRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_INDEX))) + .addMethod( + getUpsertDatapointsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse>( + this, METHODID_UPSERT_DATAPOINTS))) + .addMethod( + getRemoveDatapointsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse>( + this, METHODID_REMOVE_DATAPOINTS))) .build(); } } @@ -513,6 +651,40 @@ public void deleteIndex( request, responseObserver); } + + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public void upsertDatapoints( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpsertDatapointsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public void removeDatapoints( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDatapointsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -600,6 +772,32 @@ public com.google.longrunning.Operation deleteIndex( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteIndexMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse upsertDatapoints( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpsertDatapointsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse removeDatapoints( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDatapointsMethod(), getCallOptions(), request); + } } /** @@ -689,6 +887,34 @@ protected IndexServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Add/update Datapoints into an Index.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse> + upsertDatapoints(com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpsertDatapointsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Remove Datapoints from an Index.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse> + removeDatapoints(com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDatapointsMethod(), getCallOptions()), request); + } } private static final int METHODID_CREATE_INDEX = 0; @@ -696,6 +922,8 @@ protected IndexServiceFutureStub build( private static final int METHODID_LIST_INDEXES = 2; private static final int METHODID_UPDATE_INDEX = 3; private static final int METHODID_DELETE_INDEX = 4; + private static final int METHODID_UPSERT_DATAPOINTS = 5; + private static final int METHODID_REMOVE_DATAPOINTS = 6; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -741,6 +969,20 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1beta1.DeleteIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_UPSERT_DATAPOINTS: + serviceImpl.upsertDatapoints( + (com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse>) + responseObserver); + break; + case METHODID_REMOVE_DATAPOINTS: + serviceImpl.removeDatapoints( + (com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse>) + responseObserver); + break; default: throw new AssertionError(); } @@ -810,6 +1052,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getListIndexesMethod()) .addMethod(getUpdateIndexMethod()) .addMethod(getDeleteIndexMethod()) + .addMethod(getUpsertDatapointsMethod()) + .addMethod(getRemoveDatapointsMethod()) .build(); } } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java index c11535d90..b8d60acde 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java @@ -464,7 +464,7 @@ public int getTopK() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -487,7 +487,7 @@ public boolean hasOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -512,7 +512,7 @@ public com.google.protobuf.ListValue getOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -1840,7 +1840,7 @@ public Builder clearTopK() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -1862,7 +1862,7 @@ public boolean hasOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -1890,7 +1890,7 @@ public com.google.protobuf.ListValue getOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -1920,7 +1920,7 @@ public Builder setOutputIndices(com.google.protobuf.ListValue value) { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -1947,7 +1947,7 @@ public Builder setOutputIndices(com.google.protobuf.ListValue.Builder builderFor * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -1981,7 +1981,7 @@ public Builder mergeOutputIndices(com.google.protobuf.ListValue value) { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2009,7 +2009,7 @@ public Builder clearOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2031,7 +2031,7 @@ public com.google.protobuf.ListValue.Builder getOutputIndicesBuilder() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2057,7 +2057,7 @@ public com.google.protobuf.ListValueOrBuilder getOutputIndicesOrBuilder() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParametersOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParametersOrBuilder.java index 917225a9e..0d021ca6a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParametersOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParametersOrBuilder.java @@ -200,7 +200,7 @@ public interface ExplanationParametersOrBuilder * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -220,7 +220,7 @@ public interface ExplanationParametersOrBuilder * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -240,7 +240,7 @@ public interface ExplanationParametersOrBuilder * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java index 030f8f19e..ff4d8dc3d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java @@ -135,7 +135,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ers\030\001 \001(\01321.google.cloud.aiplatform.v1.E" + "xplanationParametersB\003\340A\002\022F\n\010metadata\030\002 " + "\001(\0132/.google.cloud.aiplatform.v1.Explana" - + "tionMetadataB\003\340A\002\"\363\002\n\025ExplanationParamet" + + "tionMetadataB\003\340A\001\"\363\002\n\025ExplanationParamet" + "ers\022\\\n\033sampled_shapley_attribution\030\001 \001(\013" + "25.google.cloud.aiplatform.v1.SampledSha" + "pleyAttributionH\000\022f\n integrated_gradient" diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java index 392719a89..94e5ed55c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java @@ -198,11 +198,11 @@ public com.google.cloud.aiplatform.v1.ExplanationParametersOrBuilder getParamete * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the metadata field is set. @@ -215,11 +215,11 @@ public boolean hasMetadata() { * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The metadata. @@ -234,11 +234,11 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata getMetadata() { * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -816,11 +816,11 @@ public com.google.cloud.aiplatform.v1.ExplanationParametersOrBuilder getParamete * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the metadata field is set. @@ -832,11 +832,11 @@ public boolean hasMetadata() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The metadata. @@ -854,11 +854,11 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata getMetadata() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata value) { @@ -878,11 +878,11 @@ public Builder setMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata va * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setMetadata( @@ -900,11 +900,11 @@ public Builder setMetadata( * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata value) { @@ -928,11 +928,11 @@ public Builder mergeMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearMetadata() { @@ -950,11 +950,11 @@ public Builder clearMetadata() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.aiplatform.v1.ExplanationMetadata.Builder getMetadataBuilder() { @@ -966,11 +966,11 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.Builder getMetadataBui * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.aiplatform.v1.ExplanationMetadataOrBuilder getMetadataOrBuilder() { @@ -986,11 +986,11 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadataOrBuilder getMetadataOr * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOrBuilder.java index 49c2aa138..af6ea3503 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOrBuilder.java @@ -68,11 +68,11 @@ public interface ExplanationSpecOrBuilder * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the metadata field is set. @@ -82,11 +82,11 @@ public interface ExplanationSpecOrBuilder * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The metadata. @@ -96,11 +96,11 @@ public interface ExplanationSpecOrBuilder * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.aiplatform.v1.ExplanationMetadataOrBuilder getMetadataOrBuilder(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Index.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Index.java index b25416588..9e965a09d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Index.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Index.java @@ -45,6 +45,7 @@ private Index() { metadataSchemaUri_ = ""; deployedIndexes_ = java.util.Collections.emptyList(); etag_ = ""; + indexUpdateMethod_ = 0; } @java.lang.Override @@ -179,6 +180,29 @@ private Index( updateTime_ = subBuilder.buildPartial(); } + break; + } + case 114: + { + com.google.cloud.aiplatform.v1.IndexStats.Builder subBuilder = null; + if (indexStats_ != null) { + subBuilder = indexStats_.toBuilder(); + } + indexStats_ = + input.readMessage( + com.google.cloud.aiplatform.v1.IndexStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(indexStats_); + indexStats_ = subBuilder.buildPartial(); + } + + break; + } + case 128: + { + int rawValue = input.readEnum(); + + indexUpdateMethod_ = rawValue; break; } default: @@ -231,6 +255,172 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.aiplatform.v1.Index.Builder.class); } + /** + * + * + *
+   * The update method of an Index.
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1.Index.IndexUpdateMethod} + */ + public enum IndexUpdateMethod implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Should not be used.
+     * 
+ * + * INDEX_UPDATE_METHOD_UNSPECIFIED = 0; + */ + INDEX_UPDATE_METHOD_UNSPECIFIED(0), + /** + * + * + *
+     * BatchUpdate: user can call UpdateIndex with files on Cloud Storage of
+     * datapoints to update.
+     * 
+ * + * BATCH_UPDATE = 1; + */ + BATCH_UPDATE(1), + /** + * + * + *
+     * StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update
+     * the Index and the updates will be applied in corresponding
+     * DeployedIndexes in nearly real-time.
+     * 
+ * + * STREAM_UPDATE = 2; + */ + STREAM_UPDATE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Should not be used.
+     * 
+ * + * INDEX_UPDATE_METHOD_UNSPECIFIED = 0; + */ + public static final int INDEX_UPDATE_METHOD_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * BatchUpdate: user can call UpdateIndex with files on Cloud Storage of
+     * datapoints to update.
+     * 
+ * + * BATCH_UPDATE = 1; + */ + public static final int BATCH_UPDATE_VALUE = 1; + /** + * + * + *
+     * StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update
+     * the Index and the updates will be applied in corresponding
+     * DeployedIndexes in nearly real-time.
+     * 
+ * + * STREAM_UPDATE = 2; + */ + public static final int STREAM_UPDATE_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IndexUpdateMethod valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static IndexUpdateMethod forNumber(int value) { + switch (value) { + case 0: + return INDEX_UPDATE_METHOD_UNSPECIFIED; + case 1: + return BATCH_UPDATE; + case 2: + return STREAM_UPDATE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndexUpdateMethod findValueByNumber(int number) { + return IndexUpdateMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.Index.getDescriptor().getEnumTypes().get(0); + } + + private static final IndexUpdateMethod[] VALUES = values(); + + public static IndexUpdateMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private IndexUpdateMethod(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.Index.IndexUpdateMethod) + } + public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -868,6 +1058,104 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return getUpdateTime(); } + public static final int INDEX_STATS_FIELD_NUMBER = 14; + private com.google.cloud.aiplatform.v1.IndexStats indexStats_; + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the indexStats field is set. + */ + @java.lang.Override + public boolean hasIndexStats() { + return indexStats_ != null; + } + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The indexStats. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexStats getIndexStats() { + return indexStats_ == null + ? com.google.cloud.aiplatform.v1.IndexStats.getDefaultInstance() + : indexStats_; + } + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexStatsOrBuilder getIndexStatsOrBuilder() { + return getIndexStats(); + } + + public static final int INDEX_UPDATE_METHOD_FIELD_NUMBER = 16; + private int indexUpdateMethod_; + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for indexUpdateMethod. + */ + @java.lang.Override + public int getIndexUpdateMethodValue() { + return indexUpdateMethod_; + } + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The indexUpdateMethod. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod getIndexUpdateMethod() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod result = + com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod.valueOf(indexUpdateMethod_); + return result == null + ? com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -911,6 +1199,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(11, getUpdateTime()); } + if (indexStats_ != null) { + output.writeMessage(14, getIndexStats()); + } + if (indexUpdateMethod_ + != com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod.INDEX_UPDATE_METHOD_UNSPECIFIED + .getNumber()) { + output.writeEnum(16, indexUpdateMethod_); + } unknownFields.writeTo(output); } @@ -957,6 +1253,14 @@ public int getSerializedSize() { if (updateTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } + if (indexStats_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getIndexStats()); + } + if (indexUpdateMethod_ + != com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod.INDEX_UPDATE_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, indexUpdateMethod_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -991,6 +1295,11 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime()) { if (!getUpdateTime().equals(other.getUpdateTime())) return false; } + if (hasIndexStats() != other.hasIndexStats()) return false; + if (hasIndexStats()) { + if (!getIndexStats().equals(other.getIndexStats())) return false; + } + if (indexUpdateMethod_ != other.indexUpdateMethod_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1032,6 +1341,12 @@ public int hashCode() { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } + if (hasIndexStats()) { + hash = (37 * hash) + INDEX_STATS_FIELD_NUMBER; + hash = (53 * hash) + getIndexStats().hashCode(); + } + hash = (37 * hash) + INDEX_UPDATE_METHOD_FIELD_NUMBER; + hash = (53 * hash) + indexUpdateMethod_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1234,6 +1549,14 @@ public Builder clear() { updateTime_ = null; updateTimeBuilder_ = null; } + if (indexStatsBuilder_ == null) { + indexStats_ = null; + } else { + indexStats_ = null; + indexStatsBuilder_ = null; + } + indexUpdateMethod_ = 0; + return this; } @@ -1292,6 +1615,12 @@ public com.google.cloud.aiplatform.v1.Index buildPartial() { } else { result.updateTime_ = updateTimeBuilder_.build(); } + if (indexStatsBuilder_ == null) { + result.indexStats_ = indexStats_; + } else { + result.indexStats_ = indexStatsBuilder_.build(); + } + result.indexUpdateMethod_ = indexUpdateMethod_; onBuilt(); return result; } @@ -1398,6 +1727,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Index other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } + if (other.hasIndexStats()) { + mergeIndexStats(other.getIndexStats()); + } + if (other.indexUpdateMethod_ != 0) { + setIndexUpdateMethodValue(other.getIndexUpdateMethodValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3281,6 +3616,319 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } + private com.google.cloud.aiplatform.v1.IndexStats indexStats_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexStats, + com.google.cloud.aiplatform.v1.IndexStats.Builder, + com.google.cloud.aiplatform.v1.IndexStatsOrBuilder> + indexStatsBuilder_; + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the indexStats field is set. + */ + public boolean hasIndexStats() { + return indexStatsBuilder_ != null || indexStats_ != null; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The indexStats. + */ + public com.google.cloud.aiplatform.v1.IndexStats getIndexStats() { + if (indexStatsBuilder_ == null) { + return indexStats_ == null + ? com.google.cloud.aiplatform.v1.IndexStats.getDefaultInstance() + : indexStats_; + } else { + return indexStatsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setIndexStats(com.google.cloud.aiplatform.v1.IndexStats value) { + if (indexStatsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + indexStats_ = value; + onChanged(); + } else { + indexStatsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setIndexStats( + com.google.cloud.aiplatform.v1.IndexStats.Builder builderForValue) { + if (indexStatsBuilder_ == null) { + indexStats_ = builderForValue.build(); + onChanged(); + } else { + indexStatsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeIndexStats(com.google.cloud.aiplatform.v1.IndexStats value) { + if (indexStatsBuilder_ == null) { + if (indexStats_ != null) { + indexStats_ = + com.google.cloud.aiplatform.v1.IndexStats.newBuilder(indexStats_) + .mergeFrom(value) + .buildPartial(); + } else { + indexStats_ = value; + } + onChanged(); + } else { + indexStatsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearIndexStats() { + if (indexStatsBuilder_ == null) { + indexStats_ = null; + onChanged(); + } else { + indexStats_ = null; + indexStatsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.IndexStats.Builder getIndexStatsBuilder() { + + onChanged(); + return getIndexStatsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.IndexStatsOrBuilder getIndexStatsOrBuilder() { + if (indexStatsBuilder_ != null) { + return indexStatsBuilder_.getMessageOrBuilder(); + } else { + return indexStats_ == null + ? com.google.cloud.aiplatform.v1.IndexStats.getDefaultInstance() + : indexStats_; + } + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexStats, + com.google.cloud.aiplatform.v1.IndexStats.Builder, + com.google.cloud.aiplatform.v1.IndexStatsOrBuilder> + getIndexStatsFieldBuilder() { + if (indexStatsBuilder_ == null) { + indexStatsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexStats, + com.google.cloud.aiplatform.v1.IndexStats.Builder, + com.google.cloud.aiplatform.v1.IndexStatsOrBuilder>( + getIndexStats(), getParentForChildren(), isClean()); + indexStats_ = null; + } + return indexStatsBuilder_; + } + + private int indexUpdateMethod_ = 0; + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for indexUpdateMethod. + */ + @java.lang.Override + public int getIndexUpdateMethodValue() { + return indexUpdateMethod_; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The enum numeric value on the wire for indexUpdateMethod to set. + * @return This builder for chaining. + */ + public Builder setIndexUpdateMethodValue(int value) { + + indexUpdateMethod_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The indexUpdateMethod. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod getIndexUpdateMethod() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod result = + com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod.valueOf(indexUpdateMethod_); + return result == null + ? com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The indexUpdateMethod to set. + * @return This builder for chaining. + */ + public Builder setIndexUpdateMethod( + com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod value) { + if (value == null) { + throw new NullPointerException(); + } + + indexUpdateMethod_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearIndexUpdateMethod() { + + indexUpdateMethod_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapoint.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapoint.java new file mode 100644 index 000000000..71fb8ec98 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapoint.java @@ -0,0 +1,3846 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * A datapoint of Index.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexDatapoint} + */ +public final class IndexDatapoint extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.IndexDatapoint) + IndexDatapointOrBuilder { + private static final long serialVersionUID = 0L; + // Use IndexDatapoint.newBuilder() to construct. + private IndexDatapoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private IndexDatapoint() { + datapointId_ = ""; + featureVector_ = emptyFloatList(); + restricts_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IndexDatapoint(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private IndexDatapoint( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + datapointId_ = s; + break; + } + case 21: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + featureVector_ = newFloatList(); + mutable_bitField0_ |= 0x00000001; + } + featureVector_.addFloat(input.readFloat()); + break; + } + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + featureVector_ = newFloatList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + featureVector_.addFloat(input.readFloat()); + } + input.popLimit(limit); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + restricts_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction>(); + mutable_bitField0_ |= 0x00000002; + } + restricts_.add( + input.readMessage( + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.parser(), + extensionRegistry)); + break; + } + case 42: + { + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder subBuilder = null; + if (crowdingTag_ != null) { + subBuilder = crowdingTag_.toBuilder(); + } + crowdingTag_ = + input.readMessage( + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crowdingTag_); + crowdingTag_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + featureVector_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + restricts_ = java.util.Collections.unmodifiableList(restricts_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexDatapoint.class, + com.google.cloud.aiplatform.v1.IndexDatapoint.Builder.class); + } + + public interface RestrictionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.IndexDatapoint.Restriction) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The namespace. + */ + java.lang.String getNamespace(); + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The bytes for namespace. + */ + com.google.protobuf.ByteString getNamespaceBytes(); + + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return A list containing the allowList. + */ + java.util.List getAllowListList(); + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return The count of allowList. + */ + int getAllowListCount(); + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the element to return. + * @return The allowList at the given index. + */ + java.lang.String getAllowList(int index); + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the value to return. + * @return The bytes of the allowList at the given index. + */ + com.google.protobuf.ByteString getAllowListBytes(int index); + + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return A list containing the denyList. + */ + java.util.List getDenyListList(); + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return The count of denyList. + */ + int getDenyListCount(); + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the element to return. + * @return The denyList at the given index. + */ + java.lang.String getDenyList(int index); + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the value to return. + * @return The bytes of the denyList at the given index. + */ + com.google.protobuf.ByteString getDenyListBytes(int index); + } + /** + * + * + *
+   * Restriction of a datapoint which describe its attributes(tokens) from each
+   * of several attribute categories(namespaces).
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexDatapoint.Restriction} + */ + public static final class Restriction extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.IndexDatapoint.Restriction) + RestrictionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Restriction.newBuilder() to construct. + private Restriction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Restriction() { + namespace_ = ""; + allowList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + denyList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Restriction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Restriction( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + namespace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowList_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + allowList_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + denyList_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + denyList_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + allowList_ = allowList_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + denyList_ = denyList_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.class, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder.class); + } + + public static final int NAMESPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object namespace_; + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The namespace. + */ + @java.lang.Override + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } + } + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The bytes for namespace. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALLOW_LIST_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList allowList_; + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return A list containing the allowList. + */ + public com.google.protobuf.ProtocolStringList getAllowListList() { + return allowList_; + } + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return The count of allowList. + */ + public int getAllowListCount() { + return allowList_.size(); + } + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the element to return. + * @return The allowList at the given index. + */ + public java.lang.String getAllowList(int index) { + return allowList_.get(index); + } + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the value to return. + * @return The bytes of the allowList at the given index. + */ + public com.google.protobuf.ByteString getAllowListBytes(int index) { + return allowList_.getByteString(index); + } + + public static final int DENY_LIST_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList denyList_; + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return A list containing the denyList. + */ + public com.google.protobuf.ProtocolStringList getDenyListList() { + return denyList_; + } + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return The count of denyList. + */ + public int getDenyListCount() { + return denyList_.size(); + } + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the element to return. + * @return The denyList at the given index. + */ + public java.lang.String getDenyList(int index) { + return denyList_.get(index); + } + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the value to return. + * @return The bytes of the denyList at the given index. + */ + public com.google.protobuf.ByteString getDenyListBytes(int index) { + return denyList_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namespace_); + } + for (int i = 0; i < allowList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, allowList_.getRaw(i)); + } + for (int i = 0; i < denyList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, denyList_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, namespace_); + } + { + int dataSize = 0; + for (int i = 0; i < allowList_.size(); i++) { + dataSize += computeStringSizeNoTag(allowList_.getRaw(i)); + } + size += dataSize; + size += 1 * getAllowListList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < denyList_.size(); i++) { + dataSize += computeStringSizeNoTag(denyList_.getRaw(i)); + } + size += dataSize; + size += 1 * getDenyListList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction other = + (com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction) obj; + + if (!getNamespace().equals(other.getNamespace())) return false; + if (!getAllowListList().equals(other.getAllowListList())) return false; + if (!getDenyListList().equals(other.getDenyListList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; + hash = (53 * hash) + getNamespace().hashCode(); + if (getAllowListCount() > 0) { + hash = (37 * hash) + ALLOW_LIST_FIELD_NUMBER; + hash = (53 * hash) + getAllowListList().hashCode(); + } + if (getDenyListCount() > 0) { + hash = (37 * hash) + DENY_LIST_FIELD_NUMBER; + hash = (53 * hash) + getDenyListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Restriction of a datapoint which describe its attributes(tokens) from each
+     * of several attribute categories(namespaces).
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexDatapoint.Restriction} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.IndexDatapoint.Restriction) + com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.class, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + namespace_ = ""; + + allowList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + denyList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction build() { + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction buildPartial() { + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction result = + new com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction(this); + int from_bitField0_ = bitField0_; + result.namespace_ = namespace_; + if (((bitField0_ & 0x00000001) != 0)) { + allowList_ = allowList_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.allowList_ = allowList_; + if (((bitField0_ & 0x00000002) != 0)) { + denyList_ = denyList_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.denyList_ = denyList_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction) { + return mergeFrom((com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction other) { + if (other == com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.getDefaultInstance()) + return this; + if (!other.getNamespace().isEmpty()) { + namespace_ = other.namespace_; + onChanged(); + } + if (!other.allowList_.isEmpty()) { + if (allowList_.isEmpty()) { + allowList_ = other.allowList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAllowListIsMutable(); + allowList_.addAll(other.allowList_); + } + onChanged(); + } + if (!other.denyList_.isEmpty()) { + if (denyList_.isEmpty()) { + denyList_ = other.denyList_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDenyListIsMutable(); + denyList_.addAll(other.denyList_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object namespace_ = ""; + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @return The namespace. + */ + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @return The bytes for namespace. + */ + public com.google.protobuf.ByteString getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @param value The namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + namespace_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @return This builder for chaining. + */ + public Builder clearNamespace() { + + namespace_ = getDefaultInstance().getNamespace(); + onChanged(); + return this; + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @param value The bytes for namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + namespace_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList allowList_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAllowListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + allowList_ = new com.google.protobuf.LazyStringArrayList(allowList_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @return A list containing the allowList. + */ + public com.google.protobuf.ProtocolStringList getAllowListList() { + return allowList_.getUnmodifiableView(); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @return The count of allowList. + */ + public int getAllowListCount() { + return allowList_.size(); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the element to return. + * @return The allowList at the given index. + */ + public java.lang.String getAllowList(int index) { + return allowList_.get(index); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the value to return. + * @return The bytes of the allowList at the given index. + */ + public com.google.protobuf.ByteString getAllowListBytes(int index) { + return allowList_.getByteString(index); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param index The index to set the value at. + * @param value The allowList to set. + * @return This builder for chaining. + */ + public Builder setAllowList(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowListIsMutable(); + allowList_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param value The allowList to add. + * @return This builder for chaining. + */ + public Builder addAllowList(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowListIsMutable(); + allowList_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param values The allowList to add. + * @return This builder for chaining. + */ + public Builder addAllAllowList(java.lang.Iterable values) { + ensureAllowListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowList_); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @return This builder for chaining. + */ + public Builder clearAllowList() { + allowList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param value The bytes of the allowList to add. + * @return This builder for chaining. + */ + public Builder addAllowListBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAllowListIsMutable(); + allowList_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList denyList_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDenyListIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + denyList_ = new com.google.protobuf.LazyStringArrayList(denyList_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @return A list containing the denyList. + */ + public com.google.protobuf.ProtocolStringList getDenyListList() { + return denyList_.getUnmodifiableView(); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @return The count of denyList. + */ + public int getDenyListCount() { + return denyList_.size(); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the element to return. + * @return The denyList at the given index. + */ + public java.lang.String getDenyList(int index) { + return denyList_.get(index); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the value to return. + * @return The bytes of the denyList at the given index. + */ + public com.google.protobuf.ByteString getDenyListBytes(int index) { + return denyList_.getByteString(index); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param index The index to set the value at. + * @param value The denyList to set. + * @return This builder for chaining. + */ + public Builder setDenyList(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDenyListIsMutable(); + denyList_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param value The denyList to add. + * @return This builder for chaining. + */ + public Builder addDenyList(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDenyListIsMutable(); + denyList_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param values The denyList to add. + * @return This builder for chaining. + */ + public Builder addAllDenyList(java.lang.Iterable values) { + ensureDenyListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, denyList_); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @return This builder for chaining. + */ + public Builder clearDenyList() { + denyList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param value The bytes of the denyList to add. + * @return This builder for chaining. + */ + public Builder addDenyListBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDenyListIsMutable(); + denyList_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.IndexDatapoint.Restriction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.IndexDatapoint.Restriction) + private static final com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction(); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Restriction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Restriction(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface CrowdingTagOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The crowdingAttribute. + */ + java.lang.String getCrowdingAttribute(); + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The bytes for crowdingAttribute. + */ + com.google.protobuf.ByteString getCrowdingAttributeBytes(); + } + /** + * + * + *
+   * Crowding tag is a constraint on a neighbor list produced by nearest
+   * neighbor search requiring that no more than some value k' of the k
+   * neighbors returned have the same value of crowding_attribute.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag} + */ + public static final class CrowdingTag extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) + CrowdingTagOrBuilder { + private static final long serialVersionUID = 0L; + // Use CrowdingTag.newBuilder() to construct. + private CrowdingTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CrowdingTag() { + crowdingAttribute_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CrowdingTag(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CrowdingTag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + crowdingAttribute_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.class, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder.class); + } + + public static final int CROWDING_ATTRIBUTE_FIELD_NUMBER = 1; + private volatile java.lang.Object crowdingAttribute_; + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The crowdingAttribute. + */ + @java.lang.Override + public java.lang.String getCrowdingAttribute() { + java.lang.Object ref = crowdingAttribute_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + crowdingAttribute_ = s; + return s; + } + } + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The bytes for crowdingAttribute. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCrowdingAttributeBytes() { + java.lang.Object ref = crowdingAttribute_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + crowdingAttribute_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(crowdingAttribute_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, crowdingAttribute_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(crowdingAttribute_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, crowdingAttribute_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag other = + (com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) obj; + + if (!getCrowdingAttribute().equals(other.getCrowdingAttribute())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CROWDING_ATTRIBUTE_FIELD_NUMBER; + hash = (53 * hash) + getCrowdingAttribute().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Crowding tag is a constraint on a neighbor list produced by nearest
+     * neighbor search requiring that no more than some value k' of the k
+     * neighbors returned have the same value of crowding_attribute.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.class, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + crowdingAttribute_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag build() { + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag buildPartial() { + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag result = + new com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag(this); + result.crowdingAttribute_ = crowdingAttribute_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) { + return mergeFrom((com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag other) { + if (other == com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.getDefaultInstance()) + return this; + if (!other.getCrowdingAttribute().isEmpty()) { + crowdingAttribute_ = other.crowdingAttribute_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object crowdingAttribute_ = ""; + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @return The crowdingAttribute. + */ + public java.lang.String getCrowdingAttribute() { + java.lang.Object ref = crowdingAttribute_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + crowdingAttribute_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @return The bytes for crowdingAttribute. + */ + public com.google.protobuf.ByteString getCrowdingAttributeBytes() { + java.lang.Object ref = crowdingAttribute_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + crowdingAttribute_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @param value The crowdingAttribute to set. + * @return This builder for chaining. + */ + public Builder setCrowdingAttribute(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + crowdingAttribute_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @return This builder for chaining. + */ + public Builder clearCrowdingAttribute() { + + crowdingAttribute_ = getDefaultInstance().getCrowdingAttribute(); + onChanged(); + return this; + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @param value The bytes for crowdingAttribute to set. + * @return This builder for chaining. + */ + public Builder setCrowdingAttributeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + crowdingAttribute_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag) + private static final com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag(); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrowdingTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CrowdingTag(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int DATAPOINT_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object datapointId_; + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The datapointId. + */ + @java.lang.Override + public java.lang.String getDatapointId() { + java.lang.Object ref = datapointId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datapointId_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for datapointId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatapointIdBytes() { + java.lang.Object ref = datapointId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + datapointId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEATURE_VECTOR_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.FloatList featureVector_; + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the featureVector. + */ + @java.lang.Override + public java.util.List getFeatureVectorList() { + return featureVector_; + } + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of featureVector. + */ + public int getFeatureVectorCount() { + return featureVector_.size(); + } + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The featureVector at the given index. + */ + public float getFeatureVector(int index) { + return featureVector_.getFloat(index); + } + + private int featureVectorMemoizedSerializedSize = -1; + + public static final int RESTRICTS_FIELD_NUMBER = 4; + private java.util.List restricts_; + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getRestrictsList() { + return restricts_; + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder> + getRestrictsOrBuilderList() { + return restricts_; + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getRestrictsCount() { + return restricts_.size(); + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction getRestricts(int index) { + return restricts_.get(index); + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder getRestrictsOrBuilder( + int index) { + return restricts_.get(index); + } + + public static final int CROWDING_TAG_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowdingTag_; + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the crowdingTag field is set. + */ + @java.lang.Override + public boolean hasCrowdingTag() { + return crowdingTag_ != null; + } + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The crowdingTag. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag getCrowdingTag() { + return crowdingTag_ == null + ? com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.getDefaultInstance() + : crowdingTag_; + } + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder + getCrowdingTagOrBuilder() { + return getCrowdingTag(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datapointId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datapointId_); + } + if (getFeatureVectorList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(featureVectorMemoizedSerializedSize); + } + for (int i = 0; i < featureVector_.size(); i++) { + output.writeFloatNoTag(featureVector_.getFloat(i)); + } + for (int i = 0; i < restricts_.size(); i++) { + output.writeMessage(4, restricts_.get(i)); + } + if (crowdingTag_ != null) { + output.writeMessage(5, getCrowdingTag()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datapointId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datapointId_); + } + { + int dataSize = 0; + dataSize = 4 * getFeatureVectorList().size(); + size += dataSize; + if (!getFeatureVectorList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + featureVectorMemoizedSerializedSize = dataSize; + } + for (int i = 0; i < restricts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, restricts_.get(i)); + } + if (crowdingTag_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCrowdingTag()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.IndexDatapoint)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.IndexDatapoint other = + (com.google.cloud.aiplatform.v1.IndexDatapoint) obj; + + if (!getDatapointId().equals(other.getDatapointId())) return false; + if (!getFeatureVectorList().equals(other.getFeatureVectorList())) return false; + if (!getRestrictsList().equals(other.getRestrictsList())) return false; + if (hasCrowdingTag() != other.hasCrowdingTag()) return false; + if (hasCrowdingTag()) { + if (!getCrowdingTag().equals(other.getCrowdingTag())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATAPOINT_ID_FIELD_NUMBER; + hash = (53 * hash) + getDatapointId().hashCode(); + if (getFeatureVectorCount() > 0) { + hash = (37 * hash) + FEATURE_VECTOR_FIELD_NUMBER; + hash = (53 * hash) + getFeatureVectorList().hashCode(); + } + if (getRestrictsCount() > 0) { + hash = (37 * hash) + RESTRICTS_FIELD_NUMBER; + hash = (53 * hash) + getRestrictsList().hashCode(); + } + if (hasCrowdingTag()) { + hash = (37 * hash) + CROWDING_TAG_FIELD_NUMBER; + hash = (53 * hash) + getCrowdingTag().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.IndexDatapoint prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A datapoint of Index.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexDatapoint} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.IndexDatapoint) + com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexDatapoint.class, + com.google.cloud.aiplatform.v1.IndexDatapoint.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.IndexDatapoint.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRestrictsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + datapointId_ = ""; + + featureVector_ = emptyFloatList(); + bitField0_ = (bitField0_ & ~0x00000001); + if (restrictsBuilder_ == null) { + restricts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + restrictsBuilder_.clear(); + } + if (crowdingTagBuilder_ == null) { + crowdingTag_ = null; + } else { + crowdingTag_ = null; + crowdingTagBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.IndexDatapoint.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint build() { + com.google.cloud.aiplatform.v1.IndexDatapoint result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint buildPartial() { + com.google.cloud.aiplatform.v1.IndexDatapoint result = + new com.google.cloud.aiplatform.v1.IndexDatapoint(this); + int from_bitField0_ = bitField0_; + result.datapointId_ = datapointId_; + if (((bitField0_ & 0x00000001) != 0)) { + featureVector_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.featureVector_ = featureVector_; + if (restrictsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + restricts_ = java.util.Collections.unmodifiableList(restricts_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.restricts_ = restricts_; + } else { + result.restricts_ = restrictsBuilder_.build(); + } + if (crowdingTagBuilder_ == null) { + result.crowdingTag_ = crowdingTag_; + } else { + result.crowdingTag_ = crowdingTagBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.IndexDatapoint) { + return mergeFrom((com.google.cloud.aiplatform.v1.IndexDatapoint) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.IndexDatapoint other) { + if (other == com.google.cloud.aiplatform.v1.IndexDatapoint.getDefaultInstance()) return this; + if (!other.getDatapointId().isEmpty()) { + datapointId_ = other.datapointId_; + onChanged(); + } + if (!other.featureVector_.isEmpty()) { + if (featureVector_.isEmpty()) { + featureVector_ = other.featureVector_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFeatureVectorIsMutable(); + featureVector_.addAll(other.featureVector_); + } + onChanged(); + } + if (restrictsBuilder_ == null) { + if (!other.restricts_.isEmpty()) { + if (restricts_.isEmpty()) { + restricts_ = other.restricts_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRestrictsIsMutable(); + restricts_.addAll(other.restricts_); + } + onChanged(); + } + } else { + if (!other.restricts_.isEmpty()) { + if (restrictsBuilder_.isEmpty()) { + restrictsBuilder_.dispose(); + restrictsBuilder_ = null; + restricts_ = other.restricts_; + bitField0_ = (bitField0_ & ~0x00000002); + restrictsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRestrictsFieldBuilder() + : null; + } else { + restrictsBuilder_.addAllMessages(other.restricts_); + } + } + } + if (other.hasCrowdingTag()) { + mergeCrowdingTag(other.getCrowdingTag()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.IndexDatapoint parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.aiplatform.v1.IndexDatapoint) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object datapointId_ = ""; + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The datapointId. + */ + public java.lang.String getDatapointId() { + java.lang.Object ref = datapointId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datapointId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for datapointId. + */ + public com.google.protobuf.ByteString getDatapointIdBytes() { + java.lang.Object ref = datapointId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + datapointId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The datapointId to set. + * @return This builder for chaining. + */ + public Builder setDatapointId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + datapointId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDatapointId() { + + datapointId_ = getDefaultInstance().getDatapointId(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for datapointId to set. + * @return This builder for chaining. + */ + public Builder setDatapointIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + datapointId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.FloatList featureVector_ = emptyFloatList(); + + private void ensureFeatureVectorIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + featureVector_ = mutableCopy(featureVector_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the featureVector. + */ + public java.util.List getFeatureVectorList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(featureVector_) + : featureVector_; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of featureVector. + */ + public int getFeatureVectorCount() { + return featureVector_.size(); + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The featureVector at the given index. + */ + public float getFeatureVector(int index) { + return featureVector_.getFloat(index); + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The featureVector to set. + * @return This builder for chaining. + */ + public Builder setFeatureVector(int index, float value) { + ensureFeatureVectorIsMutable(); + featureVector_.setFloat(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The featureVector to add. + * @return This builder for chaining. + */ + public Builder addFeatureVector(float value) { + ensureFeatureVectorIsMutable(); + featureVector_.addFloat(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The featureVector to add. + * @return This builder for chaining. + */ + public Builder addAllFeatureVector(java.lang.Iterable values) { + ensureFeatureVectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, featureVector_); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFeatureVector() { + featureVector_ = emptyFloatList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + private java.util.List restricts_ = + java.util.Collections.emptyList(); + + private void ensureRestrictsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + restricts_ = + new java.util.ArrayList( + restricts_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder, + com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder> + restrictsBuilder_; + + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getRestrictsList() { + if (restrictsBuilder_ == null) { + return java.util.Collections.unmodifiableList(restricts_); + } else { + return restrictsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getRestrictsCount() { + if (restrictsBuilder_ == null) { + return restricts_.size(); + } else { + return restrictsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction getRestricts(int index) { + if (restrictsBuilder_ == null) { + return restricts_.get(index); + } else { + return restrictsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setRestricts( + int index, com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction value) { + if (restrictsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictsIsMutable(); + restricts_.set(index, value); + onChanged(); + } else { + restrictsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setRestricts( + int index, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder builderForValue) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.set(index, builderForValue.build()); + onChanged(); + } else { + restrictsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts(com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction value) { + if (restrictsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictsIsMutable(); + restricts_.add(value); + onChanged(); + } else { + restrictsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + int index, com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction value) { + if (restrictsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictsIsMutable(); + restricts_.add(index, value); + onChanged(); + } else { + restrictsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder builderForValue) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.add(builderForValue.build()); + onChanged(); + } else { + restrictsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + int index, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder builderForValue) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.add(index, builderForValue.build()); + onChanged(); + } else { + restrictsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllRestricts( + java.lang.Iterable + values) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restricts_); + onChanged(); + } else { + restrictsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearRestricts() { + if (restrictsBuilder_ == null) { + restricts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + restrictsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeRestricts(int index) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.remove(index); + onChanged(); + } else { + restrictsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder getRestrictsBuilder( + int index) { + return getRestrictsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder getRestrictsOrBuilder( + int index) { + if (restrictsBuilder_ == null) { + return restricts_.get(index); + } else { + return restrictsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List< + ? extends com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder> + getRestrictsOrBuilderList() { + if (restrictsBuilder_ != null) { + return restrictsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(restricts_); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder addRestrictsBuilder() { + return getRestrictsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.getDefaultInstance()); + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder addRestrictsBuilder( + int index) { + return getRestrictsFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.getDefaultInstance()); + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getRestrictsBuilderList() { + return getRestrictsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder, + com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder> + getRestrictsFieldBuilder() { + if (restrictsBuilder_ == null) { + restrictsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction, + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction.Builder, + com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder>( + restricts_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + restricts_ = null; + } + return restrictsBuilder_; + } + + private com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowdingTag_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder> + crowdingTagBuilder_; + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the crowdingTag field is set. + */ + public boolean hasCrowdingTag() { + return crowdingTagBuilder_ != null || crowdingTag_ != null; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The crowdingTag. + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag getCrowdingTag() { + if (crowdingTagBuilder_ == null) { + return crowdingTag_ == null + ? com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.getDefaultInstance() + : crowdingTag_; + } else { + return crowdingTagBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setCrowdingTag(com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag value) { + if (crowdingTagBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + crowdingTag_ = value; + onChanged(); + } else { + crowdingTagBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setCrowdingTag( + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder builderForValue) { + if (crowdingTagBuilder_ == null) { + crowdingTag_ = builderForValue.build(); + onChanged(); + } else { + crowdingTagBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeCrowdingTag( + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag value) { + if (crowdingTagBuilder_ == null) { + if (crowdingTag_ != null) { + crowdingTag_ = + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.newBuilder(crowdingTag_) + .mergeFrom(value) + .buildPartial(); + } else { + crowdingTag_ = value; + } + onChanged(); + } else { + crowdingTagBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearCrowdingTag() { + if (crowdingTagBuilder_ == null) { + crowdingTag_ = null; + onChanged(); + } else { + crowdingTag_ = null; + crowdingTagBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder + getCrowdingTagBuilder() { + + onChanged(); + return getCrowdingTagFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder + getCrowdingTagOrBuilder() { + if (crowdingTagBuilder_ != null) { + return crowdingTagBuilder_.getMessageOrBuilder(); + } else { + return crowdingTag_ == null + ? com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.getDefaultInstance() + : crowdingTag_; + } + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder> + getCrowdingTagFieldBuilder() { + if (crowdingTagBuilder_ == null) { + crowdingTagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag.Builder, + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder>( + getCrowdingTag(), getParentForChildren(), isClean()); + crowdingTag_ = null; + } + return crowdingTagBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.IndexDatapoint) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.IndexDatapoint) + private static final com.google.cloud.aiplatform.v1.IndexDatapoint DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.IndexDatapoint(); + } + + public static com.google.cloud.aiplatform.v1.IndexDatapoint getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexDatapoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IndexDatapoint(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapointOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapointOrBuilder.java new file mode 100644 index 000000000..65bbfec8e --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexDatapointOrBuilder.java @@ -0,0 +1,213 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index.proto + +package com.google.cloud.aiplatform.v1; + +public interface IndexDatapointOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.IndexDatapoint) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The datapointId. + */ + java.lang.String getDatapointId(); + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for datapointId. + */ + com.google.protobuf.ByteString getDatapointIdBytes(); + + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the featureVector. + */ + java.util.List getFeatureVectorList(); + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of featureVector. + */ + int getFeatureVectorCount(); + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The featureVector at the given index. + */ + float getFeatureVector(int index); + + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getRestrictsList(); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.IndexDatapoint.Restriction getRestricts(int index); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getRestrictsCount(); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getRestrictsOrBuilderList(); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionOrBuilder getRestrictsOrBuilder( + int index); + + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the crowdingTag field is set. + */ + boolean hasCrowdingTag(); + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The crowdingTag. + */ + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag getCrowdingTag(); + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagOrBuilder getCrowdingTagOrBuilder(); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexOrBuilder.java index 5a3bcc4ba..eeec98ba1 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexOrBuilder.java @@ -453,4 +453,76 @@ java.lang.String getLabelsOrDefault( * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the indexStats field is set. + */ + boolean hasIndexStats(); + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The indexStats. + */ + com.google.cloud.aiplatform.v1.IndexStats getIndexStats(); + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.IndexStatsOrBuilder getIndexStatsOrBuilder(); + + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for indexUpdateMethod. + */ + int getIndexUpdateMethodValue(); + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The indexUpdateMethod. + */ + com.google.cloud.aiplatform.v1.Index.IndexUpdateMethod getIndexUpdateMethod(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java index cf17b72bf..47589cfee 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java @@ -35,6 +35,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_Index_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_Index_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_IndexStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_IndexStats_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -50,7 +66,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ce.proto\0323google/cloud/aiplatform/v1/dep" + "loyed_index_ref.proto\032\034google/protobuf/s" + "truct.proto\032\037google/protobuf/timestamp.p" - + "roto\"\252\004\n\005Index\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014dis" + + "roto\"\242\006\n\005Index\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014dis" + "play_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(" + "\t\022 \n\023metadata_schema_uri\030\004 \001(\tB\003\340A\005\022(\n\010m" + "etadata\030\006 \001(\0132\026.google.protobuf.Value\022K\n" @@ -60,16 +76,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "aiplatform.v1.Index.LabelsEntry\0224\n\013creat" + "e_time\030\n \001(\0132\032.google.protobuf.Timestamp" + "B\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:]\352AZ\n\037aiplatf" - + "orm.googleapis.com/Index\0227projects/{proj" - + "ect}/locations/{location}/indexes/{index" - + "}B\316\001\n\036com.google.cloud.aiplatform.v1B\nIn" - + "dexProtoP\001ZDgoogle.golang.org/genproto/g" - + "oogleapis/cloud/aiplatform/v1;aiplatform" - + "\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\C" - + "loud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPl" - + "atform::V1b\006proto3" + + "obuf.TimestampB\003\340A\003\022@\n\013index_stats\030\016 \001(\013" + + "2&.google.cloud.aiplatform.v1.IndexStats" + + "B\003\340A\003\022U\n\023index_update_method\030\020 \001(\01623.goo" + + "gle.cloud.aiplatform.v1.Index.IndexUpdat" + + "eMethodB\003\340A\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"]\n\021IndexUpdateMethod" + + "\022#\n\037INDEX_UPDATE_METHOD_UNSPECIFIED\020\000\022\020\n" + + "\014BATCH_UPDATE\020\001\022\021\n\rSTREAM_UPDATE\020\002:]\352AZ\n" + + "\037aiplatform.googleapis.com/Index\0227projec" + + "ts/{project}/locations/{location}/indexe" + + "s/{index}\"\337\002\n\016IndexDatapoint\022\031\n\014datapoin" + + "t_id\030\001 \001(\tB\003\340A\002\022\033\n\016feature_vector\030\002 \003(\002B" + + "\003\340A\002\022N\n\trestricts\030\004 \003(\01326.google.cloud.a" + + "iplatform.v1.IndexDatapoint.RestrictionB" + + "\003\340A\001\022Q\n\014crowding_tag\030\005 \001(\01326.google.clou" + + "d.aiplatform.v1.IndexDatapoint.CrowdingT" + + "agB\003\340A\001\032G\n\013Restriction\022\021\n\tnamespace\030\001 \001(" + + "\t\022\022\n\nallow_list\030\002 \003(\t\022\021\n\tdeny_list\030\003 \003(\t" + + "\032)\n\013CrowdingTag\022\032\n\022crowding_attribute\030\001 " + + "\001(\t\"C\n\nIndexStats\022\032\n\rvectors_count\030\001 \001(\003" + + "B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\316\001\n\036com" + + ".google.cloud.aiplatform.v1B\nIndexProtoP" + + "\001ZDgoogle.golang.org/genproto/googleapis" + + "/cloud/aiplatform/v1;aiplatform\252\002\032Google" + + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" + + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -97,6 +130,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "CreateTime", "UpdateTime", + "IndexStats", + "IndexUpdateMethod", }); internal_static_google_cloud_aiplatform_v1_Index_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1_Index_descriptor.getNestedTypes().get(0); @@ -106,6 +141,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor, + new java.lang.String[] { + "DatapointId", "FeatureVector", "Restricts", "CrowdingTag", + }); + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_descriptor = + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_Restriction_descriptor, + new java.lang.String[] { + "Namespace", "AllowList", "DenyList", + }); + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_descriptor = + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_IndexDatapoint_CrowdingTag_descriptor, + new java.lang.String[] { + "CrowdingAttribute", + }); + internal_static_google_cloud_aiplatform_v1_IndexStats_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_aiplatform_v1_IndexStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_IndexStats_descriptor, + new java.lang.String[] { + "VectorsCount", "ShardsCount", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java index 7d3014968..54ee72f02 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java @@ -59,6 +59,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_DeleteIndexRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_DeleteIndexRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_NearestNeighborSearchOperationMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -117,60 +133,78 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002 \001(\0132B.google.cloud.aiplatform.v1.Neare" + "stNeighborSearchOperationMetadata\"K\n\022Del" + "eteIndexRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037a" - + "iplatform.googleapis.com/Index\"\311\006\n&Neare" - + "stNeighborSearchOperationMetadata\022{\n\030con" - + "tent_validation_stats\030\001 \003(\0132Y.google.clo" - + "ud.aiplatform.v1.NearestNeighborSearchOp" - + "erationMetadata.ContentValidationStats\022\030" - + "\n\020data_bytes_count\030\002 \001(\003\032\262\003\n\013RecordError" - + "\022r\n\nerror_type\030\001 \001(\0162^.google.cloud.aipl" - + "atform.v1.NearestNeighborSearchOperation" - + "Metadata.RecordError.RecordErrorType\022\025\n\r" - + "error_message\030\002 \001(\t\022\026\n\016source_gcs_uri\030\003 " - + "\001(\t\022\024\n\014embedding_id\030\004 \001(\t\022\022\n\nraw_record\030" - + "\005 \001(\t\"\325\001\n\017RecordErrorType\022\032\n\026ERROR_TYPE_" - + "UNSPECIFIED\020\000\022\016\n\nEMPTY_LINE\020\001\022\027\n\023INVALID" - + "_JSON_SYNTAX\020\002\022\026\n\022INVALID_CSV_SYNTAX\020\003\022\027" - + "\n\023INVALID_AVRO_SYNTAX\020\004\022\030\n\024INVALID_EMBED" - + "DING_ID\020\005\022\033\n\027EMBEDDING_SIZE_MISMATCH\020\006\022\025" - + "\n\021NAMESPACE_MISSING\020\007\032\322\001\n\026ContentValidat" - + "ionStats\022\026\n\016source_gcs_uri\030\001 \001(\t\022\032\n\022vali" - + "d_record_count\030\002 \001(\003\022\034\n\024invalid_record_c" - + "ount\030\003 \001(\003\022f\n\016partial_errors\030\004 \003(\0132N.goo" - + "gle.cloud.aiplatform.v1.NearestNeighborS" - + "earchOperationMetadata.RecordError2\242\010\n\014I" - + "ndexService\022\317\001\n\013CreateIndex\022..google.clo" - + "ud.aiplatform.v1.CreateIndexRequest\032\035.go" - + "ogle.longrunning.Operation\"q\202\323\344\223\0024\"+/v1/" - + "{parent=projects/*/locations/*}/indexes:" - + "\005index\332A\014parent,index\312A%\n\005Index\022\034CreateI" - + "ndexOperationMetadata\022\226\001\n\010GetIndex\022+.goo" - + "gle.cloud.aiplatform.v1.GetIndexRequest\032" - + "!.google.cloud.aiplatform.v1.Index\":\202\323\344\223" - + "\002-\022+/v1/{name=projects/*/locations/*/ind" - + "exes/*}\332A\004name\022\254\001\n\013ListIndexes\022..google." - + "cloud.aiplatform.v1.ListIndexesRequest\032/" - + ".google.cloud.aiplatform.v1.ListIndexesR" - + "esponse\"<\202\323\344\223\002-\022+/v1/{parent=projects/*/" - + "locations/*}/indexes\332A\006parent\022\332\001\n\013Update" - + "Index\022..google.cloud.aiplatform.v1.Updat" - + "eIndexRequest\032\035.google.longrunning.Opera" - + "tion\"|\202\323\344\223\002:21/v1/{index.name=projects/*" - + "/locations/*/indexes/*}:\005index\332A\021index,u" - + "pdate_mask\312A%\n\005Index\022\034UpdateIndexOperati" - + "onMetadata\022\313\001\n\013DeleteIndex\022..google.clou" - + "d.aiplatform.v1.DeleteIndexRequest\032\035.goo" - + "gle.longrunning.Operation\"m\202\323\344\223\002-*+/v1/{" - + "name=projects/*/locations/*/indexes/*}\332A" - + "\004name\312A0\n\025google.protobuf.Empty\022\027DeleteO" - + "perationMetadata\032M\312A\031aiplatform.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\325\001\n\036com.google.cloud.aip" - + "latform.v1B\021IndexServiceProtoP\001ZDgoogle." - + "golang.org/genproto/googleapis/cloud/aip" - + "latform/v1;aiplatform\252\002\032Google.Cloud.AIP" - + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" - + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "iplatform.googleapis.com/Index\"\221\001\n\027Upser" + + "tDatapointsRequest\0226\n\005index\030\001 \001(\tB\'\340A\002\372A" + + "!\n\037aiplatform.googleapis.com/Index\022>\n\nda" + + "tapoints\030\002 \003(\0132*.google.cloud.aiplatform" + + ".v1.IndexDatapoint\"\032\n\030UpsertDatapointsRe" + + "sponse\"h\n\027RemoveDatapointsRequest\0226\n\005ind" + + "ex\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis." + + "com/Index\022\025\n\rdatapoint_ids\030\002 \003(\t\"\032\n\030Remo" + + "veDatapointsResponse\"\311\006\n&NearestNeighbor" + + "SearchOperationMetadata\022{\n\030content_valid" + + "ation_stats\030\001 \003(\0132Y.google.cloud.aiplatf" + + "orm.v1.NearestNeighborSearchOperationMet" + + "adata.ContentValidationStats\022\030\n\020data_byt" + + "es_count\030\002 \001(\003\032\262\003\n\013RecordError\022r\n\nerror_" + + "type\030\001 \001(\0162^.google.cloud.aiplatform.v1." + + "NearestNeighborSearchOperationMetadata.R" + + "ecordError.RecordErrorType\022\025\n\rerror_mess" + + "age\030\002 \001(\t\022\026\n\016source_gcs_uri\030\003 \001(\t\022\024\n\014emb" + + "edding_id\030\004 \001(\t\022\022\n\nraw_record\030\005 \001(\t\"\325\001\n\017" + + "RecordErrorType\022\032\n\026ERROR_TYPE_UNSPECIFIE" + + "D\020\000\022\016\n\nEMPTY_LINE\020\001\022\027\n\023INVALID_JSON_SYNT" + + "AX\020\002\022\026\n\022INVALID_CSV_SYNTAX\020\003\022\027\n\023INVALID_" + + "AVRO_SYNTAX\020\004\022\030\n\024INVALID_EMBEDDING_ID\020\005\022" + + "\033\n\027EMBEDDING_SIZE_MISMATCH\020\006\022\025\n\021NAMESPAC" + + "E_MISSING\020\007\032\322\001\n\026ContentValidationStats\022\026" + + "\n\016source_gcs_uri\030\001 \001(\t\022\032\n\022valid_record_c" + + "ount\030\002 \001(\003\022\034\n\024invalid_record_count\030\003 \001(\003" + + "\022f\n\016partial_errors\030\004 \003(\0132N.google.cloud." + + "aiplatform.v1.NearestNeighborSearchOpera" + + "tionMetadata.RecordError2\266\013\n\014IndexServic" + + "e\022\317\001\n\013CreateIndex\022..google.cloud.aiplatf" + + "orm.v1.CreateIndexRequest\032\035.google.longr" + + "unning.Operation\"q\202\323\344\223\0024\"+/v1/{parent=pr" + + "ojects/*/locations/*}/indexes:\005index\332A\014p" + + "arent,index\312A%\n\005Index\022\034CreateIndexOperat" + + "ionMetadata\022\226\001\n\010GetIndex\022+.google.cloud." + + "aiplatform.v1.GetIndexRequest\032!.google.c" + + "loud.aiplatform.v1.Index\":\202\323\344\223\002-\022+/v1/{n" + + "ame=projects/*/locations/*/indexes/*}\332A\004" + + "name\022\254\001\n\013ListIndexes\022..google.cloud.aipl" + + "atform.v1.ListIndexesRequest\032/.google.cl" + + "oud.aiplatform.v1.ListIndexesResponse\"<\202" + + "\323\344\223\002-\022+/v1/{parent=projects/*/locations/" + + "*}/indexes\332A\006parent\022\332\001\n\013UpdateIndex\022..go" + + "ogle.cloud.aiplatform.v1.UpdateIndexRequ" + + "est\032\035.google.longrunning.Operation\"|\202\323\344\223" + + "\002:21/v1/{index.name=projects/*/locations" + + "/*/indexes/*}:\005index\332A\021index,update_mask" + + "\312A%\n\005Index\022\034UpdateIndexOperationMetadata" + + "\022\313\001\n\013DeleteIndex\022..google.cloud.aiplatfo" + + "rm.v1.DeleteIndexRequest\032\035.google.longru" + + "nning.Operation\"m\202\323\344\223\002-*+/v1/{name=proje" + + "cts/*/locations/*/indexes/*}\332A\004name\312A0\n\025" + + "google.protobuf.Empty\022\027DeleteOperationMe" + + "tadata\022\307\001\n\020UpsertDatapoints\0223.google.clo" + + "ud.aiplatform.v1.UpsertDatapointsRequest" + + "\0324.google.cloud.aiplatform.v1.UpsertData" + + "pointsResponse\"H\202\323\344\223\002B\"=/v1/{index=proje" + + "cts/*/locations/*/indexes/*}:upsertDatap" + + "oints:\001*\022\307\001\n\020RemoveDatapoints\0223.google.c" + + "loud.aiplatform.v1.RemoveDatapointsReque" + + "st\0324.google.cloud.aiplatform.v1.RemoveDa" + + "tapointsResponse\"H\202\323\344\223\002B\"=/v1/{index=pro" + + "jects/*/locations/*/indexes/*}:removeDat" + + "apoints:\001*\032M\312A\031aiplatform.googleapis.com" + + "\322A.https://www.googleapis.com/auth/cloud" + + "-platformB\325\001\n\036com.google.cloud.aiplatfor" + + "m.v1B\021IndexServiceProtoP\001ZDgoogle.golang" + + ".org/genproto/googleapis/cloud/aiplatfor" + + "m/v1;aiplatform\252\002\032Google.Cloud.AIPlatfor" + + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog" + + "le::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -249,8 +283,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", }); - internal_static_google_cloud_aiplatform_v1_NearestNeighborSearchOperationMetadata_descriptor = + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_descriptor = getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_descriptor, + new java.lang.String[] { + "Index", "Datapoints", + }); + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_descriptor, + new java.lang.String[] { + "Index", "DatapointIds", + }); + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1_NearestNeighborSearchOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_aiplatform_v1_NearestNeighborSearchOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_NearestNeighborSearchOperationMetadata_descriptor, diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStats.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStats.java new file mode 100644 index 000000000..5a031cbe0 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStats.java @@ -0,0 +1,636 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Stats of the Index.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexStats} + */ +public final class IndexStats extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.IndexStats) + IndexStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use IndexStats.newBuilder() to construct. + private IndexStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private IndexStats() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IndexStats(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private IndexStats( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + vectorsCount_ = input.readInt64(); + break; + } + case 16: + { + shardsCount_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexStats.class, + com.google.cloud.aiplatform.v1.IndexStats.Builder.class); + } + + public static final int VECTORS_COUNT_FIELD_NUMBER = 1; + private long vectorsCount_; + /** + * + * + *
+   * Output only. The number of vectors in the Index.
+   * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The vectorsCount. + */ + @java.lang.Override + public long getVectorsCount() { + return vectorsCount_; + } + + public static final int SHARDS_COUNT_FIELD_NUMBER = 2; + private int shardsCount_; + /** + * + * + *
+   * Output only. The number of shards in the Index.
+   * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The shardsCount. + */ + @java.lang.Override + public int getShardsCount() { + return shardsCount_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (vectorsCount_ != 0L) { + output.writeInt64(1, vectorsCount_); + } + if (shardsCount_ != 0) { + output.writeInt32(2, shardsCount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (vectorsCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, vectorsCount_); + } + if (shardsCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, shardsCount_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.IndexStats)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.IndexStats other = + (com.google.cloud.aiplatform.v1.IndexStats) obj; + + if (getVectorsCount() != other.getVectorsCount()) return false; + if (getShardsCount() != other.getShardsCount()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VECTORS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVectorsCount()); + hash = (37 * hash) + SHARDS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getShardsCount(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.IndexStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.IndexStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Stats of the Index.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.IndexStats} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.IndexStats) + com.google.cloud.aiplatform.v1.IndexStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.IndexStats.class, + com.google.cloud.aiplatform.v1.IndexStats.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.IndexStats.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + vectorsCount_ = 0L; + + shardsCount_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexProto + .internal_static_google_cloud_aiplatform_v1_IndexStats_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexStats getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.IndexStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexStats build() { + com.google.cloud.aiplatform.v1.IndexStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexStats buildPartial() { + com.google.cloud.aiplatform.v1.IndexStats result = + new com.google.cloud.aiplatform.v1.IndexStats(this); + result.vectorsCount_ = vectorsCount_; + result.shardsCount_ = shardsCount_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.IndexStats) { + return mergeFrom((com.google.cloud.aiplatform.v1.IndexStats) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.IndexStats other) { + if (other == com.google.cloud.aiplatform.v1.IndexStats.getDefaultInstance()) return this; + if (other.getVectorsCount() != 0L) { + setVectorsCount(other.getVectorsCount()); + } + if (other.getShardsCount() != 0) { + setShardsCount(other.getShardsCount()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.IndexStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.aiplatform.v1.IndexStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long vectorsCount_; + /** + * + * + *
+     * Output only. The number of vectors in the Index.
+     * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The vectorsCount. + */ + @java.lang.Override + public long getVectorsCount() { + return vectorsCount_; + } + /** + * + * + *
+     * Output only. The number of vectors in the Index.
+     * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The vectorsCount to set. + * @return This builder for chaining. + */ + public Builder setVectorsCount(long value) { + + vectorsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The number of vectors in the Index.
+     * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearVectorsCount() { + + vectorsCount_ = 0L; + onChanged(); + return this; + } + + private int shardsCount_; + /** + * + * + *
+     * Output only. The number of shards in the Index.
+     * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The shardsCount. + */ + @java.lang.Override + public int getShardsCount() { + return shardsCount_; + } + /** + * + * + *
+     * Output only. The number of shards in the Index.
+     * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The shardsCount to set. + * @return This builder for chaining. + */ + public Builder setShardsCount(int value) { + + shardsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The number of shards in the Index.
+     * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearShardsCount() { + + shardsCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.IndexStats) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.IndexStats) + private static final com.google.cloud.aiplatform.v1.IndexStats DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.IndexStats(); + } + + public static com.google.cloud.aiplatform.v1.IndexStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IndexStats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStatsOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStatsOrBuilder.java new file mode 100644 index 000000000..415d28c65 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexStatsOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index.proto + +package com.google.cloud.aiplatform.v1; + +public interface IndexStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.IndexStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The number of vectors in the Index.
+   * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The vectorsCount. + */ + long getVectorsCount(); + + /** + * + * + *
+   * Output only. The number of shards in the Index.
+   * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The shardsCount. + */ + int getShardsCount(); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponse.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponse.java index 06000abbd..9648dd14e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponse.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponse.java @@ -136,8 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -150,8 +149,7 @@ public java.util.List getSavedQueries * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -165,8 +163,7 @@ public java.util.List getSavedQueries * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -179,8 +176,7 @@ public int getSavedQueriesCount() { * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -193,8 +189,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery getSavedQueries(int index) { * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -651,8 +646,7 @@ private void ensureSavedQueriesIsMutable() { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -668,8 +662,7 @@ public java.util.List getSavedQueries * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -685,8 +678,7 @@ public int getSavedQueriesCount() { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -702,8 +694,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery getSavedQueries(int index) { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -725,8 +716,7 @@ public Builder setSavedQueries(int index, com.google.cloud.aiplatform.v1.SavedQu * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -746,8 +736,7 @@ public Builder setSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -769,8 +758,7 @@ public Builder addSavedQueries(com.google.cloud.aiplatform.v1.SavedQuery value) * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -792,8 +780,7 @@ public Builder addSavedQueries(int index, com.google.cloud.aiplatform.v1.SavedQu * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -813,8 +800,7 @@ public Builder addSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -834,8 +820,7 @@ public Builder addSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -855,8 +840,7 @@ public Builder addAllSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -875,8 +859,7 @@ public Builder clearSavedQueries() { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -895,8 +878,7 @@ public Builder removeSavedQueries(int index) { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -908,8 +890,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery.Builder getSavedQueriesBuilder( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -925,8 +906,7 @@ public com.google.cloud.aiplatform.v1.SavedQueryOrBuilder getSavedQueriesOrBuild * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -943,8 +923,7 @@ public com.google.cloud.aiplatform.v1.SavedQueryOrBuilder getSavedQueriesOrBuild * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -957,8 +936,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery.Builder addSavedQueriesBuilder( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -971,8 +949,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery.Builder addSavedQueriesBuilder( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponseOrBuilder.java index 10837c9d2..a78ca8315 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponseOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSavedQueriesResponseOrBuilder.java @@ -27,8 +27,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -38,8 +37,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -49,8 +47,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -60,8 +57,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; @@ -72,8 +68,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 1; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequest.java index bfa334968..13952f8fb 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequest.java @@ -193,7 +193,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -217,7 +217,7 @@ public com.google.protobuf.ProtocolStringList getVersionAliasesList() {
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -241,7 +241,7 @@ public int getVersionAliasesCount() {
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -266,7 +266,7 @@ public java.lang.String getVersionAliases(int index) {
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -782,7 +782,7 @@ private void ensureVersionAliasesIsMutable() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -806,7 +806,7 @@ public com.google.protobuf.ProtocolStringList getVersionAliasesList() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -830,7 +830,7 @@ public int getVersionAliasesCount() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -855,7 +855,7 @@ public java.lang.String getVersionAliases(int index) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -880,7 +880,7 @@ public com.google.protobuf.ByteString getVersionAliasesBytes(int index) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -912,7 +912,7 @@ public Builder setVersionAliases(int index, java.lang.String value) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -943,7 +943,7 @@ public Builder addVersionAliases(java.lang.String value) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -971,7 +971,7 @@ public Builder addAllVersionAliases(java.lang.Iterable values)
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -998,7 +998,7 @@ public Builder clearVersionAliases() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequestOrBuilder.java
index 967cd7715..ed0f12a40 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MergeVersionAliasesRequestOrBuilder.java
@@ -62,7 +62,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -84,7 +84,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -106,7 +106,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -129,7 +129,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringAlertConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringAlertConfig.java
index 378fd52e6..ceef01834 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringAlertConfig.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringAlertConfig.java
@@ -18,15 +18,7 @@
 
 package com.google.cloud.aiplatform.v1;
 
-/**
- *
- *
- * 
- * Next ID: 3
- * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringAlertConfig} - */ +/** Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringAlertConfig} */ public final class ModelMonitoringAlertConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ModelMonitoringAlertConfig) @@ -1252,15 +1244,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } - /** - * - * - *
-   * Next ID: 3
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringAlertConfig} - */ + /** Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringAlertConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ModelMonitoringAlertConfig) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java index 3e94aa02d..2035311a3 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java @@ -22,7 +22,8 @@ * * *
- * Next ID: 8
+ * The objective configuration for model monitoring, including the information
+ * needed to detect anomalies for one particular model.
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig} @@ -9335,7 +9336,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Next ID: 8
+   * The objective configuration for model monitoring, including the information
+   * needed to detect anomalies for one particular model.
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequest.java new file mode 100644 index 000000000..5e66fab3b --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequest.java @@ -0,0 +1,947 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveDatapointsRequest} + */ +public final class RemoveDatapointsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.RemoveDatapointsRequest) + RemoveDatapointsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveDatapointsRequest.newBuilder() to construct. + private RemoveDatapointsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveDatapointsRequest() { + index_ = ""; + datapointIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveDatapointsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveDatapointsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + index_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + datapointIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + datapointIds_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + datapointIds_ = datapointIds_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.class, + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private volatile java.lang.Object index_; + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + @java.lang.Override + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATAPOINT_IDS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList datapointIds_; + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return A list containing the datapointIds. + */ + public com.google.protobuf.ProtocolStringList getDatapointIdsList() { + return datapointIds_; + } + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return The count of datapointIds. + */ + public int getDatapointIdsCount() { + return datapointIds_.size(); + } + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the element to return. + * @return The datapointIds at the given index. + */ + public java.lang.String getDatapointIds(int index) { + return datapointIds_.get(index); + } + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the datapointIds at the given index. + */ + public com.google.protobuf.ByteString getDatapointIdsBytes(int index) { + return datapointIds_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, index_); + } + for (int i = 0; i < datapointIds_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, datapointIds_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, index_); + } + { + int dataSize = 0; + for (int i = 0; i < datapointIds_.size(); i++) { + dataSize += computeStringSizeNoTag(datapointIds_.getRaw(i)); + } + size += dataSize; + size += 1 * getDatapointIdsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.RemoveDatapointsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest other = + (com.google.cloud.aiplatform.v1.RemoveDatapointsRequest) obj; + + if (!getIndex().equals(other.getIndex())) return false; + if (!getDatapointIdsList().equals(other.getDatapointIdsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex().hashCode(); + if (getDatapointIdsCount() > 0) { + hash = (37 * hash) + DATAPOINT_IDS_FIELD_NUMBER; + hash = (53 * hash) + getDatapointIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveDatapointsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.RemoveDatapointsRequest) + com.google.cloud.aiplatform.v1.RemoveDatapointsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.class, + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + index_ = ""; + + datapointIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsRequest build() { + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsRequest buildPartial() { + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest result = + new com.google.cloud.aiplatform.v1.RemoveDatapointsRequest(this); + int from_bitField0_ = bitField0_; + result.index_ = index_; + if (((bitField0_ & 0x00000001) != 0)) { + datapointIds_ = datapointIds_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.datapointIds_ = datapointIds_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.RemoveDatapointsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.RemoveDatapointsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.RemoveDatapointsRequest other) { + if (other == com.google.cloud.aiplatform.v1.RemoveDatapointsRequest.getDefaultInstance()) + return this; + if (!other.getIndex().isEmpty()) { + index_ = other.index_; + onChanged(); + } + if (!other.datapointIds_.isEmpty()) { + if (datapointIds_.isEmpty()) { + datapointIds_ = other.datapointIds_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDatapointIdsIsMutable(); + datapointIds_.addAll(other.datapointIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.RemoveDatapointsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.RemoveDatapointsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object index_ = ""; + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + index_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearIndex() { + + index_ = getDefaultInstance().getIndex(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for index to set. + * @return This builder for chaining. + */ + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + index_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList datapointIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDatapointIdsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + datapointIds_ = new com.google.protobuf.LazyStringArrayList(datapointIds_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @return A list containing the datapointIds. + */ + public com.google.protobuf.ProtocolStringList getDatapointIdsList() { + return datapointIds_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @return The count of datapointIds. + */ + public int getDatapointIdsCount() { + return datapointIds_.size(); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the element to return. + * @return The datapointIds at the given index. + */ + public java.lang.String getDatapointIds(int index) { + return datapointIds_.get(index); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the datapointIds at the given index. + */ + public com.google.protobuf.ByteString getDatapointIdsBytes(int index) { + return datapointIds_.getByteString(index); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index to set the value at. + * @param value The datapointIds to set. + * @return This builder for chaining. + */ + public Builder setDatapointIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointIdsIsMutable(); + datapointIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param value The datapointIds to add. + * @return This builder for chaining. + */ + public Builder addDatapointIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointIdsIsMutable(); + datapointIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param values The datapointIds to add. + * @return This builder for chaining. + */ + public Builder addAllDatapointIds(java.lang.Iterable values) { + ensureDatapointIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datapointIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @return This builder for chaining. + */ + public Builder clearDatapointIds() { + datapointIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param value The bytes of the datapointIds to add. + * @return This builder for chaining. + */ + public Builder addDatapointIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDatapointIdsIsMutable(); + datapointIds_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.RemoveDatapointsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.RemoveDatapointsRequest) + private static final com.google.cloud.aiplatform.v1.RemoveDatapointsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.RemoveDatapointsRequest(); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDatapointsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDatapointsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequestOrBuilder.java new file mode 100644 index 000000000..9b39d00f7 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsRequestOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface RemoveDatapointsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.RemoveDatapointsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + java.lang.String getIndex(); + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + com.google.protobuf.ByteString getIndexBytes(); + + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return A list containing the datapointIds. + */ + java.util.List getDatapointIdsList(); + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return The count of datapointIds. + */ + int getDatapointIdsCount(); + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the element to return. + * @return The datapointIds at the given index. + */ + java.lang.String getDatapointIds(int index); + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the datapointIds at the given index. + */ + com.google.protobuf.ByteString getDatapointIdsBytes(int index); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponse.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponse.java new file mode 100644 index 000000000..209ba0cd7 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponse.java @@ -0,0 +1,459 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Response message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveDatapointsResponse} + */ +public final class RemoveDatapointsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.RemoveDatapointsResponse) + RemoveDatapointsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveDatapointsResponse.newBuilder() to construct. + private RemoveDatapointsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveDatapointsResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveDatapointsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveDatapointsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.class, + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.RemoveDatapointsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse other = + (com.google.cloud.aiplatform.v1.RemoveDatapointsResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveDatapointsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.RemoveDatapointsResponse) + com.google.cloud.aiplatform.v1.RemoveDatapointsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.class, + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveDatapointsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsResponse build() { + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsResponse buildPartial() { + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse result = + new com.google.cloud.aiplatform.v1.RemoveDatapointsResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.RemoveDatapointsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1.RemoveDatapointsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.RemoveDatapointsResponse other) { + if (other == com.google.cloud.aiplatform.v1.RemoveDatapointsResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.RemoveDatapointsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.RemoveDatapointsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.RemoveDatapointsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.RemoveDatapointsResponse) + private static final com.google.cloud.aiplatform.v1.RemoveDatapointsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.RemoveDatapointsResponse(); + } + + public static com.google.cloud.aiplatform.v1.RemoveDatapointsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDatapointsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDatapointsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveDatapointsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponseOrBuilder.java new file mode 100644 index 000000000..77ea7b799 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveDatapointsResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface RemoveDatapointsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.RemoveDatapointsResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SamplingStrategy.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SamplingStrategy.java index da766f1d9..f938abfde 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SamplingStrategy.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SamplingStrategy.java @@ -24,7 +24,6 @@ *
  * Sampling Strategy for logging, can be for both training and prediction
  * dataset.
- * Next ID: 2
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1.SamplingStrategy} @@ -915,7 +914,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Sampling Strategy for logging, can be for both training and prediction
    * dataset.
-   * Next ID: 2
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.SamplingStrategy} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQuery.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQuery.java index 30d25df46..f8453feea 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQuery.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQuery.java @@ -590,7 +590,7 @@ public int getAnnotationSpecCount() { * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* @@ -614,7 +614,7 @@ public java.lang.String getEtag() { * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* @@ -2276,7 +2276,7 @@ public Builder clearAnnotationSpecCount() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2299,7 +2299,7 @@ public java.lang.String getEtag() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2322,7 +2322,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2344,7 +2344,7 @@ public Builder setEtag(java.lang.String value) { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2362,7 +2362,7 @@ public Builder clearEtag() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryOrBuilder.java index b4c37e34c..a1e62ee1e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryOrBuilder.java @@ -277,7 +277,7 @@ public interface SavedQueryOrBuilder * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* @@ -290,7 +290,7 @@ public interface SavedQueryOrBuilder * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequest.java index c0a3d6efd..0bf2bd2b6 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequest.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required. The number of suggestions requested.
+   * Required. The number of suggestions requested. It must be positive.
    * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -729,7 +729,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The number of suggestions requested.
+     * Required. The number of suggestions requested. It must be positive.
      * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -744,7 +744,7 @@ public int getSuggestionCount() { * * *
-     * Required. The number of suggestions requested.
+     * Required. The number of suggestions requested. It must be positive.
      * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -762,7 +762,7 @@ public Builder setSuggestionCount(int value) { * * *
-     * Required. The number of suggestions requested.
+     * Required. The number of suggestions requested. It must be positive.
      * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequestOrBuilder.java index d3d2eb256..28706d2da 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SuggestTrialsRequestOrBuilder.java @@ -58,7 +58,7 @@ public interface SuggestTrialsRequestOrBuilder * * *
-   * Required. The number of suggestions requested.
+   * Required. The number of suggestions requested. It must be positive.
    * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ThresholdConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ThresholdConfig.java index d12d424ca..48b6c9536 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ThresholdConfig.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ThresholdConfig.java @@ -23,7 +23,6 @@ * *
  * The config for feature monitoring threshold.
- * Next ID: 3
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ThresholdConfig} @@ -387,7 +386,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The config for feature monitoring threshold.
-   * Next ID: 3
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ThresholdConfig} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequest.java new file mode 100644 index 000000000..f92d3d829 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequest.java @@ -0,0 +1,1163 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpsertDatapointsRequest} + */ +public final class UpsertDatapointsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.UpsertDatapointsRequest) + UpsertDatapointsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpsertDatapointsRequest.newBuilder() to construct. + private UpsertDatapointsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpsertDatapointsRequest() { + index_ = ""; + datapoints_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpsertDatapointsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpsertDatapointsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + index_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + datapoints_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + datapoints_.add( + input.readMessage( + com.google.cloud.aiplatform.v1.IndexDatapoint.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + datapoints_ = java.util.Collections.unmodifiableList(datapoints_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.class, + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private volatile java.lang.Object index_; + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + @java.lang.Override + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATAPOINTS_FIELD_NUMBER = 2; + private java.util.List datapoints_; + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public java.util.List getDatapointsList() { + return datapoints_; + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public java.util.List + getDatapointsOrBuilderList() { + return datapoints_; + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public int getDatapointsCount() { + return datapoints_.size(); + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapoint getDatapoints(int index) { + return datapoints_.get(index); + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder getDatapointsOrBuilder(int index) { + return datapoints_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, index_); + } + for (int i = 0; i < datapoints_.size(); i++) { + output.writeMessage(2, datapoints_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, index_); + } + for (int i = 0; i < datapoints_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, datapoints_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.UpsertDatapointsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest other = + (com.google.cloud.aiplatform.v1.UpsertDatapointsRequest) obj; + + if (!getIndex().equals(other.getIndex())) return false; + if (!getDatapointsList().equals(other.getDatapointsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex().hashCode(); + if (getDatapointsCount() > 0) { + hash = (37 * hash) + DATAPOINTS_FIELD_NUMBER; + hash = (53 * hash) + getDatapointsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpsertDatapointsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.UpsertDatapointsRequest) + com.google.cloud.aiplatform.v1.UpsertDatapointsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.class, + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDatapointsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + index_ = ""; + + if (datapointsBuilder_ == null) { + datapoints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + datapointsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsRequest build() { + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsRequest buildPartial() { + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest result = + new com.google.cloud.aiplatform.v1.UpsertDatapointsRequest(this); + int from_bitField0_ = bitField0_; + result.index_ = index_; + if (datapointsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + datapoints_ = java.util.Collections.unmodifiableList(datapoints_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.datapoints_ = datapoints_; + } else { + result.datapoints_ = datapointsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.UpsertDatapointsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.UpsertDatapointsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.UpsertDatapointsRequest other) { + if (other == com.google.cloud.aiplatform.v1.UpsertDatapointsRequest.getDefaultInstance()) + return this; + if (!other.getIndex().isEmpty()) { + index_ = other.index_; + onChanged(); + } + if (datapointsBuilder_ == null) { + if (!other.datapoints_.isEmpty()) { + if (datapoints_.isEmpty()) { + datapoints_ = other.datapoints_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDatapointsIsMutable(); + datapoints_.addAll(other.datapoints_); + } + onChanged(); + } + } else { + if (!other.datapoints_.isEmpty()) { + if (datapointsBuilder_.isEmpty()) { + datapointsBuilder_.dispose(); + datapointsBuilder_ = null; + datapoints_ = other.datapoints_; + bitField0_ = (bitField0_ & ~0x00000001); + datapointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDatapointsFieldBuilder() + : null; + } else { + datapointsBuilder_.addAllMessages(other.datapoints_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.UpsertDatapointsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.UpsertDatapointsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object index_ = ""; + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + index_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearIndex() { + + index_ = getDefaultInstance().getIndex(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for index to set. + * @return This builder for chaining. + */ + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + index_ = value; + onChanged(); + return this; + } + + private java.util.List datapoints_ = + java.util.Collections.emptyList(); + + private void ensureDatapointsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + datapoints_ = + new java.util.ArrayList(datapoints_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint, + com.google.cloud.aiplatform.v1.IndexDatapoint.Builder, + com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder> + datapointsBuilder_; + + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public java.util.List getDatapointsList() { + if (datapointsBuilder_ == null) { + return java.util.Collections.unmodifiableList(datapoints_); + } else { + return datapointsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public int getDatapointsCount() { + if (datapointsBuilder_ == null) { + return datapoints_.size(); + } else { + return datapointsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint getDatapoints(int index) { + if (datapointsBuilder_ == null) { + return datapoints_.get(index); + } else { + return datapointsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder setDatapoints(int index, com.google.cloud.aiplatform.v1.IndexDatapoint value) { + if (datapointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointsIsMutable(); + datapoints_.set(index, value); + onChanged(); + } else { + datapointsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder setDatapoints( + int index, com.google.cloud.aiplatform.v1.IndexDatapoint.Builder builderForValue) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.set(index, builderForValue.build()); + onChanged(); + } else { + datapointsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints(com.google.cloud.aiplatform.v1.IndexDatapoint value) { + if (datapointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointsIsMutable(); + datapoints_.add(value); + onChanged(); + } else { + datapointsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints(int index, com.google.cloud.aiplatform.v1.IndexDatapoint value) { + if (datapointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointsIsMutable(); + datapoints_.add(index, value); + onChanged(); + } else { + datapointsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints( + com.google.cloud.aiplatform.v1.IndexDatapoint.Builder builderForValue) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.add(builderForValue.build()); + onChanged(); + } else { + datapointsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints( + int index, com.google.cloud.aiplatform.v1.IndexDatapoint.Builder builderForValue) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.add(index, builderForValue.build()); + onChanged(); + } else { + datapointsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder addAllDatapoints( + java.lang.Iterable values) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datapoints_); + onChanged(); + } else { + datapointsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder clearDatapoints() { + if (datapointsBuilder_ == null) { + datapoints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + datapointsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public Builder removeDatapoints(int index) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.remove(index); + onChanged(); + } else { + datapointsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Builder getDatapointsBuilder(int index) { + return getDatapointsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder getDatapointsOrBuilder( + int index) { + if (datapointsBuilder_ == null) { + return datapoints_.get(index); + } else { + return datapointsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public java.util.List + getDatapointsOrBuilderList() { + if (datapointsBuilder_ != null) { + return datapointsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(datapoints_); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Builder addDatapointsBuilder() { + return getDatapointsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.IndexDatapoint.getDefaultInstance()); + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1.IndexDatapoint.Builder addDatapointsBuilder(int index) { + return getDatapointsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.IndexDatapoint.getDefaultInstance()); + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + public java.util.List + getDatapointsBuilderList() { + return getDatapointsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint, + com.google.cloud.aiplatform.v1.IndexDatapoint.Builder, + com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder> + getDatapointsFieldBuilder() { + if (datapointsBuilder_ == null) { + datapointsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.IndexDatapoint, + com.google.cloud.aiplatform.v1.IndexDatapoint.Builder, + com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder>( + datapoints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + datapoints_ = null; + } + return datapointsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.UpsertDatapointsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.UpsertDatapointsRequest) + private static final com.google.cloud.aiplatform.v1.UpsertDatapointsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.UpsertDatapointsRequest(); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpsertDatapointsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpsertDatapointsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequestOrBuilder.java new file mode 100644 index 000000000..622de5f73 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsRequestOrBuilder.java @@ -0,0 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface UpsertDatapointsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.UpsertDatapointsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + java.lang.String getIndex(); + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + com.google.protobuf.ByteString getIndexBytes(); + + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + java.util.List getDatapointsList(); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + com.google.cloud.aiplatform.v1.IndexDatapoint getDatapoints(int index); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + int getDatapointsCount(); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + java.util.List + getDatapointsOrBuilderList(); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2; + */ + com.google.cloud.aiplatform.v1.IndexDatapointOrBuilder getDatapointsOrBuilder(int index); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponse.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponse.java new file mode 100644 index 000000000..7853d6b25 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponse.java @@ -0,0 +1,459 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Response message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpsertDatapointsResponse} + */ +public final class UpsertDatapointsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.UpsertDatapointsResponse) + UpsertDatapointsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpsertDatapointsResponse.newBuilder() to construct. + private UpsertDatapointsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpsertDatapointsResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpsertDatapointsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpsertDatapointsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.class, + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.UpsertDatapointsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse other = + (com.google.cloud.aiplatform.v1.UpsertDatapointsResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.UpsertDatapointsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.UpsertDatapointsResponse) + com.google.cloud.aiplatform.v1.UpsertDatapointsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.class, + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1_UpsertDatapointsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsResponse build() { + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsResponse buildPartial() { + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse result = + new com.google.cloud.aiplatform.v1.UpsertDatapointsResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.UpsertDatapointsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1.UpsertDatapointsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.UpsertDatapointsResponse other) { + if (other == com.google.cloud.aiplatform.v1.UpsertDatapointsResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.UpsertDatapointsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.UpsertDatapointsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.UpsertDatapointsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.UpsertDatapointsResponse) + private static final com.google.cloud.aiplatform.v1.UpsertDatapointsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.UpsertDatapointsResponse(); + } + + public static com.google.cloud.aiplatform.v1.UpsertDatapointsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpsertDatapointsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpsertDatapointsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.UpsertDatapointsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponseOrBuilder.java new file mode 100644 index 000000000..39d534216 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpsertDatapointsResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/index_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface UpsertDatapointsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.UpsertDatapointsResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto index 71b332a8c..c26f60e33 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto @@ -399,8 +399,7 @@ message ListSavedQueriesRequest { // Response message for [DatasetService.ListSavedQueries][google.cloud.aiplatform.v1.DatasetService.ListSavedQueries]. message ListSavedQueriesResponse { - // A list of SavedQueries that matches the specified filter in the - // request. + // A list of SavedQueries that match the specified filter in the request. repeated SavedQuery saved_queries = 1; // The standard List next-page token. diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto index e0a418388..0c00d8a22 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto @@ -182,8 +182,8 @@ message ExplanationSpec { // Required. Parameters that configure explaining of the Model's predictions. ExplanationParameters parameters = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Metadata describing the Model's input and output for explanation. - ExplanationMetadata metadata = 2 [(google.api.field_behavior) = REQUIRED]; + // Optional. Metadata describing the Model's input and output for explanation. + ExplanationMetadata metadata = 2 [(google.api.field_behavior) = OPTIONAL]; } // Parameters to configure explaining for Model's predictions. @@ -224,7 +224,7 @@ message ExplanationParameters { // explaining. // // If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of outputs. - // If neither top_k nor output_indeices is populated, returns the argmax + // If neither top_k nor output_indices is populated, returns the argmax // index of the outputs. // // Only applicable to Models that predict multiple outputs (e,g, multi-class diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto index adf329aab..69fde66a7 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto @@ -38,6 +38,21 @@ message Index { pattern: "projects/{project}/locations/{location}/indexes/{index}" }; + // The update method of an Index. + enum IndexUpdateMethod { + // Should not be used. + INDEX_UPDATE_METHOD_UNSPECIFIED = 0; + + // BatchUpdate: user can call UpdateIndex with files on Cloud Storage of + // datapoints to update. + BATCH_UPDATE = 1; + + // StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update + // the Index and the updates will be applied in corresponding + // DeployedIndexes in nearly real-time. + STREAM_UPDATE = 2; + } + // Output only. The resource name of the Index. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -93,4 +108,65 @@ message Index { // in the Index. Result of any successfully completed Operation on the Index // is reflected in it. google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Stats of the index resource. + IndexStats index_stats = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be + // used by default. + IndexUpdateMethod index_update_method = 16 [(google.api.field_behavior) = IMMUTABLE]; +} + +// A datapoint of Index. +message IndexDatapoint { + // Restriction of a datapoint which describe its attributes(tokens) from each + // of several attribute categories(namespaces). + message Restriction { + // The namespace of this restriction. eg: color. + string namespace = 1; + + // The attributes to allow in this namespace. eg: 'red' + repeated string allow_list = 2; + + // The attributes to deny in this namespace. eg: 'blue' + repeated string deny_list = 3; + } + + // Crowding tag is a constraint on a neighbor list produced by nearest + // neighbor search requiring that no more than some value k' of the k + // neighbors returned have the same value of crowding_attribute. + message CrowdingTag { + // The attribute value used for crowding. The maximum number of neighbors + // to return per crowding attribute value + // (per_crowding_attribute_num_neighbors) is configured per-query. This + // field is ignored if per_crowding_attribute_num_neighbors is larger than + // the total number of neighbors to return for a given query. + string crowding_attribute = 1; + } + + // Required. Unique identifier of the datapoint. + string datapoint_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Feature embedding vector. An array of numbers with the length of + // [NearestNeighborSearchConfig.dimensions]. + repeated float feature_vector = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. List of Restrict of the datapoint, used to perform "restricted searches" + // where boolean rule are used to filter the subset of the database eligible + // for matching. + // See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering + repeated Restriction restricts = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. CrowdingTag of the datapoint, the number of neighbors to return in each + // crowding can be configured during query. + CrowdingTag crowding_tag = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Stats of the Index. +message IndexStats { + // Output only. The number of vectors in the Index. + int64 vectors_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of shards in the Index. + int32 shards_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto index f3812b982..0f6c63256 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto @@ -93,6 +93,22 @@ service IndexService { metadata_type: "DeleteOperationMetadata" }; } + + // Add/update Datapoints into an Index. + rpc UpsertDatapoints(UpsertDatapointsRequest) returns (UpsertDatapointsResponse) { + option (google.api.http) = { + post: "/v1/{index=projects/*/locations/*/indexes/*}:upsertDatapoints" + body: "*" + }; + } + + // Remove Datapoints from an Index. + rpc RemoveDatapoints(RemoveDatapointsRequest) returns (RemoveDatapointsResponse) { + option (google.api.http) = { + post: "/v1/{index=projects/*/locations/*/indexes/*}:removeDatapoints" + body: "*" + }; + } } // Request message for [IndexService.CreateIndex][google.cloud.aiplatform.v1.IndexService.CreateIndex]. @@ -201,6 +217,48 @@ message DeleteIndexRequest { ]; } +// Request message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints] +message UpsertDatapointsRequest { + // Required. The name of the Index resource to be updated. + // Format: + // `projects/{project}/locations/{location}/indexes/{index}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Index" + } + ]; + + // A list of datapoints to be created/updated. + repeated IndexDatapoint datapoints = 2; +} + +// Response message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints] +message UpsertDatapointsResponse { + +} + +// Request message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints] +message RemoveDatapointsRequest { + // Required. The name of the Index resource to be updated. + // Format: + // `projects/{project}/locations/{location}/indexes/{index}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Index" + } + ]; + + // A list of datapoint ids to be deleted. + repeated string datapoint_ids = 2; +} + +// Response message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints] +message RemoveDatapointsResponse { + +} + // Runtime operation metadata with regard to Matching Engine Index. message NearestNeighborSearchOperationMetadata { message RecordError { diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto index 8c806403c..039161dde 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto @@ -27,7 +27,8 @@ option java_package = "com.google.cloud.aiplatform.v1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; -// Next ID: 8 +// The objective configuration for model monitoring, including the information +// needed to detect anomalies for one particular model. message ModelMonitoringObjectiveConfig { // Training Dataset information. message TrainingDataset { @@ -162,7 +163,6 @@ message ModelMonitoringObjectiveConfig { ExplanationConfig explanation_config = 5; } -// Next ID: 3 message ModelMonitoringAlertConfig { // The config for email alert. message EmailAlertConfig { @@ -184,7 +184,6 @@ message ModelMonitoringAlertConfig { } // The config for feature monitoring threshold. -// Next ID: 3 message ThresholdConfig { oneof threshold { // Specify a threshold value that can trigger the alert. @@ -201,7 +200,6 @@ message ThresholdConfig { // Sampling Strategy for logging, can be for both training and prediction // dataset. -// Next ID: 2 message SamplingStrategy { // Requests are randomly selected. message RandomSampleConfig { diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto index ca892b3ae..9ea6c56c4 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto @@ -439,7 +439,7 @@ message MergeVersionAliasesRequest { // Required. The set of version aliases to merge. // The alias should be at most 128 characters, and match - // `[a-z][a-z0-9-]{0,126}[a-z-0-9]`. + // `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. // Add the `-` prefix to an alias means removing that alias from the version. // `-` is NOT counted in the 128 characters. Example: `-golden` means removing // the `golden` alias from the version. diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto index 0c660fcc6..5332222d2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto @@ -59,6 +59,7 @@ message SavedQuery { // Required. Problem type of the SavedQuery. // Allowed values: + // // * IMAGE_CLASSIFICATION_SINGLE_LABEL // * IMAGE_CLASSIFICATION_MULTI_LABEL // * IMAGE_BOUNDING_POLY @@ -74,7 +75,7 @@ message SavedQuery { // Output only. Number of AnnotationSpecs in the context of the SavedQuery. int32 annotation_spec_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Used to perform consistent read-modify-write updates. If not set, a blind + // Used to perform a consistent read-modify-write update. If not set, a blind // "overwrite" update happens. string etag = 8; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto index 57e74d7fa..70cc7a7a2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto @@ -285,7 +285,7 @@ message SuggestTrialsRequest { } ]; - // Required. The number of suggestions requested. + // Required. The number of suggestions requested. It must be positive. int32 suggestion_count = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The identifier of the client that is requesting the suggestion. diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParameters.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParameters.java index f939a42ae..ffa7b53c3 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParameters.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParameters.java @@ -545,7 +545,7 @@ public int getTopK() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -568,7 +568,7 @@ public boolean hasOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -593,7 +593,7 @@ public com.google.protobuf.ListValue getOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2188,7 +2188,7 @@ public Builder clearTopK() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2210,7 +2210,7 @@ public boolean hasOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2238,7 +2238,7 @@ public com.google.protobuf.ListValue getOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2268,7 +2268,7 @@ public Builder setOutputIndices(com.google.protobuf.ListValue value) { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2295,7 +2295,7 @@ public Builder setOutputIndices(com.google.protobuf.ListValue.Builder builderFor * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2329,7 +2329,7 @@ public Builder mergeOutputIndices(com.google.protobuf.ListValue value) { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2357,7 +2357,7 @@ public Builder clearOutputIndices() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2379,7 +2379,7 @@ public com.google.protobuf.ListValue.Builder getOutputIndicesBuilder() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -2405,7 +2405,7 @@ public com.google.protobuf.ListValueOrBuilder getOutputIndicesOrBuilder() { * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParametersOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParametersOrBuilder.java index b7383209c..a2e5956c4 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParametersOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationParametersOrBuilder.java @@ -242,7 +242,7 @@ public interface ExplanationParametersOrBuilder * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -262,7 +262,7 @@ public interface ExplanationParametersOrBuilder * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). @@ -282,7 +282,7 @@ public interface ExplanationParametersOrBuilder * must be an ndarray of integers, with the same shape of the output it's * explaining. * If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - * If neither top_k nor output_indeices is populated, returns the argmax + * If neither top_k nor output_indices is populated, returns the argmax * index of the outputs. * Only applicable to Models that predict multiple outputs (e,g, multi-class * Models that predict multiple classes). diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationProto.java index b44b10529..10c90e07a 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationProto.java @@ -145,7 +145,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\01326.google.cloud.aiplatform.v1beta1.Expl" + "anationParametersB\003\340A\002\022K\n\010metadata\030\002 \001(\013" + "24.google.cloud.aiplatform.v1beta1.Expla" - + "nationMetadataB\003\340A\002\"\301\003\n\025ExplanationParam" + + "nationMetadataB\003\340A\001\"\301\003\n\025ExplanationParam" + "eters\022a\n\033sampled_shapley_attribution\030\001 \001" + "(\0132:.google.cloud.aiplatform.v1beta1.Sam" + "pledShapleyAttributionH\000\022k\n integrated_g" diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpec.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpec.java index c472d9b70..7cd520272 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpec.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpec.java @@ -199,11 +199,11 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationParameters getParameters() * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the metadata field is set. @@ -216,11 +216,11 @@ public boolean hasMetadata() { * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The metadata. @@ -235,11 +235,11 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationMetadata getMetadata() { * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override @@ -822,11 +822,11 @@ public Builder clearParameters() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the metadata field is set. @@ -838,11 +838,11 @@ public boolean hasMetadata() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The metadata. @@ -860,11 +860,11 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationMetadata getMetadata() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setMetadata(com.google.cloud.aiplatform.v1beta1.ExplanationMetadata value) { @@ -884,11 +884,11 @@ public Builder setMetadata(com.google.cloud.aiplatform.v1beta1.ExplanationMetada * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setMetadata( @@ -906,11 +906,11 @@ public Builder setMetadata( * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeMetadata(com.google.cloud.aiplatform.v1beta1.ExplanationMetadata value) { @@ -934,11 +934,11 @@ public Builder mergeMetadata(com.google.cloud.aiplatform.v1beta1.ExplanationMeta * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearMetadata() { @@ -956,11 +956,11 @@ public Builder clearMetadata() { * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.aiplatform.v1beta1.ExplanationMetadata.Builder getMetadataBuilder() { @@ -972,11 +972,11 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationMetadata.Builder getMetada * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.aiplatform.v1beta1.ExplanationMetadataOrBuilder getMetadataOrBuilder() { @@ -992,11 +992,11 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationMetadataOrBuilder getMetad * * *
-     * Required. Metadata describing the Model's input and output for explanation.
+     * Optional. Metadata describing the Model's input and output for explanation.
      * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpecOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpecOrBuilder.java index ce4ad3420..3649a719c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpecOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ExplanationSpecOrBuilder.java @@ -68,11 +68,11 @@ public interface ExplanationSpecOrBuilder * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the metadata field is set. @@ -82,11 +82,11 @@ public interface ExplanationSpecOrBuilder * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The metadata. @@ -96,11 +96,11 @@ public interface ExplanationSpecOrBuilder * * *
-   * Required. Metadata describing the Model's input and output for explanation.
+   * Optional. Metadata describing the Model's input and output for explanation.
    * 
* * - * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.aiplatform.v1beta1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.aiplatform.v1beta1.ExplanationMetadataOrBuilder getMetadataOrBuilder(); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Index.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Index.java index e720a62a9..b8b24e39c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Index.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Index.java @@ -45,6 +45,7 @@ private Index() { metadataSchemaUri_ = ""; deployedIndexes_ = java.util.Collections.emptyList(); etag_ = ""; + indexUpdateMethod_ = 0; } @java.lang.Override @@ -180,6 +181,29 @@ private Index( updateTime_ = subBuilder.buildPartial(); } + break; + } + case 114: + { + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder subBuilder = null; + if (indexStats_ != null) { + subBuilder = indexStats_.toBuilder(); + } + indexStats_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.IndexStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(indexStats_); + indexStats_ = subBuilder.buildPartial(); + } + + break; + } + case 128: + { + int rawValue = input.readEnum(); + + indexUpdateMethod_ = rawValue; break; } default: @@ -232,6 +256,172 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.cloud.aiplatform.v1beta1.Index.Builder.class); } + /** + * + * + *
+   * The update method of an Index.
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod} + */ + public enum IndexUpdateMethod implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Should not be used.
+     * 
+ * + * INDEX_UPDATE_METHOD_UNSPECIFIED = 0; + */ + INDEX_UPDATE_METHOD_UNSPECIFIED(0), + /** + * + * + *
+     * BatchUpdate: user can call UpdateIndex with files on Cloud Storage of
+     * datapoints to update.
+     * 
+ * + * BATCH_UPDATE = 1; + */ + BATCH_UPDATE(1), + /** + * + * + *
+     * StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update
+     * the Index and the updates will be applied in corresponding
+     * DeployedIndexes in nearly real-time.
+     * 
+ * + * STREAM_UPDATE = 2; + */ + STREAM_UPDATE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Should not be used.
+     * 
+ * + * INDEX_UPDATE_METHOD_UNSPECIFIED = 0; + */ + public static final int INDEX_UPDATE_METHOD_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * BatchUpdate: user can call UpdateIndex with files on Cloud Storage of
+     * datapoints to update.
+     * 
+ * + * BATCH_UPDATE = 1; + */ + public static final int BATCH_UPDATE_VALUE = 1; + /** + * + * + *
+     * StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update
+     * the Index and the updates will be applied in corresponding
+     * DeployedIndexes in nearly real-time.
+     * 
+ * + * STREAM_UPDATE = 2; + */ + public static final int STREAM_UPDATE_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IndexUpdateMethod valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static IndexUpdateMethod forNumber(int value) { + switch (value) { + case 0: + return INDEX_UPDATE_METHOD_UNSPECIFIED; + case 1: + return BATCH_UPDATE; + case 2: + return STREAM_UPDATE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndexUpdateMethod findValueByNumber(int number) { + return IndexUpdateMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.Index.getDescriptor().getEnumTypes().get(0); + } + + private static final IndexUpdateMethod[] VALUES = values(); + + public static IndexUpdateMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private IndexUpdateMethod(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod) + } + public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -870,6 +1060,104 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return getUpdateTime(); } + public static final int INDEX_STATS_FIELD_NUMBER = 14; + private com.google.cloud.aiplatform.v1beta1.IndexStats indexStats_; + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the indexStats field is set. + */ + @java.lang.Override + public boolean hasIndexStats() { + return indexStats_ != null; + } + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The indexStats. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexStats getIndexStats() { + return indexStats_ == null + ? com.google.cloud.aiplatform.v1beta1.IndexStats.getDefaultInstance() + : indexStats_; + } + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder getIndexStatsOrBuilder() { + return getIndexStats(); + } + + public static final int INDEX_UPDATE_METHOD_FIELD_NUMBER = 16; + private int indexUpdateMethod_; + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for indexUpdateMethod. + */ + @java.lang.Override + public int getIndexUpdateMethodValue() { + return indexUpdateMethod_; + } + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The indexUpdateMethod. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod getIndexUpdateMethod() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod result = + com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod.valueOf(indexUpdateMethod_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -913,6 +1201,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(11, getUpdateTime()); } + if (indexStats_ != null) { + output.writeMessage(14, getIndexStats()); + } + if (indexUpdateMethod_ + != com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod + .INDEX_UPDATE_METHOD_UNSPECIFIED + .getNumber()) { + output.writeEnum(16, indexUpdateMethod_); + } unknownFields.writeTo(output); } @@ -959,6 +1256,15 @@ public int getSerializedSize() { if (updateTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } + if (indexStats_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getIndexStats()); + } + if (indexUpdateMethod_ + != com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod + .INDEX_UPDATE_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, indexUpdateMethod_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -994,6 +1300,11 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime()) { if (!getUpdateTime().equals(other.getUpdateTime())) return false; } + if (hasIndexStats() != other.hasIndexStats()) return false; + if (hasIndexStats()) { + if (!getIndexStats().equals(other.getIndexStats())) return false; + } + if (indexUpdateMethod_ != other.indexUpdateMethod_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1035,6 +1346,12 @@ public int hashCode() { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } + if (hasIndexStats()) { + hash = (37 * hash) + INDEX_STATS_FIELD_NUMBER; + hash = (53 * hash) + getIndexStats().hashCode(); + } + hash = (37 * hash) + INDEX_UPDATE_METHOD_FIELD_NUMBER; + hash = (53 * hash) + indexUpdateMethod_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1238,6 +1555,14 @@ public Builder clear() { updateTime_ = null; updateTimeBuilder_ = null; } + if (indexStatsBuilder_ == null) { + indexStats_ = null; + } else { + indexStats_ = null; + indexStatsBuilder_ = null; + } + indexUpdateMethod_ = 0; + return this; } @@ -1297,6 +1622,12 @@ public com.google.cloud.aiplatform.v1beta1.Index buildPartial() { } else { result.updateTime_ = updateTimeBuilder_.build(); } + if (indexStatsBuilder_ == null) { + result.indexStats_ = indexStats_; + } else { + result.indexStats_ = indexStatsBuilder_.build(); + } + result.indexUpdateMethod_ = indexUpdateMethod_; onBuilt(); return result; } @@ -1403,6 +1734,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Index other) { if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } + if (other.hasIndexStats()) { + mergeIndexStats(other.getIndexStats()); + } + if (other.indexUpdateMethod_ != 0) { + setIndexUpdateMethodValue(other.getIndexUpdateMethodValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3288,6 +3625,319 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } + private com.google.cloud.aiplatform.v1beta1.IndexStats indexStats_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexStats, + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder, + com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder> + indexStatsBuilder_; + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the indexStats field is set. + */ + public boolean hasIndexStats() { + return indexStatsBuilder_ != null || indexStats_ != null; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The indexStats. + */ + public com.google.cloud.aiplatform.v1beta1.IndexStats getIndexStats() { + if (indexStatsBuilder_ == null) { + return indexStats_ == null + ? com.google.cloud.aiplatform.v1beta1.IndexStats.getDefaultInstance() + : indexStats_; + } else { + return indexStatsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setIndexStats(com.google.cloud.aiplatform.v1beta1.IndexStats value) { + if (indexStatsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + indexStats_ = value; + onChanged(); + } else { + indexStatsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setIndexStats( + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder builderForValue) { + if (indexStatsBuilder_ == null) { + indexStats_ = builderForValue.build(); + onChanged(); + } else { + indexStatsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeIndexStats(com.google.cloud.aiplatform.v1beta1.IndexStats value) { + if (indexStatsBuilder_ == null) { + if (indexStats_ != null) { + indexStats_ = + com.google.cloud.aiplatform.v1beta1.IndexStats.newBuilder(indexStats_) + .mergeFrom(value) + .buildPartial(); + } else { + indexStats_ = value; + } + onChanged(); + } else { + indexStatsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearIndexStats() { + if (indexStatsBuilder_ == null) { + indexStats_ = null; + onChanged(); + } else { + indexStats_ = null; + indexStatsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexStats.Builder getIndexStatsBuilder() { + + onChanged(); + return getIndexStatsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder getIndexStatsOrBuilder() { + if (indexStatsBuilder_ != null) { + return indexStatsBuilder_.getMessageOrBuilder(); + } else { + return indexStats_ == null + ? com.google.cloud.aiplatform.v1beta1.IndexStats.getDefaultInstance() + : indexStats_; + } + } + /** + * + * + *
+     * Output only. Stats of the index resource.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexStats, + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder, + com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder> + getIndexStatsFieldBuilder() { + if (indexStatsBuilder_ == null) { + indexStatsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexStats, + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder, + com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder>( + getIndexStats(), getParentForChildren(), isClean()); + indexStats_ = null; + } + return indexStatsBuilder_; + } + + private int indexUpdateMethod_ = 0; + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for indexUpdateMethod. + */ + @java.lang.Override + public int getIndexUpdateMethodValue() { + return indexUpdateMethod_; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The enum numeric value on the wire for indexUpdateMethod to set. + * @return This builder for chaining. + */ + public Builder setIndexUpdateMethodValue(int value) { + + indexUpdateMethod_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The indexUpdateMethod. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod getIndexUpdateMethod() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod result = + com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod.valueOf(indexUpdateMethod_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The indexUpdateMethod to set. + * @return This builder for chaining. + */ + public Builder setIndexUpdateMethod( + com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod value) { + if (value == null) { + throw new NullPointerException(); + } + + indexUpdateMethod_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+     * used by default.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearIndexUpdateMethod() { + + indexUpdateMethod_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapoint.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapoint.java new file mode 100644 index 000000000..2d12a572f --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapoint.java @@ -0,0 +1,3867 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * A datapoint of Index.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexDatapoint} + */ +public final class IndexDatapoint extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.IndexDatapoint) + IndexDatapointOrBuilder { + private static final long serialVersionUID = 0L; + // Use IndexDatapoint.newBuilder() to construct. + private IndexDatapoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private IndexDatapoint() { + datapointId_ = ""; + featureVector_ = emptyFloatList(); + restricts_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IndexDatapoint(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private IndexDatapoint( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + datapointId_ = s; + break; + } + case 21: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + featureVector_ = newFloatList(); + mutable_bitField0_ |= 0x00000001; + } + featureVector_.addFloat(input.readFloat()); + break; + } + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + featureVector_ = newFloatList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + featureVector_.addFloat(input.readFloat()); + } + input.popLimit(limit); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + restricts_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction>(); + mutable_bitField0_ |= 0x00000002; + } + restricts_.add( + input.readMessage( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.parser(), + extensionRegistry)); + break; + } + case 42: + { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder subBuilder = + null; + if (crowdingTag_ != null) { + subBuilder = crowdingTag_.toBuilder(); + } + crowdingTag_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(crowdingTag_); + crowdingTag_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + featureVector_.makeImmutable(); // C + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + restricts_ = java.util.Collections.unmodifiableList(restricts_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.class, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder.class); + } + + public interface RestrictionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The namespace. + */ + java.lang.String getNamespace(); + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The bytes for namespace. + */ + com.google.protobuf.ByteString getNamespaceBytes(); + + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return A list containing the allowList. + */ + java.util.List getAllowListList(); + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return The count of allowList. + */ + int getAllowListCount(); + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the element to return. + * @return The allowList at the given index. + */ + java.lang.String getAllowList(int index); + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the value to return. + * @return The bytes of the allowList at the given index. + */ + com.google.protobuf.ByteString getAllowListBytes(int index); + + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return A list containing the denyList. + */ + java.util.List getDenyListList(); + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return The count of denyList. + */ + int getDenyListCount(); + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the element to return. + * @return The denyList at the given index. + */ + java.lang.String getDenyList(int index); + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the value to return. + * @return The bytes of the denyList at the given index. + */ + com.google.protobuf.ByteString getDenyListBytes(int index); + } + /** + * + * + *
+   * Restriction of a datapoint which describe its attributes(tokens) from each
+   * of several attribute categories(namespaces).
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction} + */ + public static final class Restriction extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) + RestrictionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Restriction.newBuilder() to construct. + private Restriction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Restriction() { + namespace_ = ""; + allowList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + denyList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Restriction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Restriction( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + namespace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + allowList_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + allowList_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + denyList_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + denyList_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + allowList_ = allowList_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + denyList_ = denyList_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.class, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder.class); + } + + public static final int NAMESPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object namespace_; + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The namespace. + */ + @java.lang.Override + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } + } + /** + * + * + *
+     * The namespace of this restriction. eg: color.
+     * 
+ * + * string namespace = 1; + * + * @return The bytes for namespace. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALLOW_LIST_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList allowList_; + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return A list containing the allowList. + */ + public com.google.protobuf.ProtocolStringList getAllowListList() { + return allowList_; + } + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @return The count of allowList. + */ + public int getAllowListCount() { + return allowList_.size(); + } + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the element to return. + * @return The allowList at the given index. + */ + public java.lang.String getAllowList(int index) { + return allowList_.get(index); + } + /** + * + * + *
+     * The attributes to allow in this namespace. eg: 'red'
+     * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the value to return. + * @return The bytes of the allowList at the given index. + */ + public com.google.protobuf.ByteString getAllowListBytes(int index) { + return allowList_.getByteString(index); + } + + public static final int DENY_LIST_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList denyList_; + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return A list containing the denyList. + */ + public com.google.protobuf.ProtocolStringList getDenyListList() { + return denyList_; + } + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @return The count of denyList. + */ + public int getDenyListCount() { + return denyList_.size(); + } + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the element to return. + * @return The denyList at the given index. + */ + public java.lang.String getDenyList(int index) { + return denyList_.get(index); + } + /** + * + * + *
+     * The attributes to deny in this namespace. eg: 'blue'
+     * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the value to return. + * @return The bytes of the denyList at the given index. + */ + public com.google.protobuf.ByteString getDenyListBytes(int index) { + return denyList_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namespace_); + } + for (int i = 0; i < allowList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, allowList_.getRaw(i)); + } + for (int i = 0; i < denyList_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, denyList_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, namespace_); + } + { + int dataSize = 0; + for (int i = 0; i < allowList_.size(); i++) { + dataSize += computeStringSizeNoTag(allowList_.getRaw(i)); + } + size += dataSize; + size += 1 * getAllowListList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < denyList_.size(); i++) { + dataSize += computeStringSizeNoTag(denyList_.getRaw(i)); + } + size += dataSize; + size += 1 * getDenyListList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction other = + (com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) obj; + + if (!getNamespace().equals(other.getNamespace())) return false; + if (!getAllowListList().equals(other.getAllowListList())) return false; + if (!getDenyListList().equals(other.getDenyListList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; + hash = (53 * hash) + getNamespace().hashCode(); + if (getAllowListCount() > 0) { + hash = (37 * hash) + ALLOW_LIST_FIELD_NUMBER; + hash = (53 * hash) + getAllowListList().hashCode(); + } + if (getDenyListCount() > 0) { + hash = (37 * hash) + DENY_LIST_FIELD_NUMBER; + hash = (53 * hash) + getDenyListList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Restriction of a datapoint which describe its attributes(tokens) from each
+     * of several attribute categories(namespaces).
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.class, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + namespace_ = ""; + + allowList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + denyList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction build() { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction buildPartial() { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction result = + new com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction(this); + int from_bitField0_ = bitField0_; + result.namespace_ = namespace_; + if (((bitField0_ & 0x00000001) != 0)) { + allowList_ = allowList_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.allowList_ = allowList_; + if (((bitField0_ & 0x00000002) != 0)) { + denyList_ = denyList_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.denyList_ = denyList_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction other) { + if (other + == com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.getDefaultInstance()) + return this; + if (!other.getNamespace().isEmpty()) { + namespace_ = other.namespace_; + onChanged(); + } + if (!other.allowList_.isEmpty()) { + if (allowList_.isEmpty()) { + allowList_ = other.allowList_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAllowListIsMutable(); + allowList_.addAll(other.allowList_); + } + onChanged(); + } + if (!other.denyList_.isEmpty()) { + if (denyList_.isEmpty()) { + denyList_ = other.denyList_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDenyListIsMutable(); + denyList_.addAll(other.denyList_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object namespace_ = ""; + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @return The namespace. + */ + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @return The bytes for namespace. + */ + public com.google.protobuf.ByteString getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @param value The namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + namespace_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @return This builder for chaining. + */ + public Builder clearNamespace() { + + namespace_ = getDefaultInstance().getNamespace(); + onChanged(); + return this; + } + /** + * + * + *
+       * The namespace of this restriction. eg: color.
+       * 
+ * + * string namespace = 1; + * + * @param value The bytes for namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + namespace_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList allowList_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAllowListIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + allowList_ = new com.google.protobuf.LazyStringArrayList(allowList_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @return A list containing the allowList. + */ + public com.google.protobuf.ProtocolStringList getAllowListList() { + return allowList_.getUnmodifiableView(); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @return The count of allowList. + */ + public int getAllowListCount() { + return allowList_.size(); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the element to return. + * @return The allowList at the given index. + */ + public java.lang.String getAllowList(int index) { + return allowList_.get(index); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param index The index of the value to return. + * @return The bytes of the allowList at the given index. + */ + public com.google.protobuf.ByteString getAllowListBytes(int index) { + return allowList_.getByteString(index); + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param index The index to set the value at. + * @param value The allowList to set. + * @return This builder for chaining. + */ + public Builder setAllowList(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowListIsMutable(); + allowList_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param value The allowList to add. + * @return This builder for chaining. + */ + public Builder addAllowList(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAllowListIsMutable(); + allowList_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param values The allowList to add. + * @return This builder for chaining. + */ + public Builder addAllAllowList(java.lang.Iterable values) { + ensureAllowListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowList_); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @return This builder for chaining. + */ + public Builder clearAllowList() { + allowList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to allow in this namespace. eg: 'red'
+       * 
+ * + * repeated string allow_list = 2; + * + * @param value The bytes of the allowList to add. + * @return This builder for chaining. + */ + public Builder addAllowListBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAllowListIsMutable(); + allowList_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList denyList_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDenyListIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + denyList_ = new com.google.protobuf.LazyStringArrayList(denyList_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @return A list containing the denyList. + */ + public com.google.protobuf.ProtocolStringList getDenyListList() { + return denyList_.getUnmodifiableView(); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @return The count of denyList. + */ + public int getDenyListCount() { + return denyList_.size(); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the element to return. + * @return The denyList at the given index. + */ + public java.lang.String getDenyList(int index) { + return denyList_.get(index); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param index The index of the value to return. + * @return The bytes of the denyList at the given index. + */ + public com.google.protobuf.ByteString getDenyListBytes(int index) { + return denyList_.getByteString(index); + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param index The index to set the value at. + * @param value The denyList to set. + * @return This builder for chaining. + */ + public Builder setDenyList(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDenyListIsMutable(); + denyList_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param value The denyList to add. + * @return This builder for chaining. + */ + public Builder addDenyList(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDenyListIsMutable(); + denyList_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param values The denyList to add. + * @return This builder for chaining. + */ + public Builder addAllDenyList(java.lang.Iterable values) { + ensureDenyListIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, denyList_); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @return This builder for chaining. + */ + public Builder clearDenyList() { + denyList_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * The attributes to deny in this namespace. eg: 'blue'
+       * 
+ * + * repeated string deny_list = 3; + * + * @param value The bytes of the denyList to add. + * @return This builder for chaining. + */ + public Builder addDenyListBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDenyListIsMutable(); + denyList_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction) + private static final com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction(); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Restriction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Restriction(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface CrowdingTagOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The crowdingAttribute. + */ + java.lang.String getCrowdingAttribute(); + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The bytes for crowdingAttribute. + */ + com.google.protobuf.ByteString getCrowdingAttributeBytes(); + } + /** + * + * + *
+   * Crowding tag is a constraint on a neighbor list produced by nearest
+   * neighbor search requiring that no more than some value k' of the k
+   * neighbors returned have the same value of crowding_attribute.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag} + */ + public static final class CrowdingTag extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) + CrowdingTagOrBuilder { + private static final long serialVersionUID = 0L; + // Use CrowdingTag.newBuilder() to construct. + private CrowdingTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CrowdingTag() { + crowdingAttribute_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CrowdingTag(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CrowdingTag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + crowdingAttribute_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.class, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder.class); + } + + public static final int CROWDING_ATTRIBUTE_FIELD_NUMBER = 1; + private volatile java.lang.Object crowdingAttribute_; + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The crowdingAttribute. + */ + @java.lang.Override + public java.lang.String getCrowdingAttribute() { + java.lang.Object ref = crowdingAttribute_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + crowdingAttribute_ = s; + return s; + } + } + /** + * + * + *
+     * The attribute value used for crowding.  The maximum number of neighbors
+     * to return per crowding attribute value
+     * (per_crowding_attribute_num_neighbors) is configured per-query. This
+     * field is ignored if per_crowding_attribute_num_neighbors is larger than
+     * the total number of neighbors to return for a given query.
+     * 
+ * + * string crowding_attribute = 1; + * + * @return The bytes for crowdingAttribute. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCrowdingAttributeBytes() { + java.lang.Object ref = crowdingAttribute_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + crowdingAttribute_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(crowdingAttribute_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, crowdingAttribute_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(crowdingAttribute_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, crowdingAttribute_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag other = + (com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) obj; + + if (!getCrowdingAttribute().equals(other.getCrowdingAttribute())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CROWDING_ATTRIBUTE_FIELD_NUMBER; + hash = (53 * hash) + getCrowdingAttribute().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Crowding tag is a constraint on a neighbor list produced by nearest
+     * neighbor search requiring that no more than some value k' of the k
+     * neighbors returned have the same value of crowding_attribute.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.class, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + crowdingAttribute_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag build() { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag buildPartial() { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag result = + new com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag(this); + result.crowdingAttribute_ = crowdingAttribute_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag other) { + if (other + == com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.getDefaultInstance()) + return this; + if (!other.getCrowdingAttribute().isEmpty()) { + crowdingAttribute_ = other.crowdingAttribute_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object crowdingAttribute_ = ""; + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @return The crowdingAttribute. + */ + public java.lang.String getCrowdingAttribute() { + java.lang.Object ref = crowdingAttribute_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + crowdingAttribute_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @return The bytes for crowdingAttribute. + */ + public com.google.protobuf.ByteString getCrowdingAttributeBytes() { + java.lang.Object ref = crowdingAttribute_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + crowdingAttribute_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @param value The crowdingAttribute to set. + * @return This builder for chaining. + */ + public Builder setCrowdingAttribute(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + crowdingAttribute_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @return This builder for chaining. + */ + public Builder clearCrowdingAttribute() { + + crowdingAttribute_ = getDefaultInstance().getCrowdingAttribute(); + onChanged(); + return this; + } + /** + * + * + *
+       * The attribute value used for crowding.  The maximum number of neighbors
+       * to return per crowding attribute value
+       * (per_crowding_attribute_num_neighbors) is configured per-query. This
+       * field is ignored if per_crowding_attribute_num_neighbors is larger than
+       * the total number of neighbors to return for a given query.
+       * 
+ * + * string crowding_attribute = 1; + * + * @param value The bytes for crowdingAttribute to set. + * @return This builder for chaining. + */ + public Builder setCrowdingAttributeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + crowdingAttribute_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag) + private static final com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag(); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CrowdingTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CrowdingTag(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int DATAPOINT_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object datapointId_; + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The datapointId. + */ + @java.lang.Override + public java.lang.String getDatapointId() { + java.lang.Object ref = datapointId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datapointId_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for datapointId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatapointIdBytes() { + java.lang.Object ref = datapointId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + datapointId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FEATURE_VECTOR_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.FloatList featureVector_; + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the featureVector. + */ + @java.lang.Override + public java.util.List getFeatureVectorList() { + return featureVector_; + } + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of featureVector. + */ + public int getFeatureVectorCount() { + return featureVector_.size(); + } + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The featureVector at the given index. + */ + public float getFeatureVector(int index) { + return featureVector_.getFloat(index); + } + + private int featureVectorMemoizedSerializedSize = -1; + + public static final int RESTRICTS_FIELD_NUMBER = 4; + private java.util.List restricts_; + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List + getRestrictsList() { + return restricts_; + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder> + getRestrictsOrBuilderList() { + return restricts_; + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public int getRestrictsCount() { + return restricts_.size(); + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction getRestricts(int index) { + return restricts_.get(index); + } + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder + getRestrictsOrBuilder(int index) { + return restricts_.get(index); + } + + public static final int CROWDING_TAG_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowdingTag_; + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the crowdingTag field is set. + */ + @java.lang.Override + public boolean hasCrowdingTag() { + return crowdingTag_ != null; + } + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The crowdingTag. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag getCrowdingTag() { + return crowdingTag_ == null + ? com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.getDefaultInstance() + : crowdingTag_; + } + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder + getCrowdingTagOrBuilder() { + return getCrowdingTag(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getSerializedSize(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datapointId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datapointId_); + } + if (getFeatureVectorList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(featureVectorMemoizedSerializedSize); + } + for (int i = 0; i < featureVector_.size(); i++) { + output.writeFloatNoTag(featureVector_.getFloat(i)); + } + for (int i = 0; i < restricts_.size(); i++) { + output.writeMessage(4, restricts_.get(i)); + } + if (crowdingTag_ != null) { + output.writeMessage(5, getCrowdingTag()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datapointId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datapointId_); + } + { + int dataSize = 0; + dataSize = 4 * getFeatureVectorList().size(); + size += dataSize; + if (!getFeatureVectorList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + featureVectorMemoizedSerializedSize = dataSize; + } + for (int i = 0; i < restricts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, restricts_.get(i)); + } + if (crowdingTag_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCrowdingTag()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.IndexDatapoint)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.IndexDatapoint other = + (com.google.cloud.aiplatform.v1beta1.IndexDatapoint) obj; + + if (!getDatapointId().equals(other.getDatapointId())) return false; + if (!getFeatureVectorList().equals(other.getFeatureVectorList())) return false; + if (!getRestrictsList().equals(other.getRestrictsList())) return false; + if (hasCrowdingTag() != other.hasCrowdingTag()) return false; + if (hasCrowdingTag()) { + if (!getCrowdingTag().equals(other.getCrowdingTag())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATAPOINT_ID_FIELD_NUMBER; + hash = (53 * hash) + getDatapointId().hashCode(); + if (getFeatureVectorCount() > 0) { + hash = (37 * hash) + FEATURE_VECTOR_FIELD_NUMBER; + hash = (53 * hash) + getFeatureVectorList().hashCode(); + } + if (getRestrictsCount() > 0) { + hash = (37 * hash) + RESTRICTS_FIELD_NUMBER; + hash = (53 * hash) + getRestrictsList().hashCode(); + } + if (hasCrowdingTag()) { + hash = (37 * hash) + CROWDING_TAG_FIELD_NUMBER; + hash = (53 * hash) + getCrowdingTag().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.IndexDatapoint prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A datapoint of Index.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexDatapoint} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.IndexDatapoint) + com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.class, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.IndexDatapoint.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRestrictsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + datapointId_ = ""; + + featureVector_ = emptyFloatList(); + bitField0_ = (bitField0_ & ~0x00000001); + if (restrictsBuilder_ == null) { + restricts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + restrictsBuilder_.clear(); + } + if (crowdingTagBuilder_ == null) { + crowdingTag_ = null; + } else { + crowdingTag_ = null; + crowdingTagBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.IndexDatapoint.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint build() { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint buildPartial() { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint result = + new com.google.cloud.aiplatform.v1beta1.IndexDatapoint(this); + int from_bitField0_ = bitField0_; + result.datapointId_ = datapointId_; + if (((bitField0_ & 0x00000001) != 0)) { + featureVector_.makeImmutable(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.featureVector_ = featureVector_; + if (restrictsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + restricts_ = java.util.Collections.unmodifiableList(restricts_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.restricts_ = restricts_; + } else { + result.restricts_ = restrictsBuilder_.build(); + } + if (crowdingTagBuilder_ == null) { + result.crowdingTag_ = crowdingTag_; + } else { + result.crowdingTag_ = crowdingTagBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.IndexDatapoint) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.IndexDatapoint) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.IndexDatapoint other) { + if (other == com.google.cloud.aiplatform.v1beta1.IndexDatapoint.getDefaultInstance()) + return this; + if (!other.getDatapointId().isEmpty()) { + datapointId_ = other.datapointId_; + onChanged(); + } + if (!other.featureVector_.isEmpty()) { + if (featureVector_.isEmpty()) { + featureVector_ = other.featureVector_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFeatureVectorIsMutable(); + featureVector_.addAll(other.featureVector_); + } + onChanged(); + } + if (restrictsBuilder_ == null) { + if (!other.restricts_.isEmpty()) { + if (restricts_.isEmpty()) { + restricts_ = other.restricts_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRestrictsIsMutable(); + restricts_.addAll(other.restricts_); + } + onChanged(); + } + } else { + if (!other.restricts_.isEmpty()) { + if (restrictsBuilder_.isEmpty()) { + restrictsBuilder_.dispose(); + restrictsBuilder_ = null; + restricts_ = other.restricts_; + bitField0_ = (bitField0_ & ~0x00000002); + restrictsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRestrictsFieldBuilder() + : null; + } else { + restrictsBuilder_.addAllMessages(other.restricts_); + } + } + } + if (other.hasCrowdingTag()) { + mergeCrowdingTag(other.getCrowdingTag()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.IndexDatapoint parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.IndexDatapoint) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object datapointId_ = ""; + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The datapointId. + */ + public java.lang.String getDatapointId() { + java.lang.Object ref = datapointId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + datapointId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for datapointId. + */ + public com.google.protobuf.ByteString getDatapointIdBytes() { + java.lang.Object ref = datapointId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + datapointId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The datapointId to set. + * @return This builder for chaining. + */ + public Builder setDatapointId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + datapointId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDatapointId() { + + datapointId_ = getDefaultInstance().getDatapointId(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Unique identifier of the datapoint.
+     * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for datapointId to set. + * @return This builder for chaining. + */ + public Builder setDatapointIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + datapointId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.FloatList featureVector_ = emptyFloatList(); + + private void ensureFeatureVectorIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + featureVector_ = mutableCopy(featureVector_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the featureVector. + */ + public java.util.List getFeatureVectorList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(featureVector_) + : featureVector_; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of featureVector. + */ + public int getFeatureVectorCount() { + return featureVector_.size(); + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The featureVector at the given index. + */ + public float getFeatureVector(int index) { + return featureVector_.getFloat(index); + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The featureVector to set. + * @return This builder for chaining. + */ + public Builder setFeatureVector(int index, float value) { + ensureFeatureVectorIsMutable(); + featureVector_.setFloat(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The featureVector to add. + * @return This builder for chaining. + */ + public Builder addFeatureVector(float value) { + ensureFeatureVectorIsMutable(); + featureVector_.addFloat(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The featureVector to add. + * @return This builder for chaining. + */ + public Builder addAllFeatureVector(java.lang.Iterable values) { + ensureFeatureVectorIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, featureVector_); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Feature embedding vector. An array of numbers with the length of
+     * [NearestNeighborSearchConfig.dimensions].
+     * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFeatureVector() { + featureVector_ = emptyFloatList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + private java.util.List + restricts_ = java.util.Collections.emptyList(); + + private void ensureRestrictsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + restricts_ = + new java.util.ArrayList( + restricts_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder> + restrictsBuilder_; + + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getRestrictsList() { + if (restrictsBuilder_ == null) { + return java.util.Collections.unmodifiableList(restricts_); + } else { + return restrictsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public int getRestrictsCount() { + if (restrictsBuilder_ == null) { + return restricts_.size(); + } else { + return restrictsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction getRestricts(int index) { + if (restrictsBuilder_ == null) { + return restricts_.get(index); + } else { + return restrictsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setRestricts( + int index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction value) { + if (restrictsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictsIsMutable(); + restricts_.set(index, value); + onChanged(); + } else { + restrictsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setRestricts( + int index, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder builderForValue) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.set(index, builderForValue.build()); + onChanged(); + } else { + restrictsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction value) { + if (restrictsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictsIsMutable(); + restricts_.add(value); + onChanged(); + } else { + restrictsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + int index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction value) { + if (restrictsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictsIsMutable(); + restricts_.add(index, value); + onChanged(); + } else { + restrictsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder builderForValue) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.add(builderForValue.build()); + onChanged(); + } else { + restrictsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addRestricts( + int index, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder builderForValue) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.add(index, builderForValue.build()); + onChanged(); + } else { + restrictsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder addAllRestricts( + java.lang.Iterable + values) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restricts_); + onChanged(); + } else { + restrictsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearRestricts() { + if (restrictsBuilder_ == null) { + restricts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + restrictsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeRestricts(int index) { + if (restrictsBuilder_ == null) { + ensureRestrictsIsMutable(); + restricts_.remove(index); + onChanged(); + } else { + restrictsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder + getRestrictsBuilder(int index) { + return getRestrictsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder + getRestrictsOrBuilder(int index) { + if (restrictsBuilder_ == null) { + return restricts_.get(index); + } else { + return restrictsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder> + getRestrictsOrBuilderList() { + if (restrictsBuilder_ != null) { + return restrictsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(restricts_); + } + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder + addRestrictsBuilder() { + return getRestrictsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.getDefaultInstance()); + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder + addRestrictsBuilder(int index) { + return getRestrictsFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.getDefaultInstance()); + } + /** + * + * + *
+     * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+     * where boolean rule are used to filter the subset of the database eligible
+     * for matching.
+     * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public java.util.List + getRestrictsBuilderList() { + return getRestrictsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder> + getRestrictsFieldBuilder() { + if (restrictsBuilder_ == null) { + restrictsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder>( + restricts_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + restricts_ = null; + } + return restrictsBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowdingTag_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder> + crowdingTagBuilder_; + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the crowdingTag field is set. + */ + public boolean hasCrowdingTag() { + return crowdingTagBuilder_ != null || crowdingTag_ != null; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The crowdingTag. + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag getCrowdingTag() { + if (crowdingTagBuilder_ == null) { + return crowdingTag_ == null + ? com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.getDefaultInstance() + : crowdingTag_; + } else { + return crowdingTagBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setCrowdingTag( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag value) { + if (crowdingTagBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + crowdingTag_ = value; + onChanged(); + } else { + crowdingTagBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setCrowdingTag( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder builderForValue) { + if (crowdingTagBuilder_ == null) { + crowdingTag_ = builderForValue.build(); + onChanged(); + } else { + crowdingTagBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeCrowdingTag( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag value) { + if (crowdingTagBuilder_ == null) { + if (crowdingTag_ != null) { + crowdingTag_ = + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.newBuilder( + crowdingTag_) + .mergeFrom(value) + .buildPartial(); + } else { + crowdingTag_ = value; + } + onChanged(); + } else { + crowdingTagBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearCrowdingTag() { + if (crowdingTagBuilder_ == null) { + crowdingTag_ = null; + onChanged(); + } else { + crowdingTag_ = null; + crowdingTagBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder + getCrowdingTagBuilder() { + + onChanged(); + return getCrowdingTagFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder + getCrowdingTagOrBuilder() { + if (crowdingTagBuilder_ != null) { + return crowdingTagBuilder_.getMessageOrBuilder(); + } else { + return crowdingTag_ == null + ? com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.getDefaultInstance() + : crowdingTag_; + } + } + /** + * + * + *
+     * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+     * crowding can be configured during query.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder> + getCrowdingTagFieldBuilder() { + if (crowdingTagBuilder_ == null) { + crowdingTagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder>( + getCrowdingTag(), getParentForChildren(), isClean()); + crowdingTag_ = null; + } + return crowdingTagBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.IndexDatapoint) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.IndexDatapoint) + private static final com.google.cloud.aiplatform.v1beta1.IndexDatapoint DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.IndexDatapoint(); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexDatapoint getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexDatapoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IndexDatapoint(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapointOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapointOrBuilder.java new file mode 100644 index 000000000..c373768b0 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexDatapointOrBuilder.java @@ -0,0 +1,213 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface IndexDatapointOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.IndexDatapoint) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The datapointId. + */ + java.lang.String getDatapointId(); + /** + * + * + *
+   * Required. Unique identifier of the datapoint.
+   * 
+ * + * string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for datapointId. + */ + com.google.protobuf.ByteString getDatapointIdBytes(); + + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the featureVector. + */ + java.util.List getFeatureVectorList(); + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of featureVector. + */ + int getFeatureVectorCount(); + /** + * + * + *
+   * Required. Feature embedding vector. An array of numbers with the length of
+   * [NearestNeighborSearchConfig.dimensions].
+   * 
+ * + * repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The featureVector at the given index. + */ + float getFeatureVector(int index); + + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List getRestrictsList(); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction getRestricts(int index); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getRestrictsCount(); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.List + getRestrictsOrBuilderList(); + /** + * + * + *
+   * Optional. List of Restrict of the datapoint, used to perform "restricted searches"
+   * where boolean rule are used to filter the subset of the database eligible
+   * for matching.
+   * See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.RestrictionOrBuilder getRestrictsOrBuilder( + int index); + + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the crowdingTag field is set. + */ + boolean hasCrowdingTag(); + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The crowdingTag. + */ + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag getCrowdingTag(); + /** + * + * + *
+   * Optional. CrowdingTag of the datapoint, the number of neighbors to return in each
+   * crowding can be configured during query.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.CrowdingTagOrBuilder getCrowdingTagOrBuilder(); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexOrBuilder.java index c7c683bc8..001bfbdec 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexOrBuilder.java @@ -454,4 +454,76 @@ java.lang.String getLabelsOrDefault( * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the indexStats field is set. + */ + boolean hasIndexStats(); + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The indexStats. + */ + com.google.cloud.aiplatform.v1beta1.IndexStats getIndexStats(); + /** + * + * + *
+   * Output only. Stats of the index resource.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder getIndexStatsOrBuilder(); + + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for indexUpdateMethod. + */ + int getIndexUpdateMethodValue(); + /** + * + * + *
+   * Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be
+   * used by default.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The indexUpdateMethod. + */ + com.google.cloud.aiplatform.v1beta1.Index.IndexUpdateMethod getIndexUpdateMethod(); } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java index 2d10174dc..284c24794 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java @@ -35,6 +35,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_IndexStats_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -50,7 +66,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "api/resource.proto\0328google/cloud/aiplatf" + "orm/v1beta1/deployed_index_ref.proto\032\034go" + "ogle/protobuf/struct.proto\032\037google/proto" - + "buf/timestamp.proto\"\264\004\n\005Index\022\021\n\004name\030\001 " + + "buf/timestamp.proto\"\266\006\n\005Index\022\021\n\004name\030\001 " + "\001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013d" + "escription\030\003 \001(\t\022 \n\023metadata_schema_uri\030" + "\004 \001(\tB\003\340A\005\022(\n\010metadata\030\006 \001(\0132\026.google.pr" @@ -61,16 +77,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ndex.LabelsEntry\0224\n\013create_time\030\n \001(\0132\032." + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + "_time\030\013 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001:]\352AZ\n\037aiplatform.googleapis." - + "com/Index\0227projects/{project}/locations/" - + "{location}/indexes/{index}B\347\001\n#com.googl" - + "e.cloud.aiplatform.v1beta1B\nIndexProtoP\001" - + "ZIgoogle.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1beta1;aiplatform\252\002\037Go" - + "ogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\C" - + "loud\\AIPlatform\\V1beta1\352\002\"Google::Cloud:" - + ":AIPlatform::V1beta1b\006proto3" + + "\003\340A\003\022E\n\013index_stats\030\016 \001(\0132+.google.cloud" + + ".aiplatform.v1beta1.IndexStatsB\003\340A\003\022Z\n\023i" + + "ndex_update_method\030\020 \001(\01628.google.cloud." + + "aiplatform.v1beta1.Index.IndexUpdateMeth" + + "odB\003\340A\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\"]\n\021IndexUpdateMethod\022#\n\037I" + + "NDEX_UPDATE_METHOD_UNSPECIFIED\020\000\022\020\n\014BATC" + + "H_UPDATE\020\001\022\021\n\rSTREAM_UPDATE\020\002:]\352AZ\n\037aipl" + + "atform.googleapis.com/Index\0227projects/{p" + + "roject}/locations/{location}/indexes/{in" + + "dex}\"\351\002\n\016IndexDatapoint\022\031\n\014datapoint_id\030" + + "\001 \001(\tB\003\340A\002\022\033\n\016feature_vector\030\002 \003(\002B\003\340A\002\022" + + "S\n\trestricts\030\004 \003(\0132;.google.cloud.aiplat" + + "form.v1beta1.IndexDatapoint.RestrictionB" + + "\003\340A\001\022V\n\014crowding_tag\030\005 \001(\0132;.google.clou" + + "d.aiplatform.v1beta1.IndexDatapoint.Crow" + + "dingTagB\003\340A\001\032G\n\013Restriction\022\021\n\tnamespace" + + "\030\001 \001(\t\022\022\n\nallow_list\030\002 \003(\t\022\021\n\tdeny_list\030" + + "\003 \003(\t\032)\n\013CrowdingTag\022\032\n\022crowding_attribu" + + "te\030\001 \001(\t\"C\n\nIndexStats\022\032\n\rvectors_count\030" + + "\001 \001(\003B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\347\001" + + "\n#com.google.cloud.aiplatform.v1beta1B\nI" + + "ndexProtoP\001ZIgoogle.golang.org/genproto/" + + "googleapis/cloud/aiplatform/v1beta1;aipl" + + "atform\252\002\037Google.Cloud.AIPlatform.V1Beta1" + + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo" + + "gle::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -98,6 +131,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "CreateTime", "UpdateTime", + "IndexStats", + "IndexUpdateMethod", }); internal_static_google_cloud_aiplatform_v1beta1_Index_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1beta1_Index_descriptor.getNestedTypes().get(0); @@ -107,6 +142,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor, + new java.lang.String[] { + "DatapointId", "FeatureVector", "Restricts", "CrowdingTag", + }); + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_Restriction_descriptor, + new java.lang.String[] { + "Namespace", "AllowList", "DenyList", + }); + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_IndexDatapoint_CrowdingTag_descriptor, + new java.lang.String[] { + "CrowdingAttribute", + }); + internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_aiplatform_v1beta1_IndexStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor, + new java.lang.String[] { + "VectorsCount", "ShardsCount", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java index f7f47dbee..0a37d6926 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java @@ -59,6 +59,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_DeleteIndexRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_DeleteIndexRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_NearestNeighborSearchOperationMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -119,62 +135,81 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rm.v1beta1.NearestNeighborSearchOperatio" + "nMetadata\"K\n\022DeleteIndexRequest\0225\n\004name\030" + "\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis.com" - + "/Index\"\331\006\n&NearestNeighborSearchOperatio" - + "nMetadata\022\200\001\n\030content_validation_stats\030\001" - + " \003(\0132^.google.cloud.aiplatform.v1beta1.N" - + "earestNeighborSearchOperationMetadata.Co" - + "ntentValidationStats\022\030\n\020data_bytes_count" - + "\030\002 \001(\003\032\267\003\n\013RecordError\022w\n\nerror_type\030\001 \001" - + "(\0162c.google.cloud.aiplatform.v1beta1.Nea" - + "restNeighborSearchOperationMetadata.Reco" - + "rdError.RecordErrorType\022\025\n\rerror_message" - + "\030\002 \001(\t\022\026\n\016source_gcs_uri\030\003 \001(\t\022\024\n\014embedd" - + "ing_id\030\004 \001(\t\022\022\n\nraw_record\030\005 \001(\t\"\325\001\n\017Rec" - + "ordErrorType\022\032\n\026ERROR_TYPE_UNSPECIFIED\020\000" - + "\022\016\n\nEMPTY_LINE\020\001\022\027\n\023INVALID_JSON_SYNTAX\020" - + "\002\022\026\n\022INVALID_CSV_SYNTAX\020\003\022\027\n\023INVALID_AVR" - + "O_SYNTAX\020\004\022\030\n\024INVALID_EMBEDDING_ID\020\005\022\033\n\027" - + "EMBEDDING_SIZE_MISMATCH\020\006\022\025\n\021NAMESPACE_M" - + "ISSING\020\007\032\327\001\n\026ContentValidationStats\022\026\n\016s" - + "ource_gcs_uri\030\001 \001(\t\022\032\n\022valid_record_coun" - + "t\030\002 \001(\003\022\034\n\024invalid_record_count\030\003 \001(\003\022k\n" - + "\016partial_errors\030\004 \003(\0132S.google.cloud.aip" - + "latform.v1beta1.NearestNeighborSearchOpe" - + "rationMetadata.RecordError2\337\010\n\014IndexServ" - + "ice\022\331\001\n\013CreateIndex\0223.google.cloud.aipla" - + "tform.v1beta1.CreateIndexRequest\032\035.googl" - + "e.longrunning.Operation\"v\202\323\344\223\0029\"0/v1beta" - + "1/{parent=projects/*/locations/*}/indexe" - + "s:\005index\332A\014parent,index\312A%\n\005Index\022\034Creat" - + "eIndexOperationMetadata\022\245\001\n\010GetIndex\0220.g" - + "oogle.cloud.aiplatform.v1beta1.GetIndexR" - + "equest\032&.google.cloud.aiplatform.v1beta1" - + ".Index\"?\202\323\344\223\0022\0220/v1beta1/{name=projects/" - + "*/locations/*/indexes/*}\332A\004name\022\273\001\n\013List" - + "Indexes\0223.google.cloud.aiplatform.v1beta" - + "1.ListIndexesRequest\0324.google.cloud.aipl" - + "atform.v1beta1.ListIndexesResponse\"A\202\323\344\223" - + "\0022\0220/v1beta1/{parent=projects/*/location" - + "s/*}/indexes\332A\006parent\022\345\001\n\013UpdateIndex\0223." - + "google.cloud.aiplatform.v1beta1.UpdateIn" - + "dexRequest\032\035.google.longrunning.Operatio" - + "n\"\201\001\202\323\344\223\002?26/v1beta1/{index.name=project" - + "s/*/locations/*/indexes/*}:\005index\332A\021inde" - + "x,update_mask\312A%\n\005Index\022\034UpdateIndexOper" - + "ationMetadata\022\325\001\n\013DeleteIndex\0223.google.c" - + "loud.aiplatform.v1beta1.DeleteIndexReque" - + "st\032\035.google.longrunning.Operation\"r\202\323\344\223\002" - + "2*0/v1beta1/{name=projects/*/locations/*" - + "/indexes/*}\332A\004name\312A0\n\025google.protobuf.E" - + "mpty\022\027DeleteOperationMetadata\032M\312A\031aiplat" - + "form.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\356\001\n#com.goo" - + "gle.cloud.aiplatform.v1beta1B\021IndexServi" - + "ceProtoP\001ZIgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1beta1;aiplat" - + "form\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" - + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" - + "e::Cloud::AIPlatform::V1beta1b\006proto3" + + "/Index\"\226\001\n\027UpsertDatapointsRequest\0226\n\005in" + + "dex\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis" + + ".com/Index\022C\n\ndatapoints\030\002 \003(\0132/.google." + + "cloud.aiplatform.v1beta1.IndexDatapoint\"" + + "\032\n\030UpsertDatapointsResponse\"h\n\027RemoveDat" + + "apointsRequest\0226\n\005index\030\001 \001(\tB\'\340A\002\372A!\n\037a" + + "iplatform.googleapis.com/Index\022\025\n\rdatapo" + + "int_ids\030\002 \003(\t\"\032\n\030RemoveDatapointsRespons" + + "e\"\331\006\n&NearestNeighborSearchOperationMeta" + + "data\022\200\001\n\030content_validation_stats\030\001 \003(\0132" + + "^.google.cloud.aiplatform.v1beta1.Neares" + + "tNeighborSearchOperationMetadata.Content" + + "ValidationStats\022\030\n\020data_bytes_count\030\002 \001(" + + "\003\032\267\003\n\013RecordError\022w\n\nerror_type\030\001 \001(\0162c." + + "google.cloud.aiplatform.v1beta1.NearestN" + + "eighborSearchOperationMetadata.RecordErr" + + "or.RecordErrorType\022\025\n\rerror_message\030\002 \001(" + + "\t\022\026\n\016source_gcs_uri\030\003 \001(\t\022\024\n\014embedding_i" + + "d\030\004 \001(\t\022\022\n\nraw_record\030\005 \001(\t\"\325\001\n\017RecordEr" + + "rorType\022\032\n\026ERROR_TYPE_UNSPECIFIED\020\000\022\016\n\nE" + + "MPTY_LINE\020\001\022\027\n\023INVALID_JSON_SYNTAX\020\002\022\026\n\022" + + "INVALID_CSV_SYNTAX\020\003\022\027\n\023INVALID_AVRO_SYN" + + "TAX\020\004\022\030\n\024INVALID_EMBEDDING_ID\020\005\022\033\n\027EMBED" + + "DING_SIZE_MISMATCH\020\006\022\025\n\021NAMESPACE_MISSIN" + + "G\020\007\032\327\001\n\026ContentValidationStats\022\026\n\016source" + + "_gcs_uri\030\001 \001(\t\022\032\n\022valid_record_count\030\002 \001" + + "(\003\022\034\n\024invalid_record_count\030\003 \001(\003\022k\n\016part" + + "ial_errors\030\004 \003(\0132S.google.cloud.aiplatfo" + + "rm.v1beta1.NearestNeighborSearchOperatio" + + "nMetadata.RecordError2\221\014\n\014IndexService\022\331" + + "\001\n\013CreateIndex\0223.google.cloud.aiplatform" + + ".v1beta1.CreateIndexRequest\032\035.google.lon" + + "grunning.Operation\"v\202\323\344\223\0029\"0/v1beta1/{pa" + + "rent=projects/*/locations/*}/indexes:\005in" + + "dex\332A\014parent,index\312A%\n\005Index\022\034CreateInde" + + "xOperationMetadata\022\245\001\n\010GetIndex\0220.google" + + ".cloud.aiplatform.v1beta1.GetIndexReques" + + "t\032&.google.cloud.aiplatform.v1beta1.Inde" + + "x\"?\202\323\344\223\0022\0220/v1beta1/{name=projects/*/loc" + + "ations/*/indexes/*}\332A\004name\022\273\001\n\013ListIndex" + + "es\0223.google.cloud.aiplatform.v1beta1.Lis" + + "tIndexesRequest\0324.google.cloud.aiplatfor" + + "m.v1beta1.ListIndexesResponse\"A\202\323\344\223\0022\0220/" + + "v1beta1/{parent=projects/*/locations/*}/" + + "indexes\332A\006parent\022\345\001\n\013UpdateIndex\0223.googl" + + "e.cloud.aiplatform.v1beta1.UpdateIndexRe" + + "quest\032\035.google.longrunning.Operation\"\201\001\202" + + "\323\344\223\002?26/v1beta1/{index.name=projects/*/l" + + "ocations/*/indexes/*}:\005index\332A\021index,upd" + + "ate_mask\312A%\n\005Index\022\034UpdateIndexOperation" + + "Metadata\022\325\001\n\013DeleteIndex\0223.google.cloud." + + "aiplatform.v1beta1.DeleteIndexRequest\032\035." + + "google.longrunning.Operation\"r\202\323\344\223\0022*0/v" + + "1beta1/{name=projects/*/locations/*/inde" + + "xes/*}\332A\004name\312A0\n\025google.protobuf.Empty\022" + + "\027DeleteOperationMetadata\022\326\001\n\020UpsertDatap" + + "oints\0228.google.cloud.aiplatform.v1beta1." + + "UpsertDatapointsRequest\0329.google.cloud.a" + + "iplatform.v1beta1.UpsertDatapointsRespon" + + "se\"M\202\323\344\223\002G\"B/v1beta1/{index=projects/*/l" + + "ocations/*/indexes/*}:upsertDatapoints:\001" + + "*\022\326\001\n\020RemoveDatapoints\0228.google.cloud.ai" + + "platform.v1beta1.RemoveDatapointsRequest" + + "\0329.google.cloud.aiplatform.v1beta1.Remov" + + "eDatapointsResponse\"M\202\323\344\223\002G\"B/v1beta1/{i" + + "ndex=projects/*/locations/*/indexes/*}:r" + + "emoveDatapoints:\001*\032M\312A\031aiplatform.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\356\001\n#com.google.cloud.a" + + "iplatform.v1beta1B\021IndexServiceProtoP\001ZI" + + "google.golang.org/genproto/googleapis/cl" + + "oud/aiplatform/v1beta1;aiplatform\252\002\037Goog" + + "le.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clo" + + "ud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::A" + + "IPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -253,8 +288,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", }); - internal_static_google_cloud_aiplatform_v1beta1_NearestNeighborSearchOperationMetadata_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_descriptor = getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_descriptor, + new java.lang.String[] { + "Index", "Datapoints", + }); + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_descriptor, + new java.lang.String[] { + "Index", "DatapointIds", + }); + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1beta1_NearestNeighborSearchOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_aiplatform_v1beta1_NearestNeighborSearchOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_NearestNeighborSearchOperationMetadata_descriptor, diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStats.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStats.java new file mode 100644 index 000000000..f2b14b52f --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStats.java @@ -0,0 +1,636 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Stats of the Index.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexStats} + */ +public final class IndexStats extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.IndexStats) + IndexStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use IndexStats.newBuilder() to construct. + private IndexStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private IndexStats() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IndexStats(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private IndexStats( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + vectorsCount_ = input.readInt64(); + break; + } + case 16: + { + shardsCount_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexStats.class, + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder.class); + } + + public static final int VECTORS_COUNT_FIELD_NUMBER = 1; + private long vectorsCount_; + /** + * + * + *
+   * Output only. The number of vectors in the Index.
+   * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The vectorsCount. + */ + @java.lang.Override + public long getVectorsCount() { + return vectorsCount_; + } + + public static final int SHARDS_COUNT_FIELD_NUMBER = 2; + private int shardsCount_; + /** + * + * + *
+   * Output only. The number of shards in the Index.
+   * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The shardsCount. + */ + @java.lang.Override + public int getShardsCount() { + return shardsCount_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (vectorsCount_ != 0L) { + output.writeInt64(1, vectorsCount_); + } + if (shardsCount_ != 0) { + output.writeInt32(2, shardsCount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (vectorsCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, vectorsCount_); + } + if (shardsCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, shardsCount_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.IndexStats)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.IndexStats other = + (com.google.cloud.aiplatform.v1beta1.IndexStats) obj; + + if (getVectorsCount() != other.getVectorsCount()) return false; + if (getShardsCount() != other.getShardsCount()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VECTORS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVectorsCount()); + hash = (37 * hash) + SHARDS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getShardsCount(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.IndexStats prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Stats of the Index.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.IndexStats} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.IndexStats) + com.google.cloud.aiplatform.v1beta1.IndexStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.IndexStats.class, + com.google.cloud.aiplatform.v1beta1.IndexStats.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.IndexStats.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + vectorsCount_ = 0L; + + shardsCount_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexProto + .internal_static_google_cloud_aiplatform_v1beta1_IndexStats_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexStats getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.IndexStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexStats build() { + com.google.cloud.aiplatform.v1beta1.IndexStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexStats buildPartial() { + com.google.cloud.aiplatform.v1beta1.IndexStats result = + new com.google.cloud.aiplatform.v1beta1.IndexStats(this); + result.vectorsCount_ = vectorsCount_; + result.shardsCount_ = shardsCount_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.IndexStats) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.IndexStats) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.IndexStats other) { + if (other == com.google.cloud.aiplatform.v1beta1.IndexStats.getDefaultInstance()) return this; + if (other.getVectorsCount() != 0L) { + setVectorsCount(other.getVectorsCount()); + } + if (other.getShardsCount() != 0) { + setShardsCount(other.getShardsCount()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.IndexStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.aiplatform.v1beta1.IndexStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long vectorsCount_; + /** + * + * + *
+     * Output only. The number of vectors in the Index.
+     * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The vectorsCount. + */ + @java.lang.Override + public long getVectorsCount() { + return vectorsCount_; + } + /** + * + * + *
+     * Output only. The number of vectors in the Index.
+     * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The vectorsCount to set. + * @return This builder for chaining. + */ + public Builder setVectorsCount(long value) { + + vectorsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The number of vectors in the Index.
+     * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearVectorsCount() { + + vectorsCount_ = 0L; + onChanged(); + return this; + } + + private int shardsCount_; + /** + * + * + *
+     * Output only. The number of shards in the Index.
+     * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The shardsCount. + */ + @java.lang.Override + public int getShardsCount() { + return shardsCount_; + } + /** + * + * + *
+     * Output only. The number of shards in the Index.
+     * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The shardsCount to set. + * @return This builder for chaining. + */ + public Builder setShardsCount(int value) { + + shardsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The number of shards in the Index.
+     * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearShardsCount() { + + shardsCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.IndexStats) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.IndexStats) + private static final com.google.cloud.aiplatform.v1beta1.IndexStats DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.IndexStats(); + } + + public static com.google.cloud.aiplatform.v1beta1.IndexStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IndexStats(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStatsOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStatsOrBuilder.java new file mode 100644 index 000000000..b842cf2a6 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexStatsOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface IndexStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.IndexStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The number of vectors in the Index.
+   * 
+ * + * int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The vectorsCount. + */ + long getVectorsCount(); + + /** + * + * + *
+   * Output only. The number of shards in the Index.
+   * 
+ * + * int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The shardsCount. + */ + int getShardsCount(); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponse.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponse.java index 4092df21e..26e3f5f30 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponse.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponse.java @@ -136,8 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -150,8 +149,7 @@ public java.util.List getSavedQu * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -165,8 +163,7 @@ public java.util.List getSavedQu * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -179,8 +176,7 @@ public int getSavedQueriesCount() { * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -193,8 +189,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQuery getSavedQueries(int index) * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -654,8 +649,7 @@ private void ensureSavedQueriesIsMutable() { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -671,8 +665,7 @@ public java.util.List getSavedQu * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -688,8 +681,7 @@ public int getSavedQueriesCount() { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -705,8 +697,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQuery getSavedQueries(int index) * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -729,8 +720,7 @@ public Builder setSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -750,8 +740,7 @@ public Builder setSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -773,8 +762,7 @@ public Builder addSavedQueries(com.google.cloud.aiplatform.v1beta1.SavedQuery va * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -797,8 +785,7 @@ public Builder addSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -818,8 +805,7 @@ public Builder addSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -839,8 +825,7 @@ public Builder addSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -860,8 +845,7 @@ public Builder addAllSavedQueries( * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -880,8 +864,7 @@ public Builder clearSavedQueries() { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -900,8 +883,7 @@ public Builder removeSavedQueries(int index) { * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -914,8 +896,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQuery.Builder getSavedQueriesBui * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -932,8 +913,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQueryOrBuilder getSavedQueriesOr * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -950,8 +930,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQueryOrBuilder getSavedQueriesOr * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -964,8 +943,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQuery.Builder addSavedQueriesBui * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -979,8 +957,7 @@ public com.google.cloud.aiplatform.v1beta1.SavedQuery.Builder addSavedQueriesBui * * *
-     * A list of SavedQueries that matches the specified filter in the
-     * request.
+     * A list of SavedQueries that match the specified filter in the request.
      * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponseOrBuilder.java index c64800e44..fa4ce94e3 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponseOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSavedQueriesResponseOrBuilder.java @@ -27,8 +27,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -38,8 +37,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -49,8 +47,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -60,8 +57,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; @@ -72,8 +68,7 @@ public interface ListSavedQueriesResponseOrBuilder * * *
-   * A list of SavedQueries that matches the specified filter in the
-   * request.
+   * A list of SavedQueries that match the specified filter in the request.
    * 
* * repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 1; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequest.java index 4e4e33d57..b1fb625f6 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequest.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequest.java @@ -193,7 +193,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -217,7 +217,7 @@ public com.google.protobuf.ProtocolStringList getVersionAliasesList() {
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -241,7 +241,7 @@ public int getVersionAliasesCount() {
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -266,7 +266,7 @@ public java.lang.String getVersionAliases(int index) {
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -785,7 +785,7 @@ private void ensureVersionAliasesIsMutable() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -809,7 +809,7 @@ public com.google.protobuf.ProtocolStringList getVersionAliasesList() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -833,7 +833,7 @@ public int getVersionAliasesCount() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -858,7 +858,7 @@ public java.lang.String getVersionAliases(int index) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getVersionAliasesBytes(int index) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -915,7 +915,7 @@ public Builder setVersionAliases(int index, java.lang.String value) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -946,7 +946,7 @@ public Builder addVersionAliases(java.lang.String value) {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -974,7 +974,7 @@ public Builder addAllVersionAliases(java.lang.Iterable values)
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
@@ -1001,7 +1001,7 @@ public Builder clearVersionAliases() {
      * 
      * Required. The set of version aliases to merge.
      * The alias should be at most 128 characters, and match
-     * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+     * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
      * Add the `-` prefix to an alias means removing that alias from the version.
      * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
      * the `golden` alias from the version.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequestOrBuilder.java
index e5a24d9db..26fc8a943 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MergeVersionAliasesRequestOrBuilder.java
@@ -62,7 +62,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -84,7 +84,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -106,7 +106,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
@@ -129,7 +129,7 @@ public interface MergeVersionAliasesRequestOrBuilder
    * 
    * Required. The set of version aliases to merge.
    * The alias should be at most 128 characters, and match
-   * `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
+   * `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
    * Add the `-` prefix to an alias means removing that alias from the version.
    * `-` is NOT counted in the 128 characters. Example: `-golden` means removing
    * the `golden` alias from the version.
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringAlertConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringAlertConfig.java
index 047a32721..ede4c356a 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringAlertConfig.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringAlertConfig.java
@@ -18,15 +18,7 @@
 
 package com.google.cloud.aiplatform.v1beta1;
 
-/**
- *
- *
- * 
- * Next ID: 3
- * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig} - */ +/** Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig} */ public final class ModelMonitoringAlertConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig) @@ -1268,15 +1260,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build Builder builder = new Builder(parent); return builder; } - /** - * - * - *
-   * Next ID: 3
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig} - */ + /** Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig) diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfig.java index e036b6a51..af7bb26d2 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfig.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfig.java @@ -22,7 +22,7 @@ * * *
- * Next ID: 5
+ * The model monitoring configuration used for Batch Prediction Job.
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringConfig} @@ -109,6 +109,23 @@ private ModelMonitoringConfig( java.lang.String s = input.readStringRequireUtf8(); analysisInstanceSchemaUri_ = s; + break; + } + case 42: + { + com.google.cloud.aiplatform.v1beta1.GcsDestination.Builder subBuilder = null; + if (statsAnomaliesBaseDirectory_ != null) { + subBuilder = statsAnomaliesBaseDirectory_.toBuilder(); + } + statsAnomaliesBaseDirectory_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.GcsDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(statsAnomaliesBaseDirectory_); + statsAnomaliesBaseDirectory_ = subBuilder.buildPartial(); + } + break; } default: @@ -342,6 +359,67 @@ public com.google.protobuf.ByteString getAnalysisInstanceSchemaUriBytes() { } } + public static final int STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1beta1.GcsDestination statsAnomaliesBaseDirectory_; + /** + * + * + *
+   * A Google Cloud Storage location for batch prediction model monitoring to
+   * dump statistics and anomalies.
+   * If not provided, a folder will be created in customer project to hold
+   * statistics and anomalies.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + * + * @return Whether the statsAnomaliesBaseDirectory field is set. + */ + @java.lang.Override + public boolean hasStatsAnomaliesBaseDirectory() { + return statsAnomaliesBaseDirectory_ != null; + } + /** + * + * + *
+   * A Google Cloud Storage location for batch prediction model monitoring to
+   * dump statistics and anomalies.
+   * If not provided, a folder will be created in customer project to hold
+   * statistics and anomalies.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + * + * @return The statsAnomaliesBaseDirectory. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GcsDestination getStatsAnomaliesBaseDirectory() { + return statsAnomaliesBaseDirectory_ == null + ? com.google.cloud.aiplatform.v1beta1.GcsDestination.getDefaultInstance() + : statsAnomaliesBaseDirectory_; + } + /** + * + * + *
+   * A Google Cloud Storage location for batch prediction model monitoring to
+   * dump statistics and anomalies.
+   * If not provided, a folder will be created in customer project to hold
+   * statistics and anomalies.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GcsDestinationOrBuilder + getStatsAnomaliesBaseDirectoryOrBuilder() { + return getStatsAnomaliesBaseDirectory(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -365,6 +443,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(analysisInstanceSchemaUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, analysisInstanceSchemaUri_); } + if (statsAnomaliesBaseDirectory_ != null) { + output.writeMessage(5, getStatsAnomaliesBaseDirectory()); + } unknownFields.writeTo(output); } @@ -384,6 +465,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, analysisInstanceSchemaUri_); } + if (statsAnomaliesBaseDirectory_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getStatsAnomaliesBaseDirectory()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -406,6 +492,11 @@ public boolean equals(final java.lang.Object obj) { if (!getAlertConfig().equals(other.getAlertConfig())) return false; } if (!getAnalysisInstanceSchemaUri().equals(other.getAnalysisInstanceSchemaUri())) return false; + if (hasStatsAnomaliesBaseDirectory() != other.hasStatsAnomaliesBaseDirectory()) return false; + if (hasStatsAnomaliesBaseDirectory()) { + if (!getStatsAnomaliesBaseDirectory().equals(other.getStatsAnomaliesBaseDirectory())) + return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -427,6 +518,10 @@ public int hashCode() { } hash = (37 * hash) + ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER; hash = (53 * hash) + getAnalysisInstanceSchemaUri().hashCode(); + if (hasStatsAnomaliesBaseDirectory()) { + hash = (37 * hash) + STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER; + hash = (53 * hash) + getStatsAnomaliesBaseDirectory().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -532,7 +627,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Next ID: 5
+   * The model monitoring configuration used for Batch Prediction Job.
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringConfig} @@ -589,6 +684,12 @@ public Builder clear() { } analysisInstanceSchemaUri_ = ""; + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + statsAnomaliesBaseDirectory_ = null; + } else { + statsAnomaliesBaseDirectory_ = null; + statsAnomaliesBaseDirectoryBuilder_ = null; + } return this; } @@ -632,6 +733,11 @@ public com.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig buildPartial() result.alertConfig_ = alertConfigBuilder_.build(); } result.analysisInstanceSchemaUri_ = analysisInstanceSchemaUri_; + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + result.statsAnomaliesBaseDirectory_ = statsAnomaliesBaseDirectory_; + } else { + result.statsAnomaliesBaseDirectory_ = statsAnomaliesBaseDirectoryBuilder_.build(); + } onBuilt(); return result; } @@ -716,6 +822,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ModelMonitoringConf analysisInstanceSchemaUri_ = other.analysisInstanceSchemaUri_; onChanged(); } + if (other.hasStatsAnomaliesBaseDirectory()) { + mergeStatsAnomaliesBaseDirectory(other.getStatsAnomaliesBaseDirectory()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1485,6 +1594,233 @@ public Builder setAnalysisInstanceSchemaUriBytes(com.google.protobuf.ByteString return this; } + private com.google.cloud.aiplatform.v1beta1.GcsDestination statsAnomaliesBaseDirectory_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GcsDestination, + com.google.cloud.aiplatform.v1beta1.GcsDestination.Builder, + com.google.cloud.aiplatform.v1beta1.GcsDestinationOrBuilder> + statsAnomaliesBaseDirectoryBuilder_; + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + * + * @return Whether the statsAnomaliesBaseDirectory field is set. + */ + public boolean hasStatsAnomaliesBaseDirectory() { + return statsAnomaliesBaseDirectoryBuilder_ != null || statsAnomaliesBaseDirectory_ != null; + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + * + * @return The statsAnomaliesBaseDirectory. + */ + public com.google.cloud.aiplatform.v1beta1.GcsDestination getStatsAnomaliesBaseDirectory() { + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + return statsAnomaliesBaseDirectory_ == null + ? com.google.cloud.aiplatform.v1beta1.GcsDestination.getDefaultInstance() + : statsAnomaliesBaseDirectory_; + } else { + return statsAnomaliesBaseDirectoryBuilder_.getMessage(); + } + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + public Builder setStatsAnomaliesBaseDirectory( + com.google.cloud.aiplatform.v1beta1.GcsDestination value) { + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + statsAnomaliesBaseDirectory_ = value; + onChanged(); + } else { + statsAnomaliesBaseDirectoryBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + public Builder setStatsAnomaliesBaseDirectory( + com.google.cloud.aiplatform.v1beta1.GcsDestination.Builder builderForValue) { + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + statsAnomaliesBaseDirectory_ = builderForValue.build(); + onChanged(); + } else { + statsAnomaliesBaseDirectoryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + public Builder mergeStatsAnomaliesBaseDirectory( + com.google.cloud.aiplatform.v1beta1.GcsDestination value) { + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + if (statsAnomaliesBaseDirectory_ != null) { + statsAnomaliesBaseDirectory_ = + com.google.cloud.aiplatform.v1beta1.GcsDestination.newBuilder( + statsAnomaliesBaseDirectory_) + .mergeFrom(value) + .buildPartial(); + } else { + statsAnomaliesBaseDirectory_ = value; + } + onChanged(); + } else { + statsAnomaliesBaseDirectoryBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + public Builder clearStatsAnomaliesBaseDirectory() { + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + statsAnomaliesBaseDirectory_ = null; + onChanged(); + } else { + statsAnomaliesBaseDirectory_ = null; + statsAnomaliesBaseDirectoryBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + public com.google.cloud.aiplatform.v1beta1.GcsDestination.Builder + getStatsAnomaliesBaseDirectoryBuilder() { + + onChanged(); + return getStatsAnomaliesBaseDirectoryFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + public com.google.cloud.aiplatform.v1beta1.GcsDestinationOrBuilder + getStatsAnomaliesBaseDirectoryOrBuilder() { + if (statsAnomaliesBaseDirectoryBuilder_ != null) { + return statsAnomaliesBaseDirectoryBuilder_.getMessageOrBuilder(); + } else { + return statsAnomaliesBaseDirectory_ == null + ? com.google.cloud.aiplatform.v1beta1.GcsDestination.getDefaultInstance() + : statsAnomaliesBaseDirectory_; + } + } + /** + * + * + *
+     * A Google Cloud Storage location for batch prediction model monitoring to
+     * dump statistics and anomalies.
+     * If not provided, a folder will be created in customer project to hold
+     * statistics and anomalies.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GcsDestination, + com.google.cloud.aiplatform.v1beta1.GcsDestination.Builder, + com.google.cloud.aiplatform.v1beta1.GcsDestinationOrBuilder> + getStatsAnomaliesBaseDirectoryFieldBuilder() { + if (statsAnomaliesBaseDirectoryBuilder_ == null) { + statsAnomaliesBaseDirectoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GcsDestination, + com.google.cloud.aiplatform.v1beta1.GcsDestination.Builder, + com.google.cloud.aiplatform.v1beta1.GcsDestinationOrBuilder>( + getStatsAnomaliesBaseDirectory(), getParentForChildren(), isClean()); + statsAnomaliesBaseDirectory_ = null; + } + return statsAnomaliesBaseDirectoryBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfigOrBuilder.java index ce257681d..7a398c6d5 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfigOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringConfigOrBuilder.java @@ -157,4 +157,52 @@ public interface ModelMonitoringConfigOrBuilder * @return The bytes for analysisInstanceSchemaUri. */ com.google.protobuf.ByteString getAnalysisInstanceSchemaUriBytes(); + + /** + * + * + *
+   * A Google Cloud Storage location for batch prediction model monitoring to
+   * dump statistics and anomalies.
+   * If not provided, a folder will be created in customer project to hold
+   * statistics and anomalies.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + * + * @return Whether the statsAnomaliesBaseDirectory field is set. + */ + boolean hasStatsAnomaliesBaseDirectory(); + /** + * + * + *
+   * A Google Cloud Storage location for batch prediction model monitoring to
+   * dump statistics and anomalies.
+   * If not provided, a folder will be created in customer project to hold
+   * statistics and anomalies.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + * + * @return The statsAnomaliesBaseDirectory. + */ + com.google.cloud.aiplatform.v1beta1.GcsDestination getStatsAnomaliesBaseDirectory(); + /** + * + * + *
+   * A Google Cloud Storage location for batch prediction model monitoring to
+   * dump statistics and anomalies.
+   * If not provided, a folder will be created in customer project to hold
+   * statistics and anomalies.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5; + * + */ + com.google.cloud.aiplatform.v1beta1.GcsDestinationOrBuilder + getStatsAnomaliesBaseDirectoryOrBuilder(); } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java index b83bd2702..084045269 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java @@ -22,7 +22,8 @@ * * *
- * Next ID: 8
+ * The objective configuration for model monitoring, including the information
+ * needed to detect anomalies for one particular model.
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig} @@ -6587,8 +6588,10 @@ public interface ExplanationBaselineOrBuilder * * *
-     * Output from [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] for Model Monitoring baseline dataset,
-     * which can be used to generate baseline attribution scores.
+     * Output from
+     * [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob]
+     * for Model Monitoring baseline dataset, which can be used to generate
+     * baseline attribution scores.
      * 
* * Protobuf type {@code @@ -7326,8 +7329,10 @@ protected Builder newBuilderForType( * * *
-       * Output from [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] for Model Monitoring baseline dataset,
-       * which can be used to generate baseline attribution scores.
+       * Output from
+       * [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob]
+       * for Model Monitoring baseline dataset, which can be used to generate
+       * baseline attribution scores.
        * 
* * Protobuf type {@code @@ -9450,7 +9455,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Next ID: 8
+   * The objective configuration for model monitoring, including the information
+   * needed to detect anomalies for one particular model.
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java index 3c71879a4..a3f4658fd 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java @@ -103,102 +103,104 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n6google/cloud/aiplatform/v1beta1/model_" + "monitoring.proto\022\037google.cloud.aiplatfor" + "m.v1beta1\032\031google/api/resource.proto\032(go" - + "ogle/cloud/aiplatform/v1beta1/io.proto\"\354" - + "\001\n\025ModelMonitoringConfig\022Z\n\021objective_co" + + "ogle/cloud/aiplatform/v1beta1/io.proto\"\305" + + "\002\n\025ModelMonitoringConfig\022Z\n\021objective_co" + "nfigs\030\003 \003(\0132?.google.cloud.aiplatform.v1" + "beta1.ModelMonitoringObjectiveConfig\022Q\n\014" + "alert_config\030\002 \001(\0132;.google.cloud.aiplat" + "form.v1beta1.ModelMonitoringAlertConfig\022" - + "$\n\034analysis_instance_schema_uri\030\004 \001(\t\"\252\026" - + "\n\036ModelMonitoringObjectiveConfig\022i\n\020trai" - + "ning_dataset\030\001 \001(\0132O.google.cloud.aiplat" - + "form.v1beta1.ModelMonitoringObjectiveCon" - + "fig.TrainingDataset\022\230\001\n)training_predict" - + "ion_skew_detection_config\030\002 \001(\0132e.google" + + "$\n\034analysis_instance_schema_uri\030\004 \001(\t\022W\n" + + "\036stats_anomalies_base_directory\030\005 \001(\0132/." + + "google.cloud.aiplatform.v1beta1.GcsDesti" + + "nation\"\252\026\n\036ModelMonitoringObjectiveConfi" + + "g\022i\n\020training_dataset\030\001 \001(\0132O.google.clo" + + "ud.aiplatform.v1beta1.ModelMonitoringObj" + + "ectiveConfig.TrainingDataset\022\230\001\n)trainin" + + "g_prediction_skew_detection_config\030\002 \001(\013" + + "2e.google.cloud.aiplatform.v1beta1.Model" + + "MonitoringObjectiveConfig.TrainingPredic" + + "tionSkewDetectionConfig\022\211\001\n!prediction_d" + + "rift_detection_config\030\003 \001(\0132^.google.clo" + + "ud.aiplatform.v1beta1.ModelMonitoringObj" + + "ectiveConfig.PredictionDriftDetectionCon" + + "fig\022m\n\022explanation_config\030\005 \001(\0132Q.google" + ".cloud.aiplatform.v1beta1.ModelMonitorin" - + "gObjectiveConfig.TrainingPredictionSkewD" - + "etectionConfig\022\211\001\n!prediction_drift_dete" - + "ction_config\030\003 \001(\0132^.google.cloud.aiplat" - + "form.v1beta1.ModelMonitoringObjectiveCon" - + "fig.PredictionDriftDetectionConfig\022m\n\022ex" - + "planation_config\030\005 \001(\0132Q.google.cloud.ai" - + "platform.v1beta1.ModelMonitoringObjectiv" - + "eConfig.ExplanationConfig\032\352\002\n\017TrainingDa" - + "taset\0229\n\007dataset\030\003 \001(\tB&\372A#\n!aiplatform." - + "googleapis.com/DatasetH\000\022@\n\ngcs_source\030\004" - + " \001(\0132*.google.cloud.aiplatform.v1beta1.G" - + "csSourceH\000\022J\n\017bigquery_source\030\005 \001(\0132/.go" - + "ogle.cloud.aiplatform.v1beta1.BigQuerySo" - + "urceH\000\022\023\n\013data_format\030\002 \001(\t\022\024\n\014target_fi" - + "eld\030\006 \001(\t\022T\n\031logging_sampling_strategy\030\007" - + " \001(\01321.google.cloud.aiplatform.v1beta1.S" - + "amplingStrategyB\r\n\013data_source\032\250\005\n%Train" - + "ingPredictionSkewDetectionConfig\022\222\001\n\017ske" - + "w_thresholds\030\001 \003(\0132y.google.cloud.aiplat" - + "form.v1beta1.ModelMonitoringObjectiveCon" - + "fig.TrainingPredictionSkewDetectionConfi" - + "g.SkewThresholdsEntry\022\265\001\n!attribution_sc" - + "ore_skew_thresholds\030\002 \003(\0132\211\001.google.clou" - + "d.aiplatform.v1beta1.ModelMonitoringObje" - + "ctiveConfig.TrainingPredictionSkewDetect" - + "ionConfig.AttributionScoreSkewThresholds" - + "Entry\022P\n\026default_skew_threshold\030\006 \001(\01320." - + "google.cloud.aiplatform.v1beta1.Threshol" - + "dConfig\032g\n\023SkewThresholdsEntry\022\013\n\003key\030\001 " - + "\001(\t\022?\n\005value\030\002 \001(\01320.google.cloud.aiplat" - + "form.v1beta1.ThresholdConfig:\0028\001\032w\n#Attr" - + "ibutionScoreSkewThresholdsEntry\022\013\n\003key\030\001" - + " \001(\t\022?\n\005value\030\002 \001(\01320.google.cloud.aipla" - + "tform.v1beta1.ThresholdConfig:\0028\001\032\232\005\n\036Pr" - + "edictionDriftDetectionConfig\022\215\001\n\020drift_t" - + "hresholds\030\001 \003(\0132s.google.cloud.aiplatfor" - + "m.v1beta1.ModelMonitoringObjectiveConfig" - + ".PredictionDriftDetectionConfig.DriftThr" - + "esholdsEntry\022\260\001\n\"attribution_score_drift" - + "_thresholds\030\002 \003(\0132\203\001.google.cloud.aiplat" - + "form.v1beta1.ModelMonitoringObjectiveCon" - + "fig.PredictionDriftDetectionConfig.Attri" - + "butionScoreDriftThresholdsEntry\022Q\n\027defau" - + "lt_drift_threshold\030\005 \001(\01320.google.cloud." - + "aiplatform.v1beta1.ThresholdConfig\032h\n\024Dr" - + "iftThresholdsEntry\022\013\n\003key\030\001 \001(\t\022?\n\005value" - + "\030\002 \001(\01320.google.cloud.aiplatform.v1beta1" - + ".ThresholdConfig:\0028\001\032x\n$AttributionScore" - + "DriftThresholdsEntry\022\013\n\003key\030\001 \001(\t\022?\n\005val" - + "ue\030\002 \001(\01320.google.cloud.aiplatform.v1bet" - + "a1.ThresholdConfig:\0028\001\032\321\004\n\021ExplanationCo" - + "nfig\022!\n\031enable_feature_attributes\030\001 \001(\010\022" - + "\203\001\n\024explanation_baseline\030\002 \001(\0132e.google." - + "cloud.aiplatform.v1beta1.ModelMonitoring" - + "ObjectiveConfig.ExplanationConfig.Explan" - + "ationBaseline\032\222\003\n\023ExplanationBaseline\022>\n" - + "\003gcs\030\002 \001(\0132/.google.cloud.aiplatform.v1b" - + "eta1.GcsDestinationH\000\022H\n\010bigquery\030\003 \001(\0132" - + "4.google.cloud.aiplatform.v1beta1.BigQue" - + "ryDestinationH\000\022\221\001\n\021prediction_format\030\001 " - + "\001(\0162v.google.cloud.aiplatform.v1beta1.Mo" - + "delMonitoringObjectiveConfig.Explanation" - + "Config.ExplanationBaseline.PredictionFor" - + "mat\"N\n\020PredictionFormat\022!\n\035PREDICTION_FO" - + "RMAT_UNSPECIFIED\020\000\022\t\n\005JSONL\020\002\022\014\n\010BIGQUER" - + "Y\020\003B\r\n\013destination\"\322\001\n\032ModelMonitoringAl" - + "ertConfig\022j\n\022email_alert_config\030\001 \001(\0132L." - + "google.cloud.aiplatform.v1beta1.ModelMon" - + "itoringAlertConfig.EmailAlertConfigH\000\022\026\n" - + "\016enable_logging\030\002 \001(\010\032\'\n\020EmailAlertConfi" - + "g\022\023\n\013user_emails\030\001 \003(\tB\007\n\005alert\"/\n\017Thres" - + "holdConfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthreshold" - + "\"\241\001\n\020SamplingStrategy\022b\n\024random_sample_c" - + "onfig\030\001 \001(\0132D.google.cloud.aiplatform.v1" - + "beta1.SamplingStrategy.RandomSampleConfi" - + "g\032)\n\022RandomSampleConfig\022\023\n\013sample_rate\030\001" - + " \001(\001B\361\001\n#com.google.cloud.aiplatform.v1b" - + "eta1B\024ModelMonitoringProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A" - + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:" - + ":V1beta1b\006proto3" + + "gObjectiveConfig.ExplanationConfig\032\352\002\n\017T" + + "rainingDataset\0229\n\007dataset\030\003 \001(\tB&\372A#\n!ai" + + "platform.googleapis.com/DatasetH\000\022@\n\ngcs" + + "_source\030\004 \001(\0132*.google.cloud.aiplatform." + + "v1beta1.GcsSourceH\000\022J\n\017bigquery_source\030\005" + + " \001(\0132/.google.cloud.aiplatform.v1beta1.B" + + "igQuerySourceH\000\022\023\n\013data_format\030\002 \001(\t\022\024\n\014" + + "target_field\030\006 \001(\t\022T\n\031logging_sampling_s" + + "trategy\030\007 \001(\01321.google.cloud.aiplatform." + + "v1beta1.SamplingStrategyB\r\n\013data_source\032" + + "\250\005\n%TrainingPredictionSkewDetectionConfi" + + "g\022\222\001\n\017skew_thresholds\030\001 \003(\0132y.google.clo" + + "ud.aiplatform.v1beta1.ModelMonitoringObj" + + "ectiveConfig.TrainingPredictionSkewDetec" + + "tionConfig.SkewThresholdsEntry\022\265\001\n!attri" + + "bution_score_skew_thresholds\030\002 \003(\0132\211\001.go" + + "ogle.cloud.aiplatform.v1beta1.ModelMonit" + + "oringObjectiveConfig.TrainingPredictionS" + + "kewDetectionConfig.AttributionScoreSkewT" + + "hresholdsEntry\022P\n\026default_skew_threshold" + + "\030\006 \001(\01320.google.cloud.aiplatform.v1beta1" + + ".ThresholdConfig\032g\n\023SkewThresholdsEntry\022" + + "\013\n\003key\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.clo" + + "ud.aiplatform.v1beta1.ThresholdConfig:\0028" + + "\001\032w\n#AttributionScoreSkewThresholdsEntry" + + "\022\013\n\003key\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.cl" + + "oud.aiplatform.v1beta1.ThresholdConfig:\002" + + "8\001\032\232\005\n\036PredictionDriftDetectionConfig\022\215\001" + + "\n\020drift_thresholds\030\001 \003(\0132s.google.cloud." + + "aiplatform.v1beta1.ModelMonitoringObject" + + "iveConfig.PredictionDriftDetectionConfig" + + ".DriftThresholdsEntry\022\260\001\n\"attribution_sc" + + "ore_drift_thresholds\030\002 \003(\0132\203\001.google.clo" + + "ud.aiplatform.v1beta1.ModelMonitoringObj" + + "ectiveConfig.PredictionDriftDetectionCon" + + "fig.AttributionScoreDriftThresholdsEntry" + + "\022Q\n\027default_drift_threshold\030\005 \001(\01320.goog" + + "le.cloud.aiplatform.v1beta1.ThresholdCon" + + "fig\032h\n\024DriftThresholdsEntry\022\013\n\003key\030\001 \001(\t" + + "\022?\n\005value\030\002 \001(\01320.google.cloud.aiplatfor" + + "m.v1beta1.ThresholdConfig:\0028\001\032x\n$Attribu" + + "tionScoreDriftThresholdsEntry\022\013\n\003key\030\001 \001" + + "(\t\022?\n\005value\030\002 \001(\01320.google.cloud.aiplatf" + + "orm.v1beta1.ThresholdConfig:\0028\001\032\321\004\n\021Expl" + + "anationConfig\022!\n\031enable_feature_attribut" + + "es\030\001 \001(\010\022\203\001\n\024explanation_baseline\030\002 \001(\0132" + + "e.google.cloud.aiplatform.v1beta1.ModelM" + + "onitoringObjectiveConfig.ExplanationConf" + + "ig.ExplanationBaseline\032\222\003\n\023ExplanationBa" + + "seline\022>\n\003gcs\030\002 \001(\0132/.google.cloud.aipla" + + "tform.v1beta1.GcsDestinationH\000\022H\n\010bigque" + + "ry\030\003 \001(\01324.google.cloud.aiplatform.v1bet" + + "a1.BigQueryDestinationH\000\022\221\001\n\021prediction_" + + "format\030\001 \001(\0162v.google.cloud.aiplatform.v" + + "1beta1.ModelMonitoringObjectiveConfig.Ex" + + "planationConfig.ExplanationBaseline.Pred" + + "ictionFormat\"N\n\020PredictionFormat\022!\n\035PRED" + + "ICTION_FORMAT_UNSPECIFIED\020\000\022\t\n\005JSONL\020\002\022\014" + + "\n\010BIGQUERY\020\003B\r\n\013destination\"\322\001\n\032ModelMon" + + "itoringAlertConfig\022j\n\022email_alert_config" + + "\030\001 \001(\0132L.google.cloud.aiplatform.v1beta1" + + ".ModelMonitoringAlertConfig.EmailAlertCo" + + "nfigH\000\022\026\n\016enable_logging\030\002 \001(\010\032\'\n\020EmailA" + + "lertConfig\022\023\n\013user_emails\030\001 \003(\tB\007\n\005alert" + + "\"/\n\017ThresholdConfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\t" + + "threshold\"\241\001\n\020SamplingStrategy\022b\n\024random" + + "_sample_config\030\001 \001(\0132D.google.cloud.aipl" + + "atform.v1beta1.SamplingStrategy.RandomSa" + + "mpleConfig\032)\n\022RandomSampleConfig\022\023\n\013samp" + + "le_rate\030\001 \001(\001B\361\001\n#com.google.cloud.aipla" + + "tform.v1beta1B\024ModelMonitoringProtoP\001ZIg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" + + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" + + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" + + "Platform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -213,7 +215,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ModelMonitoringConfig_descriptor, new java.lang.String[] { - "ObjectiveConfigs", "AlertConfig", "AnalysisInstanceSchemaUri", + "ObjectiveConfigs", + "AlertConfig", + "AnalysisInstanceSchemaUri", + "StatsAnomaliesBaseDirectory", }); internal_static_google_cloud_aiplatform_v1beta1_ModelMonitoringObjectiveConfig_descriptor = getDescriptor().getMessageTypes().get(1); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequest.java new file mode 100644 index 000000000..37d7fe216 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequest.java @@ -0,0 +1,947 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest} + */ +public final class RemoveDatapointsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) + RemoveDatapointsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveDatapointsRequest.newBuilder() to construct. + private RemoveDatapointsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveDatapointsRequest() { + index_ = ""; + datapointIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveDatapointsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveDatapointsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + index_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + datapointIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + datapointIds_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + datapointIds_ = datapointIds_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.class, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private volatile java.lang.Object index_; + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + @java.lang.Override + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATAPOINT_IDS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList datapointIds_; + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return A list containing the datapointIds. + */ + public com.google.protobuf.ProtocolStringList getDatapointIdsList() { + return datapointIds_; + } + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return The count of datapointIds. + */ + public int getDatapointIdsCount() { + return datapointIds_.size(); + } + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the element to return. + * @return The datapointIds at the given index. + */ + public java.lang.String getDatapointIds(int index) { + return datapointIds_.get(index); + } + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the datapointIds at the given index. + */ + public com.google.protobuf.ByteString getDatapointIdsBytes(int index) { + return datapointIds_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, index_); + } + for (int i = 0; i < datapointIds_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, datapointIds_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, index_); + } + { + int dataSize = 0; + for (int i = 0; i < datapointIds_.size(); i++) { + dataSize += computeStringSizeNoTag(datapointIds_.getRaw(i)); + } + size += dataSize; + size += 1 * getDatapointIdsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest other = + (com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) obj; + + if (!getIndex().equals(other.getIndex())) return false; + if (!getDatapointIdsList().equals(other.getDatapointIdsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex().hashCode(); + if (getDatapointIdsCount() > 0) { + hash = (37 * hash) + DATAPOINT_IDS_FIELD_NUMBER; + hash = (53 * hash) + getDatapointIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.class, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + index_ = ""; + + datapointIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest build() { + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest result = + new com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest(this); + int from_bitField0_ = bitField0_; + result.index_ = index_; + if (((bitField0_ & 0x00000001) != 0)) { + datapointIds_ = datapointIds_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.datapointIds_ = datapointIds_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest.getDefaultInstance()) + return this; + if (!other.getIndex().isEmpty()) { + index_ = other.index_; + onChanged(); + } + if (!other.datapointIds_.isEmpty()) { + if (datapointIds_.isEmpty()) { + datapointIds_ = other.datapointIds_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDatapointIdsIsMutable(); + datapointIds_.addAll(other.datapointIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object index_ = ""; + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + index_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearIndex() { + + index_ = getDefaultInstance().getIndex(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for index to set. + * @return This builder for chaining. + */ + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + index_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList datapointIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDatapointIdsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + datapointIds_ = new com.google.protobuf.LazyStringArrayList(datapointIds_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @return A list containing the datapointIds. + */ + public com.google.protobuf.ProtocolStringList getDatapointIdsList() { + return datapointIds_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @return The count of datapointIds. + */ + public int getDatapointIdsCount() { + return datapointIds_.size(); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the element to return. + * @return The datapointIds at the given index. + */ + public java.lang.String getDatapointIds(int index) { + return datapointIds_.get(index); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the datapointIds at the given index. + */ + public com.google.protobuf.ByteString getDatapointIdsBytes(int index) { + return datapointIds_.getByteString(index); + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index to set the value at. + * @param value The datapointIds to set. + * @return This builder for chaining. + */ + public Builder setDatapointIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointIdsIsMutable(); + datapointIds_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param value The datapointIds to add. + * @return This builder for chaining. + */ + public Builder addDatapointIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointIdsIsMutable(); + datapointIds_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param values The datapointIds to add. + * @return This builder for chaining. + */ + public Builder addAllDatapointIds(java.lang.Iterable values) { + ensureDatapointIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datapointIds_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @return This builder for chaining. + */ + public Builder clearDatapointIds() { + datapointIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of datapoint ids to be deleted.
+     * 
+ * + * repeated string datapoint_ids = 2; + * + * @param value The bytes of the datapointIds to add. + * @return This builder for chaining. + */ + public Builder addDatapointIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDatapointIdsIsMutable(); + datapointIds_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) + private static final com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDatapointsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDatapointsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequestOrBuilder.java new file mode 100644 index 000000000..28df5f6a7 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsRequestOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface RemoveDatapointsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.RemoveDatapointsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + java.lang.String getIndex(); + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + com.google.protobuf.ByteString getIndexBytes(); + + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return A list containing the datapointIds. + */ + java.util.List getDatapointIdsList(); + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @return The count of datapointIds. + */ + int getDatapointIdsCount(); + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the element to return. + * @return The datapointIds at the given index. + */ + java.lang.String getDatapointIds(int index); + /** + * + * + *
+   * A list of datapoint ids to be deleted.
+   * 
+ * + * repeated string datapoint_ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the datapointIds at the given index. + */ + com.google.protobuf.ByteString getDatapointIdsBytes(int index); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponse.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponse.java new file mode 100644 index 000000000..b0407574d --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponse.java @@ -0,0 +1,462 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse} + */ +public final class RemoveDatapointsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) + RemoveDatapointsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveDatapointsResponse.newBuilder() to construct. + private RemoveDatapointsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveDatapointsResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveDatapointsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveDatapointsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.class, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse other = + (com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.class, + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveDatapointsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse build() { + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse result = + new com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse other) { + if (other + == com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) + private static final com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDatapointsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDatapointsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponseOrBuilder.java new file mode 100644 index 000000000..3a65bc14b --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveDatapointsResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface RemoveDatapointsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.RemoveDatapointsResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SamplingStrategy.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SamplingStrategy.java index 140ee003e..c1b0c8bf8 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SamplingStrategy.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SamplingStrategy.java @@ -24,7 +24,6 @@ *
  * Sampling Strategy for logging, can be for both training and prediction
  * dataset.
- * Next ID: 2
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.SamplingStrategy} @@ -929,7 +928,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Sampling Strategy for logging, can be for both training and prediction
    * dataset.
-   * Next ID: 2
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.SamplingStrategy} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQuery.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQuery.java index 473cb8b43..3c75cbc5c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQuery.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQuery.java @@ -590,7 +590,7 @@ public int getAnnotationSpecCount() { * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* @@ -614,7 +614,7 @@ public java.lang.String getEtag() { * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* @@ -2276,7 +2276,7 @@ public Builder clearAnnotationSpecCount() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2299,7 +2299,7 @@ public java.lang.String getEtag() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2322,7 +2322,7 @@ public com.google.protobuf.ByteString getEtagBytes() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2344,7 +2344,7 @@ public Builder setEtag(java.lang.String value) { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* @@ -2362,7 +2362,7 @@ public Builder clearEtag() { * * *
-     * Used to perform consistent read-modify-write updates. If not set, a blind
+     * Used to perform a consistent read-modify-write update. If not set, a blind
      * "overwrite" update happens.
      * 
* diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryOrBuilder.java index a0b8d9eaa..4ccbace24 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryOrBuilder.java @@ -277,7 +277,7 @@ public interface SavedQueryOrBuilder * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* @@ -290,7 +290,7 @@ public interface SavedQueryOrBuilder * * *
-   * Used to perform consistent read-modify-write updates. If not set, a blind
+   * Used to perform a consistent read-modify-write update. If not set, a blind
    * "overwrite" update happens.
    * 
* diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequest.java index 89d4532a6..88cb2fff6 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequest.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequest.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required. The number of suggestions requested.
+   * Required. The number of suggestions requested. It must be positive.
    * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -730,7 +730,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The number of suggestions requested.
+     * Required. The number of suggestions requested. It must be positive.
      * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -745,7 +745,7 @@ public int getSuggestionCount() { * * *
-     * Required. The number of suggestions requested.
+     * Required. The number of suggestions requested. It must be positive.
      * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -763,7 +763,7 @@ public Builder setSuggestionCount(int value) { * * *
-     * Required. The number of suggestions requested.
+     * Required. The number of suggestions requested. It must be positive.
      * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequestOrBuilder.java index 263ae7d57..49bb771a3 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SuggestTrialsRequestOrBuilder.java @@ -58,7 +58,7 @@ public interface SuggestTrialsRequestOrBuilder * * *
-   * Required. The number of suggestions requested.
+   * Required. The number of suggestions requested. It must be positive.
    * 
* * int32 suggestion_count = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ThresholdConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ThresholdConfig.java index 25a953b78..0c9cc9315 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ThresholdConfig.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ThresholdConfig.java @@ -23,7 +23,6 @@ * *
  * The config for feature monitoring threshold.
- * Next ID: 3
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ThresholdConfig} @@ -387,7 +386,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The config for feature monitoring threshold.
-   * Next ID: 3
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.ThresholdConfig} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequest.java new file mode 100644 index 000000000..8d1b9261f --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequest.java @@ -0,0 +1,1171 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest} + */ +public final class UpsertDatapointsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) + UpsertDatapointsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpsertDatapointsRequest.newBuilder() to construct. + private UpsertDatapointsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpsertDatapointsRequest() { + index_ = ""; + datapoints_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpsertDatapointsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpsertDatapointsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + index_ = s; + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + datapoints_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + datapoints_.add( + input.readMessage( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + datapoints_ = java.util.Collections.unmodifiableList(datapoints_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.class, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.Builder.class); + } + + public static final int INDEX_FIELD_NUMBER = 1; + private volatile java.lang.Object index_; + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + @java.lang.Override + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATAPOINTS_FIELD_NUMBER = 2; + private java.util.List datapoints_; + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public java.util.List getDatapointsList() { + return datapoints_; + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public java.util.List + getDatapointsOrBuilderList() { + return datapoints_; + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public int getDatapointsCount() { + return datapoints_.size(); + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint getDatapoints(int index) { + return datapoints_.get(index); + } + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder getDatapointsOrBuilder( + int index) { + return datapoints_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, index_); + } + for (int i = 0; i < datapoints_.size(); i++) { + output.writeMessage(2, datapoints_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, index_); + } + for (int i = 0; i < datapoints_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, datapoints_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest other = + (com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) obj; + + if (!getIndex().equals(other.getIndex())) return false; + if (!getDatapointsList().equals(other.getDatapointsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INDEX_FIELD_NUMBER; + hash = (53 * hash) + getIndex().hashCode(); + if (getDatapointsCount() > 0) { + hash = (37 * hash) + DATAPOINTS_FIELD_NUMBER; + hash = (53 * hash) + getDatapointsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.class, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDatapointsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + index_ = ""; + + if (datapointsBuilder_ == null) { + datapoints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + datapointsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest build() { + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest result = + new com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest(this); + int from_bitField0_ = bitField0_; + result.index_ = index_; + if (datapointsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + datapoints_ = java.util.Collections.unmodifiableList(datapoints_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.datapoints_ = datapoints_; + } else { + result.datapoints_ = datapointsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest.getDefaultInstance()) + return this; + if (!other.getIndex().isEmpty()) { + index_ = other.index_; + onChanged(); + } + if (datapointsBuilder_ == null) { + if (!other.datapoints_.isEmpty()) { + if (datapoints_.isEmpty()) { + datapoints_ = other.datapoints_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDatapointsIsMutable(); + datapoints_.addAll(other.datapoints_); + } + onChanged(); + } + } else { + if (!other.datapoints_.isEmpty()) { + if (datapointsBuilder_.isEmpty()) { + datapointsBuilder_.dispose(); + datapointsBuilder_ = null; + datapoints_ = other.datapoints_; + bitField0_ = (bitField0_ & ~0x00000001); + datapointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDatapointsFieldBuilder() + : null; + } else { + datapointsBuilder_.addAllMessages(other.datapoints_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object index_ = ""; + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + public java.lang.String getIndex() { + java.lang.Object ref = index_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + index_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + public com.google.protobuf.ByteString getIndexBytes() { + java.lang.Object ref = index_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + index_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The index to set. + * @return This builder for chaining. + */ + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + index_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearIndex() { + + index_ = getDefaultInstance().getIndex(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the Index resource to be updated.
+     * Format:
+     * `projects/{project}/locations/{location}/indexes/{index}`
+     * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for index to set. + * @return This builder for chaining. + */ + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + index_ = value; + onChanged(); + return this; + } + + private java.util.List datapoints_ = + java.util.Collections.emptyList(); + + private void ensureDatapointsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + datapoints_ = + new java.util.ArrayList( + datapoints_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder> + datapointsBuilder_; + + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public java.util.List getDatapointsList() { + if (datapointsBuilder_ == null) { + return java.util.Collections.unmodifiableList(datapoints_); + } else { + return datapointsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public int getDatapointsCount() { + if (datapointsBuilder_ == null) { + return datapoints_.size(); + } else { + return datapointsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint getDatapoints(int index) { + if (datapointsBuilder_ == null) { + return datapoints_.get(index); + } else { + return datapointsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder setDatapoints( + int index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint value) { + if (datapointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointsIsMutable(); + datapoints_.set(index, value); + onChanged(); + } else { + datapointsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder setDatapoints( + int index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder builderForValue) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.set(index, builderForValue.build()); + onChanged(); + } else { + datapointsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints(com.google.cloud.aiplatform.v1beta1.IndexDatapoint value) { + if (datapointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointsIsMutable(); + datapoints_.add(value); + onChanged(); + } else { + datapointsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints( + int index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint value) { + if (datapointsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDatapointsIsMutable(); + datapoints_.add(index, value); + onChanged(); + } else { + datapointsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints( + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder builderForValue) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.add(builderForValue.build()); + onChanged(); + } else { + datapointsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder addDatapoints( + int index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder builderForValue) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.add(index, builderForValue.build()); + onChanged(); + } else { + datapointsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder addAllDatapoints( + java.lang.Iterable values) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, datapoints_); + onChanged(); + } else { + datapointsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder clearDatapoints() { + if (datapointsBuilder_ == null) { + datapoints_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + datapointsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public Builder removeDatapoints(int index) { + if (datapointsBuilder_ == null) { + ensureDatapointsIsMutable(); + datapoints_.remove(index); + onChanged(); + } else { + datapointsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder getDatapointsBuilder( + int index) { + return getDatapointsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder getDatapointsOrBuilder( + int index) { + if (datapointsBuilder_ == null) { + return datapoints_.get(index); + } else { + return datapointsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public java.util.List + getDatapointsOrBuilderList() { + if (datapointsBuilder_ != null) { + return datapointsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(datapoints_); + } + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder addDatapointsBuilder() { + return getDatapointsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.IndexDatapoint.getDefaultInstance()); + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder addDatapointsBuilder( + int index) { + return getDatapointsFieldBuilder() + .addBuilder( + index, com.google.cloud.aiplatform.v1beta1.IndexDatapoint.getDefaultInstance()); + } + /** + * + * + *
+     * A list of datapoints to be created/updated.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + public java.util.List + getDatapointsBuilderList() { + return getDatapointsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder> + getDatapointsFieldBuilder() { + if (datapointsBuilder_ == null) { + datapointsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.IndexDatapoint, + com.google.cloud.aiplatform.v1beta1.IndexDatapoint.Builder, + com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder>( + datapoints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + datapoints_ = null; + } + return datapointsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) + private static final com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpsertDatapointsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpsertDatapointsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequestOrBuilder.java new file mode 100644 index 000000000..b9168f723 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsRequestOrBuilder.java @@ -0,0 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface UpsertDatapointsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.UpsertDatapointsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The index. + */ + java.lang.String getIndex(); + /** + * + * + *
+   * Required. The name of the Index resource to be updated.
+   * Format:
+   * `projects/{project}/locations/{location}/indexes/{index}`
+   * 
+ * + * + * string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for index. + */ + com.google.protobuf.ByteString getIndexBytes(); + + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + java.util.List getDatapointsList(); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + com.google.cloud.aiplatform.v1beta1.IndexDatapoint getDatapoints(int index); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + int getDatapointsCount(); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + java.util.List + getDatapointsOrBuilderList(); + /** + * + * + *
+   * A list of datapoints to be created/updated.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.IndexDatapoint datapoints = 2; + */ + com.google.cloud.aiplatform.v1beta1.IndexDatapointOrBuilder getDatapointsOrBuilder(int index); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponse.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponse.java new file mode 100644 index 000000000..305c22761 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponse.java @@ -0,0 +1,462 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse} + */ +public final class UpsertDatapointsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) + UpsertDatapointsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpsertDatapointsResponse.newBuilder() to construct. + private UpsertDatapointsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpsertDatapointsResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpsertDatapointsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpsertDatapointsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.class, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse other = + (com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.class, + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.IndexServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_UpsertDatapointsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse build() { + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse result = + new com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse other) { + if (other + == com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) + private static final com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpsertDatapointsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpsertDatapointsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponseOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponseOrBuilder.java new file mode 100644 index 000000000..70cb5a973 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpsertDatapointsResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/index_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface UpsertDatapointsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.UpsertDatapointsResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto index a0b0a9ccf..3be59c059 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto @@ -399,8 +399,7 @@ message ListSavedQueriesRequest { // Response message for [DatasetService.ListSavedQueries][google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries]. message ListSavedQueriesResponse { - // A list of SavedQueries that matches the specified filter in the - // request. + // A list of SavedQueries that match the specified filter in the request. repeated SavedQuery saved_queries = 1; // The standard List next-page token. diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto index 9f844d53d..6dccd06e4 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto @@ -183,8 +183,8 @@ message ExplanationSpec { // Required. Parameters that configure explaining of the Model's predictions. ExplanationParameters parameters = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Metadata describing the Model's input and output for explanation. - ExplanationMetadata metadata = 2 [(google.api.field_behavior) = REQUIRED]; + // Optional. Metadata describing the Model's input and output for explanation. + ExplanationMetadata metadata = 2 [(google.api.field_behavior) = OPTIONAL]; } // Parameters to configure explaining for Model's predictions. @@ -229,7 +229,7 @@ message ExplanationParameters { // explaining. // // If not populated, returns attributions for [top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k] indices of outputs. - // If neither top_k nor output_indeices is populated, returns the argmax + // If neither top_k nor output_indices is populated, returns the argmax // index of the outputs. // // Only applicable to Models that predict multiple outputs (e,g, multi-class diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto index ea9bc6d16..f0e3c67a0 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto @@ -38,6 +38,21 @@ message Index { pattern: "projects/{project}/locations/{location}/indexes/{index}" }; + // The update method of an Index. + enum IndexUpdateMethod { + // Should not be used. + INDEX_UPDATE_METHOD_UNSPECIFIED = 0; + + // BatchUpdate: user can call UpdateIndex with files on Cloud Storage of + // datapoints to update. + BATCH_UPDATE = 1; + + // StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update + // the Index and the updates will be applied in corresponding + // DeployedIndexes in nearly real-time. + STREAM_UPDATE = 2; + } + // Output only. The resource name of the Index. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -93,4 +108,65 @@ message Index { // in the Index. Result of any successfully completed Operation on the Index // is reflected in it. google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Stats of the index resource. + IndexStats index_stats = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be + // used by default. + IndexUpdateMethod index_update_method = 16 [(google.api.field_behavior) = IMMUTABLE]; +} + +// A datapoint of Index. +message IndexDatapoint { + // Restriction of a datapoint which describe its attributes(tokens) from each + // of several attribute categories(namespaces). + message Restriction { + // The namespace of this restriction. eg: color. + string namespace = 1; + + // The attributes to allow in this namespace. eg: 'red' + repeated string allow_list = 2; + + // The attributes to deny in this namespace. eg: 'blue' + repeated string deny_list = 3; + } + + // Crowding tag is a constraint on a neighbor list produced by nearest + // neighbor search requiring that no more than some value k' of the k + // neighbors returned have the same value of crowding_attribute. + message CrowdingTag { + // The attribute value used for crowding. The maximum number of neighbors + // to return per crowding attribute value + // (per_crowding_attribute_num_neighbors) is configured per-query. This + // field is ignored if per_crowding_attribute_num_neighbors is larger than + // the total number of neighbors to return for a given query. + string crowding_attribute = 1; + } + + // Required. Unique identifier of the datapoint. + string datapoint_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Feature embedding vector. An array of numbers with the length of + // [NearestNeighborSearchConfig.dimensions]. + repeated float feature_vector = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. List of Restrict of the datapoint, used to perform "restricted searches" + // where boolean rule are used to filter the subset of the database eligible + // for matching. + // See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering + repeated Restriction restricts = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. CrowdingTag of the datapoint, the number of neighbors to return in each + // crowding can be configured during query. + CrowdingTag crowding_tag = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Stats of the Index. +message IndexStats { + // Output only. The number of vectors in the Index. + int64 vectors_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of shards in the Index. + int32 shards_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto index db6aaaa04..813f648c9 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto @@ -93,6 +93,22 @@ service IndexService { metadata_type: "DeleteOperationMetadata" }; } + + // Add/update Datapoints into an Index. + rpc UpsertDatapoints(UpsertDatapointsRequest) returns (UpsertDatapointsResponse) { + option (google.api.http) = { + post: "/v1beta1/{index=projects/*/locations/*/indexes/*}:upsertDatapoints" + body: "*" + }; + } + + // Remove Datapoints from an Index. + rpc RemoveDatapoints(RemoveDatapointsRequest) returns (RemoveDatapointsResponse) { + option (google.api.http) = { + post: "/v1beta1/{index=projects/*/locations/*/indexes/*}:removeDatapoints" + body: "*" + }; + } } // Request message for [IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex]. @@ -201,6 +217,48 @@ message DeleteIndexRequest { ]; } +// Request message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints] +message UpsertDatapointsRequest { + // Required. The name of the Index resource to be updated. + // Format: + // `projects/{project}/locations/{location}/indexes/{index}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Index" + } + ]; + + // A list of datapoints to be created/updated. + repeated IndexDatapoint datapoints = 2; +} + +// Response message for [IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints] +message UpsertDatapointsResponse { + +} + +// Request message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints] +message RemoveDatapointsRequest { + // Required. The name of the Index resource to be updated. + // Format: + // `projects/{project}/locations/{location}/indexes/{index}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Index" + } + ]; + + // A list of datapoint ids to be deleted. + repeated string datapoint_ids = 2; +} + +// Response message for [IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints] +message RemoveDatapointsResponse { + +} + // Runtime operation metadata with regard to Matching Engine Index. message NearestNeighborSearchOperationMetadata { message RecordError { diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto index 3456dc0ab..3dc687e5f 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto @@ -27,7 +27,7 @@ option java_package = "com.google.cloud.aiplatform.v1beta1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; -// Next ID: 5 +// The model monitoring configuration used for Batch Prediction Job. message ModelMonitoringConfig { // Model monitoring objective config. repeated ModelMonitoringObjectiveConfig objective_configs = 3; @@ -43,17 +43,24 @@ message ModelMonitoringConfig { // For models trained with Vertex AI, this field must be set as all the // fields in predict instance formatted as string. string analysis_instance_schema_uri = 4; + + // A Google Cloud Storage location for batch prediction model monitoring to + // dump statistics and anomalies. + // If not provided, a folder will be created in customer project to hold + // statistics and anomalies. + GcsDestination stats_anomalies_base_directory = 5; } -// Next ID: 8 +// The objective configuration for model monitoring, including the information +// needed to detect anomalies for one particular model. message ModelMonitoringObjectiveConfig { // Training Dataset information. message TrainingDataset { oneof data_source { // The resource name of the Dataset used to train this Model. string dataset = 3 [(google.api.resource_reference) = { - type: "aiplatform.googleapis.com/Dataset" - }]; + type: "aiplatform.googleapis.com/Dataset" + }]; // The Google Cloud Storage uri of the unmanaged Dataset used to train // this Model. @@ -128,8 +135,10 @@ message ModelMonitoringObjectiveConfig { // The config for integrating with Vertex Explainable AI. Only applicable if // the Model has explanation_spec populated. message ExplanationConfig { - // Output from [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] for Model Monitoring baseline dataset, - // which can be used to generate baseline attribution scores. + // Output from + // [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] + // for Model Monitoring baseline dataset, which can be used to generate + // baseline attribution scores. message ExplanationBaseline { // The storage format of the predictions generated BatchPrediction job. enum PredictionFormat { @@ -171,7 +180,8 @@ message ModelMonitoringObjectiveConfig { TrainingDataset training_dataset = 1; // The config for skew between training data and prediction data. - TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2; + TrainingPredictionSkewDetectionConfig + training_prediction_skew_detection_config = 2; // The config for drift of prediction data. PredictionDriftDetectionConfig prediction_drift_detection_config = 3; @@ -180,7 +190,6 @@ message ModelMonitoringObjectiveConfig { ExplanationConfig explanation_config = 5; } -// Next ID: 3 message ModelMonitoringAlertConfig { // The config for email alert. message EmailAlertConfig { @@ -202,7 +211,6 @@ message ModelMonitoringAlertConfig { } // The config for feature monitoring threshold. -// Next ID: 3 message ThresholdConfig { oneof threshold { // Specify a threshold value that can trigger the alert. @@ -219,7 +227,6 @@ message ThresholdConfig { // Sampling Strategy for logging, can be for both training and prediction // dataset. -// Next ID: 2 message SamplingStrategy { // Requests are randomly selected. message RandomSampleConfig { diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto index 1a9e07673..1af9d4b48 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto @@ -465,7 +465,7 @@ message MergeVersionAliasesRequest { // Required. The set of version aliases to merge. // The alias should be at most 128 characters, and match - // `[a-z][a-z0-9-]{0,126}[a-z-0-9]`. + // `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. // Add the `-` prefix to an alias means removing that alias from the version. // `-` is NOT counted in the 128 characters. Example: `-golden` means removing // the `golden` alias from the version. diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto index ca99c0394..da02d8a50 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto @@ -59,6 +59,7 @@ message SavedQuery { // Required. Problem type of the SavedQuery. // Allowed values: + // // * IMAGE_CLASSIFICATION_SINGLE_LABEL // * IMAGE_CLASSIFICATION_MULTI_LABEL // * IMAGE_BOUNDING_POLY @@ -74,7 +75,7 @@ message SavedQuery { // Output only. Number of AnnotationSpecs in the context of the SavedQuery. int32 annotation_spec_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Used to perform consistent read-modify-write updates. If not set, a blind + // Used to perform a consistent read-modify-write update. If not set, a blind // "overwrite" update happens. string etag = 8; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto index 079c514ab..88aec042e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto @@ -285,7 +285,7 @@ message SuggestTrialsRequest { } ]; - // Required. The number of suggestions requested. + // Required. The number of suggestions requested. It must be positive. int32 suggestion_count = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The identifier of the client that is requesting the suggestion. From def077e48fca7fedb788a9703dbc7e02f03c0f32 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 25 Aug 2022 15:08:13 +0000 Subject: [PATCH 13/20] feat: add read_mask to ListPipelineJobsRequest in aiplatform v1 pipeline_service (#1032) - [ ] Regenerate this pull request now. feat: add input_artifacts to PipelineJob.runtime_config in aiplatform v1 pipeline_job PiperOrigin-RevId: 469843667 Source-Link: https://github.com/googleapis/googleapis/commit/eb382eda1d3dfe5a3fe07b32f15a3a7dab266597 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7af72d71f16060f229b77ae7edc74da5cfb8ee79 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2FmNzJkNzFmMTYwNjBmMjI5Yjc3YWU3ZWRjNzRkYTVjZmI4ZWU3OSJ9 --- .../aiplatform/v1/PipelineServiceClient.java | 3 + .../v1/ListPipelineJobsRequest.java | 268 ++++ .../v1/ListPipelineJobsRequestOrBuilder.java | 35 + .../google/cloud/aiplatform/v1/Pipeline.java | 193 ++- .../cloud/aiplatform/v1/PipelineJob.java | 1429 ++++++++++++++++- .../aiplatform/v1/PipelineServiceProto.java | 141 +- .../v1/PipelineTaskExecutorDetail.java | 8 +- .../PipelineTaskExecutorDetailOrBuilder.java | 4 +- .../cloud/aiplatform/v1/pipeline_job.proto | 16 + .../aiplatform/v1/pipeline_service.proto | 3 + 10 files changed, 1914 insertions(+), 186 deletions(-) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java index 3e1c8484b..679ae810f 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java @@ -1157,6 +1157,7 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setOrderBy("orderBy-1207110587") + * .setReadMask(FieldMask.newBuilder().build()) * .build(); * for (PipelineJob element : pipelineServiceClient.listPipelineJobs(request).iterateAll()) { * // doThingsWith(element); @@ -1188,6 +1189,7 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setOrderBy("orderBy-1207110587") + * .setReadMask(FieldMask.newBuilder().build()) * .build(); * ApiFuture future = * pipelineServiceClient.listPipelineJobsPagedCallable().futureCall(request); @@ -1220,6 +1222,7 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setOrderBy("orderBy-1207110587") + * .setReadMask(FieldMask.newBuilder().build()) * .build(); * while (true) { * ListPipelineJobsResponse response = diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequest.java index 5c4e5895b..f362ce9ee 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequest.java @@ -104,6 +104,21 @@ private ListPipelineJobsRequest( java.lang.String s = input.readStringRequireUtf8(); orderBy_ = s; + break; + } + case 58: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + break; } default: @@ -446,6 +461,52 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int READ_MASK_FIELD_NUMBER = 7; + private com.google.protobuf.FieldMask readMask_; + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return Whether the readMask field is set. + */ + @java.lang.Override + public boolean hasReadMask() { + return readMask_ != null; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return The readMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getReadMask() { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + return getReadMask(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -475,6 +536,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, orderBy_); } + if (readMask_ != null) { + output.writeMessage(7, getReadMask()); + } unknownFields.writeTo(output); } @@ -499,6 +563,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } + if (readMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getReadMask()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -520,6 +587,10 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; + if (hasReadMask() != other.hasReadMask()) return false; + if (hasReadMask()) { + if (!getReadMask().equals(other.getReadMask())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -541,6 +612,10 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + if (hasReadMask()) { + hash = (37 * hash) + READ_MASK_FIELD_NUMBER; + hash = (53 * hash) + getReadMask().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -697,6 +772,12 @@ public Builder clear() { orderBy_ = ""; + if (readMaskBuilder_ == null) { + readMask_ = null; + } else { + readMask_ = null; + readMaskBuilder_ = null; + } return this; } @@ -729,6 +810,11 @@ public com.google.cloud.aiplatform.v1.ListPipelineJobsRequest buildPartial() { result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.orderBy_ = orderBy_; + if (readMaskBuilder_ == null) { + result.readMask_ = readMask_; + } else { + result.readMask_ = readMaskBuilder_.build(); + } onBuilt(); return result; } @@ -798,6 +884,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListPipelineJobsRequest orderBy_ = other.orderBy_; onChanged(); } + if (other.hasReadMask()) { + mergeReadMask(other.getReadMask()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1529,6 +1618,185 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.FieldMask readMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return Whether the readMask field is set. + */ + public boolean hasReadMask() { + return readMaskBuilder_ != null || readMask_ != null; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return The readMask. + */ + public com.google.protobuf.FieldMask getReadMask() { + if (readMaskBuilder_ == null) { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } else { + return readMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder setReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readMask_ = value; + onChanged(); + } else { + readMaskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (readMaskBuilder_ == null) { + readMask_ = builderForValue.build(); + onChanged(); + } else { + readMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder mergeReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (readMask_ != null) { + readMask_ = + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + } else { + readMask_ = value; + } + onChanged(); + } else { + readMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder clearReadMask() { + if (readMaskBuilder_ == null) { + readMask_ = null; + onChanged(); + } else { + readMask_ = null; + readMaskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { + + onChanged(); + return getReadMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + if (readMaskBuilder_ != null) { + return readMaskBuilder_.getMessageOrBuilder(); + } else { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getReadMaskFieldBuilder() { + if (readMaskBuilder_ == null) { + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); + readMask_ = null; + } + return readMaskBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequestOrBuilder.java index 3866f9a4f..0b8f6c95b 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListPipelineJobsRequestOrBuilder.java @@ -225,4 +225,39 @@ public interface ListPipelineJobsRequestOrBuilder * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return Whether the readMask field is set. + */ + boolean hasReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return The readMask. + */ + com.google.protobuf.FieldMask getReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java index db2b7f2a3..c4f855114 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -43,6 +47,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParameterValuesEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParameterValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifactsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_PipelineJob_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -109,7 +117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/pipeline_state.proto\032&google/cloud/aipl" + "atform/v1/value.proto\032\034google/protobuf/s" + "truct.proto\032\037google/protobuf/timestamp.p" - + "roto\032\027google/rpc/status.proto\"\210\014\n\013Pipeli" + + "roto\032\027google/rpc/status.proto\"\230\016\n\013Pipeli" + "neJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name" + "\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.google.pro" + "tobuf.TimestampB\003\340A\003\0223\n\nstart_time\030\004 \001(\013" @@ -132,7 +140,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eapis.com/Network\022\024\n\014template_uri\030\023 \001(\t\022" + "T\n\021template_metadata\030\024 \001(\01324.google.clou" + "d.aiplatform.v1.PipelineTemplateMetadata" - + "B\003\340A\003\032\350\003\n\rRuntimeConfig\022]\n\nparameters\030\001 " + + "B\003\340A\003\032\370\005\n\rRuntimeConfig\022]\n\nparameters\030\001 " + "\003(\0132E.google.cloud.aiplatform.v1.Pipelin" + "eJob.RuntimeConfig.ParametersEntryB\002\030\001\022!" + "\n\024gcs_output_directory\030\002 \001(\tB\003\340A\002\022d\n\020par" @@ -140,78 +148,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tform.v1.PipelineJob.RuntimeConfig.Param" + "eterValuesEntry\022I\n\016failure_policy\030\004 \001(\0162" + "1.google.cloud.aiplatform.v1.PipelineFai" - + "lurePolicy\032T\n\017ParametersEntry\022\013\n\003key\030\001 \001" - + "(\t\0220\n\005value\030\002 \001(\0132!.google.cloud.aiplatf" - + "orm.v1.Value:\0028\001\032N\n\024ParameterValuesEntry" - + "\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.pr" - + "otobuf.Value:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%aiplatform" - + ".googleapis.com/PipelineJob\022Cprojects/{p" - + "roject}/locations/{location}/pipelineJob" - + "s/{pipeline_job}\"+\n\030PipelineTemplateMeta" - + "data\022\017\n\007version\030\003 \001(\t\"\352\001\n\021PipelineJobDet" - + "ail\022B\n\020pipeline_context\030\001 \001(\0132#.google.c" - + "loud.aiplatform.v1.ContextB\003\340A\003\022F\n\024pipel" - + "ine_run_context\030\002 \001(\0132#.google.cloud.aip" - + "latform.v1.ContextB\003\340A\003\022I\n\014task_details\030" - + "\003 \003(\0132..google.cloud.aiplatform.v1.Pipel" - + "ineTaskDetailB\003\340A\003\"\235\013\n\022PipelineTaskDetai" - + "l\022\024\n\007task_id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_i" - + "d\030\014 \001(\003B\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013" - + "create_time\030\003 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022T\n\017ex" - + "ecutor_detail\030\006 \001(\01326.google.cloud.aipla" - + "tform.v1.PipelineTaskExecutorDetailB\003\340A\003" - + "\022H\n\005state\030\007 \001(\01624.google.cloud.aiplatfor" - + "m.v1.PipelineTaskDetail.StateB\003\340A\003\022=\n\tex" - + "ecution\030\010 \001(\0132%.google.cloud.aiplatform." - + "v1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\0132\022.googl" - + "e.rpc.StatusB\003\340A\003\022d\n\024pipeline_task_statu" - + "s\030\r \003(\0132A.google.cloud.aiplatform.v1.Pip" - + "elineTaskDetail.PipelineTaskStatusB\003\340A\003\022" - + "O\n\006inputs\030\n \003(\0132:.google.cloud.aiplatfor" - + "m.v1.PipelineTaskDetail.InputsEntryB\003\340A\003" - + "\022Q\n\007outputs\030\013 \003(\0132;.google.cloud.aiplatf" - + "orm.v1.PipelineTaskDetail.OutputsEntryB\003" - + "\340A\003\032\274\001\n\022PipelineTaskStatus\0224\n\013update_tim" - + "e\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022H\n\005state\030\002 \001(\01624.google.cloud.aiplatfor" - + "m.v1.PipelineTaskDetail.StateB\003\340A\003\022&\n\005er" - + "ror\030\003 \001(\0132\022.google.rpc.StatusB\003\340A\003\032L\n\014Ar" - + "tifactList\022<\n\tartifacts\030\001 \003(\0132$.google.c" - + "loud.aiplatform.v1.ArtifactB\003\340A\003\032j\n\013Inpu" - + "tsEntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.go" - + "ogle.cloud.aiplatform.v1.PipelineTaskDet" - + "ail.ArtifactList:\0028\001\032k\n\014OutputsEntry\022\013\n\003" - + "key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.cloud." - + "aiplatform.v1.PipelineTaskDetail.Artifac" - + "tList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED" - + "\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDE" - + "D\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022" - + "\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022" - + "\021\n\rNOT_TRIGGERED\020\t\"\354\003\n\032PipelineTaskExecu" - + "torDetail\022g\n\020container_detail\030\001 \001(\0132F.go" - + "ogle.cloud.aiplatform.v1.PipelineTaskExe" - + "cutorDetail.ContainerDetailB\003\340A\003H\000\022j\n\021cu" - + "stom_job_detail\030\002 \001(\0132F.google.cloud.aip" - + "latform.v1.PipelineTaskExecutorDetail.Cu" - + "stomJobDetailB\005\030\001\340A\003H\000\032\234\001\n\017ContainerDeta" - + "il\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform" - + ".googleapis.com/CustomJob\022J\n\025pre_caching" - + "_check_job\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.goo" - + "gleapis.com/CustomJob\032O\n\017CustomJobDetail" - + "\0228\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.google" - + "apis.com/CustomJob:\002\030\001B\t\n\007detailsB\235\002\n\036co" - + "m.google.cloud.aiplatform.v1B\010PipelineP\001" - + "ZDgoogle.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1;aiplatform\252\002\032Google." - + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla" - + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1" - + "\352AN\n\036compute.googleapis.com/Network\022,pro" - + "jects/{project}/global/networks/{network" - + "}b\006proto3" + + "lurePolicy\022b\n\017input_artifacts\030\005 \003(\0132I.go" + + "ogle.cloud.aiplatform.v1.PipelineJob.Run" + + "timeConfig.InputArtifactsEntry\032.\n\rInputA" + + "rtifact\022\025\n\013artifact_id\030\001 \001(\tH\000B\006\n\004kind\032T" + + "\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\0220\n\005value\030" + + "\002 \001(\0132!.google.cloud.aiplatform.v1.Value" + + ":\0028\001\032N\n\024ParameterValuesEntry\022\013\n\003key\030\001 \001(" + + "\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf.Value" + + ":\0028\001\032z\n\023InputArtifactsEntry\022\013\n\003key\030\001 \001(\t" + + "\022R\n\005value\030\002 \001(\0132C.google.cloud.aiplatfor" + + "m.v1.PipelineJob.RuntimeConfig.InputArti" + + "fact:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001:o\352Al\n%aiplatform.googlea" + + "pis.com/PipelineJob\022Cprojects/{project}/" + + "locations/{location}/pipelineJobs/{pipel" + + "ine_job}\"+\n\030PipelineTemplateMetadata\022\017\n\007" + + "version\030\003 \001(\t\"\352\001\n\021PipelineJobDetail\022B\n\020p" + + "ipeline_context\030\001 \001(\0132#.google.cloud.aip" + + "latform.v1.ContextB\003\340A\003\022F\n\024pipeline_run_" + + "context\030\002 \001(\0132#.google.cloud.aiplatform." + + "v1.ContextB\003\340A\003\022I\n\014task_details\030\003 \003(\0132.." + + "google.cloud.aiplatform.v1.PipelineTaskD" + + "etailB\003\340A\003\"\235\013\n\022PipelineTaskDetail\022\024\n\007tas" + + "k_id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id\030\014 \001(\003B" + + "\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013create_t" + + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022T\n\017executor_d" + + "etail\030\006 \001(\01326.google.cloud.aiplatform.v1" + + ".PipelineTaskExecutorDetailB\003\340A\003\022H\n\005stat" + + "e\030\007 \001(\01624.google.cloud.aiplatform.v1.Pip" + + "elineTaskDetail.StateB\003\340A\003\022=\n\texecution\030" + + "\010 \001(\0132%.google.cloud.aiplatform.v1.Execu" + + "tionB\003\340A\003\022&\n\005error\030\t \001(\0132\022.google.rpc.St" + + "atusB\003\340A\003\022d\n\024pipeline_task_status\030\r \003(\0132" + + "A.google.cloud.aiplatform.v1.PipelineTas" + + "kDetail.PipelineTaskStatusB\003\340A\003\022O\n\006input" + + "s\030\n \003(\0132:.google.cloud.aiplatform.v1.Pip" + + "elineTaskDetail.InputsEntryB\003\340A\003\022Q\n\007outp" + + "uts\030\013 \003(\0132;.google.cloud.aiplatform.v1.P" + + "ipelineTaskDetail.OutputsEntryB\003\340A\003\032\274\001\n\022" + + "PipelineTaskStatus\0224\n\013update_time\030\001 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022H\n\005stat" + + "e\030\002 \001(\01624.google.cloud.aiplatform.v1.Pip" + + "elineTaskDetail.StateB\003\340A\003\022&\n\005error\030\003 \001(" + + "\0132\022.google.rpc.StatusB\003\340A\003\032L\n\014ArtifactLi" + + "st\022<\n\tartifacts\030\001 \003(\0132$.google.cloud.aip" + + "latform.v1.ArtifactB\003\340A\003\032j\n\013InputsEntry\022" + + "\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.clo" + + "ud.aiplatform.v1.PipelineTaskDetail.Arti" + + "factList:\0028\001\032k\n\014OutputsEntry\022\013\n\003key\030\001 \001(" + + "\t\022J\n\005value\030\002 \001(\0132;.google.cloud.aiplatfo" + + "rm.v1.PipelineTaskDetail.ArtifactList:\0028" + + "\001\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PE" + + "NDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\022\n\016C" + + "ANCEL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCE" + + "LLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022\021\n\rNOT_T" + + "RIGGERED\020\t\"\354\003\n\032PipelineTaskExecutorDetai" + + "l\022g\n\020container_detail\030\001 \001(\0132F.google.clo" + + "ud.aiplatform.v1.PipelineTaskExecutorDet" + + "ail.ContainerDetailB\003\340A\003H\000\022j\n\021custom_job" + + "_detail\030\002 \001(\0132F.google.cloud.aiplatform." + + "v1.PipelineTaskExecutorDetail.CustomJobD" + + "etailB\005\030\001\340A\003H\000\032\234\001\n\017ContainerDetail\022=\n\010ma" + + "in_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googlea" + + "pis.com/CustomJob\022J\n\025pre_caching_check_j" + + "ob\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis." + + "com/CustomJob\032O\n\017CustomJobDetail\0228\n\003job\030" + + "\001 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis.com" + + "/CustomJob:\002\030\001B\t\n\007detailsB\235\002\n\036com.google" + + ".cloud.aiplatform.v1B\010PipelineP\001ZDgoogle" + + ".golang.org/genproto/googleapis/cloud/ai" + + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" + + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" + + "\352\002\035Google::Cloud::AIPlatform::V1\352AN\n\036com" + + "pute.googleapis.com/Network\022,projects/{p" + + "roject}/global/networks/{network}b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -260,12 +275,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor, new java.lang.String[] { - "Parameters", "GcsOutputDirectory", "ParameterValues", "FailurePolicy", + "Parameters", + "GcsOutputDirectory", + "ParameterValues", + "FailurePolicy", + "InputArtifacts", }); - internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_descriptor = internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor .getNestedTypes() .get(0); + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_descriptor, + new java.lang.String[] { + "ArtifactId", "Kind", + }); + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor + .getNestedTypes() + .get(1); internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParametersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor, @@ -275,13 +304,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParameterValuesEntry_descriptor = internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor .getNestedTypes() - .get(1); + .get(2); internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParameterValuesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_ParameterValuesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifactsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_aiplatform_v1_PipelineJob_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1_PipelineJob_descriptor.getNestedTypes().get(1); internal_static_google_cloud_aiplatform_v1_PipelineJob_LabelsEntry_fieldAccessorTable = diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java index b16f0b215..dff5a9237 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java @@ -586,6 +586,88 @@ com.google.protobuf.Value getParameterValuesOrDefault( * @return The failurePolicy. */ com.google.cloud.aiplatform.v1.PipelineFailurePolicy getFailurePolicy(); + + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + int getInputArtifactsCount(); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + boolean containsInputArtifacts(java.lang.String key); + /** Use {@link #getInputArtifactsMap()} instead. */ + @java.lang.Deprecated + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifacts(); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifactsMap(); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + + /* nullable */ + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact defaultValue); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact getInputArtifactsOrThrow( + java.lang.String key); } /** * @@ -689,6 +771,26 @@ private RuntimeConfig( failurePolicy_ = rawValue; break; } + case 42: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + inputArtifacts_ = + com.google.protobuf.MapField.newMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts__ = + input.readMessage( + InputArtifactsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + inputArtifacts_ + .getMutableMap() + .put(inputArtifacts__.getKey(), inputArtifacts__.getValue()); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -698,44 +800,921 @@ private RuntimeConfig( } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 1: + return internalGetParameters(); + case 3: + return internalGetParameterValues(); + case 5: + return internalGetInputArtifacts(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.class, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.Builder.class); + } + + public interface InputArtifactOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return Whether the artifactId field is set. + */ + boolean hasArtifactId(); + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The artifactId. + */ + java.lang.String getArtifactId(); + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The bytes for artifactId. + */ + com.google.protobuf.ByteString getArtifactIdBytes(); + + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact.KindCase + getKindCase(); + } + /** + * + * + *
+     * The type of an input artifact.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact} + */ + public static final class InputArtifact extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) + InputArtifactOrBuilder { + private static final long serialVersionUID = 0L; + // Use InputArtifact.newBuilder() to construct. + private InputArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InputArtifact() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InputArtifact(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InputArtifact( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 1; + kind_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact.class, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact.Builder + .class); + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public enum KindCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ARTIFACT_ID(1), + KIND_NOT_SET(0); + private final int value; + + private KindCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static KindCase valueOf(int value) { + return forNumber(value); + } + + public static KindCase forNumber(int value) { + switch (value) { + case 1: + return ARTIFACT_ID; + case 0: + return KIND_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return Whether the artifactId field is set. + */ + public boolean hasArtifactId() { + return kindCase_ == 1; + } + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The artifactId. + */ + public java.lang.String getArtifactId() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (kindCase_ == 1) { + kind_ = s; + } + return s; + } + } + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The bytes for artifactId. + */ + public com.google.protobuf.ByteString getArtifactIdBytes() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (kindCase_ == 1) { + kind_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (kindCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (kindCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact other = + (com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) obj; + + if (!getKindCase().equals(other.getKindCase())) return false; + switch (kindCase_) { + case 1: + if (!getArtifactId().equals(other.getArtifactId())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (kindCase_) { + case 1: + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * The type of an input artifact.
+       * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifactOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact.class, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + kindCase_ = 0; + kind_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact build() { + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + buildPartial() { + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact result = + new com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact(this); + if (kindCase_ == 1) { + result.kind_ = kind_; + } + result.kindCase_ = kindCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact other) { + if (other + == com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + .getDefaultInstance()) return this; + switch (other.getKindCase()) { + case ARTIFACT_ID: + { + kindCase_ = 1; + kind_ = other.kind_; + onChanged(); + break; + } + case KIND_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public Builder clearKind() { + kindCase_ = 0; + kind_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return Whether the artifactId field is set. + */ + @java.lang.Override + public boolean hasArtifactId() { + return kindCase_ == 1; + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return The artifactId. + */ + @java.lang.Override + public java.lang.String getArtifactId() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (kindCase_ == 1) { + kind_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return The bytes for artifactId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getArtifactIdBytes() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (kindCase_ == 1) { + kind_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @param value The artifactId to set. + * @return This builder for chaining. + */ + public Builder setArtifactId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kindCase_ = 1; + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearArtifactId() { + if (kindCase_ == 1) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @param value The bytes for artifactId to set. + * @return This builder for chaining. + */ + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kindCase_ = 1; + kind_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1.Pipeline - .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor; - } + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact) + private static final com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + DEFAULT_INSTANCE; - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 1: - return internalGetParameters(); - case 3: - return internalGetParameterValues(); - default: - throw new RuntimeException("Invalid map field number: " + number); + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact(); } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1.Pipeline - .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.class, - com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.Builder.class); + public static com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputArtifact(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } public static final int PARAMETERS_FIELD_NUMBER = 1; @@ -1110,6 +2089,146 @@ public com.google.cloud.aiplatform.v1.PipelineFailurePolicy getFailurePolicy() { : result; } + public static final int INPUT_ARTIFACTS_FIELD_NUMBER = 5; + + private static final class InputArtifactsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.aiplatform.v1.Pipeline + .internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + .getDefaultInstance()); + } + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + internalGetInputArtifacts() { + if (inputArtifacts_ == null) { + return com.google.protobuf.MapField.emptyMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + } + return inputArtifacts_; + } + + public int getInputArtifactsCount() { + return internalGetInputArtifacts().getMap().size(); + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public boolean containsInputArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetInputArtifacts().getMap().containsKey(key); + } + /** Use {@link #getInputArtifactsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifacts() { + return getInputArtifactsMap(); + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifactsMap() { + return internalGetInputArtifacts().getMap(); + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrDefault( + java.lang.String key, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1137,6 +2256,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(4, failurePolicy_); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetInputArtifacts(), InputArtifactsDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @@ -1177,6 +2298,21 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, failurePolicy_); } + for (java.util.Map.Entry< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + entry : internalGetInputArtifacts().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts__ = + InputArtifactsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, inputArtifacts__); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1197,6 +2333,7 @@ public boolean equals(final java.lang.Object obj) { if (!getGcsOutputDirectory().equals(other.getGcsOutputDirectory())) return false; if (!internalGetParameterValues().equals(other.internalGetParameterValues())) return false; if (failurePolicy_ != other.failurePolicy_) return false; + if (!internalGetInputArtifacts().equals(other.internalGetInputArtifacts())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1220,6 +2357,10 @@ public int hashCode() { } hash = (37 * hash) + FAILURE_POLICY_FIELD_NUMBER; hash = (53 * hash) + failurePolicy_; + if (!internalGetInputArtifacts().getMap().isEmpty()) { + hash = (37 * hash) + INPUT_ARTIFACTS_FIELD_NUMBER; + hash = (53 * hash) + internalGetInputArtifacts().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1348,6 +2489,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { return internalGetParameters(); case 3: return internalGetParameterValues(); + case 5: + return internalGetInputArtifacts(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -1360,6 +2503,8 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { return internalGetMutableParameters(); case 3: return internalGetMutableParameterValues(); + case 5: + return internalGetMutableInputArtifacts(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -1398,6 +2543,7 @@ public Builder clear() { internalGetMutableParameterValues().clear(); failurePolicy_ = 0; + internalGetMutableInputArtifacts().clear(); return this; } @@ -1432,6 +2578,8 @@ public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig buildPartial() { result.parameterValues_ = internalGetParameterValues(); result.parameterValues_.makeImmutable(); result.failurePolicy_ = failurePolicy_; + result.inputArtifacts_ = internalGetInputArtifacts(); + result.inputArtifacts_.makeImmutable(); onBuilt(); return result; } @@ -1493,6 +2641,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfi if (other.failurePolicy_ != 0) { setFailurePolicyValue(other.getFailurePolicyValue()); } + internalGetMutableInputArtifacts().mergeFrom(other.internalGetInputArtifacts()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2200,6 +3349,220 @@ public Builder clearFailurePolicy() { return this; } + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + internalGetInputArtifacts() { + if (inputArtifacts_ == null) { + return com.google.protobuf.MapField.emptyMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + } + return inputArtifacts_; + } + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + internalGetMutableInputArtifacts() { + onChanged(); + ; + if (inputArtifacts_ == null) { + inputArtifacts_ = + com.google.protobuf.MapField.newMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + } + if (!inputArtifacts_.isMutable()) { + inputArtifacts_ = inputArtifacts_.copy(); + } + return inputArtifacts_; + } + + public int getInputArtifactsCount() { + return internalGetInputArtifacts().getMap().size(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public boolean containsInputArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetInputArtifacts().getMap().containsKey(key); + } + /** Use {@link #getInputArtifactsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifacts() { + return getInputArtifactsMap(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifactsMap() { + return internalGetInputArtifacts().getMap(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrDefault( + java.lang.String key, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearInputArtifacts() { + internalGetMutableInputArtifacts().getMutableMap().clear(); + return this; + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + public Builder removeInputArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableInputArtifacts().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + getMutableInputArtifacts() { + return internalGetMutableInputArtifacts().getMutableMap(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + public Builder putInputArtifacts( + java.lang.String key, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableInputArtifacts().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + public Builder putAllInputArtifacts( + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact> + values) { + internalGetMutableInputArtifacts().getMutableMap().putAll(values); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java index 5b86a7b8e..a578abf45 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java @@ -120,78 +120,79 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "m.v1.PipelineJobB\003\340A\002\022\027\n\017pipeline_job_id" + "\030\003 \001(\t\"T\n\025GetPipelineJobRequest\022;\n\004name\030" + "\001 \001(\tB-\340A\002\372A\'\n%aiplatform.googleapis.com" - + "/PipelineJob\"\235\001\n\027ListPipelineJobsRequest" + + "/PipelineJob\"\314\001\n\027ListPipelineJobsRequest" + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + "leapis.com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tp" + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010or" - + "der_by\030\006 \001(\t\"s\n\030ListPipelineJobsResponse" - + "\022>\n\rpipeline_jobs\030\001 \003(\0132\'.google.cloud.a" - + "iplatform.v1.PipelineJob\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"W\n\030DeletePipelineJobRequest\022;\n" - + "\004name\030\001 \001(\tB-\340A\002\372A\'\n%aiplatform.googleap" - + "is.com/PipelineJob\"W\n\030CancelPipelineJobR" - + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%aiplatform" - + ".googleapis.com/PipelineJob2\374\020\n\017Pipeline" - + "Service\022\356\001\n\026CreateTrainingPipeline\0229.goo" - + "gle.cloud.aiplatform.v1.CreateTrainingPi" - + "pelineRequest\032,.google.cloud.aiplatform." - + "v1.TrainingPipeline\"k\202\323\344\223\002J\"5/v1/{parent" - + "=projects/*/locations/*}/trainingPipelin" - + "es:\021training_pipeline\332A\030parent,training_" - + "pipeline\022\301\001\n\023GetTrainingPipeline\0226.googl" - + "e.cloud.aiplatform.v1.GetTrainingPipelin" - + "eRequest\032,.google.cloud.aiplatform.v1.Tr" - + "ainingPipeline\"D\202\323\344\223\0027\0225/v1/{name=projec" - + "ts/*/locations/*/trainingPipelines/*}\332A\004" - + "name\022\324\001\n\025ListTrainingPipelines\0228.google." - + "cloud.aiplatform.v1.ListTrainingPipeline" - + "sRequest\0329.google.cloud.aiplatform.v1.Li" - + "stTrainingPipelinesResponse\"F\202\323\344\223\0027\0225/v1" - + "/{parent=projects/*/locations/*}/trainin" - + "gPipelines\332A\006parent\022\353\001\n\026DeleteTrainingPi" - + "peline\0229.google.cloud.aiplatform.v1.Dele" - + "teTrainingPipelineRequest\032\035.google.longr" - + "unning.Operation\"w\202\323\344\223\0027*5/v1/{name=proj" - + "ects/*/locations/*/trainingPipelines/*}\332" - + "A\004name\312A0\n\025google.protobuf.Empty\022\027Delete" - + "OperationMetadata\022\273\001\n\026CancelTrainingPipe" - + "line\0229.google.cloud.aiplatform.v1.Cancel" - + "TrainingPipelineRequest\032\026.google.protobu" - + "f.Empty\"N\202\323\344\223\002A\"\n\rpipeline_jobs\030\001 \003(\0132\'.google." + + "cloud.aiplatform.v1.PipelineJob\022\027\n\017next_" + + "page_token\030\002 \001(\t\"W\n\030DeletePipelineJobReq" + + "uest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%aiplatform.g" + + "oogleapis.com/PipelineJob\"W\n\030CancelPipel" + + "ineJobRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%aip" + + "latform.googleapis.com/PipelineJob2\374\020\n\017P" + + "ipelineService\022\356\001\n\026CreateTrainingPipelin" + + "e\0229.google.cloud.aiplatform.v1.CreateTra" + + "iningPipelineRequest\032,.google.cloud.aipl" + + "atform.v1.TrainingPipeline\"k\202\323\344\223\002J\"5/v1/" + + "{parent=projects/*/locations/*}/training" + + "Pipelines:\021training_pipeline\332A\030parent,tr" + + "aining_pipeline\022\301\001\n\023GetTrainingPipeline\022" + + "6.google.cloud.aiplatform.v1.GetTraining" + + "PipelineRequest\032,.google.cloud.aiplatfor" + + "m.v1.TrainingPipeline\"D\202\323\344\223\0027\0225/v1/{name" + + "=projects/*/locations/*/trainingPipeline" + + "s/*}\332A\004name\022\324\001\n\025ListTrainingPipelines\0228." + + "google.cloud.aiplatform.v1.ListTrainingP" + + "ipelinesRequest\0329.google.cloud.aiplatfor" + + "m.v1.ListTrainingPipelinesResponse\"F\202\323\344\223" + + "\0027\0225/v1/{parent=projects/*/locations/*}/" + + "trainingPipelines\332A\006parent\022\353\001\n\026DeleteTra" + + "iningPipeline\0229.google.cloud.aiplatform." + + "v1.DeleteTrainingPipelineRequest\032\035.googl" + + "e.longrunning.Operation\"w\202\323\344\223\0027*5/v1/{na" + + "me=projects/*/locations/*/trainingPipeli" + + "nes/*}\332A\004name\312A0\n\025google.protobuf.Empty\022" + + "\027DeleteOperationMetadata\022\273\001\n\026CancelTrain" + + "ingPipeline\0229.google.cloud.aiplatform.v1" + + ".CancelTrainingPipelineRequest\032\026.google." + + "protobuf.Empty\"N\202\323\344\223\002A\" * * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=359 * @return Whether the customJobDetail field is set. */ @java.lang.Override @@ -1941,7 +1941,7 @@ public boolean hasCustomJobDetail() { * * * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=359 * @return The customJobDetail. */ @java.lang.Override @@ -2631,7 +2631,7 @@ public Builder clearContainerDetail() { * * * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=359 * @return Whether the customJobDetail field is set. */ @java.lang.Override @@ -2651,7 +2651,7 @@ public boolean hasCustomJobDetail() { * * * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=359 * @return The customJobDetail. */ @java.lang.Override diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java index 19a55844d..101aa01d4 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java @@ -77,7 +77,7 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=359 * @return Whether the customJobDetail field is set. */ @java.lang.Deprecated @@ -94,7 +94,7 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=359 * @return The customJobDetail. */ @java.lang.Deprecated diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto index eb12aabfe..656a385b9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto @@ -50,6 +50,18 @@ message PipelineJob { // The runtime config of a PipelineJob. message RuntimeConfig { + // The type of an input artifact. + message InputArtifact { + oneof kind { + // Artifact resource id from MLMD. Which is the last portion of an + // artifact resource + // name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}). + // The artifact must stay within the same project, location and default + // metadatastore as the pipeline. + string artifact_id = 1; + } + } + // Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime // parameters of the PipelineJob. The parameters will be passed into // [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. @@ -81,6 +93,10 @@ message PipelineJob { // will stop scheduling any new tasks when a task has failed. Any scheduled // tasks will continue to completion. PipelineFailurePolicy failure_policy = 4; + + // The runtime artifacts of the PipelineJob. The key will be the input + // artifact name and the value would be one of the InputArtifact. + map input_artifacts = 5; } // Output only. The resource name of the PipelineJob. diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto index 84ab232de..41fef4668 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto @@ -366,6 +366,9 @@ message ListPipelineJobsRequest { // * `end_time` // * `start_time` string order_by = 6; + + // Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 7; } // Response message for [PipelineService.ListPipelineJobs][google.cloud.aiplatform.v1.PipelineService.ListPipelineJobs] From ec530d904887ac365bd4e6d1b0c775a639706c80 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 29 Aug 2022 15:36:21 +0200 Subject: [PATCH 14/20] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.15.0 (#1040) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.14.7` -> `2.15.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.15.0/compatibility-slim/2.14.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.15.0/confidence-slim/2.14.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-bigquery ### [`v2.15.0`](https://togithub.com/googleapis/java-bigquery/blob/HEAD/CHANGELOG.md#​2150-httpsgithubcomgoogleapisjava-bigquerycomparev2147v2150-2022-08-25) [Compare Source](https://togithub.com/googleapis/java-bigquery/compare/v2.14.7...v2.15.0) ##### Features - add preview support for default values ([#​2244](https://togithub.com/googleapis/java-bigquery/issues/2244)) ([fd3d3c5](https://togithub.com/googleapis/java-bigquery/commit/fd3d3c57afed84b4d00aab438d79472a6afa001b))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 8e8ae9114..d3d36f6f1 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.7 + 2.15.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 57531be5f..09e691645 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.14.7 + 2.15.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e7f4b106b..503dd5b99 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -65,7 +65,7 @@ com.google.cloud google-cloud-bigquery - 2.14.7 + 2.15.0 From 1b72b9d0a4cdff5372cf8bc588c1b38a3fbb3c30 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 30 Aug 2022 22:54:17 +0000 Subject: [PATCH 15/20] feat: add model_monitoring_stats_anomalies,model_monitoring_status to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto (#1041) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 470845818 Source-Link: https://github.com/googleapis/googleapis/commit/284389e2bdee94e0fd9858478f5ff1b3b7955f37 Source-Link: https://github.com/googleapis/googleapis-gen/commit/29deb79b04aea169a568e7c544868243d5161dde Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjlkZWI3OWIwNGFlYTE2OWE1NjhlN2M1NDQ4NjgyNDNkNTE2MWRkZSJ9 --- .../v1beta1/JobServiceClientTest.java | 8 + .../v1beta1/BatchPredictionJob.java | 871 ++++++++++++++++++ .../v1beta1/BatchPredictionJobOrBuilder.java | 107 +++ .../v1beta1/BatchPredictionJobProto.java | 156 ++-- .../v1beta1/batch_prediction_job.proto | 7 + 5 files changed, 1076 insertions(+), 73 deletions(-) diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java index 23f08574e..2fdc4bde2 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java @@ -1567,6 +1567,8 @@ public void createBatchPredictionJobTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build()) + .addAllModelMonitoringStatsAnomalies(new ArrayList()) + .setModelMonitoringStatus(Status.newBuilder().build()) .build(); mockJobService.addResponse(expectedResponse); @@ -1636,6 +1638,8 @@ public void createBatchPredictionJobTest2() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build()) + .addAllModelMonitoringStatsAnomalies(new ArrayList()) + .setModelMonitoringStatus(Status.newBuilder().build()) .build(); mockJobService.addResponse(expectedResponse); @@ -1705,6 +1709,8 @@ public void getBatchPredictionJobTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build()) + .addAllModelMonitoringStatsAnomalies(new ArrayList()) + .setModelMonitoringStatus(Status.newBuilder().build()) .build(); mockJobService.addResponse(expectedResponse); @@ -1773,6 +1779,8 @@ public void getBatchPredictionJobTest2() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelMonitoringConfig(ModelMonitoringConfig.newBuilder().build()) + .addAllModelMonitoringStatsAnomalies(new ArrayList()) + .setModelMonitoringStatus(Status.newBuilder().build()) .build(); mockJobService.addResponse(expectedResponse); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java index b0f14ec5a..251b287d7 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java @@ -48,6 +48,7 @@ private BatchPredictionJob() { serviceAccount_ = ""; state_ = 0; partialFailures_ = java.util.Collections.emptyList(); + modelMonitoringStatsAnomalies_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -428,6 +429,35 @@ private BatchPredictionJob( java.lang.String s = input.readStringRequireUtf8(); modelVersionId_ = s; + break; + } + case 250: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + modelMonitoringStatsAnomalies_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies>(); + mutable_bitField0_ |= 0x00000004; + } + modelMonitoringStatsAnomalies_.add( + input.readMessage( + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.parser(), + extensionRegistry)); + break; + } + case 258: + { + com.google.rpc.Status.Builder subBuilder = null; + if (modelMonitoringStatus_ != null) { + subBuilder = modelMonitoringStatus_.toBuilder(); + } + modelMonitoringStatus_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelMonitoringStatus_); + modelMonitoringStatus_ = subBuilder.buildPartial(); + } + break; } default: @@ -449,6 +479,10 @@ private BatchPredictionJob( if (((mutable_bitField0_ & 0x00000001) != 0)) { partialFailures_ = java.util.Collections.unmodifiableList(partialFailures_); } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + modelMonitoringStatsAnomalies_ = + java.util.Collections.unmodifiableList(modelMonitoringStatsAnomalies_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -6894,6 +6928,144 @@ public com.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig getModelMonitor return getModelMonitoringConfig(); } + public static final int MODEL_MONITORING_STATS_ANOMALIES_FIELD_NUMBER = 31; + private java.util.List + modelMonitoringStatsAnomalies_; + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + @java.lang.Override + public java.util.List + getModelMonitoringStatsAnomaliesList() { + return modelMonitoringStatsAnomalies_; + } + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder> + getModelMonitoringStatsAnomaliesOrBuilderList() { + return modelMonitoringStatsAnomalies_; + } + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + @java.lang.Override + public int getModelMonitoringStatsAnomaliesCount() { + return modelMonitoringStatsAnomalies_.size(); + } + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies + getModelMonitoringStatsAnomalies(int index) { + return modelMonitoringStatsAnomalies_.get(index); + } + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder + getModelMonitoringStatsAnomaliesOrBuilder(int index) { + return modelMonitoringStatsAnomalies_.get(index); + } + + public static final int MODEL_MONITORING_STATUS_FIELD_NUMBER = 32; + private com.google.rpc.Status modelMonitoringStatus_; + /** + * + * + *
+   * Output only. The running status of the model monitoring pipeline.
+   * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the modelMonitoringStatus field is set. + */ + @java.lang.Override + public boolean hasModelMonitoringStatus() { + return modelMonitoringStatus_ != null; + } + /** + * + * + *
+   * Output only. The running status of the model monitoring pipeline.
+   * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The modelMonitoringStatus. + */ + @java.lang.Override + public com.google.rpc.Status getModelMonitoringStatus() { + return modelMonitoringStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : modelMonitoringStatus_; + } + /** + * + * + *
+   * Output only. The running status of the model monitoring pipeline.
+   * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getModelMonitoringStatusOrBuilder() { + return getModelMonitoringStatus(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -6985,6 +7157,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, modelVersionId_); } + for (int i = 0; i < modelMonitoringStatsAnomalies_.size(); i++) { + output.writeMessage(31, modelMonitoringStatsAnomalies_.get(i)); + } + if (modelMonitoringStatus_ != null) { + output.writeMessage(32, getModelMonitoringStatus()); + } unknownFields.writeTo(output); } @@ -7084,6 +7262,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, modelVersionId_); } + for (int i = 0; i < modelMonitoringStatsAnomalies_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 31, modelMonitoringStatsAnomalies_.get(i)); + } + if (modelMonitoringStatus_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(32, getModelMonitoringStatus()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -7178,6 +7365,12 @@ public boolean equals(final java.lang.Object obj) { if (hasModelMonitoringConfig()) { if (!getModelMonitoringConfig().equals(other.getModelMonitoringConfig())) return false; } + if (!getModelMonitoringStatsAnomaliesList() + .equals(other.getModelMonitoringStatsAnomaliesList())) return false; + if (hasModelMonitoringStatus() != other.hasModelMonitoringStatus()) return false; + if (hasModelMonitoringStatus()) { + if (!getModelMonitoringStatus().equals(other.getModelMonitoringStatus())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7279,6 +7472,14 @@ public int hashCode() { hash = (37 * hash) + MODEL_MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getModelMonitoringConfig().hashCode(); } + if (getModelMonitoringStatsAnomaliesCount() > 0) { + hash = (37 * hash) + MODEL_MONITORING_STATS_ANOMALIES_FIELD_NUMBER; + hash = (53 * hash) + getModelMonitoringStatsAnomaliesList().hashCode(); + } + if (hasModelMonitoringStatus()) { + hash = (37 * hash) + MODEL_MONITORING_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getModelMonitoringStatus().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -7444,6 +7645,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPartialFailuresFieldBuilder(); + getModelMonitoringStatsAnomaliesFieldBuilder(); } } @@ -7573,6 +7775,18 @@ public Builder clear() { modelMonitoringConfig_ = null; modelMonitoringConfigBuilder_ = null; } + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + modelMonitoringStatsAnomalies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + modelMonitoringStatsAnomaliesBuilder_.clear(); + } + if (modelMonitoringStatusBuilder_ == null) { + modelMonitoringStatus_ = null; + } else { + modelMonitoringStatus_ = null; + modelMonitoringStatusBuilder_ = null; + } return this; } @@ -7704,6 +7918,21 @@ public com.google.cloud.aiplatform.v1beta1.BatchPredictionJob buildPartial() { } else { result.modelMonitoringConfig_ = modelMonitoringConfigBuilder_.build(); } + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + modelMonitoringStatsAnomalies_ = + java.util.Collections.unmodifiableList(modelMonitoringStatsAnomalies_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.modelMonitoringStatsAnomalies_ = modelMonitoringStatsAnomalies_; + } else { + result.modelMonitoringStatsAnomalies_ = modelMonitoringStatsAnomaliesBuilder_.build(); + } + if (modelMonitoringStatusBuilder_ == null) { + result.modelMonitoringStatus_ = modelMonitoringStatus_; + } else { + result.modelMonitoringStatus_ = modelMonitoringStatusBuilder_.build(); + } onBuilt(); return result; } @@ -7859,6 +8088,37 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.BatchPredictionJob if (other.hasModelMonitoringConfig()) { mergeModelMonitoringConfig(other.getModelMonitoringConfig()); } + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + if (!other.modelMonitoringStatsAnomalies_.isEmpty()) { + if (modelMonitoringStatsAnomalies_.isEmpty()) { + modelMonitoringStatsAnomalies_ = other.modelMonitoringStatsAnomalies_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.addAll(other.modelMonitoringStatsAnomalies_); + } + onChanged(); + } + } else { + if (!other.modelMonitoringStatsAnomalies_.isEmpty()) { + if (modelMonitoringStatsAnomaliesBuilder_.isEmpty()) { + modelMonitoringStatsAnomaliesBuilder_.dispose(); + modelMonitoringStatsAnomaliesBuilder_ = null; + modelMonitoringStatsAnomalies_ = other.modelMonitoringStatsAnomalies_; + bitField0_ = (bitField0_ & ~0x00000004); + modelMonitoringStatsAnomaliesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getModelMonitoringStatsAnomaliesFieldBuilder() + : null; + } else { + modelMonitoringStatsAnomaliesBuilder_.addAllMessages( + other.modelMonitoringStatsAnomalies_); + } + } + } + if (other.hasModelMonitoringStatus()) { + mergeModelMonitoringStatus(other.getModelMonitoringStatus()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -13011,6 +13271,617 @@ public Builder clearModelMonitoringConfig() { return modelMonitoringConfigBuilder_; } + private java.util.List + modelMonitoringStatsAnomalies_ = java.util.Collections.emptyList(); + + private void ensureModelMonitoringStatsAnomaliesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + modelMonitoringStatsAnomalies_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies>( + modelMonitoringStatsAnomalies_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder> + modelMonitoringStatsAnomaliesBuilder_; + + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public java.util.List + getModelMonitoringStatsAnomaliesList() { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + return java.util.Collections.unmodifiableList(modelMonitoringStatsAnomalies_); + } else { + return modelMonitoringStatsAnomaliesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public int getModelMonitoringStatsAnomaliesCount() { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + return modelMonitoringStatsAnomalies_.size(); + } else { + return modelMonitoringStatsAnomaliesBuilder_.getCount(); + } + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies + getModelMonitoringStatsAnomalies(int index) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + return modelMonitoringStatsAnomalies_.get(index); + } else { + return modelMonitoringStatsAnomaliesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder setModelMonitoringStatsAnomalies( + int index, com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies value) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.set(index, value); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder setModelMonitoringStatsAnomalies( + int index, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder builderForValue) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.set(index, builderForValue.build()); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder addModelMonitoringStatsAnomalies( + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies value) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.add(value); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder addModelMonitoringStatsAnomalies( + int index, com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies value) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.add(index, value); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder addModelMonitoringStatsAnomalies( + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder builderForValue) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.add(builderForValue.build()); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder addModelMonitoringStatsAnomalies( + int index, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder builderForValue) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.add(index, builderForValue.build()); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder addAllModelMonitoringStatsAnomalies( + java.lang.Iterable< + ? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies> + values) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + ensureModelMonitoringStatsAnomaliesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, modelMonitoringStatsAnomalies_); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder clearModelMonitoringStatsAnomalies() { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + modelMonitoringStatsAnomalies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public Builder removeModelMonitoringStatsAnomalies(int index) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + ensureModelMonitoringStatsAnomaliesIsMutable(); + modelMonitoringStatsAnomalies_.remove(index); + onChanged(); + } else { + modelMonitoringStatsAnomaliesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder + getModelMonitoringStatsAnomaliesBuilder(int index) { + return getModelMonitoringStatsAnomaliesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder + getModelMonitoringStatsAnomaliesOrBuilder(int index) { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + return modelMonitoringStatsAnomalies_.get(index); + } else { + return modelMonitoringStatsAnomaliesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder> + getModelMonitoringStatsAnomaliesOrBuilderList() { + if (modelMonitoringStatsAnomaliesBuilder_ != null) { + return modelMonitoringStatsAnomaliesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(modelMonitoringStatsAnomalies_); + } + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder + addModelMonitoringStatsAnomaliesBuilder() { + return getModelMonitoringStatsAnomaliesFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies + .getDefaultInstance()); + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder + addModelMonitoringStatsAnomaliesBuilder(int index) { + return getModelMonitoringStatsAnomaliesFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies + .getDefaultInstance()); + } + /** + * + * + *
+     * Get batch prediction job monitoring statistics.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + public java.util.List + getModelMonitoringStatsAnomaliesBuilderList() { + return getModelMonitoringStatsAnomaliesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder> + getModelMonitoringStatsAnomaliesFieldBuilder() { + if (modelMonitoringStatsAnomaliesBuilder_ == null) { + modelMonitoringStatsAnomaliesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.Builder, + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder>( + modelMonitoringStatsAnomalies_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + modelMonitoringStatsAnomalies_ = null; + } + return modelMonitoringStatsAnomaliesBuilder_; + } + + private com.google.rpc.Status modelMonitoringStatus_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + modelMonitoringStatusBuilder_; + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the modelMonitoringStatus field is set. + */ + public boolean hasModelMonitoringStatus() { + return modelMonitoringStatusBuilder_ != null || modelMonitoringStatus_ != null; + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The modelMonitoringStatus. + */ + public com.google.rpc.Status getModelMonitoringStatus() { + if (modelMonitoringStatusBuilder_ == null) { + return modelMonitoringStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : modelMonitoringStatus_; + } else { + return modelMonitoringStatusBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setModelMonitoringStatus(com.google.rpc.Status value) { + if (modelMonitoringStatusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + modelMonitoringStatus_ = value; + onChanged(); + } else { + modelMonitoringStatusBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setModelMonitoringStatus(com.google.rpc.Status.Builder builderForValue) { + if (modelMonitoringStatusBuilder_ == null) { + modelMonitoringStatus_ = builderForValue.build(); + onChanged(); + } else { + modelMonitoringStatusBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeModelMonitoringStatus(com.google.rpc.Status value) { + if (modelMonitoringStatusBuilder_ == null) { + if (modelMonitoringStatus_ != null) { + modelMonitoringStatus_ = + com.google.rpc.Status.newBuilder(modelMonitoringStatus_) + .mergeFrom(value) + .buildPartial(); + } else { + modelMonitoringStatus_ = value; + } + onChanged(); + } else { + modelMonitoringStatusBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearModelMonitoringStatus() { + if (modelMonitoringStatusBuilder_ == null) { + modelMonitoringStatus_ = null; + onChanged(); + } else { + modelMonitoringStatus_ = null; + modelMonitoringStatusBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.rpc.Status.Builder getModelMonitoringStatusBuilder() { + + onChanged(); + return getModelMonitoringStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.rpc.StatusOrBuilder getModelMonitoringStatusOrBuilder() { + if (modelMonitoringStatusBuilder_ != null) { + return modelMonitoringStatusBuilder_.getMessageOrBuilder(); + } else { + return modelMonitoringStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : modelMonitoringStatus_; + } + } + /** + * + * + *
+     * Output only. The running status of the model monitoring pipeline.
+     * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getModelMonitoringStatusFieldBuilder() { + if (modelMonitoringStatusBuilder_ == null) { + modelMonitoringStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getModelMonitoringStatus(), getParentForChildren(), isClean()); + modelMonitoringStatus_ = null; + } + return modelMonitoringStatusBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java index 2181a752e..b50354c86 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java @@ -1147,4 +1147,111 @@ java.lang.String getLabelsOrDefault( */ com.google.cloud.aiplatform.v1beta1.ModelMonitoringConfigOrBuilder getModelMonitoringConfigOrBuilder(); + + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + java.util.List + getModelMonitoringStatsAnomaliesList(); + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies + getModelMonitoringStatsAnomalies(int index); + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + int getModelMonitoringStatsAnomaliesCount(); + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder> + getModelMonitoringStatsAnomaliesOrBuilderList(); + /** + * + * + *
+   * Get batch prediction job monitoring statistics.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + * + */ + com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomaliesOrBuilder + getModelMonitoringStatsAnomaliesOrBuilder(int index); + + /** + * + * + *
+   * Output only. The running status of the model monitoring pipeline.
+   * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the modelMonitoringStatus field is set. + */ + boolean hasModelMonitoringStatus(); + /** + * + * + *
+   * Output only. The running status of the model monitoring pipeline.
+   * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The modelMonitoringStatus. + */ + com.google.rpc.Status getModelMonitoringStatus(); + /** + * + * + *
+   * Output only. The running status of the model monitoring pipeline.
+   * 
+ * + * + * .google.rpc.Status model_monitoring_status = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.rpc.StatusOrBuilder getModelMonitoringStatusOrBuilder(); } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java index 37ca9b46d..7f78cef8e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java @@ -69,79 +69,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".proto\0327google/cloud/aiplatform/v1beta1/" + "machine_resources.proto\032Dgoogle/cloud/ai" + "platform/v1beta1/manual_batch_tuning_par" - + "ameters.proto\0326google/cloud/aiplatform/v" - + "1beta1/model_monitoring.proto\032?google/cl" - + "oud/aiplatform/v1beta1/unmanaged_contain" - + "er_model.proto\032\034google/protobuf/struct.p" - + "roto\032\037google/protobuf/timestamp.proto\032\027g" - + "oogle/rpc/status.proto\"\373\022\n\022BatchPredicti" - + "onJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name" - + "\030\002 \001(\tB\003\340A\002\0223\n\005model\030\003 \001(\tB$\372A!\n\037aiplatf" - + "orm.googleapis.com/Model\022\035\n\020model_versio" - + "n_id\030\036 \001(\tB\003\340A\003\022[\n\031unmanaged_container_m" - + "odel\030\034 \001(\01328.google.cloud.aiplatform.v1b" - + "eta1.UnmanagedContainerModel\022Z\n\014input_co" - + "nfig\030\004 \001(\0132?.google.cloud.aiplatform.v1b" - + "eta1.BatchPredictionJob.InputConfigB\003\340A\002" - + "\0220\n\020model_parameters\030\005 \001(\0132\026.google.prot" - + "obuf.Value\022\\\n\routput_config\030\006 \001(\0132@.goog" - + "le.cloud.aiplatform.v1beta1.BatchPredict" - + "ionJob.OutputConfigB\003\340A\002\022U\n\023dedicated_re" - + "sources\030\007 \001(\01328.google.cloud.aiplatform." - + "v1beta1.BatchDedicatedResources\022\027\n\017servi" - + "ce_account\030\035 \001(\t\022i\n\036manual_batch_tuning_" - + "parameters\030\010 \001(\0132<.google.cloud.aiplatfo" - + "rm.v1beta1.ManualBatchTuningParametersB\003" - + "\340A\005\022\034\n\024generate_explanation\030\027 \001(\010\022J\n\020exp" - + "lanation_spec\030\031 \001(\01320.google.cloud.aipla" - + "tform.v1beta1.ExplanationSpec\022X\n\013output_" - + "info\030\t \001(\0132>.google.cloud.aiplatform.v1b" - + "eta1.BatchPredictionJob.OutputInfoB\003\340A\003\022" - + "=\n\005state\030\n \001(\0162).google.cloud.aiplatform" - + ".v1beta1.JobStateB\003\340A\003\022&\n\005error\030\013 \001(\0132\022." - + "google.rpc.StatusB\003\340A\003\0221\n\020partial_failur" - + "es\030\014 \003(\0132\022.google.rpc.StatusB\003\340A\003\022S\n\022res" - + "ources_consumed\030\r \001(\01322.google.cloud.aip" - + "latform.v1beta1.ResourcesConsumedB\003\340A\003\022O" - + "\n\020completion_stats\030\016 \001(\01320.google.cloud." - + "aiplatform.v1beta1.CompletionStatsB\003\340A\003\022" - + "4\n\013create_time\030\017 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0223\n\nstart_time\030\020 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\021" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\022 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022O\n\006labels\030\023 \003(\0132?.google.clo" - + "ud.aiplatform.v1beta1.BatchPredictionJob" - + ".LabelsEntry\022H\n\017encryption_spec\030\030 \001(\0132/." - + "google.cloud.aiplatform.v1beta1.Encrypti" - + "onSpec\022W\n\027model_monitoring_config\030\032 \001(\0132" - + "6.google.cloud.aiplatform.v1beta1.ModelM" - + "onitoringConfig\032\304\001\n\013InputConfig\022@\n\ngcs_s" - + "ource\030\002 \001(\0132*.google.cloud.aiplatform.v1" - + "beta1.GcsSourceH\000\022J\n\017bigquery_source\030\003 \001" - + "(\0132/.google.cloud.aiplatform.v1beta1.Big" - + "QuerySourceH\000\022\035\n\020instances_format\030\001 \001(\tB" - + "\003\340A\002B\010\n\006source\032\340\001\n\014OutputConfig\022J\n\017gcs_d" - + "estination\030\002 \001(\0132/.google.cloud.aiplatfo" - + "rm.v1beta1.GcsDestinationH\000\022T\n\024bigquery_" - + "destination\030\003 \001(\01324.google.cloud.aiplatf" - + "orm.v1beta1.BigQueryDestinationH\000\022\037\n\022pre" - + "dictions_format\030\001 \001(\tB\003\340A\002B\r\n\013destinatio" - + "n\032\220\001\n\nOutputInfo\022#\n\024gcs_output_directory" - + "\030\001 \001(\tB\003\340A\003H\000\022&\n\027bigquery_output_dataset" - + "\030\002 \001(\tB\003\340A\003H\000\022\"\n\025bigquery_output_table\030\004" - + " \001(\tB\003\340A\003B\021\n\017output_location\032-\n\013LabelsEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A" - + "\202\001\n,aiplatform.googleapis.com/BatchPredi" - + "ctionJob\022Rprojects/{project}/locations/{" - + "location}/batchPredictionJobs/{batch_pre" - + "diction_job}B\364\001\n#com.google.cloud.aiplat" - + "form.v1beta1B\027BatchPredictionJobProtoP\001Z" - + "Igoogle.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1beta1;aiplatform\252\002\037Goo" - + "gle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cl" - + "oud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::" - + "AIPlatform::V1beta1b\006proto3" + + "ameters.proto\032Egoogle/cloud/aiplatform/v" + + "1beta1/model_deployment_monitoring_job.p" + + "roto\0326google/cloud/aiplatform/v1beta1/mo" + + "del_monitoring.proto\032?google/cloud/aipla" + + "tform/v1beta1/unmanaged_container_model." + + "proto\032\034google/protobuf/struct.proto\032\037goo" + + "gle/protobuf/timestamp.proto\032\027google/rpc" + + "/status.proto\"\237\024\n\022BatchPredictionJob\022\021\n\004" + + "name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340" + + "A\002\0223\n\005model\030\003 \001(\tB$\372A!\n\037aiplatform.googl" + + "eapis.com/Model\022\035\n\020model_version_id\030\036 \001(" + + "\tB\003\340A\003\022[\n\031unmanaged_container_model\030\034 \001(" + + "\01328.google.cloud.aiplatform.v1beta1.Unma" + + "nagedContainerModel\022Z\n\014input_config\030\004 \001(" + + "\0132?.google.cloud.aiplatform.v1beta1.Batc" + + "hPredictionJob.InputConfigB\003\340A\002\0220\n\020model" + + "_parameters\030\005 \001(\0132\026.google.protobuf.Valu" + + "e\022\\\n\routput_config\030\006 \001(\0132@.google.cloud." + + "aiplatform.v1beta1.BatchPredictionJob.Ou" + + "tputConfigB\003\340A\002\022U\n\023dedicated_resources\030\007" + + " \001(\01328.google.cloud.aiplatform.v1beta1.B" + + "atchDedicatedResources\022\027\n\017service_accoun" + + "t\030\035 \001(\t\022i\n\036manual_batch_tuning_parameter" + + "s\030\010 \001(\0132<.google.cloud.aiplatform.v1beta" + + "1.ManualBatchTuningParametersB\003\340A\005\022\034\n\024ge" + + "nerate_explanation\030\027 \001(\010\022J\n\020explanation_" + + "spec\030\031 \001(\01320.google.cloud.aiplatform.v1b" + + "eta1.ExplanationSpec\022X\n\013output_info\030\t \001(" + + "\0132>.google.cloud.aiplatform.v1beta1.Batc" + + "hPredictionJob.OutputInfoB\003\340A\003\022=\n\005state\030" + + "\n \001(\0162).google.cloud.aiplatform.v1beta1." + + "JobStateB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.google.rp" + + "c.StatusB\003\340A\003\0221\n\020partial_failures\030\014 \003(\0132" + + "\022.google.rpc.StatusB\003\340A\003\022S\n\022resources_co" + + "nsumed\030\r \001(\01322.google.cloud.aiplatform.v" + + "1beta1.ResourcesConsumedB\003\340A\003\022O\n\020complet" + + "ion_stats\030\016 \001(\01320.google.cloud.aiplatfor" + + "m.v1beta1.CompletionStatsB\003\340A\003\0224\n\013create" + + "_time\030\017 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0223\n\nstart_time\030\020 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\0221\n\010end_time\030\021 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\022 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022O\n\006labels\030\023 \003(\0132?.google.cloud.aiplat" + + "form.v1beta1.BatchPredictionJob.LabelsEn" + + "try\022H\n\017encryption_spec\030\030 \001(\0132/.google.cl" + + "oud.aiplatform.v1beta1.EncryptionSpec\022W\n" + + "\027model_monitoring_config\030\032 \001(\01326.google." + + "cloud.aiplatform.v1beta1.ModelMonitoring" + + "Config\022h\n model_monitoring_stats_anomali" + + "es\030\037 \003(\0132>.google.cloud.aiplatform.v1bet" + + "a1.ModelMonitoringStatsAnomalies\0228\n\027mode" + + "l_monitoring_status\030 \001(\0132\022.google.rpc.S" + + "tatusB\003\340A\003\032\304\001\n\013InputConfig\022@\n\ngcs_source" + + "\030\002 \001(\0132*.google.cloud.aiplatform.v1beta1" + + ".GcsSourceH\000\022J\n\017bigquery_source\030\003 \001(\0132/." + + "google.cloud.aiplatform.v1beta1.BigQuery" + + "SourceH\000\022\035\n\020instances_format\030\001 \001(\tB\003\340A\002B" + + "\010\n\006source\032\340\001\n\014OutputConfig\022J\n\017gcs_destin" + + "ation\030\002 \001(\0132/.google.cloud.aiplatform.v1" + + "beta1.GcsDestinationH\000\022T\n\024bigquery_desti" + + "nation\030\003 \001(\01324.google.cloud.aiplatform.v" + + "1beta1.BigQueryDestinationH\000\022\037\n\022predicti" + + "ons_format\030\001 \001(\tB\003\340A\002B\r\n\013destination\032\220\001\n" + + "\nOutputInfo\022#\n\024gcs_output_directory\030\001 \001(" + + "\tB\003\340A\003H\000\022&\n\027bigquery_output_dataset\030\002 \001(" + + "\tB\003\340A\003H\000\022\"\n\025bigquery_output_table\030\004 \001(\tB" + + "\003\340A\003B\021\n\017output_location\032-\n\013LabelsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A\202\001\n,a" + + "iplatform.googleapis.com/BatchPrediction" + + "Job\022Rprojects/{project}/locations/{locat" + + "ion}/batchPredictionJobs/{batch_predicti" + + "on_job}B\364\001\n#com.google.cloud.aiplatform." + + "v1beta1B\027BatchPredictionJobProtoP\001ZIgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "aiplatform/v1beta1;aiplatform\252\002\037Google.C" + + "loud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\A" + + "IPlatform\\V1beta1\352\002\"Google::Cloud::AIPla" + + "tform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -156,6 +162,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.JobStateProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.MachineResourcesProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.ManualBatchTuningParametersProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJobProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.ModelMonitoringProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.UnmanagedContainerModelProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), @@ -194,6 +201,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "EncryptionSpec", "ModelMonitoringConfig", + "ModelMonitoringStatsAnomalies", + "ModelMonitoringStatus", }); internal_static_google_cloud_aiplatform_v1beta1_BatchPredictionJob_InputConfig_descriptor = internal_static_google_cloud_aiplatform_v1beta1_BatchPredictionJob_descriptor @@ -254,6 +263,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1beta1.JobStateProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.MachineResourcesProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.ManualBatchTuningParametersProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJobProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.ModelMonitoringProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.UnmanagedContainerModelProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto index 50b05edac..5141dfa27 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto @@ -25,6 +25,7 @@ import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/cloud/aiplatform/v1beta1/job_state.proto"; import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto"; +import "google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto"; import "google/cloud/aiplatform/v1beta1/model_monitoring.proto"; import "google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto"; import "google/protobuf/struct.proto"; @@ -304,4 +305,10 @@ message BatchPredictionJob { // the input and output to the batch prediction job, as well as the provided // training dataset. ModelMonitoringConfig model_monitoring_config = 26; + + // Get batch prediction job monitoring statistics. + repeated ModelMonitoringStatsAnomalies model_monitoring_stats_anomalies = 31; + + // Output only. The running status of the model monitoring pipeline. + google.rpc.Status model_monitoring_status = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; } From fd51bf0b3b3b125e55d1b6d4684e7648a1e64496 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 20:24:31 +0000 Subject: [PATCH 16/20] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#1042) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- README.md | 2 +- .../aiplatform/v1/DatasetServiceClient.java | 455 +++++--- .../aiplatform/v1/DatasetServiceSettings.java | 12 +- .../aiplatform/v1/EndpointServiceClient.java | 336 ++++-- .../v1/EndpointServiceSettings.java | 12 +- ...eaturestoreOnlineServingServiceClient.java | 133 ++- ...turestoreOnlineServingServiceSettings.java | 7 +- .../v1/FeaturestoreServiceClient.java | 826 +++++++++---- .../v1/FeaturestoreServiceSettings.java | 7 +- .../v1/IndexEndpointServiceClient.java | 357 ++++-- .../v1/IndexEndpointServiceSettings.java | 7 +- .../aiplatform/v1/IndexServiceClient.java | 287 +++-- .../aiplatform/v1/IndexServiceSettings.java | 12 +- .../cloud/aiplatform/v1/JobServiceClient.java | 959 ++++++++++----- .../aiplatform/v1/JobServiceSettings.java | 12 +- .../aiplatform/v1/MetadataServiceClient.java | 1036 ++++++++++++----- .../v1/MetadataServiceSettings.java | 12 +- .../aiplatform/v1/MigrationServiceClient.java | 168 ++- .../v1/MigrationServiceSettings.java | 12 +- .../aiplatform/v1/ModelServiceClient.java | 567 ++++++--- .../aiplatform/v1/ModelServiceSettings.java | 12 +- .../aiplatform/v1/PipelineServiceClient.java | 406 +++++-- .../v1/PipelineServiceSettings.java | 7 +- .../v1/PredictionServiceClient.java | 182 ++- .../v1/PredictionServiceSettings.java | 12 +- .../v1/SpecialistPoolServiceClient.java | 259 +++-- .../v1/SpecialistPoolServiceSettings.java | 7 +- .../v1/TensorboardServiceClient.java | 910 ++++++++++----- .../v1/TensorboardServiceSettings.java | 7 +- .../aiplatform/v1/VizierServiceClient.java | 476 +++++--- .../aiplatform/v1/VizierServiceSettings.java | 12 +- .../cloud/aiplatform/v1/package-info.java | 105 +- .../v1/stub/DatasetServiceStubSettings.java | 12 +- .../v1/stub/EndpointServiceStubSettings.java | 12 +- ...storeOnlineServingServiceStubSettings.java | 7 +- .../stub/FeaturestoreServiceStubSettings.java | 7 +- .../IndexEndpointServiceStubSettings.java | 7 +- .../v1/stub/IndexServiceStubSettings.java | 12 +- .../v1/stub/JobServiceStubSettings.java | 12 +- .../v1/stub/MetadataServiceStubSettings.java | 12 +- .../v1/stub/MigrationServiceStubSettings.java | 12 +- .../v1/stub/ModelServiceStubSettings.java | 12 +- .../v1/stub/PipelineServiceStubSettings.java | 7 +- .../stub/PredictionServiceStubSettings.java | 12 +- .../SpecialistPoolServiceStubSettings.java | 7 +- .../stub/TensorboardServiceStubSettings.java | 7 +- .../v1/stub/VizierServiceStubSettings.java | 12 +- .../v1beta1/DatasetServiceClient.java | 455 +++++--- .../v1beta1/DatasetServiceSettings.java | 12 +- .../DeploymentResourcePoolServiceClient.java | 259 +++-- ...DeploymentResourcePoolServiceSettings.java | 7 +- .../v1beta1/EndpointServiceClient.java | 336 ++++-- .../v1beta1/EndpointServiceSettings.java | 12 +- ...eaturestoreOnlineServingServiceClient.java | 161 ++- ...turestoreOnlineServingServiceSettings.java | 7 +- .../v1beta1/FeaturestoreServiceClient.java | 826 +++++++++---- .../v1beta1/FeaturestoreServiceSettings.java | 7 +- .../v1beta1/IndexEndpointServiceClient.java | 357 ++++-- .../v1beta1/IndexEndpointServiceSettings.java | 7 +- .../v1beta1/IndexServiceClient.java | 287 +++-- .../v1beta1/IndexServiceSettings.java | 12 +- .../aiplatform/v1beta1/JobServiceClient.java | 959 ++++++++++----- .../v1beta1/JobServiceSettings.java | 12 +- .../v1beta1/MetadataServiceClient.java | 1036 ++++++++++++----- .../v1beta1/MetadataServiceSettings.java | 12 +- .../v1beta1/MigrationServiceClient.java | 168 ++- .../v1beta1/MigrationServiceSettings.java | 12 +- .../v1beta1/ModelServiceClient.java | 602 +++++++--- .../v1beta1/ModelServiceSettings.java | 12 +- .../v1beta1/PipelineServiceClient.java | 406 +++++-- .../v1beta1/PipelineServiceSettings.java | 7 +- .../v1beta1/PredictionServiceClient.java | 182 ++- .../v1beta1/PredictionServiceSettings.java | 12 +- .../v1beta1/SpecialistPoolServiceClient.java | 259 +++-- .../SpecialistPoolServiceSettings.java | 7 +- .../v1beta1/TensorboardServiceClient.java | 910 ++++++++++----- .../v1beta1/TensorboardServiceSettings.java | 7 +- .../v1beta1/VizierServiceClient.java | 476 +++++--- .../v1beta1/VizierServiceSettings.java | 12 +- .../aiplatform/v1beta1/package-info.java | 112 +- .../stub/DatasetServiceStubSettings.java | 12 +- ...oymentResourcePoolServiceStubSettings.java | 7 +- .../stub/EndpointServiceStubSettings.java | 12 +- ...storeOnlineServingServiceStubSettings.java | 7 +- .../stub/FeaturestoreServiceStubSettings.java | 7 +- .../IndexEndpointServiceStubSettings.java | 7 +- .../stub/IndexServiceStubSettings.java | 12 +- .../v1beta1/stub/JobServiceStubSettings.java | 12 +- .../stub/MetadataServiceStubSettings.java | 12 +- .../stub/MigrationServiceStubSettings.java | 12 +- .../stub/ModelServiceStubSettings.java | 12 +- .../stub/PipelineServiceStubSettings.java | 7 +- .../stub/PredictionServiceStubSettings.java | 12 +- .../SpecialistPoolServiceStubSettings.java | 7 +- .../stub/TensorboardServiceStubSettings.java | 7 +- .../stub/VizierServiceStubSettings.java | 12 +- 96 files changed, 11242 insertions(+), 4627 deletions(-) diff --git a/README.md b/README.md index 75e306775..0a6655bc2 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ 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:26.1.0') +implementation platform('com.google.cloud:libraries-bom:26.1.1') implementation 'com.google.cloud:google-cloud-aiplatform' ``` diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java index fd783be91..7e47af0d7 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java @@ -56,8 +56,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
  *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
  *   Dataset response = datasetServiceClient.getDataset(name);
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceSettings datasetServiceSettings =
  *     DatasetServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DatasetServiceClient datasetServiceClient = DatasetServiceClient.create(datasetServiceSettings);
@@ -182,8 +191,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Dataset dataset = Dataset.newBuilder().build();
@@ -213,8 +225,11 @@ public final OperationFuture createData
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceSettings.Builder datasetServiceSettingsBuilder =
  *     DatasetServiceSettings.newBuilder();
  * datasetServiceSettingsBuilder
  *     .getDatasetSettings()
  *     .setRetrySettings(
- *         datasetServiceSettingsBuilder
- *             .getDatasetSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datasetServiceSettingsBuilder.getDatasetSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatasetServiceSettings datasetServiceSettings = datasetServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java
index 28ba86eed..e6d5e0591 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
  *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   Endpoint response = endpointServiceClient.getEndpoint(name);
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceSettings endpointServiceSettings =
  *     EndpointServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EndpointServiceClient endpointServiceClient =
@@ -185,8 +194,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Endpoint endpoint = Endpoint.newBuilder().build();
@@ -216,8 +228,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   String deployedModelId = "deployedModelId-1817547906";
@@ -1091,8 +1190,11 @@ public final UnaryCallable deployModelCallable()
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceSettings.Builder endpointServiceSettingsBuilder =
  *     EndpointServiceSettings.newBuilder();
  * endpointServiceSettingsBuilder
  *     .getEndpointSettings()
  *     .setRetrySettings(
- *         endpointServiceSettingsBuilder
- *             .getEndpointSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         endpointServiceSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EndpointServiceSettings endpointServiceSettings = endpointServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java
index 2084dcd03..e83729b4c 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServingServiceClient.java
@@ -50,8 +50,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
  *     FeaturestoreOnlineServingServiceClient.create()) {
  *   EntityTypeName entityType =
@@ -91,8 +94,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceSettings featurestoreOnlineServingServiceSettings =
  *     FeaturestoreOnlineServingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
@@ -177,8 +186,11 @@ public FeaturestoreOnlineServingServiceStub getStub() {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceSettings.Builder
  *     featurestoreOnlineServingServiceSettingsBuilder =
  *         FeaturestoreOnlineServingServiceSettings.newBuilder();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java
index d542ddc6c..6b8ae9970 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
  *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
  *   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceSettings featurestoreServiceSettings =
  *     FeaturestoreServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FeaturestoreServiceClient featurestoreServiceClient =
@@ -184,8 +193,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -216,8 +228,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -248,8 +263,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -290,8 +308,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -331,8 +352,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeaturestoreRequest request =
    *       CreateFeaturestoreRequest.newBuilder()
@@ -359,8 +383,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeaturestoreRequest request =
    *       CreateFeaturestoreRequest.newBuilder()
@@ -388,8 +415,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeaturestoreRequest request =
    *       CreateFeaturestoreRequest.newBuilder()
@@ -415,8 +445,11 @@ public final UnaryCallable createFeaturest
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name =
    *       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
@@ -2245,8 +2455,11 @@ public final Feature getFeature(String name) {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String entityType =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -2806,8 +3067,11 @@ public final UnaryCallable deleteFeatureCallabl
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String entityType =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -3182,8 +3473,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceSettings.Builder featurestoreServiceSettingsBuilder =
  *     FeaturestoreServiceSettings.newBuilder();
  * featurestoreServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java
index 50990a966..5f2e3e1db 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexEndpointServiceClient indexEndpointServiceClient =
  *     IndexEndpointServiceClient.create()) {
  *   IndexEndpointName name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]");
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceSettings indexEndpointServiceSettings =
  *     IndexEndpointServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IndexEndpointServiceClient indexEndpointServiceClient =
@@ -185,8 +194,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -218,8 +230,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -251,8 +266,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   CreateIndexEndpointRequest request =
@@ -279,8 +297,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   CreateIndexEndpointRequest request =
@@ -308,8 +329,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   CreateIndexEndpointRequest request =
@@ -335,8 +359,11 @@ public final UnaryCallable createIndexEnd
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceSettings.Builder indexEndpointServiceSettingsBuilder =
  *     IndexEndpointServiceSettings.newBuilder();
  * indexEndpointServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java
index 8778008d8..cc48b6cb7 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
  *   IndexName name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]");
  *   Index response = indexServiceClient.getIndex(name);
@@ -92,8 +95,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceSettings indexServiceSettings =
  *     IndexServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IndexServiceClient indexServiceClient = IndexServiceClient.create(indexServiceSettings);
@@ -180,8 +189,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Index index = Index.newBuilder().build();
@@ -211,8 +223,11 @@ public final OperationFuture createIndexAsy
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceSettings.Builder indexServiceSettingsBuilder = IndexServiceSettings.newBuilder();
  * indexServiceSettingsBuilder
  *     .getIndexSettings()
  *     .setRetrySettings(
- *         indexServiceSettingsBuilder
- *             .getIndexSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         indexServiceSettingsBuilder.getIndexSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IndexServiceSettings indexServiceSettings = indexServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java
index 86f9aeccf..4484658f1 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * JobServiceClient jobServiceClient = JobServiceClient.create(jobServiceSettings);
@@ -180,8 +189,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -210,8 +222,11 @@ public final CustomJob createCustomJob(LocationName parent, CustomJob customJob)
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createCustomJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createCustomJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createCustomJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java
index e6917b924..bd5089868 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
  *   MetadataStoreName name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
  *   MetadataStore response = metadataServiceClient.getMetadataStore(name);
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceSettings metadataServiceSettings =
  *     MetadataServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * MetadataServiceClient metadataServiceClient =
@@ -184,8 +193,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   MetadataStore metadataStore = MetadataStore.newBuilder().build();
@@ -227,8 +239,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   MetadataStore metadataStore = MetadataStore.newBuilder().build();
@@ -269,8 +284,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataStoreRequest request =
    *       CreateMetadataStoreRequest.newBuilder()
@@ -297,8 +315,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataStoreRequest request =
    *       CreateMetadataStoreRequest.newBuilder()
@@ -326,8 +347,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataStoreRequest request =
    *       CreateMetadataStoreRequest.newBuilder()
@@ -353,8 +377,11 @@ public final UnaryCallable createMetadata
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceSettings.Builder metadataServiceSettingsBuilder =
  *     MetadataServiceSettings.newBuilder();
  * metadataServiceSettingsBuilder
  *     .getMetadataStoreSettings()
  *     .setRetrySettings(
- *         metadataServiceSettingsBuilder
- *             .getMetadataStoreSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         metadataServiceSettingsBuilder.getMetadataStoreSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MetadataServiceSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java
index 187064dfa..f07d93a0d 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java
@@ -54,8 +54,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
  *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
  *   Location response = migrationServiceClient.getLocation(request);
@@ -92,8 +95,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceSettings migrationServiceSettings =
  *     MigrationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * MigrationServiceClient migrationServiceClient =
@@ -184,8 +193,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (MigratableResource element :
@@ -217,8 +229,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceSettings.Builder migrationServiceSettingsBuilder =
  *     MigrationServiceSettings.newBuilder();
  * migrationServiceSettingsBuilder
  *     .getLocationSettings()
  *     .setRetrySettings(
- *         migrationServiceSettingsBuilder
- *             .getLocationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         migrationServiceSettingsBuilder.getLocationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MigrationServiceSettings migrationServiceSettings = migrationServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java
index f0735d823..ace59387b 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
  *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
  *   Model response = modelServiceClient.getModel(name);
@@ -92,8 +95,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceSettings modelServiceSettings =
  *     ModelServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ModelServiceClient modelServiceClient = ModelServiceClient.create(modelServiceSettings);
@@ -180,8 +189,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Model model = Model.newBuilder().build();
@@ -211,8 +223,11 @@ public final OperationFuture
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   List versionAliases = new ArrayList<>();
@@ -1176,8 +1284,11 @@ public final Model mergeVersionAliases(ModelName name, List versionAlias
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   List versionAliases = new ArrayList<>();
@@ -1214,8 +1325,11 @@ public final Model mergeVersionAliases(String name, List versionAliases)
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceSettings.Builder modelServiceSettingsBuilder = ModelServiceSettings.newBuilder();
  * modelServiceSettingsBuilder
  *     .getModelSettings()
  *     .setRetrySettings(
- *         modelServiceSettingsBuilder
- *             .getModelSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         modelServiceSettingsBuilder.getModelSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ModelServiceSettings modelServiceSettings = modelServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java
index 679ae810f..04cfd2356 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -96,8 +99,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceSettings pipelineServiceSettings =
  *     PipelineServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PipelineServiceClient pipelineServiceClient =
@@ -187,8 +196,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -219,8 +231,11 @@ public final TrainingPipeline createTrainingPipeline(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceSettings.Builder pipelineServiceSettingsBuilder =
  *     PipelineServiceSettings.newBuilder();
  * pipelineServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java
index 642ed4e21..56db59f35 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java
@@ -51,8 +51,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
  *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   List instances = new ArrayList<>();
@@ -91,8 +94,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceSettings predictionServiceSettings =
  *     PredictionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PredictionServiceClient predictionServiceClient =
@@ -171,8 +180,11 @@ public PredictionServiceStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   List instances = new ArrayList<>();
@@ -216,8 +228,11 @@ public final PredictResponse predict(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   List instances = new ArrayList<>();
@@ -260,8 +275,11 @@ public final PredictResponse predict(String endpoint, List instances, Val
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   HttpBody httpBody = HttpBody.newBuilder().build();
@@ -378,8 +402,11 @@ public final HttpBody rawPredict(EndpointName endpoint, HttpBody httpBody) {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   List instances = new ArrayList<>();
@@ -557,8 +593,11 @@ public final ExplainResponse explain(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   List instances = new ArrayList<>();
@@ -616,8 +655,11 @@ public final ExplainResponse explain(
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceSettings.Builder predictionServiceSettingsBuilder =
  *     PredictionServiceSettings.newBuilder();
  * predictionServiceSettingsBuilder
  *     .predictSettings()
  *     .setRetrySettings(
- *         predictionServiceSettingsBuilder
- *             .predictSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         predictionServiceSettingsBuilder.predictSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PredictionServiceSettings predictionServiceSettings = predictionServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java
index 759759d88..9c638ad0e 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java
@@ -59,8 +59,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SpecialistPoolServiceClient specialistPoolServiceClient =
  *     SpecialistPoolServiceClient.create()) {
  *   SpecialistPoolName name =
@@ -99,8 +102,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceSettings specialistPoolServiceSettings =
  *     SpecialistPoolServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SpecialistPoolServiceClient specialistPoolServiceClient =
@@ -190,8 +199,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -223,8 +235,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -256,8 +271,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   CreateSpecialistPoolRequest request =
@@ -285,8 +303,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   CreateSpecialistPoolRequest request =
@@ -314,8 +335,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   CreateSpecialistPoolRequest request =
@@ -342,8 +366,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   SpecialistPoolName name =
@@ -371,8 +398,11 @@ public final SpecialistPool getSpecialistPool(SpecialistPoolName name) {
    * 

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

Sample code: * *

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

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

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceSettings.Builder specialistPoolServiceSettingsBuilder =
  *     SpecialistPoolServiceSettings.newBuilder();
  * specialistPoolServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java
index 609d7c607..0df0a0dad 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
  *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
  *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

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

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceSettings tensorboardServiceSettings =
  *     TensorboardServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TensorboardServiceClient tensorboardServiceClient =
@@ -185,8 +194,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   Tensorboard tensorboard = Tensorboard.newBuilder().build();
@@ -217,8 +229,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   Tensorboard tensorboard = Tensorboard.newBuilder().build();
@@ -246,8 +261,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRequest request =
    *       CreateTensorboardRequest.newBuilder()
@@ -273,8 +291,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRequest request =
    *       CreateTensorboardRequest.newBuilder()
@@ -301,8 +322,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRequest request =
    *       CreateTensorboardRequest.newBuilder()
@@ -327,8 +351,11 @@ public final UnaryCallable createTensorboar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -352,8 +379,11 @@ public final Tensorboard getTensorboard(TensorboardName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -376,8 +406,11 @@ public final Tensorboard getTensorboard(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRequest request =
    *       GetTensorboardRequest.newBuilder()
@@ -401,8 +434,11 @@ public final Tensorboard getTensorboard(GetTensorboardRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRequest request =
    *       GetTensorboardRequest.newBuilder()
@@ -426,8 +462,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   Tensorboard tensorboard = Tensorboard.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -462,8 +501,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRequest request =
    *       UpdateTensorboardRequest.newBuilder()
@@ -489,8 +531,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRequest request =
    *       UpdateTensorboardRequest.newBuilder()
@@ -517,8 +562,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRequest request =
    *       UpdateTensorboardRequest.newBuilder()
@@ -543,8 +591,11 @@ public final UnaryCallable updateTensorboar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
@@ -572,8 +623,11 @@ public final ListTensorboardsPagedResponse listTensorboards(LocationName parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
@@ -599,8 +653,11 @@ public final ListTensorboardsPagedResponse listTensorboards(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardsRequest request =
    *       ListTensorboardsRequest.newBuilder()
@@ -631,8 +688,11 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardsRequest request =
    *       ListTensorboardsRequest.newBuilder()
@@ -664,8 +724,11 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardsRequest request =
    *       ListTensorboardsRequest.newBuilder()
@@ -704,8 +767,11 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   tensorboardServiceClient.deleteTensorboardAsync(name).get();
@@ -732,8 +798,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   tensorboardServiceClient.deleteTensorboardAsync(name).get();
@@ -756,8 +825,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRequest request =
    *       DeleteTensorboardRequest.newBuilder()
@@ -782,8 +854,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRequest request =
    *       DeleteTensorboardRequest.newBuilder()
@@ -808,8 +883,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRequest request =
    *       DeleteTensorboardRequest.newBuilder()
@@ -833,8 +911,11 @@ public final UnaryCallable deleteTensorboar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -875,8 +956,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -916,8 +1000,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardExperimentRequest request =
    *       CreateTensorboardExperimentRequest.newBuilder()
@@ -948,8 +1035,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardExperimentRequest request =
    *       CreateTensorboardExperimentRequest.newBuilder()
@@ -979,8 +1069,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -1007,8 +1100,11 @@ public final TensorboardExperiment getTensorboardExperiment(TensorboardExperimen
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -1034,8 +1130,11 @@ public final TensorboardExperiment getTensorboardExperiment(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardExperimentRequest request =
    *       GetTensorboardExperimentRequest.newBuilder()
@@ -1063,8 +1162,11 @@ public final TensorboardExperiment getTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardExperimentRequest request =
    *       GetTensorboardExperimentRequest.newBuilder()
@@ -1092,8 +1194,11 @@ public final TensorboardExperiment getTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperiment tensorboardExperiment = TensorboardExperiment.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1129,8 +1234,11 @@ public final TensorboardExperiment updateTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardExperimentRequest request =
    *       UpdateTensorboardExperimentRequest.newBuilder()
@@ -1157,8 +1265,11 @@ public final TensorboardExperiment updateTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardExperimentRequest request =
    *       UpdateTensorboardExperimentRequest.newBuilder()
@@ -1184,8 +1295,11 @@ public final TensorboardExperiment updateTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   for (TensorboardExperiment element :
@@ -1215,8 +1329,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   for (TensorboardExperiment element :
@@ -1243,8 +1360,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardExperimentsRequest request =
    *       ListTensorboardExperimentsRequest.newBuilder()
@@ -1277,8 +1397,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardExperimentsRequest request =
    *       ListTensorboardExperimentsRequest.newBuilder()
@@ -1311,8 +1434,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardExperimentsRequest request =
    *       ListTensorboardExperimentsRequest.newBuilder()
@@ -1351,8 +1477,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -1380,8 +1509,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -1408,8 +1540,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardExperimentRequest request =
    *       DeleteTensorboardExperimentRequest.newBuilder()
@@ -1437,8 +1572,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardExperimentRequest request =
    *       DeleteTensorboardExperimentRequest.newBuilder()
@@ -1468,8 +1606,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardExperimentRequest request =
    *       DeleteTensorboardExperimentRequest.newBuilder()
@@ -1497,8 +1638,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName parent =
    *       TensorboardRunName.of(
@@ -1537,8 +1681,11 @@ public final TensorboardRun createTensorboardRun(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -1577,8 +1724,11 @@ public final TensorboardRun createTensorboardRun(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRunRequest request =
    *       CreateTensorboardRunRequest.newBuilder()
@@ -1607,8 +1757,11 @@ public final TensorboardRun createTensorboardRun(CreateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRunRequest request =
    *       CreateTensorboardRunRequest.newBuilder()
@@ -1638,8 +1791,11 @@ public final TensorboardRun createTensorboardRun(CreateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -1674,8 +1830,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -1711,8 +1870,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardRunsRequest request =
    *       BatchCreateTensorboardRunsRequest.newBuilder()
@@ -1742,8 +1904,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardRunsRequest request =
    *       BatchCreateTensorboardRunsRequest.newBuilder()
@@ -1772,8 +1937,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName name =
    *       TensorboardRunName.of(
@@ -1801,8 +1969,11 @@ public final TensorboardRun getTensorboardRun(TensorboardRunName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -1827,8 +1998,11 @@ public final TensorboardRun getTensorboardRun(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRunRequest request =
    *       GetTensorboardRunRequest.newBuilder()
@@ -1855,8 +2029,11 @@ public final TensorboardRun getTensorboardRun(GetTensorboardRunRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRunRequest request =
    *       GetTensorboardRunRequest.newBuilder()
@@ -1883,8 +2060,11 @@ public final UnaryCallable getTensorbo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRun tensorboardRun = TensorboardRun.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1920,8 +2100,11 @@ public final TensorboardRun updateTensorboardRun(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRunRequest request =
    *       UpdateTensorboardRunRequest.newBuilder()
@@ -1946,8 +2129,11 @@ public final TensorboardRun updateTensorboardRun(UpdateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRunRequest request =
    *       UpdateTensorboardRunRequest.newBuilder()
@@ -1973,8 +2159,11 @@ public final TensorboardRun updateTensorboardRun(UpdateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -2006,8 +2195,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -2037,8 +2229,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(String parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardRunsRequest request =
    *       ListTensorboardRunsRequest.newBuilder()
@@ -2074,8 +2269,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardRunsRequest request =
    *       ListTensorboardRunsRequest.newBuilder()
@@ -2110,8 +2308,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardRunsRequest request =
    *       ListTensorboardRunsRequest.newBuilder()
@@ -2153,8 +2354,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName name =
    *       TensorboardRunName.of(
@@ -2183,8 +2387,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -2211,8 +2418,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRunRequest request =
    *       DeleteTensorboardRunRequest.newBuilder()
@@ -2240,8 +2450,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRunRequest request =
    *       DeleteTensorboardRunRequest.newBuilder()
@@ -2269,8 +2482,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRunRequest request =
    *       DeleteTensorboardRunRequest.newBuilder()
@@ -2298,8 +2514,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -2336,8 +2555,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -2375,8 +2597,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardTimeSeriesRequest request =
    *       BatchCreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2406,8 +2631,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardTimeSeriesRequest request =
    *       BatchCreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2437,8 +2665,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName parent =
    *       TensorboardTimeSeriesName.of(
@@ -2472,8 +2703,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardTimeSeriesName.of(
@@ -2513,8 +2747,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardTimeSeriesRequest request =
    *       CreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2550,8 +2787,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardTimeSeriesRequest request =
    *       CreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2586,8 +2826,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName name =
    *       TensorboardTimeSeriesName.of(
@@ -2615,8 +2858,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(TensorboardTimeSerie
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardTimeSeriesName.of(
@@ -2648,8 +2894,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardTimeSeriesRequest request =
    *       GetTensorboardTimeSeriesRequest.newBuilder()
@@ -2682,8 +2931,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardTimeSeriesRequest request =
    *       GetTensorboardTimeSeriesRequest.newBuilder()
@@ -2716,8 +2968,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeries tensorboardTimeSeries = TensorboardTimeSeries.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2753,8 +3008,11 @@ public final TensorboardTimeSeries updateTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardTimeSeriesRequest request =
    *       UpdateTensorboardTimeSeriesRequest.newBuilder()
@@ -2781,8 +3039,11 @@ public final TensorboardTimeSeries updateTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardTimeSeriesRequest request =
    *       UpdateTensorboardTimeSeriesRequest.newBuilder()
@@ -2808,8 +3069,11 @@ public final TensorboardTimeSeries updateTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName parent =
    *       TensorboardRunName.of(
@@ -2842,8 +3106,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -2873,8 +3140,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardTimeSeriesRequest request =
    *       ListTensorboardTimeSeriesRequest.newBuilder()
@@ -2910,8 +3180,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardTimeSeriesRequest request =
    *       ListTensorboardTimeSeriesRequest.newBuilder()
@@ -2947,8 +3220,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardTimeSeriesRequest request =
    *       ListTensorboardTimeSeriesRequest.newBuilder()
@@ -2990,8 +3266,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName name =
    *       TensorboardTimeSeriesName.of(
@@ -3020,8 +3299,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardTimeSeriesName.of(
@@ -3054,8 +3336,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardTimeSeriesRequest request =
    *       DeleteTensorboardTimeSeriesRequest.newBuilder()
@@ -3088,8 +3373,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardTimeSeriesRequest request =
    *       DeleteTensorboardTimeSeriesRequest.newBuilder()
@@ -3124,8 +3412,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardTimeSeriesRequest request =
    *       DeleteTensorboardTimeSeriesRequest.newBuilder()
@@ -3161,8 +3452,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName tensorboard = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   BatchReadTensorboardTimeSeriesDataResponse response =
@@ -3197,8 +3491,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboard =
    *       TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
@@ -3232,8 +3529,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchReadTensorboardTimeSeriesDataRequest request =
    *       BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3264,8 +3564,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchReadTensorboardTimeSeriesDataRequest request =
    *       BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3296,8 +3599,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3332,8 +3638,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3373,8 +3682,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ReadTensorboardTimeSeriesDataRequest request =
    *       ReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3413,8 +3725,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ReadTensorboardTimeSeriesDataRequest request =
    *       ReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3451,8 +3766,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ReadTensorboardBlobDataRequest request =
    *       ReadTensorboardBlobDataRequest.newBuilder()
@@ -3489,8 +3807,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName tensorboardExperiment =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -3528,8 +3849,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardExperiment =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -3566,8 +3890,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardExperimentDataRequest request =
    *       WriteTensorboardExperimentDataRequest.newBuilder()
@@ -3598,8 +3925,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardExperimentDataRequest request =
    *       WriteTensorboardExperimentDataRequest.newBuilder()
@@ -3630,8 +3960,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName tensorboardRun =
    *       TensorboardRunName.of(
@@ -3668,8 +4001,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardRun =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -3706,8 +4042,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardRunDataRequest request =
    *       WriteTensorboardRunDataRequest.newBuilder()
@@ -3738,8 +4077,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardRunDataRequest request =
    *       WriteTensorboardRunDataRequest.newBuilder()
@@ -3768,8 +4110,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3805,8 +4150,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3847,8 +4195,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ExportTensorboardTimeSeriesDataRequest request =
    *       ExportTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3888,8 +4239,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ExportTensorboardTimeSeriesDataRequest request =
    *       ExportTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3931,8 +4285,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ExportTensorboardTimeSeriesDataRequest request =
    *       ExportTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3979,8 +4336,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4009,8 +4369,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4040,8 +4403,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4077,8 +4443,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = tensorboardServiceClient.getLocation(request);
@@ -4099,8 +4468,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
@@ -4123,8 +4495,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4154,8 +4529,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4184,8 +4562,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4213,8 +4594,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4246,8 +4630,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -4279,8 +4666,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java
index 795927a19..2cb6f728c 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceSettings.java
@@ -70,8 +70,11 @@
  * 

For example, to set the total timeout of getTensorboard to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceSettings.Builder tensorboardServiceSettingsBuilder =
  *     TensorboardServiceSettings.newBuilder();
  * tensorboardServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java
index 50c61d0e3..7f1d92a96 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceClient.java
@@ -57,8 +57,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Study study = Study.newBuilder().build();
@@ -95,8 +98,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceSettings vizierServiceSettings =
  *     VizierServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -107,8 +113,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceSettings vizierServiceSettings =
  *     VizierServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * VizierServiceClient vizierServiceClient = VizierServiceClient.create(vizierServiceSettings);
@@ -184,8 +193,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Study study = Study.newBuilder().build();
@@ -214,8 +226,11 @@ public final Study createStudy(LocationName parent, Study study) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Study study = Study.newBuilder().build();
@@ -241,8 +256,11 @@ public final Study createStudy(String parent, Study study) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateStudyRequest request =
    *       CreateStudyRequest.newBuilder()
@@ -267,8 +285,11 @@ public final Study createStudy(CreateStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateStudyRequest request =
    *       CreateStudyRequest.newBuilder()
@@ -292,8 +313,11 @@ public final UnaryCallable createStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   Study response = vizierServiceClient.getStudy(name);
@@ -317,8 +341,11 @@ public final Study getStudy(StudyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   Study response = vizierServiceClient.getStudy(name);
@@ -341,8 +368,11 @@ public final Study getStudy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetStudyRequest request =
    *       GetStudyRequest.newBuilder()
@@ -366,8 +396,11 @@ public final Study getStudy(GetStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetStudyRequest request =
    *       GetStudyRequest.newBuilder()
@@ -390,8 +423,11 @@ public final UnaryCallable getStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Study element : vizierServiceClient.listStudies(parent).iterateAll()) {
@@ -419,8 +455,11 @@ public final ListStudiesPagedResponse listStudies(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Study element : vizierServiceClient.listStudies(parent).iterateAll()) {
@@ -445,8 +484,11 @@ public final ListStudiesPagedResponse listStudies(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListStudiesRequest request =
    *       ListStudiesRequest.newBuilder()
@@ -474,8 +516,11 @@ public final ListStudiesPagedResponse listStudies(ListStudiesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListStudiesRequest request =
    *       ListStudiesRequest.newBuilder()
@@ -503,8 +548,11 @@ public final ListStudiesPagedResponse listStudies(ListStudiesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListStudiesRequest request =
    *       ListStudiesRequest.newBuilder()
@@ -538,8 +586,11 @@ public final UnaryCallable listStudiesC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   vizierServiceClient.deleteStudy(name);
@@ -563,8 +614,11 @@ public final void deleteStudy(StudyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   vizierServiceClient.deleteStudy(name);
@@ -587,8 +641,11 @@ public final void deleteStudy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteStudyRequest request =
    *       DeleteStudyRequest.newBuilder()
@@ -612,8 +669,11 @@ public final void deleteStudy(DeleteStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteStudyRequest request =
    *       DeleteStudyRequest.newBuilder()
@@ -637,8 +697,11 @@ public final UnaryCallable deleteStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Study response = vizierServiceClient.lookupStudy(parent);
@@ -665,8 +728,11 @@ public final Study lookupStudy(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Study response = vizierServiceClient.lookupStudy(parent);
@@ -690,8 +756,11 @@ public final Study lookupStudy(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LookupStudyRequest request =
    *       LookupStudyRequest.newBuilder()
@@ -717,8 +786,11 @@ public final Study lookupStudy(LookupStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LookupStudyRequest request =
    *       LookupStudyRequest.newBuilder()
@@ -745,8 +817,11 @@ public final UnaryCallable lookupStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SuggestTrialsRequest request =
    *       SuggestTrialsRequest.newBuilder()
@@ -776,8 +851,11 @@ public final OperationFuture sugge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SuggestTrialsRequest request =
    *       SuggestTrialsRequest.newBuilder()
@@ -807,8 +885,11 @@ public final OperationFuture sugge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SuggestTrialsRequest request =
    *       SuggestTrialsRequest.newBuilder()
@@ -833,8 +914,11 @@ public final UnaryCallable suggestTrialsCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   Trial trial = Trial.newBuilder().build();
@@ -863,8 +947,11 @@ public final Trial createTrial(StudyName parent, Trial trial) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   Trial trial = Trial.newBuilder().build();
@@ -890,8 +977,11 @@ public final Trial createTrial(String parent, Trial trial) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateTrialRequest request =
    *       CreateTrialRequest.newBuilder()
@@ -916,8 +1006,11 @@ public final Trial createTrial(CreateTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateTrialRequest request =
    *       CreateTrialRequest.newBuilder()
@@ -941,8 +1034,11 @@ public final UnaryCallable createTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TrialName name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]");
    *   Trial response = vizierServiceClient.getTrial(name);
@@ -966,8 +1062,11 @@ public final Trial getTrial(TrialName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString();
    *   Trial response = vizierServiceClient.getTrial(name);
@@ -990,8 +1089,11 @@ public final Trial getTrial(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetTrialRequest request =
    *       GetTrialRequest.newBuilder()
@@ -1015,8 +1117,11 @@ public final Trial getTrial(GetTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetTrialRequest request =
    *       GetTrialRequest.newBuilder()
@@ -1039,8 +1144,11 @@ public final UnaryCallable getTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   for (Trial element : vizierServiceClient.listTrials(parent).iterateAll()) {
@@ -1066,8 +1174,11 @@ public final ListTrialsPagedResponse listTrials(StudyName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   for (Trial element : vizierServiceClient.listTrials(parent).iterateAll()) {
@@ -1092,8 +1203,11 @@ public final ListTrialsPagedResponse listTrials(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListTrialsRequest request =
    *       ListTrialsRequest.newBuilder()
@@ -1121,8 +1235,11 @@ public final ListTrialsPagedResponse listTrials(ListTrialsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListTrialsRequest request =
    *       ListTrialsRequest.newBuilder()
@@ -1149,8 +1266,11 @@ public final UnaryCallable listTrial
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListTrialsRequest request =
    *       ListTrialsRequest.newBuilder()
@@ -1185,8 +1305,11 @@ public final UnaryCallable listTrialsCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   AddTrialMeasurementRequest request =
    *       AddTrialMeasurementRequest.newBuilder()
@@ -1213,8 +1336,11 @@ public final Trial addTrialMeasurement(AddTrialMeasurementRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   AddTrialMeasurementRequest request =
    *       AddTrialMeasurementRequest.newBuilder()
@@ -1240,8 +1366,11 @@ public final UnaryCallable addTrialMeasuremen
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CompleteTrialRequest request =
    *       CompleteTrialRequest.newBuilder()
@@ -1268,8 +1397,11 @@ public final Trial completeTrial(CompleteTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CompleteTrialRequest request =
    *       CompleteTrialRequest.newBuilder()
@@ -1295,8 +1427,11 @@ public final UnaryCallable completeTrialCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TrialName name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]");
    *   vizierServiceClient.deleteTrial(name);
@@ -1320,8 +1455,11 @@ public final void deleteTrial(TrialName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString();
    *   vizierServiceClient.deleteTrial(name);
@@ -1344,8 +1482,11 @@ public final void deleteTrial(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteTrialRequest request =
    *       DeleteTrialRequest.newBuilder()
@@ -1369,8 +1510,11 @@ public final void deleteTrial(DeleteTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteTrialRequest request =
    *       DeleteTrialRequest.newBuilder()
@@ -1395,8 +1539,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CheckTrialEarlyStoppingStateRequest request =
    *       CheckTrialEarlyStoppingStateRequest.newBuilder()
@@ -1426,8 +1573,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CheckTrialEarlyStoppingStateRequest request =
    *       CheckTrialEarlyStoppingStateRequest.newBuilder()
@@ -1461,8 +1611,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CheckTrialEarlyStoppingStateRequest request =
    *       CheckTrialEarlyStoppingStateRequest.newBuilder()
@@ -1488,8 +1641,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StopTrialRequest request =
    *       StopTrialRequest.newBuilder()
@@ -1513,8 +1669,11 @@ public final Trial stopTrial(StopTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StopTrialRequest request =
    *       StopTrialRequest.newBuilder()
@@ -1539,8 +1698,11 @@ public final UnaryCallable stopTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(parent);
@@ -1567,8 +1729,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(StudyName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(parent);
@@ -1593,8 +1758,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListOptimalTrialsRequest request =
    *       ListOptimalTrialsRequest.newBuilder()
@@ -1620,8 +1788,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(ListOptimalTrialsReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListOptimalTrialsRequest request =
    *       ListOptimalTrialsRequest.newBuilder()
@@ -1646,8 +1817,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(ListOptimalTrialsReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1676,8 +1850,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1707,8 +1884,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1743,8 +1923,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = vizierServiceClient.getLocation(request);
@@ -1765,8 +1948,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = vizierServiceClient.getLocationCallable().futureCall(request);
@@ -1788,8 +1974,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1819,8 +2008,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1848,8 +2040,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1877,8 +2072,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1909,8 +2107,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1942,8 +2143,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceSettings.java
index 21d56e666..7e1b8642e 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceSettings.java
@@ -66,16 +66,16 @@
  * 

For example, to set the total timeout of createStudy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceSettings.Builder vizierServiceSettingsBuilder = VizierServiceSettings.newBuilder();
  * vizierServiceSettingsBuilder
  *     .createStudySettings()
  *     .setRetrySettings(
- *         vizierServiceSettingsBuilder
- *             .createStudySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         vizierServiceSettingsBuilder.createStudySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VizierServiceSettings vizierServiceSettings = vizierServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java
index 6e086ab6d..901eed8cf 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/package-info.java
@@ -27,8 +27,11 @@
  * 

Sample for DatasetServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
  *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
  *   Dataset response = datasetServiceClient.getDataset(name);
@@ -42,8 +45,11 @@
  * 

Sample for EndpointServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
  *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   Endpoint response = endpointServiceClient.getEndpoint(name);
@@ -57,8 +63,11 @@
  * 

Sample for FeaturestoreOnlineServingServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
  *     FeaturestoreOnlineServingServiceClient.create()) {
  *   EntityTypeName entityType =
@@ -75,8 +84,11 @@
  * 

Sample for FeaturestoreServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
  *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
  *   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
@@ -90,8 +102,11 @@
  * 

Sample for IndexEndpointServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexEndpointServiceClient indexEndpointServiceClient =
  *     IndexEndpointServiceClient.create()) {
  *   IndexEndpointName name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]");
@@ -106,8 +121,11 @@
  * 

Sample for IndexServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
  *   IndexName name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]");
  *   Index response = indexServiceClient.getIndex(name);
@@ -121,8 +139,11 @@
  * 

Sample for JobServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -137,8 +158,11 @@
  * 

Sample for MetadataServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
  *   MetadataStoreName name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
  *   MetadataStore response = metadataServiceClient.getMetadataStore(name);
@@ -153,8 +177,11 @@
  * 

Sample for MigrationServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
  *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
  *   Location response = migrationServiceClient.getLocation(request);
@@ -168,8 +195,11 @@
  * 

Sample for ModelServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
  *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
  *   Model response = modelServiceClient.getModel(name);
@@ -185,8 +215,11 @@
  * 

Sample for PipelineServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -202,8 +235,11 @@
  * 

Sample for PredictionServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
  *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   List instances = new ArrayList<>();
@@ -223,8 +259,11 @@
  * 

Sample for SpecialistPoolServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SpecialistPoolServiceClient specialistPoolServiceClient =
  *     SpecialistPoolServiceClient.create()) {
  *   SpecialistPoolName name =
@@ -240,8 +279,11 @@
  * 

Sample for TensorboardServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
  *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
  *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -258,8 +300,11 @@
  * 

Sample for VizierServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Study study = Study.newBuilder().build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java
index f3c92906c..4ea07afd1 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/DatasetServiceStubSettings.java
@@ -112,17 +112,17 @@
  * 

For example, to set the total timeout of getDataset to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceStubSettings.Builder datasetServiceSettingsBuilder =
  *     DatasetServiceStubSettings.newBuilder();
  * datasetServiceSettingsBuilder
  *     .getDatasetSettings()
  *     .setRetrySettings(
- *         datasetServiceSettingsBuilder
- *             .getDatasetSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datasetServiceSettingsBuilder.getDatasetSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatasetServiceStubSettings datasetServiceSettings = datasetServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java
index f9525c09f..6738f3e1d 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java
@@ -98,17 +98,17 @@
  * 

For example, to set the total timeout of getEndpoint to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceStubSettings.Builder endpointServiceSettingsBuilder =
  *     EndpointServiceStubSettings.newBuilder();
  * endpointServiceSettingsBuilder
  *     .getEndpointSettings()
  *     .setRetrySettings(
- *         endpointServiceSettingsBuilder
- *             .getEndpointSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         endpointServiceSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EndpointServiceStubSettings endpointServiceSettings = endpointServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java
index 3fd811c55..6223d799b 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreOnlineServingServiceStubSettings.java
@@ -79,8 +79,11 @@
  * 

For example, to set the total timeout of readFeatureValues to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceStubSettings.Builder
  *     featurestoreOnlineServingServiceSettingsBuilder =
  *         FeaturestoreOnlineServingServiceStubSettings.newBuilder();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java
index c949d4f98..1641cd342 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/FeaturestoreServiceStubSettings.java
@@ -126,8 +126,11 @@
  * 

For example, to set the total timeout of getFeaturestore to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceStubSettings.Builder featurestoreServiceSettingsBuilder =
  *     FeaturestoreServiceStubSettings.newBuilder();
  * featurestoreServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java
index d76237406..a1344c457 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexEndpointServiceStubSettings.java
@@ -101,8 +101,11 @@
  * 

For example, to set the total timeout of getIndexEndpoint to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceStubSettings.Builder indexEndpointServiceSettingsBuilder =
  *     IndexEndpointServiceStubSettings.newBuilder();
  * indexEndpointServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java
index 1d4c7b211..7f1025cc5 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/IndexServiceStubSettings.java
@@ -97,17 +97,17 @@
  * 

For example, to set the total timeout of getIndex to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceStubSettings.Builder indexServiceSettingsBuilder =
  *     IndexServiceStubSettings.newBuilder();
  * indexServiceSettingsBuilder
  *     .getIndexSettings()
  *     .setRetrySettings(
- *         indexServiceSettingsBuilder
- *             .getIndexSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         indexServiceSettingsBuilder.getIndexSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IndexServiceStubSettings indexServiceSettings = indexServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java
index 1aa971b27..83c3e9e16 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java
@@ -130,16 +130,16 @@
  * 

For example, to set the total timeout of createCustomJob to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createCustomJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createCustomJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createCustomJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java
index 421ed9484..9340691c9 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java
@@ -141,17 +141,17 @@
  * 

For example, to set the total timeout of getMetadataStore to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceStubSettings.Builder metadataServiceSettingsBuilder =
  *     MetadataServiceStubSettings.newBuilder();
  * metadataServiceSettingsBuilder
  *     .getMetadataStoreSettings()
  *     .setRetrySettings(
- *         metadataServiceSettingsBuilder
- *             .getMetadataStoreSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         metadataServiceSettingsBuilder.getMetadataStoreSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MetadataServiceStubSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java
index fc555a68d..754d1b1ad 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MigrationServiceStubSettings.java
@@ -88,17 +88,17 @@
  * 

For example, to set the total timeout of getLocation to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceStubSettings.Builder migrationServiceSettingsBuilder =
  *     MigrationServiceStubSettings.newBuilder();
  * migrationServiceSettingsBuilder
  *     .getLocationSettings()
  *     .setRetrySettings(
- *         migrationServiceSettingsBuilder
- *             .getLocationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         migrationServiceSettingsBuilder.getLocationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MigrationServiceStubSettings migrationServiceSettings = migrationServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java
index 7272252d6..e727034b7 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java
@@ -114,17 +114,17 @@
  * 

For example, to set the total timeout of getModel to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceStubSettings.Builder modelServiceSettingsBuilder =
  *     ModelServiceStubSettings.newBuilder();
  * modelServiceSettingsBuilder
  *     .getModelSettings()
  *     .setRetrySettings(
- *         modelServiceSettingsBuilder
- *             .getModelSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         modelServiceSettingsBuilder.getModelSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ModelServiceStubSettings modelServiceSettings = modelServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java
index d83e38bc2..0c33c7096 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PipelineServiceStubSettings.java
@@ -99,8 +99,11 @@
  * 

For example, to set the total timeout of createTrainingPipeline to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceStubSettings.Builder pipelineServiceSettingsBuilder =
  *     PipelineServiceStubSettings.newBuilder();
  * pipelineServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java
index 348a7e789..a510a33c0 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/PredictionServiceStubSettings.java
@@ -81,17 +81,17 @@
  * 

For example, to set the total timeout of predict to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceStubSettings.Builder predictionServiceSettingsBuilder =
  *     PredictionServiceStubSettings.newBuilder();
  * predictionServiceSettingsBuilder
  *     .predictSettings()
  *     .setRetrySettings(
- *         predictionServiceSettingsBuilder
- *             .predictSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         predictionServiceSettingsBuilder.predictSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PredictionServiceStubSettings predictionServiceSettings =
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java
index 8d45c488b..6bf75235b 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/SpecialistPoolServiceStubSettings.java
@@ -93,8 +93,11 @@
  * 

For example, to set the total timeout of getSpecialistPool to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceStubSettings.Builder specialistPoolServiceSettingsBuilder =
  *     SpecialistPoolServiceStubSettings.newBuilder();
  * specialistPoolServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java
index efffe66d0..ab318fd76 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/TensorboardServiceStubSettings.java
@@ -136,8 +136,11 @@
  * 

For example, to set the total timeout of getTensorboard to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceStubSettings.Builder tensorboardServiceSettingsBuilder =
  *     TensorboardServiceStubSettings.newBuilder();
  * tensorboardServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java
index 47a9aa11e..17ecaa13a 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/VizierServiceStubSettings.java
@@ -108,17 +108,17 @@
  * 

For example, to set the total timeout of createStudy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceStubSettings.Builder vizierServiceSettingsBuilder =
  *     VizierServiceStubSettings.newBuilder();
  * vizierServiceSettingsBuilder
  *     .createStudySettings()
  *     .setRetrySettings(
- *         vizierServiceSettingsBuilder
- *             .createStudySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         vizierServiceSettingsBuilder.createStudySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VizierServiceStubSettings vizierServiceSettings = vizierServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java
index aa6530651..6399c9922 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceClient.java
@@ -57,8 +57,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
  *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
  *   Dataset response = datasetServiceClient.getDataset(name);
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceSettings datasetServiceSettings =
  *     DatasetServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,8 +112,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceSettings datasetServiceSettings =
  *     DatasetServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DatasetServiceClient datasetServiceClient = DatasetServiceClient.create(datasetServiceSettings);
@@ -184,8 +193,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Dataset dataset = Dataset.newBuilder().build();
@@ -215,8 +227,11 @@ public final OperationFuture createData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Dataset dataset = Dataset.newBuilder().build();
@@ -243,8 +258,11 @@ public final OperationFuture createData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   CreateDatasetRequest request =
    *       CreateDatasetRequest.newBuilder()
@@ -270,8 +288,11 @@ public final OperationFuture createData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   CreateDatasetRequest request =
    *       CreateDatasetRequest.newBuilder()
@@ -297,8 +318,11 @@ public final OperationFuture createData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   CreateDatasetRequest request =
    *       CreateDatasetRequest.newBuilder()
@@ -323,8 +347,11 @@ public final UnaryCallable createDatasetCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
    *   Dataset response = datasetServiceClient.getDataset(name);
@@ -347,8 +374,11 @@ public final Dataset getDataset(DatasetName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString();
    *   Dataset response = datasetServiceClient.getDataset(name);
@@ -370,8 +400,11 @@ public final Dataset getDataset(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetDatasetRequest request =
    *       GetDatasetRequest.newBuilder()
@@ -396,8 +429,11 @@ public final Dataset getDataset(GetDatasetRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetDatasetRequest request =
    *       GetDatasetRequest.newBuilder()
@@ -421,8 +457,11 @@ public final UnaryCallable getDatasetCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   Dataset dataset = Dataset.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -449,8 +488,11 @@ public final Dataset updateDataset(Dataset dataset, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   UpdateDatasetRequest request =
    *       UpdateDatasetRequest.newBuilder()
@@ -475,8 +517,11 @@ public final Dataset updateDataset(UpdateDatasetRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   UpdateDatasetRequest request =
    *       UpdateDatasetRequest.newBuilder()
@@ -500,8 +545,11 @@ public final UnaryCallable updateDatasetCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Dataset element : datasetServiceClient.listDatasets(parent).iterateAll()) {
@@ -529,8 +577,11 @@ public final ListDatasetsPagedResponse listDatasets(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Dataset element : datasetServiceClient.listDatasets(parent).iterateAll()) {
@@ -555,8 +606,11 @@ public final ListDatasetsPagedResponse listDatasets(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListDatasetsRequest request =
    *       ListDatasetsRequest.newBuilder()
@@ -587,8 +641,11 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListDatasetsRequest request =
    *       ListDatasetsRequest.newBuilder()
@@ -620,8 +677,11 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListDatasetsRequest request =
    *       ListDatasetsRequest.newBuilder()
@@ -658,8 +718,11 @@ public final UnaryCallable listDatase
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
    *   datasetServiceClient.deleteDatasetAsync(name).get();
@@ -684,8 +747,11 @@ public final OperationFuture deleteDatasetAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString();
    *   datasetServiceClient.deleteDatasetAsync(name).get();
@@ -708,8 +774,11 @@ public final OperationFuture deleteDatasetAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DeleteDatasetRequest request =
    *       DeleteDatasetRequest.newBuilder()
@@ -734,8 +803,11 @@ public final OperationFuture deleteDatasetAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DeleteDatasetRequest request =
    *       DeleteDatasetRequest.newBuilder()
@@ -760,8 +832,11 @@ public final OperationFuture deleteDatasetAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DeleteDatasetRequest request =
    *       DeleteDatasetRequest.newBuilder()
@@ -785,8 +860,11 @@ public final UnaryCallable deleteDatasetCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
    *   List importConfigs = new ArrayList<>();
@@ -817,8 +895,11 @@ public final OperationFuture im
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString();
    *   List importConfigs = new ArrayList<>();
@@ -846,8 +927,11 @@ public final OperationFuture im
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ImportDataRequest request =
    *       ImportDataRequest.newBuilder()
@@ -873,8 +957,11 @@ public final OperationFuture im
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ImportDataRequest request =
    *       ImportDataRequest.newBuilder()
@@ -900,8 +987,11 @@ public final OperationFuture im
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ImportDataRequest request =
    *       ImportDataRequest.newBuilder()
@@ -925,8 +1015,11 @@ public final UnaryCallable importDataCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
    *   ExportDataConfig exportConfig = ExportDataConfig.newBuilder().build();
@@ -956,8 +1049,11 @@ public final OperationFuture ex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString();
    *   ExportDataConfig exportConfig = ExportDataConfig.newBuilder().build();
@@ -984,8 +1080,11 @@ public final OperationFuture ex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ExportDataRequest request =
    *       ExportDataRequest.newBuilder()
@@ -1011,8 +1110,11 @@ public final OperationFuture ex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ExportDataRequest request =
    *       ExportDataRequest.newBuilder()
@@ -1038,8 +1140,11 @@ public final OperationFuture ex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ExportDataRequest request =
    *       ExportDataRequest.newBuilder()
@@ -1063,8 +1168,11 @@ public final UnaryCallable exportDataCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DatasetName parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
    *   for (DataItem element : datasetServiceClient.listDataItems(parent).iterateAll()) {
@@ -1092,8 +1200,11 @@ public final ListDataItemsPagedResponse listDataItems(DatasetName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString();
    *   for (DataItem element : datasetServiceClient.listDataItems(parent).iterateAll()) {
@@ -1118,8 +1229,11 @@ public final ListDataItemsPagedResponse listDataItems(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListDataItemsRequest request =
    *       ListDataItemsRequest.newBuilder()
@@ -1150,8 +1264,11 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListDataItemsRequest request =
    *       ListDataItemsRequest.newBuilder()
@@ -1183,8 +1300,11 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListDataItemsRequest request =
    *       ListDataItemsRequest.newBuilder()
@@ -1221,8 +1341,11 @@ public final UnaryCallable listData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DatasetName parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
    *   for (SavedQuery element : datasetServiceClient.listSavedQueries(parent).iterateAll()) {
@@ -1250,8 +1373,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(DatasetName parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String parent = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString();
    *   for (SavedQuery element : datasetServiceClient.listSavedQueries(parent).iterateAll()) {
@@ -1277,8 +1403,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListSavedQueriesRequest request =
    *       ListSavedQueriesRequest.newBuilder()
@@ -1309,8 +1438,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListSavedQueriesRequest request =
    *       ListSavedQueriesRequest.newBuilder()
@@ -1342,8 +1474,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListSavedQueriesRequest request =
    *       ListSavedQueriesRequest.newBuilder()
@@ -1382,8 +1517,11 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   AnnotationSpecName name =
    *       AnnotationSpecName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[ANNOTATION_SPEC]");
@@ -1410,8 +1548,11 @@ public final AnnotationSpec getAnnotationSpec(AnnotationSpecName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String name =
    *       AnnotationSpecName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[ANNOTATION_SPEC]")
@@ -1436,8 +1577,11 @@ public final AnnotationSpec getAnnotationSpec(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetAnnotationSpecRequest request =
    *       GetAnnotationSpecRequest.newBuilder()
@@ -1464,8 +1608,11 @@ public final AnnotationSpec getAnnotationSpec(GetAnnotationSpecRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetAnnotationSpecRequest request =
    *       GetAnnotationSpecRequest.newBuilder()
@@ -1492,8 +1639,11 @@ public final UnaryCallable getAnnotati
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   DataItemName parent = DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]");
    *   for (Annotation element : datasetServiceClient.listAnnotations(parent).iterateAll()) {
@@ -1521,8 +1671,11 @@ public final ListAnnotationsPagedResponse listAnnotations(DataItemName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   String parent =
    *       DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString();
@@ -1548,8 +1701,11 @@ public final ListAnnotationsPagedResponse listAnnotations(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListAnnotationsRequest request =
    *       ListAnnotationsRequest.newBuilder()
@@ -1581,8 +1737,11 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListAnnotationsRequest request =
    *       ListAnnotationsRequest.newBuilder()
@@ -1615,8 +1774,11 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListAnnotationsRequest request =
    *       ListAnnotationsRequest.newBuilder()
@@ -1656,8 +1818,11 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1686,8 +1851,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1717,8 +1885,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1753,8 +1924,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = datasetServiceClient.getLocation(request);
@@ -1775,8 +1949,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = datasetServiceClient.getLocationCallable().futureCall(request);
@@ -1798,8 +1975,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1829,8 +2009,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1858,8 +2041,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1887,8 +2073,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1919,8 +2108,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1952,8 +2144,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java
index 9f252e87b..97a668682 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceSettings.java
@@ -68,17 +68,17 @@
  * 

For example, to set the total timeout of getDataset to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceSettings.Builder datasetServiceSettingsBuilder =
  *     DatasetServiceSettings.newBuilder();
  * datasetServiceSettingsBuilder
  *     .getDatasetSettings()
  *     .setRetrySettings(
- *         datasetServiceSettingsBuilder
- *             .getDatasetSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datasetServiceSettingsBuilder.getDatasetSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatasetServiceSettings datasetServiceSettings = datasetServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java
index bbc1b86b9..37841466b 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
  *     DeploymentResourcePoolServiceClient.create()) {
  *   DeploymentResourcePoolName name =
@@ -96,8 +99,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DeploymentResourcePoolServiceSettings deploymentResourcePoolServiceSettings =
  *     DeploymentResourcePoolServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -109,8 +115,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DeploymentResourcePoolServiceSettings deploymentResourcePoolServiceSettings =
  *     DeploymentResourcePoolServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
@@ -192,8 +201,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -238,8 +250,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -284,8 +299,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   CreateDeploymentResourcePoolRequest request =
@@ -315,8 +333,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   CreateDeploymentResourcePoolRequest request =
@@ -350,8 +371,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   CreateDeploymentResourcePoolRequest request =
@@ -381,8 +405,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   DeploymentResourcePoolName name =
@@ -411,8 +438,11 @@ public final DeploymentResourcePool getDeploymentResourcePool(DeploymentResource
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   String name =
@@ -440,8 +470,11 @@ public final DeploymentResourcePool getDeploymentResourcePool(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   GetDeploymentResourcePoolRequest request =
@@ -471,8 +504,11 @@ public final DeploymentResourcePool getDeploymentResourcePool(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   GetDeploymentResourcePoolRequest request =
@@ -503,8 +539,11 @@ public final DeploymentResourcePool getDeploymentResourcePool(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ProjectName parent = ProjectName.of("[PROJECT]");
@@ -535,8 +574,11 @@ public final ListDeploymentResourcePoolsPagedResponse listDeploymentResourcePool
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   String parent = ProjectName.of("[PROJECT]").toString();
@@ -564,8 +606,11 @@ public final ListDeploymentResourcePoolsPagedResponse listDeploymentResourcePool
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ListDeploymentResourcePoolsRequest request =
@@ -596,8 +641,11 @@ public final ListDeploymentResourcePoolsPagedResponse listDeploymentResourcePool
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ListDeploymentResourcePoolsRequest request =
@@ -630,8 +678,11 @@ public final ListDeploymentResourcePoolsPagedResponse listDeploymentResourcePool
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ListDeploymentResourcePoolsRequest request =
@@ -669,8 +720,11 @@ public final ListDeploymentResourcePoolsPagedResponse listDeploymentResourcePool
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   DeploymentResourcePoolName name =
@@ -699,8 +753,11 @@ public final OperationFuture deleteDeploymentRes
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   String name =
@@ -728,8 +785,11 @@ public final OperationFuture deleteDeploymentRes
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   DeleteDeploymentResourcePoolRequest request =
@@ -758,8 +818,11 @@ public final OperationFuture deleteDeploymentRes
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   DeleteDeploymentResourcePoolRequest request =
@@ -791,8 +854,11 @@ public final OperationFuture deleteDeploymentRes
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   DeleteDeploymentResourcePoolRequest request =
@@ -823,8 +889,11 @@ public final OperationFuture deleteDeploymentRes
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   String deploymentResourcePool = "deploymentResourcePool-1928845137";
@@ -857,8 +926,11 @@ public final QueryDeployedModelsPagedResponse queryDeployedModels(String deploym
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   QueryDeployedModelsRequest request =
@@ -889,8 +961,11 @@ public final QueryDeployedModelsPagedResponse queryDeployedModels(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   QueryDeployedModelsRequest request =
@@ -922,8 +997,11 @@ public final QueryDeployedModelsPagedResponse queryDeployedModels(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   QueryDeployedModelsRequest request =
@@ -960,8 +1038,11 @@ public final QueryDeployedModelsPagedResponse queryDeployedModels(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -992,8 +1073,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -1024,8 +1108,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -1062,8 +1149,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -1085,8 +1175,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -1110,8 +1203,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1142,8 +1238,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1173,8 +1272,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1203,8 +1305,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1237,8 +1342,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   TestIamPermissionsRequest request =
@@ -1272,8 +1380,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
    *     DeploymentResourcePoolServiceClient.create()) {
    *   TestIamPermissionsRequest request =
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceSettings.java
index dd6ed54a3..37607225f 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceSettings.java
@@ -66,8 +66,11 @@
  * 

For example, to set the total timeout of getDeploymentResourcePool to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DeploymentResourcePoolServiceSettings.Builder deploymentResourcePoolServiceSettingsBuilder =
  *     DeploymentResourcePoolServiceSettings.newBuilder();
  * deploymentResourcePoolServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java
index 1c95b27eb..c004e4be3 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceClient.java
@@ -57,8 +57,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
  *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   Endpoint response = endpointServiceClient.getEndpoint(name);
@@ -95,8 +98,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceSettings endpointServiceSettings =
  *     EndpointServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,8 +114,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceSettings endpointServiceSettings =
  *     EndpointServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * EndpointServiceClient endpointServiceClient =
@@ -187,8 +196,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Endpoint endpoint = Endpoint.newBuilder().build();
@@ -218,8 +230,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Endpoint endpoint = Endpoint.newBuilder().build();
@@ -246,8 +261,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Endpoint endpoint = Endpoint.newBuilder().build();
@@ -287,8 +305,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Endpoint endpoint = Endpoint.newBuilder().build();
@@ -328,8 +349,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   CreateEndpointRequest request =
    *       CreateEndpointRequest.newBuilder()
@@ -356,8 +380,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   CreateEndpointRequest request =
    *       CreateEndpointRequest.newBuilder()
@@ -384,8 +411,11 @@ public final OperationFuture createEn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   CreateEndpointRequest request =
    *       CreateEndpointRequest.newBuilder()
@@ -411,8 +441,11 @@ public final UnaryCallable createEndpointCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   Endpoint response = endpointServiceClient.getEndpoint(name);
@@ -436,8 +469,11 @@ public final Endpoint getEndpoint(EndpointName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   Endpoint response = endpointServiceClient.getEndpoint(name);
@@ -460,8 +496,11 @@ public final Endpoint getEndpoint(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   GetEndpointRequest request =
    *       GetEndpointRequest.newBuilder()
@@ -485,8 +524,11 @@ public final Endpoint getEndpoint(GetEndpointRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   GetEndpointRequest request =
    *       GetEndpointRequest.newBuilder()
@@ -509,8 +551,11 @@ public final UnaryCallable getEndpointCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Endpoint element : endpointServiceClient.listEndpoints(parent).iterateAll()) {
@@ -538,8 +583,11 @@ public final ListEndpointsPagedResponse listEndpoints(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Endpoint element : endpointServiceClient.listEndpoints(parent).iterateAll()) {
@@ -564,8 +612,11 @@ public final ListEndpointsPagedResponse listEndpoints(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   ListEndpointsRequest request =
    *       ListEndpointsRequest.newBuilder()
@@ -595,8 +646,11 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   ListEndpointsRequest request =
    *       ListEndpointsRequest.newBuilder()
@@ -627,8 +681,11 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   ListEndpointsRequest request =
    *       ListEndpointsRequest.newBuilder()
@@ -665,8 +722,11 @@ public final UnaryCallable listEndp
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   Endpoint endpoint = Endpoint.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -692,8 +752,11 @@ public final Endpoint updateEndpoint(Endpoint endpoint, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   UpdateEndpointRequest request =
    *       UpdateEndpointRequest.newBuilder()
@@ -718,8 +781,11 @@ public final Endpoint updateEndpoint(UpdateEndpointRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   UpdateEndpointRequest request =
    *       UpdateEndpointRequest.newBuilder()
@@ -744,8 +810,11 @@ public final UnaryCallable updateEndpointCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   endpointServiceClient.deleteEndpointAsync(name).get();
@@ -770,8 +839,11 @@ public final OperationFuture deleteEndpointAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   endpointServiceClient.deleteEndpointAsync(name).get();
@@ -794,8 +866,11 @@ public final OperationFuture deleteEndpointAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   DeleteEndpointRequest request =
    *       DeleteEndpointRequest.newBuilder()
@@ -820,8 +895,11 @@ public final OperationFuture deleteEndpointAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   DeleteEndpointRequest request =
    *       DeleteEndpointRequest.newBuilder()
@@ -846,8 +924,11 @@ public final OperationFuture deleteEndpointAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   DeleteEndpointRequest request =
    *       DeleteEndpointRequest.newBuilder()
@@ -871,8 +952,11 @@ public final UnaryCallable deleteEndpointCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   DeployedModel deployedModel = DeployedModel.newBuilder().build();
@@ -918,8 +1002,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   DeployedModel deployedModel = DeployedModel.newBuilder().build();
@@ -965,8 +1052,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   DeployModelRequest request =
    *       DeployModelRequest.newBuilder()
@@ -993,8 +1083,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   DeployModelRequest request =
    *       DeployModelRequest.newBuilder()
@@ -1022,8 +1115,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   DeployModelRequest request =
    *       DeployModelRequest.newBuilder()
@@ -1049,8 +1145,11 @@ public final UnaryCallable deployModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   String deployedModelId = "deployedModelId-1817547906";
@@ -1092,8 +1191,11 @@ public final UnaryCallable deployModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   String deployedModelId = "deployedModelId-1817547906";
@@ -1135,8 +1237,11 @@ public final UnaryCallable deployModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   UndeployModelRequest request =
    *       UndeployModelRequest.newBuilder()
@@ -1164,8 +1269,11 @@ public final UnaryCallable deployModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   UndeployModelRequest request =
    *       UndeployModelRequest.newBuilder()
@@ -1194,8 +1302,11 @@ public final UnaryCallable deployModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   UndeployModelRequest request =
    *       UndeployModelRequest.newBuilder()
@@ -1221,8 +1332,11 @@ public final UnaryCallable undeployModelCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1251,8 +1365,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1282,8 +1399,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1319,8 +1439,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = endpointServiceClient.getLocation(request);
@@ -1341,8 +1464,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = endpointServiceClient.getLocationCallable().futureCall(request);
@@ -1364,8 +1490,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1395,8 +1524,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1424,8 +1556,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1453,8 +1588,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1485,8 +1623,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1518,8 +1659,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java
index 088189b89..6039f8205 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointServiceSettings.java
@@ -65,17 +65,17 @@
  * 

For example, to set the total timeout of getEndpoint to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceSettings.Builder endpointServiceSettingsBuilder =
  *     EndpointServiceSettings.newBuilder();
  * endpointServiceSettingsBuilder
  *     .getEndpointSettings()
  *     .setRetrySettings(
- *         endpointServiceSettingsBuilder
- *             .getEndpointSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         endpointServiceSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EndpointServiceSettings endpointServiceSettings = endpointServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java
index 0135bb4b3..725e794e2 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceClient.java
@@ -51,8 +51,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
  *     FeaturestoreOnlineServingServiceClient.create()) {
  *   EntityTypeName entityType =
@@ -92,8 +95,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceSettings featurestoreOnlineServingServiceSettings =
  *     FeaturestoreOnlineServingServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -105,8 +111,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceSettings featurestoreOnlineServingServiceSettings =
  *     FeaturestoreOnlineServingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
@@ -179,8 +188,11 @@ public FeaturestoreOnlineServingServiceStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   EntityTypeName entityType =
@@ -213,8 +225,11 @@ public final ReadFeatureValuesResponse readFeatureValues(EntityTypeName entityTy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   String entityType =
@@ -246,8 +261,11 @@ public final ReadFeatureValuesResponse readFeatureValues(String entityType) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   ReadFeatureValuesRequest request =
@@ -278,8 +296,11 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   ReadFeatureValuesRequest request =
@@ -310,8 +331,11 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   StreamingReadFeatureValuesRequest request =
@@ -345,8 +369,11 @@ public final ReadFeatureValuesResponse readFeatureValues(ReadFeatureValuesReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   EntityTypeName entityType =
@@ -385,8 +412,11 @@ public final WriteFeatureValuesResponse writeFeatureValues(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   String entityType =
@@ -426,8 +456,11 @@ public final WriteFeatureValuesResponse writeFeatureValues(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   WriteFeatureValuesRequest request =
@@ -459,8 +492,11 @@ public final WriteFeatureValuesResponse writeFeatureValues(WriteFeatureValuesReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   WriteFeatureValuesRequest request =
@@ -489,8 +525,11 @@ public final WriteFeatureValuesResponse writeFeatureValues(WriteFeatureValuesReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -521,8 +560,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -553,8 +595,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -591,8 +636,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -614,8 +662,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -639,8 +690,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -671,8 +725,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -702,8 +759,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -732,8 +792,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -766,8 +829,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   TestIamPermissionsRequest request =
@@ -801,8 +867,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
    *     FeaturestoreOnlineServingServiceClient.create()) {
    *   TestIamPermissionsRequest request =
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java
index f249827bc..d582c2cef 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreOnlineServingServiceSettings.java
@@ -62,8 +62,11 @@
  * 

For example, to set the total timeout of readFeatureValues to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceSettings.Builder
  *     featurestoreOnlineServingServiceSettingsBuilder =
  *         FeaturestoreOnlineServingServiceSettings.newBuilder();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java
index 1f6aeaf54..6fe815920 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
  *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
  *   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceSettings featurestoreServiceSettings =
  *     FeaturestoreServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -107,8 +113,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceSettings featurestoreServiceSettings =
  *     FeaturestoreServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * FeaturestoreServiceClient featurestoreServiceClient =
@@ -186,8 +195,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -218,8 +230,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -250,8 +265,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -292,8 +310,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Featurestore featurestore = Featurestore.newBuilder().build();
@@ -333,8 +354,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeaturestoreRequest request =
    *       CreateFeaturestoreRequest.newBuilder()
@@ -361,8 +385,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeaturestoreRequest request =
    *       CreateFeaturestoreRequest.newBuilder()
@@ -390,8 +417,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeaturestoreRequest request =
    *       CreateFeaturestoreRequest.newBuilder()
@@ -417,8 +447,11 @@ public final UnaryCallable createFeaturest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
    *   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
@@ -441,8 +474,11 @@ public final Featurestore getFeaturestore(FeaturestoreName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
    *   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
@@ -464,8 +500,11 @@ public final Featurestore getFeaturestore(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetFeaturestoreRequest request =
    *       GetFeaturestoreRequest.newBuilder()
@@ -489,8 +528,11 @@ public final Featurestore getFeaturestore(GetFeaturestoreRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetFeaturestoreRequest request =
    *       GetFeaturestoreRequest.newBuilder()
@@ -514,8 +556,11 @@ public final UnaryCallable getFeaturestore
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Featurestore element :
@@ -544,8 +589,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(LocationName paren
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Featurestore element :
@@ -572,8 +620,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListFeaturestoresRequest request =
    *       ListFeaturestoresRequest.newBuilder()
@@ -605,8 +656,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListFeaturestoresRequest request =
    *       ListFeaturestoresRequest.newBuilder()
@@ -638,8 +692,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListFeaturestoresRequest request =
    *       ListFeaturestoresRequest.newBuilder()
@@ -678,8 +735,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   Featurestore featurestore = Featurestore.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -718,8 +778,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateFeaturestoreRequest request =
    *       UpdateFeaturestoreRequest.newBuilder()
@@ -745,8 +808,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateFeaturestoreRequest request =
    *       UpdateFeaturestoreRequest.newBuilder()
@@ -773,8 +839,11 @@ public final ListFeaturestoresPagedResponse listFeaturestores(ListFeaturestoresR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateFeaturestoreRequest request =
    *       UpdateFeaturestoreRequest.newBuilder()
@@ -800,8 +869,11 @@ public final UnaryCallable updateFeaturest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
    *   featurestoreServiceClient.deleteFeaturestoreAsync(name).get();
@@ -829,8 +901,11 @@ public final OperationFuture deleteFeaturestoreA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
    *   featurestoreServiceClient.deleteFeaturestoreAsync(name).get();
@@ -856,8 +931,11 @@ public final OperationFuture deleteFeaturestoreA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
    *   boolean force = true;
@@ -889,8 +967,11 @@ public final OperationFuture deleteFeaturestoreA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
    *   boolean force = true;
@@ -919,8 +1000,11 @@ public final OperationFuture deleteFeaturestoreA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteFeaturestoreRequest request =
    *       DeleteFeaturestoreRequest.newBuilder()
@@ -947,8 +1031,11 @@ public final OperationFuture deleteFeaturestoreA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteFeaturestoreRequest request =
    *       DeleteFeaturestoreRequest.newBuilder()
@@ -975,8 +1062,11 @@ public final OperationFuture deleteFeaturestoreA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteFeaturestoreRequest request =
    *       DeleteFeaturestoreRequest.newBuilder()
@@ -1001,8 +1091,11 @@ public final UnaryCallable deleteFeaturest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
    *   EntityType entityType = EntityType.newBuilder().build();
@@ -1033,8 +1126,11 @@ public final OperationFuture crea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
    *   EntityType entityType = EntityType.newBuilder().build();
@@ -1062,8 +1158,11 @@ public final OperationFuture crea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
    *   EntityType entityType = EntityType.newBuilder().build();
@@ -1101,8 +1200,11 @@ public final OperationFuture crea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
    *   EntityType entityType = EntityType.newBuilder().build();
@@ -1140,8 +1242,11 @@ public final OperationFuture crea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateEntityTypeRequest request =
    *       CreateEntityTypeRequest.newBuilder()
@@ -1169,8 +1274,11 @@ public final OperationFuture crea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateEntityTypeRequest request =
    *       CreateEntityTypeRequest.newBuilder()
@@ -1199,8 +1307,11 @@ public final OperationFuture crea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateEntityTypeRequest request =
    *       CreateEntityTypeRequest.newBuilder()
@@ -1227,8 +1338,11 @@ public final UnaryCallable createEntityTypeC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName name =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -1253,8 +1367,11 @@ public final EntityType getEntityType(EntityTypeName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -1279,8 +1396,11 @@ public final EntityType getEntityType(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetEntityTypeRequest request =
    *       GetEntityTypeRequest.newBuilder()
@@ -1306,8 +1426,11 @@ public final EntityType getEntityType(GetEntityTypeRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetEntityTypeRequest request =
    *       GetEntityTypeRequest.newBuilder()
@@ -1333,8 +1456,11 @@ public final UnaryCallable getEntityTypeCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
    *   for (EntityType element : featurestoreServiceClient.listEntityTypes(parent).iterateAll()) {
@@ -1362,8 +1488,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(FeaturestoreName paren
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
    *   for (EntityType element : featurestoreServiceClient.listEntityTypes(parent).iterateAll()) {
@@ -1388,8 +1517,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListEntityTypesRequest request =
    *       ListEntityTypesRequest.newBuilder()
@@ -1421,8 +1553,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListEntityTypesRequest request =
    *       ListEntityTypesRequest.newBuilder()
@@ -1455,8 +1590,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListEntityTypesRequest request =
    *       ListEntityTypesRequest.newBuilder()
@@ -1496,8 +1634,11 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityType entityType = EntityType.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1539,8 +1680,11 @@ public final EntityType updateEntityType(EntityType entityType, FieldMask update
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateEntityTypeRequest request =
    *       UpdateEntityTypeRequest.newBuilder()
@@ -1565,8 +1709,11 @@ public final EntityType updateEntityType(UpdateEntityTypeRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateEntityTypeRequest request =
    *       UpdateEntityTypeRequest.newBuilder()
@@ -1592,8 +1739,11 @@ public final UnaryCallable updateEntityType
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName name =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -1620,8 +1770,11 @@ public final OperationFuture deleteEntityTypeAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -1647,8 +1800,11 @@ public final OperationFuture deleteEntityTypeAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName name =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -1681,8 +1837,11 @@ public final OperationFuture deleteEntityTypeAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -1713,8 +1872,11 @@ public final OperationFuture deleteEntityTypeAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1743,8 +1905,11 @@ public final OperationFuture deleteEntityTypeAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1773,8 +1938,11 @@ public final OperationFuture deleteEntityTypeAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteEntityTypeRequest request =
    *       DeleteEntityTypeRequest.newBuilder()
@@ -1801,8 +1969,11 @@ public final UnaryCallable deleteEntityTypeC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -1833,8 +2004,11 @@ public final OperationFuture createFeat
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -1863,8 +2037,11 @@ public final OperationFuture createFeat
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -1903,8 +2080,11 @@ public final OperationFuture createFeat
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -1944,8 +2124,11 @@ public final OperationFuture createFeat
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeatureRequest request =
    *       CreateFeatureRequest.newBuilder()
@@ -1974,8 +2157,11 @@ public final OperationFuture createFeat
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeatureRequest request =
    *       CreateFeatureRequest.newBuilder()
@@ -2004,8 +2190,11 @@ public final OperationFuture createFeat
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   CreateFeatureRequest request =
    *       CreateFeatureRequest.newBuilder()
@@ -2033,8 +2222,11 @@ public final UnaryCallable createFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -2070,8 +2262,11 @@ public final UnaryCallable createFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -2105,8 +2300,11 @@ public final UnaryCallable createFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   BatchCreateFeaturesRequest request =
    *       BatchCreateFeaturesRequest.newBuilder()
@@ -2135,8 +2333,11 @@ public final UnaryCallable createFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   BatchCreateFeaturesRequest request =
    *       BatchCreateFeaturesRequest.newBuilder()
@@ -2167,8 +2368,11 @@ public final UnaryCallable createFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   BatchCreateFeaturesRequest request =
    *       BatchCreateFeaturesRequest.newBuilder()
@@ -2195,8 +2399,11 @@ public final UnaryCallable batchCreateFea
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeatureName name =
    *       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
@@ -2221,8 +2428,11 @@ public final Feature getFeature(FeatureName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name =
    *       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
@@ -2247,8 +2457,11 @@ public final Feature getFeature(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetFeatureRequest request =
    *       GetFeatureRequest.newBuilder()
@@ -2275,8 +2488,11 @@ public final Feature getFeature(GetFeatureRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetFeatureRequest request =
    *       GetFeatureRequest.newBuilder()
@@ -2303,8 +2519,11 @@ public final UnaryCallable getFeatureCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -2333,8 +2552,11 @@ public final ListFeaturesPagedResponse listFeatures(EntityTypeName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String parent =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -2361,8 +2583,11 @@ public final ListFeaturesPagedResponse listFeatures(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListFeaturesRequest request =
    *       ListFeaturesRequest.newBuilder()
@@ -2396,8 +2621,11 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListFeaturesRequest request =
    *       ListFeaturesRequest.newBuilder()
@@ -2432,8 +2660,11 @@ public final ListFeaturesPagedResponse listFeatures(ListFeaturesRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListFeaturesRequest request =
    *       ListFeaturesRequest.newBuilder()
@@ -2474,8 +2705,11 @@ public final UnaryCallable listFeatur
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   Feature feature = Feature.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2508,8 +2742,11 @@ public final Feature updateFeature(Feature feature, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateFeatureRequest request =
    *       UpdateFeatureRequest.newBuilder()
@@ -2534,8 +2771,11 @@ public final Feature updateFeature(UpdateFeatureRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   UpdateFeatureRequest request =
    *       UpdateFeatureRequest.newBuilder()
@@ -2560,8 +2800,11 @@ public final UnaryCallable updateFeatureCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeatureName name =
    *       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]");
@@ -2587,8 +2830,11 @@ public final OperationFuture deleteFeatureAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String name =
    *       FeatureName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]", "[FEATURE]")
@@ -2613,8 +2859,11 @@ public final OperationFuture deleteFeatureAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteFeatureRequest request =
    *       DeleteFeatureRequest.newBuilder()
@@ -2642,8 +2891,11 @@ public final OperationFuture deleteFeatureAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteFeatureRequest request =
    *       DeleteFeatureRequest.newBuilder()
@@ -2671,8 +2923,11 @@ public final OperationFuture deleteFeatureAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   DeleteFeatureRequest request =
    *       DeleteFeatureRequest.newBuilder()
@@ -2715,8 +2970,11 @@ public final UnaryCallable deleteFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName entityType =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -2762,8 +3020,11 @@ public final UnaryCallable deleteFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String entityType =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -2808,8 +3069,11 @@ public final UnaryCallable deleteFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ImportFeatureValuesRequest request =
    *       ImportFeatureValuesRequest.newBuilder()
@@ -2858,8 +3122,11 @@ public final UnaryCallable deleteFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ImportFeatureValuesRequest request =
    *       ImportFeatureValuesRequest.newBuilder()
@@ -2910,8 +3177,11 @@ public final UnaryCallable deleteFeatureCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ImportFeatureValuesRequest request =
    *       ImportFeatureValuesRequest.newBuilder()
@@ -2946,8 +3216,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   FeaturestoreName featurestore =
    *       FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
@@ -2981,8 +3254,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String featurestore =
    *       FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]").toString();
@@ -3014,8 +3290,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   BatchReadFeatureValuesRequest request =
    *       BatchReadFeatureValuesRequest.newBuilder()
@@ -3051,8 +3330,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   BatchReadFeatureValuesRequest request =
    *       BatchReadFeatureValuesRequest.newBuilder()
@@ -3092,8 +3374,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   BatchReadFeatureValuesRequest request =
    *       BatchReadFeatureValuesRequest.newBuilder()
@@ -3123,8 +3408,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   EntityTypeName entityType =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]");
@@ -3154,8 +3442,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String entityType =
    *       EntityTypeName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]", "[ENTITY_TYPE]")
@@ -3184,8 +3475,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ExportFeatureValuesRequest request =
    *       ExportFeatureValuesRequest.newBuilder()
@@ -3216,8 +3510,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ExportFeatureValuesRequest request =
    *       ExportFeatureValuesRequest.newBuilder()
@@ -3250,8 +3547,11 @@ public final UnaryCallable importFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ExportFeatureValuesRequest request =
    *       ExportFeatureValuesRequest.newBuilder()
@@ -3280,8 +3580,11 @@ public final UnaryCallable exportFeatureV
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Feature element : featurestoreServiceClient.searchFeatures(location).iterateAll()) {
@@ -3309,8 +3612,11 @@ public final SearchFeaturesPagedResponse searchFeatures(LocationName location) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Feature element : featurestoreServiceClient.searchFeatures(location).iterateAll()) {
@@ -3336,8 +3642,11 @@ public final SearchFeaturesPagedResponse searchFeatures(String location) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
    *   String query = "query107944136";
@@ -3419,8 +3728,11 @@ public final SearchFeaturesPagedResponse searchFeatures(LocationName location, S
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   String query = "query107944136";
@@ -3499,8 +3811,11 @@ public final SearchFeaturesPagedResponse searchFeatures(String location, String
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   SearchFeaturesRequest request =
    *       SearchFeaturesRequest.newBuilder()
@@ -3529,8 +3844,11 @@ public final SearchFeaturesPagedResponse searchFeatures(SearchFeaturesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   SearchFeaturesRequest request =
    *       SearchFeaturesRequest.newBuilder()
@@ -3560,8 +3878,11 @@ public final SearchFeaturesPagedResponse searchFeatures(SearchFeaturesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   SearchFeaturesRequest request =
    *       SearchFeaturesRequest.newBuilder()
@@ -3598,8 +3919,11 @@ public final SearchFeaturesPagedResponse searchFeatures(SearchFeaturesRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -3628,8 +3952,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -3659,8 +3986,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -3696,8 +4026,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = featurestoreServiceClient.getLocation(request);
@@ -3718,8 +4051,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
@@ -3742,8 +4078,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -3773,8 +4112,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -3803,8 +4145,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -3832,8 +4177,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -3865,8 +4213,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -3898,8 +4249,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceSettings.java
index 45341fb68..8d7380cca 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceSettings.java
@@ -68,8 +68,11 @@
  * 

For example, to set the total timeout of getFeaturestore to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceSettings.Builder featurestoreServiceSettingsBuilder =
  *     FeaturestoreServiceSettings.newBuilder();
  * featurestoreServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java
index a2bb38b9b..d34f0757c 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexEndpointServiceClient indexEndpointServiceClient =
  *     IndexEndpointServiceClient.create()) {
  *   IndexEndpointName name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]");
@@ -95,8 +98,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceSettings indexEndpointServiceSettings =
  *     IndexEndpointServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,8 +114,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceSettings indexEndpointServiceSettings =
  *     IndexEndpointServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IndexEndpointServiceClient indexEndpointServiceClient =
@@ -187,8 +196,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -220,8 +232,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -253,8 +268,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   CreateIndexEndpointRequest request =
@@ -281,8 +299,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   CreateIndexEndpointRequest request =
@@ -310,8 +331,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   CreateIndexEndpointRequest request =
@@ -337,8 +361,11 @@ public final UnaryCallable createIndexEnd
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   IndexEndpointName name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]");
@@ -363,8 +390,11 @@ public final IndexEndpoint getIndexEndpoint(IndexEndpointName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]").toString();
@@ -388,8 +418,11 @@ public final IndexEndpoint getIndexEndpoint(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   GetIndexEndpointRequest request =
@@ -415,8 +448,11 @@ public final IndexEndpoint getIndexEndpoint(GetIndexEndpointRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   GetIndexEndpointRequest request =
@@ -442,8 +478,11 @@ public final UnaryCallable getIndexEndpo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -473,8 +512,11 @@ public final ListIndexEndpointsPagedResponse listIndexEndpoints(LocationName par
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -502,8 +544,11 @@ public final ListIndexEndpointsPagedResponse listIndexEndpoints(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   ListIndexEndpointsRequest request =
@@ -536,8 +581,11 @@ public final ListIndexEndpointsPagedResponse listIndexEndpoints(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   ListIndexEndpointsRequest request =
@@ -569,8 +617,11 @@ public final ListIndexEndpointsPagedResponse listIndexEndpoints(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   ListIndexEndpointsRequest request =
@@ -609,8 +660,11 @@ public final ListIndexEndpointsPagedResponse listIndexEndpoints(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   IndexEndpoint indexEndpoint = IndexEndpoint.newBuilder().build();
@@ -642,8 +696,11 @@ public final IndexEndpoint updateIndexEndpoint(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   UpdateIndexEndpointRequest request =
@@ -669,8 +726,11 @@ public final IndexEndpoint updateIndexEndpoint(UpdateIndexEndpointRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   UpdateIndexEndpointRequest request =
@@ -697,8 +757,11 @@ public final IndexEndpoint updateIndexEndpoint(UpdateIndexEndpointRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   IndexEndpointName name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]");
@@ -726,8 +789,11 @@ public final OperationFuture deleteIndexEndpoint
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]").toString();
@@ -753,8 +819,11 @@ public final OperationFuture deleteIndexEndpoint
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   DeleteIndexEndpointRequest request =
@@ -781,8 +850,11 @@ public final OperationFuture deleteIndexEndpoint
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   DeleteIndexEndpointRequest request =
@@ -809,8 +881,11 @@ public final OperationFuture deleteIndexEndpoint
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   DeleteIndexEndpointRequest request =
@@ -837,8 +912,11 @@ public final UnaryCallable deleteIndexEnd
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   IndexEndpointName indexEndpoint =
@@ -872,8 +950,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String indexEndpoint =
@@ -907,8 +988,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   DeployIndexRequest request =
@@ -937,8 +1021,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   DeployIndexRequest request =
@@ -968,8 +1055,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   DeployIndexRequest request =
@@ -997,8 +1087,11 @@ public final UnaryCallable deployIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   IndexEndpointName indexEndpoint =
@@ -1033,8 +1126,11 @@ public final UnaryCallable deployIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String indexEndpoint =
@@ -1069,8 +1165,11 @@ public final UnaryCallable deployIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   UndeployIndexRequest request =
@@ -1099,8 +1198,11 @@ public final UnaryCallable deployIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   UndeployIndexRequest request =
@@ -1130,8 +1232,11 @@ public final UnaryCallable deployIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   UndeployIndexRequest request =
@@ -1158,8 +1263,11 @@ public final UnaryCallable undeployIndexCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   IndexEndpointName indexEndpoint =
@@ -1194,8 +1302,11 @@ public final UnaryCallable undeployIndexCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   String indexEndpoint =
@@ -1230,8 +1341,11 @@ public final UnaryCallable undeployIndexCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   MutateDeployedIndexRequest request =
@@ -1260,8 +1374,11 @@ public final UnaryCallable undeployIndexCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   MutateDeployedIndexRequest request =
@@ -1292,8 +1409,11 @@ public final UnaryCallable undeployIndexCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   MutateDeployedIndexRequest request =
@@ -1320,8 +1440,11 @@ public final UnaryCallable mutateDeployed
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -1351,8 +1474,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -1383,8 +1509,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -1421,8 +1550,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -1444,8 +1576,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -1469,8 +1604,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1501,8 +1639,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1532,8 +1673,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1562,8 +1706,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1596,8 +1743,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   TestIamPermissionsRequest request =
@@ -1630,8 +1780,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexEndpointServiceClient indexEndpointServiceClient =
    *     IndexEndpointServiceClient.create()) {
    *   TestIamPermissionsRequest request =
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceSettings.java
index 8828d4f42..91785be0a 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceSettings.java
@@ -65,8 +65,11 @@
  * 

For example, to set the total timeout of getIndexEndpoint to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceSettings.Builder indexEndpointServiceSettingsBuilder =
  *     IndexEndpointServiceSettings.newBuilder();
  * indexEndpointServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java
index f571458a0..d86e10c5d 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
  *   IndexName name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]");
  *   Index response = indexServiceClient.getIndex(name);
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceSettings indexServiceSettings =
  *     IndexServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -105,8 +111,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceSettings indexServiceSettings =
  *     IndexServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * IndexServiceClient indexServiceClient = IndexServiceClient.create(indexServiceSettings);
@@ -182,8 +191,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Index index = Index.newBuilder().build();
@@ -213,8 +225,11 @@ public final OperationFuture createIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Index index = Index.newBuilder().build();
@@ -241,8 +256,11 @@ public final OperationFuture createIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   CreateIndexRequest request =
    *       CreateIndexRequest.newBuilder()
@@ -268,8 +286,11 @@ public final OperationFuture createIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   CreateIndexRequest request =
    *       CreateIndexRequest.newBuilder()
@@ -295,8 +316,11 @@ public final OperationFuture createIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   CreateIndexRequest request =
    *       CreateIndexRequest.newBuilder()
@@ -320,8 +344,11 @@ public final UnaryCallable createIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   IndexName name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]");
    *   Index response = indexServiceClient.getIndex(name);
@@ -345,8 +372,11 @@ public final Index getIndex(IndexName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   String name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString();
    *   Index response = indexServiceClient.getIndex(name);
@@ -369,8 +399,11 @@ public final Index getIndex(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   GetIndexRequest request =
    *       GetIndexRequest.newBuilder()
@@ -394,8 +427,11 @@ public final Index getIndex(GetIndexRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   GetIndexRequest request =
    *       GetIndexRequest.newBuilder()
@@ -418,8 +454,11 @@ public final UnaryCallable getIndexCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Index element : indexServiceClient.listIndexes(parent).iterateAll()) {
@@ -447,8 +486,11 @@ public final ListIndexesPagedResponse listIndexes(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Index element : indexServiceClient.listIndexes(parent).iterateAll()) {
@@ -473,8 +515,11 @@ public final ListIndexesPagedResponse listIndexes(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   ListIndexesRequest request =
    *       ListIndexesRequest.newBuilder()
@@ -504,8 +549,11 @@ public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   ListIndexesRequest request =
    *       ListIndexesRequest.newBuilder()
@@ -535,8 +583,11 @@ public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   ListIndexesRequest request =
    *       ListIndexesRequest.newBuilder()
@@ -572,8 +623,11 @@ public final UnaryCallable listIndexesC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   Index index = Index.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -600,8 +654,11 @@ public final OperationFuture updateIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   UpdateIndexRequest request =
    *       UpdateIndexRequest.newBuilder()
@@ -627,8 +684,11 @@ public final OperationFuture updateIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   UpdateIndexRequest request =
    *       UpdateIndexRequest.newBuilder()
@@ -654,8 +714,11 @@ public final OperationFuture updateIndexAsy
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   UpdateIndexRequest request =
    *       UpdateIndexRequest.newBuilder()
@@ -680,8 +743,11 @@ public final UnaryCallable updateIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   IndexName name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]");
    *   indexServiceClient.deleteIndexAsync(name).get();
@@ -706,8 +772,11 @@ public final OperationFuture deleteIndexAsync(In
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   String name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]").toString();
    *   indexServiceClient.deleteIndexAsync(name).get();
@@ -731,8 +800,11 @@ public final OperationFuture deleteIndexAsync(St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   DeleteIndexRequest request =
    *       DeleteIndexRequest.newBuilder()
@@ -758,8 +830,11 @@ public final OperationFuture deleteIndexAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   DeleteIndexRequest request =
    *       DeleteIndexRequest.newBuilder()
@@ -785,8 +860,11 @@ public final OperationFuture deleteIndexAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   DeleteIndexRequest request =
    *       DeleteIndexRequest.newBuilder()
@@ -809,8 +887,11 @@ public final UnaryCallable deleteIndexCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   UpsertDatapointsRequest request =
    *       UpsertDatapointsRequest.newBuilder()
@@ -835,8 +916,11 @@ public final UpsertDatapointsResponse upsertDatapoints(UpsertDatapointsRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   UpsertDatapointsRequest request =
    *       UpsertDatapointsRequest.newBuilder()
@@ -862,8 +946,11 @@ public final UpsertDatapointsResponse upsertDatapoints(UpsertDatapointsRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   RemoveDatapointsRequest request =
    *       RemoveDatapointsRequest.newBuilder()
@@ -888,8 +975,11 @@ public final RemoveDatapointsResponse removeDatapoints(RemoveDatapointsRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   RemoveDatapointsRequest request =
    *       RemoveDatapointsRequest.newBuilder()
@@ -915,8 +1005,11 @@ public final RemoveDatapointsResponse removeDatapoints(RemoveDatapointsRequest r
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -945,8 +1038,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -976,8 +1072,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1012,8 +1111,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = indexServiceClient.getLocation(request);
@@ -1034,8 +1136,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = indexServiceClient.getLocationCallable().futureCall(request);
@@ -1057,8 +1162,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1088,8 +1196,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1117,8 +1228,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1146,8 +1260,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1178,8 +1295,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1211,8 +1331,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java
index fe62e551a..8e4314a80 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceSettings.java
@@ -65,16 +65,16 @@
  * 

For example, to set the total timeout of getIndex to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceSettings.Builder indexServiceSettingsBuilder = IndexServiceSettings.newBuilder();
  * indexServiceSettingsBuilder
  *     .getIndexSettings()
  *     .setRetrySettings(
- *         indexServiceSettingsBuilder
- *             .getIndexSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         indexServiceSettingsBuilder.getIndexSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IndexServiceSettings indexServiceSettings = indexServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java
index 0e5617e7f..41d65ca53 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,8 +112,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings jobServiceSettings =
  *     JobServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * JobServiceClient jobServiceClient = JobServiceClient.create(jobServiceSettings);
@@ -182,8 +191,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -212,8 +224,11 @@ public final CustomJob createCustomJob(LocationName parent, CustomJob customJob)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -239,8 +254,11 @@ public final CustomJob createCustomJob(String parent, CustomJob customJob) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateCustomJobRequest request =
    *       CreateCustomJobRequest.newBuilder()
@@ -265,8 +283,11 @@ public final CustomJob createCustomJob(CreateCustomJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateCustomJobRequest request =
    *       CreateCustomJobRequest.newBuilder()
@@ -290,8 +311,11 @@ public final UnaryCallable createCustomJobCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CustomJobName name = CustomJobName.of("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
    *   CustomJob response = jobServiceClient.getCustomJob(name);
@@ -315,8 +339,11 @@ public final CustomJob getCustomJob(CustomJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = CustomJobName.of("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]").toString();
    *   CustomJob response = jobServiceClient.getCustomJob(name);
@@ -339,8 +366,11 @@ public final CustomJob getCustomJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetCustomJobRequest request =
    *       GetCustomJobRequest.newBuilder()
@@ -364,8 +394,11 @@ public final CustomJob getCustomJob(GetCustomJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetCustomJobRequest request =
    *       GetCustomJobRequest.newBuilder()
@@ -388,8 +421,11 @@ public final UnaryCallable getCustomJobCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (CustomJob element : jobServiceClient.listCustomJobs(parent).iterateAll()) {
@@ -417,8 +453,11 @@ public final ListCustomJobsPagedResponse listCustomJobs(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (CustomJob element : jobServiceClient.listCustomJobs(parent).iterateAll()) {
@@ -443,8 +482,11 @@ public final ListCustomJobsPagedResponse listCustomJobs(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListCustomJobsRequest request =
    *       ListCustomJobsRequest.newBuilder()
@@ -474,8 +516,11 @@ public final ListCustomJobsPagedResponse listCustomJobs(ListCustomJobsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListCustomJobsRequest request =
    *       ListCustomJobsRequest.newBuilder()
@@ -506,8 +551,11 @@ public final ListCustomJobsPagedResponse listCustomJobs(ListCustomJobsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListCustomJobsRequest request =
    *       ListCustomJobsRequest.newBuilder()
@@ -544,8 +592,11 @@ public final ListCustomJobsPagedResponse listCustomJobs(ListCustomJobsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CustomJobName name = CustomJobName.of("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
    *   jobServiceClient.deleteCustomJobAsync(name).get();
@@ -570,8 +621,11 @@ public final OperationFuture deleteCustomJobAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = CustomJobName.of("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]").toString();
    *   jobServiceClient.deleteCustomJobAsync(name).get();
@@ -594,8 +648,11 @@ public final OperationFuture deleteCustomJobAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteCustomJobRequest request =
    *       DeleteCustomJobRequest.newBuilder()
@@ -620,8 +677,11 @@ public final OperationFuture deleteCustomJobAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteCustomJobRequest request =
    *       DeleteCustomJobRequest.newBuilder()
@@ -646,8 +706,11 @@ public final OperationFuture deleteCustomJobAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteCustomJobRequest request =
    *       DeleteCustomJobRequest.newBuilder()
@@ -677,8 +740,11 @@ public final UnaryCallable deleteCustomJobCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CustomJobName name = CustomJobName.of("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]");
    *   jobServiceClient.cancelCustomJob(name);
@@ -709,8 +775,11 @@ public final void cancelCustomJob(CustomJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name = CustomJobName.of("[PROJECT]", "[LOCATION]", "[CUSTOM_JOB]").toString();
    *   jobServiceClient.cancelCustomJob(name);
@@ -740,8 +809,11 @@ public final void cancelCustomJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelCustomJobRequest request =
    *       CancelCustomJobRequest.newBuilder()
@@ -772,8 +844,11 @@ public final void cancelCustomJob(CancelCustomJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelCustomJobRequest request =
    *       CancelCustomJobRequest.newBuilder()
@@ -796,8 +871,11 @@ public final UnaryCallable cancelCustomJobCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   DataLabelingJob dataLabelingJob = DataLabelingJob.newBuilder().build();
@@ -827,8 +905,11 @@ public final DataLabelingJob createDataLabelingJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   DataLabelingJob dataLabelingJob = DataLabelingJob.newBuilder().build();
@@ -858,8 +939,11 @@ public final DataLabelingJob createDataLabelingJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateDataLabelingJobRequest request =
    *       CreateDataLabelingJobRequest.newBuilder()
@@ -884,8 +968,11 @@ public final DataLabelingJob createDataLabelingJob(CreateDataLabelingJobRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateDataLabelingJobRequest request =
    *       CreateDataLabelingJobRequest.newBuilder()
@@ -911,8 +998,11 @@ public final DataLabelingJob createDataLabelingJob(CreateDataLabelingJobRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DataLabelingJobName name =
    *       DataLabelingJobName.of("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
@@ -939,8 +1029,11 @@ public final DataLabelingJob getDataLabelingJob(DataLabelingJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       DataLabelingJobName.of("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]").toString();
@@ -965,8 +1058,11 @@ public final DataLabelingJob getDataLabelingJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetDataLabelingJobRequest request =
    *       GetDataLabelingJobRequest.newBuilder()
@@ -992,8 +1088,11 @@ public final DataLabelingJob getDataLabelingJob(GetDataLabelingJobRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetDataLabelingJobRequest request =
    *       GetDataLabelingJobRequest.newBuilder()
@@ -1020,8 +1119,11 @@ public final DataLabelingJob getDataLabelingJob(GetDataLabelingJobRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (DataLabelingJob element : jobServiceClient.listDataLabelingJobs(parent).iterateAll()) {
@@ -1049,8 +1151,11 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs(LocationName
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (DataLabelingJob element : jobServiceClient.listDataLabelingJobs(parent).iterateAll()) {
@@ -1076,8 +1181,11 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs(String paren
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListDataLabelingJobsRequest request =
    *       ListDataLabelingJobsRequest.newBuilder()
@@ -1109,8 +1217,11 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListDataLabelingJobsRequest request =
    *       ListDataLabelingJobsRequest.newBuilder()
@@ -1142,8 +1253,11 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListDataLabelingJobsRequest request =
    *       ListDataLabelingJobsRequest.newBuilder()
@@ -1182,8 +1296,11 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DataLabelingJobName name =
    *       DataLabelingJobName.of("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
@@ -1211,8 +1328,11 @@ public final OperationFuture deleteDataLabelingJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       DataLabelingJobName.of("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]").toString();
@@ -1238,8 +1358,11 @@ public final OperationFuture deleteDataLabelingJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteDataLabelingJobRequest request =
    *       DeleteDataLabelingJobRequest.newBuilder()
@@ -1266,8 +1389,11 @@ public final OperationFuture deleteDataLabelingJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteDataLabelingJobRequest request =
    *       DeleteDataLabelingJobRequest.newBuilder()
@@ -1294,8 +1420,11 @@ public final OperationFuture deleteDataLabelingJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteDataLabelingJobRequest request =
    *       DeleteDataLabelingJobRequest.newBuilder()
@@ -1322,8 +1451,11 @@ public final OperationFuture deleteDataLabelingJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DataLabelingJobName name =
    *       DataLabelingJobName.of("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]");
@@ -1350,8 +1482,11 @@ public final void cancelDataLabelingJob(DataLabelingJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       DataLabelingJobName.of("[PROJECT]", "[LOCATION]", "[DATA_LABELING_JOB]").toString();
@@ -1376,8 +1511,11 @@ public final void cancelDataLabelingJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelDataLabelingJobRequest request =
    *       CancelDataLabelingJobRequest.newBuilder()
@@ -1403,8 +1541,11 @@ public final void cancelDataLabelingJob(CancelDataLabelingJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelDataLabelingJobRequest request =
    *       CancelDataLabelingJobRequest.newBuilder()
@@ -1430,8 +1571,11 @@ public final UnaryCallable cancelDataLabeli
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   HyperparameterTuningJob hyperparameterTuningJob =
@@ -1463,8 +1607,11 @@ public final HyperparameterTuningJob createHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   HyperparameterTuningJob hyperparameterTuningJob =
@@ -1496,8 +1643,11 @@ public final HyperparameterTuningJob createHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateHyperparameterTuningJobRequest request =
    *       CreateHyperparameterTuningJobRequest.newBuilder()
@@ -1523,8 +1673,11 @@ public final HyperparameterTuningJob createHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateHyperparameterTuningJobRequest request =
    *       CreateHyperparameterTuningJobRequest.newBuilder()
@@ -1550,8 +1703,11 @@ public final HyperparameterTuningJob createHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   HyperparameterTuningJobName name =
    *       HyperparameterTuningJobName.of("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
@@ -1579,8 +1735,11 @@ public final HyperparameterTuningJob getHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       HyperparameterTuningJobName.of("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]")
@@ -1606,8 +1765,11 @@ public final HyperparameterTuningJob getHyperparameterTuningJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetHyperparameterTuningJobRequest request =
    *       GetHyperparameterTuningJobRequest.newBuilder()
@@ -1635,8 +1797,11 @@ public final HyperparameterTuningJob getHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetHyperparameterTuningJobRequest request =
    *       GetHyperparameterTuningJobRequest.newBuilder()
@@ -1664,8 +1829,11 @@ public final HyperparameterTuningJob getHyperparameterTuningJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (HyperparameterTuningJob element :
@@ -1695,8 +1863,11 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (HyperparameterTuningJob element :
@@ -1724,8 +1895,11 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListHyperparameterTuningJobsRequest request =
    *       ListHyperparameterTuningJobsRequest.newBuilder()
@@ -1757,8 +1931,11 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListHyperparameterTuningJobsRequest request =
    *       ListHyperparameterTuningJobsRequest.newBuilder()
@@ -1790,8 +1967,11 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListHyperparameterTuningJobsRequest request =
    *       ListHyperparameterTuningJobsRequest.newBuilder()
@@ -1830,8 +2010,11 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   HyperparameterTuningJobName name =
    *       HyperparameterTuningJobName.of("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
@@ -1859,8 +2042,11 @@ public final OperationFuture deleteHyperparamete
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       HyperparameterTuningJobName.of("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]")
@@ -1887,8 +2073,11 @@ public final OperationFuture deleteHyperparamete
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteHyperparameterTuningJobRequest request =
    *       DeleteHyperparameterTuningJobRequest.newBuilder()
@@ -1916,8 +2105,11 @@ public final OperationFuture deleteHyperparamete
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteHyperparameterTuningJobRequest request =
    *       DeleteHyperparameterTuningJobRequest.newBuilder()
@@ -1946,8 +2138,11 @@ public final OperationFuture deleteHyperparamete
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteHyperparameterTuningJobRequest request =
    *       DeleteHyperparameterTuningJobRequest.newBuilder()
@@ -1986,8 +2181,11 @@ public final OperationFuture deleteHyperparamete
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   HyperparameterTuningJobName name =
    *       HyperparameterTuningJobName.of("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]");
@@ -2025,8 +2223,11 @@ public final void cancelHyperparameterTuningJob(HyperparameterTuningJobName name
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       HyperparameterTuningJobName.of("[PROJECT]", "[LOCATION]", "[HYPERPARAMETER_TUNING_JOB]")
@@ -2063,8 +2264,11 @@ public final void cancelHyperparameterTuningJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelHyperparameterTuningJobRequest request =
    *       CancelHyperparameterTuningJobRequest.newBuilder()
@@ -2102,8 +2306,11 @@ public final void cancelHyperparameterTuningJob(CancelHyperparameterTuningJobReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelHyperparameterTuningJobRequest request =
    *       CancelHyperparameterTuningJobRequest.newBuilder()
@@ -2132,8 +2339,11 @@ public final void cancelHyperparameterTuningJob(CancelHyperparameterTuningJobReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   BatchPredictionJob batchPredictionJob = BatchPredictionJob.newBuilder().build();
@@ -2165,8 +2375,11 @@ public final BatchPredictionJob createBatchPredictionJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   BatchPredictionJob batchPredictionJob = BatchPredictionJob.newBuilder().build();
@@ -2198,8 +2411,11 @@ public final BatchPredictionJob createBatchPredictionJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateBatchPredictionJobRequest request =
    *       CreateBatchPredictionJobRequest.newBuilder()
@@ -2226,8 +2442,11 @@ public final BatchPredictionJob createBatchPredictionJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateBatchPredictionJobRequest request =
    *       CreateBatchPredictionJobRequest.newBuilder()
@@ -2253,8 +2472,11 @@ public final BatchPredictionJob createBatchPredictionJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   BatchPredictionJobName name =
    *       BatchPredictionJobName.of("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
@@ -2281,8 +2503,11 @@ public final BatchPredictionJob getBatchPredictionJob(BatchPredictionJobName nam
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       BatchPredictionJobName.of("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]").toString();
@@ -2307,8 +2532,11 @@ public final BatchPredictionJob getBatchPredictionJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetBatchPredictionJobRequest request =
    *       GetBatchPredictionJobRequest.newBuilder()
@@ -2334,8 +2562,11 @@ public final BatchPredictionJob getBatchPredictionJob(GetBatchPredictionJobReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetBatchPredictionJobRequest request =
    *       GetBatchPredictionJobRequest.newBuilder()
@@ -2362,8 +2593,11 @@ public final BatchPredictionJob getBatchPredictionJob(GetBatchPredictionJobReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (BatchPredictionJob element :
@@ -2392,8 +2626,11 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs(Locati
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (BatchPredictionJob element :
@@ -2420,8 +2657,11 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs(String
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListBatchPredictionJobsRequest request =
    *       ListBatchPredictionJobsRequest.newBuilder()
@@ -2453,8 +2693,11 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListBatchPredictionJobsRequest request =
    *       ListBatchPredictionJobsRequest.newBuilder()
@@ -2485,8 +2728,11 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListBatchPredictionJobsRequest request =
    *       ListBatchPredictionJobsRequest.newBuilder()
@@ -2524,8 +2770,11 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   BatchPredictionJobName name =
    *       BatchPredictionJobName.of("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
@@ -2553,8 +2802,11 @@ public final OperationFuture deleteBatchPredicti
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       BatchPredictionJobName.of("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]").toString();
@@ -2580,8 +2832,11 @@ public final OperationFuture deleteBatchPredicti
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteBatchPredictionJobRequest request =
    *       DeleteBatchPredictionJobRequest.newBuilder()
@@ -2608,8 +2863,11 @@ public final OperationFuture deleteBatchPredicti
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteBatchPredictionJobRequest request =
    *       DeleteBatchPredictionJobRequest.newBuilder()
@@ -2636,8 +2894,11 @@ public final OperationFuture deleteBatchPredicti
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteBatchPredictionJobRequest request =
    *       DeleteBatchPredictionJobRequest.newBuilder()
@@ -2673,8 +2934,11 @@ public final OperationFuture deleteBatchPredicti
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   BatchPredictionJobName name =
    *       BatchPredictionJobName.of("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]");
@@ -2710,8 +2974,11 @@ public final void cancelBatchPredictionJob(BatchPredictionJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       BatchPredictionJobName.of("[PROJECT]", "[LOCATION]", "[BATCH_PREDICTION_JOB]").toString();
@@ -2745,8 +3012,11 @@ public final void cancelBatchPredictionJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelBatchPredictionJobRequest request =
    *       CancelBatchPredictionJobRequest.newBuilder()
@@ -2781,8 +3051,11 @@ public final void cancelBatchPredictionJob(CancelBatchPredictionJobRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CancelBatchPredictionJobRequest request =
    *       CancelBatchPredictionJobRequest.newBuilder()
@@ -2809,8 +3082,11 @@ public final void cancelBatchPredictionJob(CancelBatchPredictionJobRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   ModelDeploymentMonitoringJob modelDeploymentMonitoringJob =
@@ -2842,8 +3118,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   ModelDeploymentMonitoringJob modelDeploymentMonitoringJob =
@@ -2875,8 +3154,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateModelDeploymentMonitoringJobRequest request =
    *       CreateModelDeploymentMonitoringJobRequest.newBuilder()
@@ -2903,8 +3185,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   CreateModelDeploymentMonitoringJobRequest request =
    *       CreateModelDeploymentMonitoringJobRequest.newBuilder()
@@ -2931,8 +3216,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ModelDeploymentMonitoringJobName modelDeploymentMonitoringJob =
    *       ModelDeploymentMonitoringJobName.of(
@@ -2976,8 +3264,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String modelDeploymentMonitoringJob =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3019,8 +3310,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchModelDeploymentMonitoringStatsAnomaliesRequest request =
    *       SearchModelDeploymentMonitoringStatsAnomaliesRequest.newBuilder()
@@ -3062,8 +3356,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchModelDeploymentMonitoringStatsAnomaliesRequest request =
    *       SearchModelDeploymentMonitoringStatsAnomaliesRequest.newBuilder()
@@ -3107,8 +3404,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SearchModelDeploymentMonitoringStatsAnomaliesRequest request =
    *       SearchModelDeploymentMonitoringStatsAnomaliesRequest.newBuilder()
@@ -3157,8 +3457,11 @@ public final ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ModelDeploymentMonitoringJobName name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3188,8 +3491,11 @@ public final ModelDeploymentMonitoringJob getModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3217,8 +3523,11 @@ public final ModelDeploymentMonitoringJob getModelDeploymentMonitoringJob(String
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetModelDeploymentMonitoringJobRequest request =
    *       GetModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3247,8 +3556,11 @@ public final ModelDeploymentMonitoringJob getModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetModelDeploymentMonitoringJobRequest request =
    *       GetModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3276,8 +3588,11 @@ public final ModelDeploymentMonitoringJob getModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (ModelDeploymentMonitoringJob element :
@@ -3307,8 +3622,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (ModelDeploymentMonitoringJob element :
@@ -3336,8 +3654,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListModelDeploymentMonitoringJobsRequest request =
    *       ListModelDeploymentMonitoringJobsRequest.newBuilder()
@@ -3369,8 +3690,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListModelDeploymentMonitoringJobsRequest request =
    *       ListModelDeploymentMonitoringJobsRequest.newBuilder()
@@ -3402,8 +3726,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListModelDeploymentMonitoringJobsRequest request =
    *       ListModelDeploymentMonitoringJobsRequest.newBuilder()
@@ -3443,8 +3770,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ModelDeploymentMonitoringJob modelDeploymentMonitoringJob =
    *       ModelDeploymentMonitoringJob.newBuilder().build();
@@ -3496,8 +3826,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateModelDeploymentMonitoringJobRequest request =
    *       UpdateModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3525,8 +3858,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateModelDeploymentMonitoringJobRequest request =
    *       UpdateModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3559,8 +3895,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   UpdateModelDeploymentMonitoringJobRequest request =
    *       UpdateModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3586,8 +3925,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ModelDeploymentMonitoringJobName name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3616,8 +3958,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3645,8 +3990,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteModelDeploymentMonitoringJobRequest request =
    *       DeleteModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3674,8 +4022,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteModelDeploymentMonitoringJobRequest request =
    *       DeleteModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3706,8 +4057,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   DeleteModelDeploymentMonitoringJobRequest request =
    *       DeleteModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3738,8 +4092,11 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ModelDeploymentMonitoringJobName name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3770,8 +4127,11 @@ public final void pauseModelDeploymentMonitoringJob(ModelDeploymentMonitoringJob
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3801,8 +4161,11 @@ public final void pauseModelDeploymentMonitoringJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   PauseModelDeploymentMonitoringJobRequest request =
    *       PauseModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3833,8 +4196,11 @@ public final void pauseModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   PauseModelDeploymentMonitoringJobRequest request =
    *       PauseModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3863,8 +4229,11 @@ public final void pauseModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ModelDeploymentMonitoringJobName name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3893,8 +4262,11 @@ public final void resumeModelDeploymentMonitoringJob(ModelDeploymentMonitoringJo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   String name =
    *       ModelDeploymentMonitoringJobName.of(
@@ -3922,8 +4294,11 @@ public final void resumeModelDeploymentMonitoringJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ResumeModelDeploymentMonitoringJobRequest request =
    *       ResumeModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3952,8 +4327,11 @@ public final void resumeModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ResumeModelDeploymentMonitoringJobRequest request =
    *       ResumeModelDeploymentMonitoringJobRequest.newBuilder()
@@ -3981,8 +4359,11 @@ public final void resumeModelDeploymentMonitoringJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4011,8 +4392,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4042,8 +4426,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4078,8 +4465,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = jobServiceClient.getLocation(request);
@@ -4100,8 +4490,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = jobServiceClient.getLocationCallable().futureCall(request);
@@ -4123,8 +4516,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4154,8 +4550,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4183,8 +4582,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4212,8 +4614,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4244,8 +4649,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -4277,8 +4685,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java
index 808098026..91a81f8e6 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java
@@ -70,16 +70,16 @@
  * 

For example, to set the total timeout of createCustomJob to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createCustomJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createCustomJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createCustomJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java
index b2f4f970a..87e3398a8 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
  *   MetadataStoreName name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
  *   MetadataStore response = metadataServiceClient.getMetadataStore(name);
@@ -94,8 +97,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceSettings metadataServiceSettings =
  *     MetadataServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -107,8 +113,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceSettings metadataServiceSettings =
  *     MetadataServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * MetadataServiceClient metadataServiceClient =
@@ -186,8 +195,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   MetadataStore metadataStore = MetadataStore.newBuilder().build();
@@ -229,8 +241,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   MetadataStore metadataStore = MetadataStore.newBuilder().build();
@@ -271,8 +286,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataStoreRequest request =
    *       CreateMetadataStoreRequest.newBuilder()
@@ -299,8 +317,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataStoreRequest request =
    *       CreateMetadataStoreRequest.newBuilder()
@@ -328,8 +349,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataStoreRequest request =
    *       CreateMetadataStoreRequest.newBuilder()
@@ -355,8 +379,11 @@ public final UnaryCallable createMetadata
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
    *   MetadataStore response = metadataServiceClient.getMetadataStore(name);
@@ -380,8 +407,11 @@ public final MetadataStore getMetadataStore(MetadataStoreName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
    *   MetadataStore response = metadataServiceClient.getMetadataStore(name);
@@ -404,8 +434,11 @@ public final MetadataStore getMetadataStore(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetMetadataStoreRequest request =
    *       GetMetadataStoreRequest.newBuilder()
@@ -430,8 +463,11 @@ public final MetadataStore getMetadataStore(GetMetadataStoreRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetMetadataStoreRequest request =
    *       GetMetadataStoreRequest.newBuilder()
@@ -456,8 +492,11 @@ public final UnaryCallable getMetadataSt
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (MetadataStore element : metadataServiceClient.listMetadataStores(parent).iterateAll()) {
@@ -485,8 +524,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(LocationName par
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (MetadataStore element : metadataServiceClient.listMetadataStores(parent).iterateAll()) {
@@ -512,8 +554,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListMetadataStoresRequest request =
    *       ListMetadataStoresRequest.newBuilder()
@@ -542,8 +587,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListMetadataStoresRequest request =
    *       ListMetadataStoresRequest.newBuilder()
@@ -572,8 +620,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListMetadataStoresRequest request =
    *       ListMetadataStoresRequest.newBuilder()
@@ -610,8 +661,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
    *   metadataServiceClient.deleteMetadataStoreAsync(name).get();
@@ -639,8 +693,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
    *   metadataServiceClient.deleteMetadataStoreAsync(name).get();
@@ -666,8 +723,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteMetadataStoreRequest request =
    *       DeleteMetadataStoreRequest.newBuilder()
@@ -695,8 +755,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteMetadataStoreRequest request =
    *       DeleteMetadataStoreRequest.newBuilder()
@@ -725,8 +788,11 @@ public final ListMetadataStoresPagedResponse listMetadataStores(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteMetadataStoreRequest request =
    *       DeleteMetadataStoreRequest.newBuilder()
@@ -752,8 +818,11 @@ public final UnaryCallable deleteMetadata
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -792,8 +861,11 @@ public final Artifact createArtifact(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -831,8 +903,11 @@ public final Artifact createArtifact(String parent, Artifact artifact, String ar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateArtifactRequest request =
    *       CreateArtifactRequest.newBuilder()
@@ -859,8 +934,11 @@ public final Artifact createArtifact(CreateArtifactRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateArtifactRequest request =
    *       CreateArtifactRequest.newBuilder()
@@ -887,8 +965,11 @@ public final UnaryCallable createArtifactCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ArtifactName name =
    *       ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]");
@@ -913,8 +994,11 @@ public final Artifact getArtifact(ArtifactName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
@@ -938,8 +1022,11 @@ public final Artifact getArtifact(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetArtifactRequest request =
    *       GetArtifactRequest.newBuilder()
@@ -965,8 +1052,11 @@ public final Artifact getArtifact(GetArtifactRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetArtifactRequest request =
    *       GetArtifactRequest.newBuilder()
@@ -991,8 +1081,11 @@ public final UnaryCallable getArtifactCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -1021,8 +1114,11 @@ public final ListArtifactsPagedResponse listArtifacts(MetadataStoreName parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -1048,8 +1144,11 @@ public final ListArtifactsPagedResponse listArtifacts(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListArtifactsRequest request =
    *       ListArtifactsRequest.newBuilder()
@@ -1079,8 +1178,11 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListArtifactsRequest request =
    *       ListArtifactsRequest.newBuilder()
@@ -1111,8 +1213,11 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListArtifactsRequest request =
    *       ListArtifactsRequest.newBuilder()
@@ -1149,8 +1254,11 @@ public final UnaryCallable listArti
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   Artifact artifact = Artifact.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1179,8 +1287,11 @@ public final Artifact updateArtifact(Artifact artifact, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   UpdateArtifactRequest request =
    *       UpdateArtifactRequest.newBuilder()
@@ -1206,8 +1317,11 @@ public final Artifact updateArtifact(UpdateArtifactRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   UpdateArtifactRequest request =
    *       UpdateArtifactRequest.newBuilder()
@@ -1233,8 +1347,11 @@ public final UnaryCallable updateArtifactCallab
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ArtifactName name =
    *       ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]");
@@ -1260,8 +1377,11 @@ public final OperationFuture deleteArtifactAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
@@ -1285,8 +1405,11 @@ public final OperationFuture deleteArtifactAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteArtifactRequest request =
    *       DeleteArtifactRequest.newBuilder()
@@ -1314,8 +1437,11 @@ public final OperationFuture deleteArtifactAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteArtifactRequest request =
    *       DeleteArtifactRequest.newBuilder()
@@ -1343,8 +1469,11 @@ public final OperationFuture deleteArtifactAsync
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteArtifactRequest request =
    *       DeleteArtifactRequest.newBuilder()
@@ -1371,8 +1500,11 @@ public final UnaryCallable deleteArtifactCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -1400,8 +1532,11 @@ public final OperationFuture pur
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -1426,8 +1561,11 @@ public final OperationFuture pur
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeArtifactsRequest request =
    *       PurgeArtifactsRequest.newBuilder()
@@ -1455,8 +1593,11 @@ public final OperationFuture pur
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeArtifactsRequest request =
    *       PurgeArtifactsRequest.newBuilder()
@@ -1485,8 +1626,11 @@ public final OperationFuture pur
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeArtifactsRequest request =
    *       PurgeArtifactsRequest.newBuilder()
@@ -1513,8 +1657,11 @@ public final UnaryCallable purgeArtifactsCalla
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -1552,8 +1699,11 @@ public final Context createContext(MetadataStoreName parent, Context context, St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -1591,8 +1741,11 @@ public final Context createContext(String parent, Context context, String contex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateContextRequest request =
    *       CreateContextRequest.newBuilder()
@@ -1619,8 +1772,11 @@ public final Context createContext(CreateContextRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateContextRequest request =
    *       CreateContextRequest.newBuilder()
@@ -1646,8 +1802,11 @@ public final UnaryCallable createContextCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ContextName name = ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
    *   Context response = metadataServiceClient.getContext(name);
@@ -1671,8 +1830,11 @@ public final Context getContext(ContextName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
@@ -1696,8 +1858,11 @@ public final Context getContext(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetContextRequest request =
    *       GetContextRequest.newBuilder()
@@ -1723,8 +1888,11 @@ public final Context getContext(GetContextRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetContextRequest request =
    *       GetContextRequest.newBuilder()
@@ -1749,8 +1917,11 @@ public final UnaryCallable getContextCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -1779,8 +1950,11 @@ public final ListContextsPagedResponse listContexts(MetadataStoreName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -1806,8 +1980,11 @@ public final ListContextsPagedResponse listContexts(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -1837,8 +2014,11 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -1869,8 +2049,11 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListContextsRequest request =
    *       ListContextsRequest.newBuilder()
@@ -1906,8 +2089,11 @@ public final UnaryCallable listContex
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   Context context = Context.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1936,8 +2122,11 @@ public final Context updateContext(Context context, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   UpdateContextRequest request =
    *       UpdateContextRequest.newBuilder()
@@ -1963,8 +2152,11 @@ public final Context updateContext(UpdateContextRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   UpdateContextRequest request =
    *       UpdateContextRequest.newBuilder()
@@ -1989,8 +2181,11 @@ public final UnaryCallable updateContextCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ContextName name = ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
    *   metadataServiceClient.deleteContextAsync(name).get();
@@ -2015,8 +2210,11 @@ public final OperationFuture deleteContextAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
@@ -2040,8 +2238,11 @@ public final OperationFuture deleteContextAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -2070,8 +2271,11 @@ public final OperationFuture deleteContextAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -2100,8 +2304,11 @@ public final OperationFuture deleteContextAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteContextRequest request =
    *       DeleteContextRequest.newBuilder()
@@ -2129,8 +2336,11 @@ public final UnaryCallable deleteContextCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -2158,8 +2368,11 @@ public final OperationFuture purge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -2184,8 +2397,11 @@ public final OperationFuture purge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeContextsRequest request =
    *       PurgeContextsRequest.newBuilder()
@@ -2213,8 +2429,11 @@ public final OperationFuture purge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeContextsRequest request =
    *       PurgeContextsRequest.newBuilder()
@@ -2242,8 +2461,11 @@ public final OperationFuture purge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeContextsRequest request =
    *       PurgeContextsRequest.newBuilder()
@@ -2271,8 +2493,11 @@ public final UnaryCallable purgeContextsCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ContextName context =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
@@ -2313,8 +2538,11 @@ public final AddContextArtifactsAndExecutionsResponse addContextArtifactsAndExec
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String context =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
@@ -2355,8 +2583,11 @@ public final AddContextArtifactsAndExecutionsResponse addContextArtifactsAndExec
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   AddContextArtifactsAndExecutionsRequest request =
    *       AddContextArtifactsAndExecutionsRequest.newBuilder()
@@ -2387,8 +2618,11 @@ public final AddContextArtifactsAndExecutionsResponse addContextArtifactsAndExec
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   AddContextArtifactsAndExecutionsRequest request =
    *       AddContextArtifactsAndExecutionsRequest.newBuilder()
@@ -2421,8 +2655,11 @@ public final AddContextArtifactsAndExecutionsResponse addContextArtifactsAndExec
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ContextName context =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
@@ -2458,8 +2695,11 @@ public final AddContextChildrenResponse addContextChildren(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String context =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
@@ -2495,8 +2735,11 @@ public final AddContextChildrenResponse addContextChildren(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   AddContextChildrenRequest request =
    *       AddContextChildrenRequest.newBuilder()
@@ -2526,8 +2769,11 @@ public final AddContextChildrenResponse addContextChildren(AddContextChildrenReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   AddContextChildrenRequest request =
    *       AddContextChildrenRequest.newBuilder()
@@ -2556,8 +2802,11 @@ public final AddContextChildrenResponse addContextChildren(AddContextChildrenReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ContextName context =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
@@ -2588,8 +2837,11 @@ public final LineageSubgraph queryContextLineageSubgraph(ContextName context) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String context =
    *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
@@ -2618,8 +2870,11 @@ public final LineageSubgraph queryContextLineageSubgraph(String context) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   QueryContextLineageSubgraphRequest request =
    *       QueryContextLineageSubgraphRequest.newBuilder()
@@ -2647,8 +2902,11 @@ public final LineageSubgraph queryContextLineageSubgraph(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   QueryContextLineageSubgraphRequest request =
    *       QueryContextLineageSubgraphRequest.newBuilder()
@@ -2675,8 +2933,11 @@ public final LineageSubgraph queryContextLineageSubgraph(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -2715,8 +2976,11 @@ public final Execution createExecution(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -2754,8 +3018,11 @@ public final Execution createExecution(String parent, Execution execution, Strin
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateExecutionRequest request =
    *       CreateExecutionRequest.newBuilder()
@@ -2782,8 +3049,11 @@ public final Execution createExecution(CreateExecutionRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateExecutionRequest request =
    *       CreateExecutionRequest.newBuilder()
@@ -2810,8 +3080,11 @@ public final UnaryCallable createExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ExecutionName name =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]");
@@ -2836,8 +3109,11 @@ public final Execution getExecution(ExecutionName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
@@ -2861,8 +3137,11 @@ public final Execution getExecution(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetExecutionRequest request =
    *       GetExecutionRequest.newBuilder()
@@ -2888,8 +3167,11 @@ public final Execution getExecution(GetExecutionRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetExecutionRequest request =
    *       GetExecutionRequest.newBuilder()
@@ -2915,8 +3197,11 @@ public final UnaryCallable getExecutionCallable(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -2945,8 +3230,11 @@ public final ListExecutionsPagedResponse listExecutions(MetadataStoreName parent
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -2972,8 +3260,11 @@ public final ListExecutionsPagedResponse listExecutions(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListExecutionsRequest request =
    *       ListExecutionsRequest.newBuilder()
@@ -3003,8 +3294,11 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListExecutionsRequest request =
    *       ListExecutionsRequest.newBuilder()
@@ -3035,8 +3329,11 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListExecutionsRequest request =
    *       ListExecutionsRequest.newBuilder()
@@ -3074,8 +3371,11 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   Execution execution = Execution.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -3107,8 +3407,11 @@ public final Execution updateExecution(Execution execution, FieldMask updateMask
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   UpdateExecutionRequest request =
    *       UpdateExecutionRequest.newBuilder()
@@ -3134,8 +3437,11 @@ public final Execution updateExecution(UpdateExecutionRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   UpdateExecutionRequest request =
    *       UpdateExecutionRequest.newBuilder()
@@ -3161,8 +3467,11 @@ public final UnaryCallable updateExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ExecutionName name =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]");
@@ -3188,8 +3497,11 @@ public final OperationFuture deleteExecutionAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
@@ -3213,8 +3525,11 @@ public final OperationFuture deleteExecutionAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteExecutionRequest request =
    *       DeleteExecutionRequest.newBuilder()
@@ -3242,8 +3557,11 @@ public final OperationFuture deleteExecutionAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteExecutionRequest request =
    *       DeleteExecutionRequest.newBuilder()
@@ -3271,8 +3589,11 @@ public final OperationFuture deleteExecutionAsyn
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   DeleteExecutionRequest request =
    *       DeleteExecutionRequest.newBuilder()
@@ -3299,8 +3620,11 @@ public final UnaryCallable deleteExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -3328,8 +3652,11 @@ public final UnaryCallable deleteExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -3354,8 +3681,11 @@ public final UnaryCallable deleteExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeExecutionsRequest request =
    *       PurgeExecutionsRequest.newBuilder()
@@ -3383,8 +3713,11 @@ public final UnaryCallable deleteExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeExecutionsRequest request =
    *       PurgeExecutionsRequest.newBuilder()
@@ -3413,8 +3746,11 @@ public final UnaryCallable deleteExecutionCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   PurgeExecutionsRequest request =
    *       PurgeExecutionsRequest.newBuilder()
@@ -3443,8 +3779,11 @@ public final UnaryCallable purgeExecutionsCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ExecutionName execution =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]");
@@ -3479,8 +3818,11 @@ public final AddExecutionEventsResponse addExecutionEvents(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String execution =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
@@ -3511,8 +3853,11 @@ public final AddExecutionEventsResponse addExecutionEvents(String execution, Lis
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   AddExecutionEventsRequest request =
    *       AddExecutionEventsRequest.newBuilder()
@@ -3541,8 +3886,11 @@ public final AddExecutionEventsResponse addExecutionEvents(AddExecutionEventsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   AddExecutionEventsRequest request =
    *       AddExecutionEventsRequest.newBuilder()
@@ -3571,8 +3919,11 @@ public final AddExecutionEventsResponse addExecutionEvents(AddExecutionEventsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ExecutionName execution =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]");
@@ -3601,8 +3952,11 @@ public final LineageSubgraph queryExecutionInputsAndOutputs(ExecutionName execut
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String execution =
    *       ExecutionName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[EXECUTION]").toString();
@@ -3629,8 +3983,11 @@ public final LineageSubgraph queryExecutionInputsAndOutputs(String execution) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   QueryExecutionInputsAndOutputsRequest request =
    *       QueryExecutionInputsAndOutputsRequest.newBuilder()
@@ -3658,8 +4015,11 @@ public final LineageSubgraph queryExecutionInputsAndOutputs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   QueryExecutionInputsAndOutputsRequest request =
    *       QueryExecutionInputsAndOutputsRequest.newBuilder()
@@ -3686,8 +4046,11 @@ public final LineageSubgraph queryExecutionInputsAndOutputs(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -3729,8 +4092,11 @@ public final MetadataSchema createMetadataSchema(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -3772,8 +4138,11 @@ public final MetadataSchema createMetadataSchema(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataSchemaRequest request =
    *       CreateMetadataSchemaRequest.newBuilder()
@@ -3800,8 +4169,11 @@ public final MetadataSchema createMetadataSchema(CreateMetadataSchemaRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   CreateMetadataSchemaRequest request =
    *       CreateMetadataSchemaRequest.newBuilder()
@@ -3829,8 +4201,11 @@ public final MetadataSchema createMetadataSchema(CreateMetadataSchemaRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataSchemaName name =
    *       MetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]");
@@ -3857,8 +4232,11 @@ public final MetadataSchema getMetadataSchema(MetadataSchemaName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String name =
    *       MetadataSchemaName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[METADATA_SCHEMA]")
@@ -3883,8 +4261,11 @@ public final MetadataSchema getMetadataSchema(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetMetadataSchemaRequest request =
    *       GetMetadataSchemaRequest.newBuilder()
@@ -3911,8 +4292,11 @@ public final MetadataSchema getMetadataSchema(GetMetadataSchemaRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetMetadataSchemaRequest request =
    *       GetMetadataSchemaRequest.newBuilder()
@@ -3939,8 +4323,11 @@ public final UnaryCallable getMetadata
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   MetadataStoreName parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
@@ -3970,8 +4357,11 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(MetadataStoreN
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String parent =
    *       MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]").toString();
@@ -3999,8 +4389,11 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(String parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListMetadataSchemasRequest request =
    *       ListMetadataSchemasRequest.newBuilder()
@@ -4032,8 +4425,11 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListMetadataSchemasRequest request =
    *       ListMetadataSchemasRequest.newBuilder()
@@ -4064,8 +4460,11 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListMetadataSchemasRequest request =
    *       ListMetadataSchemasRequest.newBuilder()
@@ -4104,8 +4503,11 @@ public final ListMetadataSchemasPagedResponse listMetadataSchemas(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ArtifactName artifact =
    *       ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]");
@@ -4136,8 +4538,11 @@ public final LineageSubgraph queryArtifactLineageSubgraph(ArtifactName artifact)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   String artifact =
    *       ArtifactName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[ARTIFACT]").toString();
@@ -4166,8 +4571,11 @@ public final LineageSubgraph queryArtifactLineageSubgraph(String artifact) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   QueryArtifactLineageSubgraphRequest request =
    *       QueryArtifactLineageSubgraphRequest.newBuilder()
@@ -4197,8 +4605,11 @@ public final LineageSubgraph queryArtifactLineageSubgraph(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   QueryArtifactLineageSubgraphRequest request =
    *       QueryArtifactLineageSubgraphRequest.newBuilder()
@@ -4227,8 +4638,11 @@ public final LineageSubgraph queryArtifactLineageSubgraph(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4257,8 +4671,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4288,8 +4705,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4325,8 +4745,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = metadataServiceClient.getLocation(request);
@@ -4347,8 +4770,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = metadataServiceClient.getLocationCallable().futureCall(request);
@@ -4370,8 +4796,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4401,8 +4830,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4430,8 +4862,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4459,8 +4894,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4491,8 +4929,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -4524,8 +4965,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java
index 05c7c05f8..f8cf5a767 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java
@@ -69,17 +69,17 @@
  * 

For example, to set the total timeout of getMetadataStore to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceSettings.Builder metadataServiceSettingsBuilder =
  *     MetadataServiceSettings.newBuilder();
  * metadataServiceSettingsBuilder
  *     .getMetadataStoreSettings()
  *     .setRetrySettings(
- *         metadataServiceSettingsBuilder
- *             .getMetadataStoreSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         metadataServiceSettingsBuilder.getMetadataStoreSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MetadataServiceSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java
index 796848eb1..c524b7136 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceClient.java
@@ -55,8 +55,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
  *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
  *   Location response = migrationServiceClient.getLocation(request);
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceSettings migrationServiceSettings =
  *     MigrationServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -106,8 +112,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceSettings migrationServiceSettings =
  *     MigrationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * MigrationServiceClient migrationServiceClient =
@@ -186,8 +195,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (MigratableResource element :
@@ -219,8 +231,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (MigratableResource element :
@@ -249,8 +264,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   SearchMigratableResourcesRequest request =
    *       SearchMigratableResourcesRequest.newBuilder()
@@ -282,8 +300,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   SearchMigratableResourcesRequest request =
    *       SearchMigratableResourcesRequest.newBuilder()
@@ -315,8 +336,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   SearchMigratableResourcesRequest request =
    *       SearchMigratableResourcesRequest.newBuilder()
@@ -354,8 +378,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   List migrateResourceRequests = new ArrayList<>();
@@ -391,8 +418,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   List migrateResourceRequests = new ArrayList<>();
@@ -428,8 +458,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   BatchMigrateResourcesRequest request =
    *       BatchMigrateResourcesRequest.newBuilder()
@@ -458,8 +491,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   BatchMigrateResourcesRequest request =
    *       BatchMigrateResourcesRequest.newBuilder()
@@ -490,8 +526,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   BatchMigrateResourcesRequest request =
    *       BatchMigrateResourcesRequest.newBuilder()
@@ -517,8 +556,11 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -547,8 +589,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -578,8 +623,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -615,8 +663,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = migrationServiceClient.getLocation(request);
@@ -637,8 +688,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = migrationServiceClient.getLocationCallable().futureCall(request);
@@ -660,8 +714,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -691,8 +748,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -720,8 +780,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -749,8 +812,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -781,8 +847,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -814,8 +883,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java
index b7481032c..7edb6f2a8 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceSettings.java
@@ -64,17 +64,17 @@
  * 

For example, to set the total timeout of getLocation to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceSettings.Builder migrationServiceSettingsBuilder =
  *     MigrationServiceSettings.newBuilder();
  * migrationServiceSettingsBuilder
  *     .getLocationSettings()
  *     .setRetrySettings(
- *         migrationServiceSettingsBuilder
- *             .getLocationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         migrationServiceSettingsBuilder.getLocationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MigrationServiceSettings migrationServiceSettings = migrationServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java
index 8c47bb258..7b98970f0 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java
@@ -56,8 +56,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
  *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
  *   Model response = modelServiceClient.getModel(name);
@@ -93,8 +96,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceSettings modelServiceSettings =
  *     ModelServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -105,8 +111,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceSettings modelServiceSettings =
  *     ModelServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ModelServiceClient modelServiceClient = ModelServiceClient.create(modelServiceSettings);
@@ -182,8 +191,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Model model = Model.newBuilder().build();
@@ -213,8 +225,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Model model = Model.newBuilder().build();
@@ -241,8 +256,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UploadModelRequest request =
    *       UploadModelRequest.newBuilder()
@@ -270,8 +288,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UploadModelRequest request =
    *       UploadModelRequest.newBuilder()
@@ -300,8 +321,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UploadModelRequest request =
    *       UploadModelRequest.newBuilder()
@@ -327,8 +351,11 @@ public final UnaryCallable uploadModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   Model response = modelServiceClient.getModel(name);
@@ -359,8 +386,11 @@ public final Model getModel(ModelName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   Model response = modelServiceClient.getModel(name);
@@ -390,8 +420,11 @@ public final Model getModel(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetModelRequest request =
    *       GetModelRequest.newBuilder()
@@ -415,8 +448,11 @@ public final Model getModel(GetModelRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetModelRequest request =
    *       GetModelRequest.newBuilder()
@@ -439,8 +475,11 @@ public final UnaryCallable getModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Model element : modelServiceClient.listModels(parent).iterateAll()) {
@@ -466,8 +505,11 @@ public final ListModelsPagedResponse listModels(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Model element : modelServiceClient.listModels(parent).iterateAll()) {
@@ -492,8 +534,11 @@ public final ListModelsPagedResponse listModels(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelsRequest request =
    *       ListModelsRequest.newBuilder()
@@ -523,8 +568,11 @@ public final ListModelsPagedResponse listModels(ListModelsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelsRequest request =
    *       ListModelsRequest.newBuilder()
@@ -553,8 +601,11 @@ public final UnaryCallable listModel
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelsRequest request =
    *       ListModelsRequest.newBuilder()
@@ -590,8 +641,11 @@ public final UnaryCallable listModelsCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   for (Model element : modelServiceClient.listModelVersions(name).iterateAll()) {
@@ -618,8 +672,11 @@ public final ListModelVersionsPagedResponse listModelVersions(ModelName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   for (Model element : modelServiceClient.listModelVersions(name).iterateAll()) {
@@ -643,8 +700,11 @@ public final ListModelVersionsPagedResponse listModelVersions(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelVersionsRequest request =
    *       ListModelVersionsRequest.newBuilder()
@@ -674,8 +734,11 @@ public final ListModelVersionsPagedResponse listModelVersions(ListModelVersionsR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelVersionsRequest request =
    *       ListModelVersionsRequest.newBuilder()
@@ -706,8 +769,11 @@ public final ListModelVersionsPagedResponse listModelVersions(ListModelVersionsR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelVersionsRequest request =
    *       ListModelVersionsRequest.newBuilder()
@@ -745,8 +811,11 @@ public final ListModelVersionsPagedResponse listModelVersions(ListModelVersionsR
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   Model model = Model.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -783,8 +852,11 @@ public final Model updateModel(Model model, FieldMask updateMask) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UpdateModelRequest request =
    *       UpdateModelRequest.newBuilder()
@@ -809,8 +881,11 @@ public final Model updateModel(UpdateModelRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UpdateModelRequest request =
    *       UpdateModelRequest.newBuilder()
@@ -834,8 +909,11 @@ public final UnaryCallable updateModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName model = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   UpdateExplanationDatasetResponse response =
@@ -864,8 +942,11 @@ public final UnaryCallable updateModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String model = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   UpdateExplanationDatasetResponse response =
@@ -892,8 +973,11 @@ public final UnaryCallable updateModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UpdateExplanationDatasetRequest request =
    *       UpdateExplanationDatasetRequest.newBuilder()
@@ -921,8 +1005,11 @@ public final UnaryCallable updateModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UpdateExplanationDatasetRequest request =
    *       UpdateExplanationDatasetRequest.newBuilder()
@@ -952,8 +1039,11 @@ public final UnaryCallable updateModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   UpdateExplanationDatasetRequest request =
    *       UpdateExplanationDatasetRequest.newBuilder()
@@ -983,8 +1073,11 @@ public final UnaryCallable updateModelCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   modelServiceClient.deleteModelAsync(name).get();
@@ -1012,8 +1105,11 @@ public final OperationFuture deleteModelAsync(Mo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   modelServiceClient.deleteModelAsync(name).get();
@@ -1040,8 +1136,11 @@ public final OperationFuture deleteModelAsync(St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   DeleteModelRequest request =
    *       DeleteModelRequest.newBuilder()
@@ -1070,8 +1169,11 @@ public final OperationFuture deleteModelAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   DeleteModelRequest request =
    *       DeleteModelRequest.newBuilder()
@@ -1100,8 +1202,11 @@ public final OperationFuture deleteModelAsync(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   DeleteModelRequest request =
    *       DeleteModelRequest.newBuilder()
@@ -1129,8 +1234,11 @@ public final UnaryCallable deleteModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   modelServiceClient.deleteModelVersionAsync(name).get();
@@ -1163,8 +1271,11 @@ public final OperationFuture deleteModelVersionA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   modelServiceClient.deleteModelVersionAsync(name).get();
@@ -1195,8 +1306,11 @@ public final OperationFuture deleteModelVersionA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   DeleteModelVersionRequest request =
    *       DeleteModelVersionRequest.newBuilder()
@@ -1226,8 +1340,11 @@ public final OperationFuture deleteModelVersionA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   DeleteModelVersionRequest request =
    *       DeleteModelVersionRequest.newBuilder()
@@ -1257,8 +1374,11 @@ public final OperationFuture deleteModelVersionA
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   DeleteModelVersionRequest request =
    *       DeleteModelVersionRequest.newBuilder()
@@ -1282,8 +1402,11 @@ public final UnaryCallable deleteModelVers
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   List versionAliases = new ArrayList<>();
@@ -1320,8 +1443,11 @@ public final Model mergeVersionAliases(ModelName name, List versionAlias
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   List versionAliases = new ArrayList<>();
@@ -1358,8 +1484,11 @@ public final Model mergeVersionAliases(String name, List versionAliases)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   MergeVersionAliasesRequest request =
    *       MergeVersionAliasesRequest.newBuilder()
@@ -1384,8 +1513,11 @@ public final Model mergeVersionAliases(MergeVersionAliasesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   MergeVersionAliasesRequest request =
    *       MergeVersionAliasesRequest.newBuilder()
@@ -1412,8 +1544,11 @@ public final UnaryCallable mergeVersionAliase
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   ExportModelRequest.OutputConfig outputConfig =
@@ -1447,8 +1582,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   ExportModelRequest.OutputConfig outputConfig =
@@ -1479,8 +1617,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ExportModelRequest request =
    *       ExportModelRequest.newBuilder()
@@ -1508,8 +1649,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ExportModelRequest request =
    *       ExportModelRequest.newBuilder()
@@ -1538,8 +1682,11 @@ public final OperationFuture
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ExportModelRequest request =
    *       ExportModelRequest.newBuilder()
@@ -1563,8 +1710,11 @@ public final UnaryCallable exportModelCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build();
@@ -1594,8 +1744,11 @@ public final ModelEvaluation importModelEvaluation(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build();
@@ -1625,8 +1778,11 @@ public final ModelEvaluation importModelEvaluation(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ImportModelEvaluationRequest request =
    *       ImportModelEvaluationRequest.newBuilder()
@@ -1651,8 +1807,11 @@ public final ModelEvaluation importModelEvaluation(ImportModelEvaluationRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ImportModelEvaluationRequest request =
    *       ImportModelEvaluationRequest.newBuilder()
@@ -1678,8 +1837,11 @@ public final ModelEvaluation importModelEvaluation(ImportModelEvaluationRequest
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelEvaluationName parent =
    *       ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]");
@@ -1711,8 +1873,11 @@ public final BatchImportModelEvaluationSlicesResponse batchImportModelEvaluation
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String parent =
    *       ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]").toString();
@@ -1744,8 +1909,11 @@ public final BatchImportModelEvaluationSlicesResponse batchImportModelEvaluation
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   BatchImportModelEvaluationSlicesRequest request =
    *       BatchImportModelEvaluationSlicesRequest.newBuilder()
@@ -1774,8 +1942,11 @@ public final BatchImportModelEvaluationSlicesResponse batchImportModelEvaluation
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   BatchImportModelEvaluationSlicesRequest request =
    *       BatchImportModelEvaluationSlicesRequest.newBuilder()
@@ -1804,8 +1975,11 @@ public final BatchImportModelEvaluationSlicesResponse batchImportModelEvaluation
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelEvaluationName name =
    *       ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]");
@@ -1832,8 +2006,11 @@ public final ModelEvaluation getModelEvaluation(ModelEvaluationName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name =
    *       ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]").toString();
@@ -1858,8 +2035,11 @@ public final ModelEvaluation getModelEvaluation(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetModelEvaluationRequest request =
    *       GetModelEvaluationRequest.newBuilder()
@@ -1885,8 +2065,11 @@ public final ModelEvaluation getModelEvaluation(GetModelEvaluationRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetModelEvaluationRequest request =
    *       GetModelEvaluationRequest.newBuilder()
@@ -1913,8 +2096,11 @@ public final ModelEvaluation getModelEvaluation(GetModelEvaluationRequest reques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
    *   for (ModelEvaluation element : modelServiceClient.listModelEvaluations(parent).iterateAll()) {
@@ -1942,8 +2128,11 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(ModelName pa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
    *   for (ModelEvaluation element : modelServiceClient.listModelEvaluations(parent).iterateAll()) {
@@ -1969,8 +2158,11 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(String paren
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelEvaluationsRequest request =
    *       ListModelEvaluationsRequest.newBuilder()
@@ -2002,8 +2194,11 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelEvaluationsRequest request =
    *       ListModelEvaluationsRequest.newBuilder()
@@ -2034,8 +2229,11 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelEvaluationsRequest request =
    *       ListModelEvaluationsRequest.newBuilder()
@@ -2073,8 +2271,11 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelEvaluationSliceName name =
    *       ModelEvaluationSliceName.of(
@@ -2102,8 +2303,11 @@ public final ModelEvaluationSlice getModelEvaluationSlice(ModelEvaluationSliceNa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String name =
    *       ModelEvaluationSliceName.of(
@@ -2130,8 +2334,11 @@ public final ModelEvaluationSlice getModelEvaluationSlice(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetModelEvaluationSliceRequest request =
    *       GetModelEvaluationSliceRequest.newBuilder()
@@ -2159,8 +2366,11 @@ public final ModelEvaluationSlice getModelEvaluationSlice(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetModelEvaluationSliceRequest request =
    *       GetModelEvaluationSliceRequest.newBuilder()
@@ -2188,8 +2398,11 @@ public final ModelEvaluationSlice getModelEvaluationSlice(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ModelEvaluationName parent =
    *       ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]");
@@ -2221,8 +2434,11 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   String parent =
    *       ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]").toString();
@@ -2251,8 +2467,11 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelEvaluationSlicesRequest request =
    *       ListModelEvaluationSlicesRequest.newBuilder()
@@ -2286,8 +2505,11 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelEvaluationSlicesRequest request =
    *       ListModelEvaluationSlicesRequest.newBuilder()
@@ -2321,8 +2543,11 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListModelEvaluationSlicesRequest request =
    *       ListModelEvaluationSlicesRequest.newBuilder()
@@ -2362,8 +2587,11 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -2392,8 +2620,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -2423,8 +2654,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -2459,8 +2693,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = modelServiceClient.getLocation(request);
@@ -2481,8 +2718,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = modelServiceClient.getLocationCallable().futureCall(request);
@@ -2504,8 +2744,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -2535,8 +2778,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -2564,8 +2810,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -2593,8 +2842,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -2625,8 +2877,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -2658,8 +2913,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java
index c81f8c138..befd951d3 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java
@@ -68,16 +68,16 @@
  * 

For example, to set the total timeout of getModel to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceSettings.Builder modelServiceSettingsBuilder = ModelServiceSettings.newBuilder();
  * modelServiceSettingsBuilder
  *     .getModelSettings()
  *     .setRetrySettings(
- *         modelServiceSettingsBuilder
- *             .getModelSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         modelServiceSettingsBuilder.getModelSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ModelServiceSettings modelServiceSettings = modelServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java
index 797d3a67e..7a739dbdf 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java
@@ -57,8 +57,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -97,8 +100,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceSettings pipelineServiceSettings =
  *     PipelineServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -110,8 +116,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceSettings pipelineServiceSettings =
  *     PipelineServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PipelineServiceClient pipelineServiceClient =
@@ -189,8 +198,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -221,8 +233,11 @@ public final TrainingPipeline createTrainingPipeline(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -253,8 +268,11 @@ public final TrainingPipeline createTrainingPipeline(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CreateTrainingPipelineRequest request =
    *       CreateTrainingPipelineRequest.newBuilder()
@@ -279,8 +297,11 @@ public final TrainingPipeline createTrainingPipeline(CreateTrainingPipelineReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CreateTrainingPipelineRequest request =
    *       CreateTrainingPipelineRequest.newBuilder()
@@ -306,8 +327,11 @@ public final TrainingPipeline createTrainingPipeline(CreateTrainingPipelineReque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   TrainingPipelineName name =
    *       TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]");
@@ -334,8 +358,11 @@ public final TrainingPipeline getTrainingPipeline(TrainingPipelineName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String name =
    *       TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]").toString();
@@ -360,8 +387,11 @@ public final TrainingPipeline getTrainingPipeline(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetTrainingPipelineRequest request =
    *       GetTrainingPipelineRequest.newBuilder()
@@ -387,8 +417,11 @@ public final TrainingPipeline getTrainingPipeline(GetTrainingPipelineRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetTrainingPipelineRequest request =
    *       GetTrainingPipelineRequest.newBuilder()
@@ -415,8 +448,11 @@ public final TrainingPipeline getTrainingPipeline(GetTrainingPipelineRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (TrainingPipeline element :
@@ -445,8 +481,11 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines(LocationNa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (TrainingPipeline element :
@@ -473,8 +512,11 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines(String par
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListTrainingPipelinesRequest request =
    *       ListTrainingPipelinesRequest.newBuilder()
@@ -506,8 +548,11 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListTrainingPipelinesRequest request =
    *       ListTrainingPipelinesRequest.newBuilder()
@@ -538,8 +583,11 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListTrainingPipelinesRequest request =
    *       ListTrainingPipelinesRequest.newBuilder()
@@ -577,8 +625,11 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   TrainingPipelineName name =
    *       TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]");
@@ -606,8 +657,11 @@ public final OperationFuture deleteTrainingPipel
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String name =
    *       TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]").toString();
@@ -633,8 +687,11 @@ public final OperationFuture deleteTrainingPipel
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   DeleteTrainingPipelineRequest request =
    *       DeleteTrainingPipelineRequest.newBuilder()
@@ -661,8 +718,11 @@ public final OperationFuture deleteTrainingPipel
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   DeleteTrainingPipelineRequest request =
    *       DeleteTrainingPipelineRequest.newBuilder()
@@ -689,8 +749,11 @@ public final OperationFuture deleteTrainingPipel
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   DeleteTrainingPipelineRequest request =
    *       DeleteTrainingPipelineRequest.newBuilder()
@@ -727,8 +790,11 @@ public final OperationFuture deleteTrainingPipel
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   TrainingPipelineName name =
    *       TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]");
@@ -765,8 +831,11 @@ public final void cancelTrainingPipeline(TrainingPipelineName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String name =
    *       TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]").toString();
@@ -801,8 +870,11 @@ public final void cancelTrainingPipeline(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CancelTrainingPipelineRequest request =
    *       CancelTrainingPipelineRequest.newBuilder()
@@ -838,8 +910,11 @@ public final void cancelTrainingPipeline(CancelTrainingPipelineRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CancelTrainingPipelineRequest request =
    *       CancelTrainingPipelineRequest.newBuilder()
@@ -866,8 +941,11 @@ public final void cancelTrainingPipeline(CancelTrainingPipelineRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   PipelineJob pipelineJob = PipelineJob.newBuilder().build();
@@ -903,8 +981,11 @@ public final PipelineJob createPipelineJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   PipelineJob pipelineJob = PipelineJob.newBuilder().build();
@@ -940,8 +1021,11 @@ public final PipelineJob createPipelineJob(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CreatePipelineJobRequest request =
    *       CreatePipelineJobRequest.newBuilder()
@@ -967,8 +1051,11 @@ public final PipelineJob createPipelineJob(CreatePipelineJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CreatePipelineJobRequest request =
    *       CreatePipelineJobRequest.newBuilder()
@@ -994,8 +1081,11 @@ public final UnaryCallable createPipeline
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   PipelineJobName name = PipelineJobName.of("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]");
    *   PipelineJob response = pipelineServiceClient.getPipelineJob(name);
@@ -1019,8 +1109,11 @@ public final PipelineJob getPipelineJob(PipelineJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String name = PipelineJobName.of("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]").toString();
    *   PipelineJob response = pipelineServiceClient.getPipelineJob(name);
@@ -1043,8 +1136,11 @@ public final PipelineJob getPipelineJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetPipelineJobRequest request =
    *       GetPipelineJobRequest.newBuilder()
@@ -1068,8 +1164,11 @@ public final PipelineJob getPipelineJob(GetPipelineJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetPipelineJobRequest request =
    *       GetPipelineJobRequest.newBuilder()
@@ -1093,8 +1192,11 @@ public final UnaryCallable getPipelineJobCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (PipelineJob element : pipelineServiceClient.listPipelineJobs(parent).iterateAll()) {
@@ -1122,8 +1224,11 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(LocationName parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (PipelineJob element : pipelineServiceClient.listPipelineJobs(parent).iterateAll()) {
@@ -1149,8 +1254,11 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListPipelineJobsRequest request =
    *       ListPipelineJobsRequest.newBuilder()
@@ -1180,8 +1288,11 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListPipelineJobsRequest request =
    *       ListPipelineJobsRequest.newBuilder()
@@ -1212,8 +1323,11 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListPipelineJobsRequest request =
    *       ListPipelineJobsRequest.newBuilder()
@@ -1251,8 +1365,11 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   PipelineJobName name = PipelineJobName.of("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]");
    *   pipelineServiceClient.deletePipelineJobAsync(name).get();
@@ -1279,8 +1396,11 @@ public final OperationFuture deletePipelineJobAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String name = PipelineJobName.of("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]").toString();
    *   pipelineServiceClient.deletePipelineJobAsync(name).get();
@@ -1303,8 +1423,11 @@ public final OperationFuture deletePipelineJobAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   DeletePipelineJobRequest request =
    *       DeletePipelineJobRequest.newBuilder()
@@ -1329,8 +1452,11 @@ public final OperationFuture deletePipelineJobAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   DeletePipelineJobRequest request =
    *       DeletePipelineJobRequest.newBuilder()
@@ -1355,8 +1481,11 @@ public final OperationFuture deletePipelineJobAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   DeletePipelineJobRequest request =
    *       DeletePipelineJobRequest.newBuilder()
@@ -1388,8 +1517,11 @@ public final UnaryCallable deletePipelineJo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   PipelineJobName name = PipelineJobName.of("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]");
    *   pipelineServiceClient.cancelPipelineJob(name);
@@ -1423,8 +1555,11 @@ public final void cancelPipelineJob(PipelineJobName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   String name = PipelineJobName.of("[PROJECT]", "[LOCATION]", "[PIPELINE_JOB]").toString();
    *   pipelineServiceClient.cancelPipelineJob(name);
@@ -1455,8 +1590,11 @@ public final void cancelPipelineJob(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CancelPipelineJobRequest request =
    *       CancelPipelineJobRequest.newBuilder()
@@ -1488,8 +1626,11 @@ public final void cancelPipelineJob(CancelPipelineJobRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   CancelPipelineJobRequest request =
    *       CancelPipelineJobRequest.newBuilder()
@@ -1513,8 +1654,11 @@ public final UnaryCallable cancelPipelineJobCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1543,8 +1687,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1574,8 +1721,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1611,8 +1761,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = pipelineServiceClient.getLocation(request);
@@ -1633,8 +1786,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = pipelineServiceClient.getLocationCallable().futureCall(request);
@@ -1656,8 +1812,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1687,8 +1846,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1716,8 +1878,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1745,8 +1910,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1777,8 +1945,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1810,8 +1981,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java
index 76b92512d..93c191935 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceSettings.java
@@ -66,8 +66,11 @@
  * 

For example, to set the total timeout of createTrainingPipeline to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceSettings.Builder pipelineServiceSettingsBuilder =
  *     PipelineServiceSettings.newBuilder();
  * pipelineServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java
index fce7d7f13..6b911a394 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceClient.java
@@ -52,8 +52,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
  *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   List instances = new ArrayList<>();
@@ -92,8 +95,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceSettings predictionServiceSettings =
  *     PredictionServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -105,8 +111,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceSettings predictionServiceSettings =
  *     PredictionServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * PredictionServiceClient predictionServiceClient =
@@ -173,8 +182,11 @@ public PredictionServiceStub getStub() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   List instances = new ArrayList<>();
@@ -218,8 +230,11 @@ public final PredictResponse predict(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   List instances = new ArrayList<>();
@@ -262,8 +277,11 @@ public final PredictResponse predict(String endpoint, List instances, Val
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   PredictRequest request =
    *       PredictRequest.newBuilder()
@@ -289,8 +307,11 @@ public final PredictResponse predict(PredictRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   PredictRequest request =
    *       PredictRequest.newBuilder()
@@ -329,8 +350,11 @@ public final UnaryCallable predictCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   HttpBody httpBody = HttpBody.newBuilder().build();
@@ -383,8 +407,11 @@ public final HttpBody rawPredict(EndpointName endpoint, HttpBody httpBody) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   HttpBody httpBody = HttpBody.newBuilder().build();
@@ -434,8 +461,11 @@ public final HttpBody rawPredict(String endpoint, HttpBody httpBody) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   RawPredictRequest request =
    *       RawPredictRequest.newBuilder()
@@ -473,8 +503,11 @@ public final HttpBody rawPredict(RawPredictRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   RawPredictRequest request =
    *       RawPredictRequest.newBuilder()
@@ -506,8 +539,11 @@ public final UnaryCallable rawPredictCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
    *   List instances = new ArrayList<>();
@@ -565,8 +601,11 @@ public final ExplainResponse explain(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   String endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]").toString();
    *   List instances = new ArrayList<>();
@@ -624,8 +663,11 @@ public final ExplainResponse explain(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   ExplainRequest request =
    *       ExplainRequest.newBuilder()
@@ -661,8 +703,11 @@ public final ExplainResponse explain(ExplainRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   ExplainRequest request =
    *       ExplainRequest.newBuilder()
@@ -690,8 +735,11 @@ public final UnaryCallable explainCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -720,8 +768,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -751,8 +802,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -788,8 +842,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = predictionServiceClient.getLocation(request);
@@ -810,8 +867,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
@@ -834,8 +894,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -865,8 +928,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -894,8 +960,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -923,8 +992,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -955,8 +1027,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -988,8 +1063,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java
index 4fe54e653..591cfc78b 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceSettings.java
@@ -62,17 +62,17 @@
  * 

For example, to set the total timeout of predict to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceSettings.Builder predictionServiceSettingsBuilder =
  *     PredictionServiceSettings.newBuilder();
  * predictionServiceSettingsBuilder
  *     .predictSettings()
  *     .setRetrySettings(
- *         predictionServiceSettingsBuilder
- *             .predictSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         predictionServiceSettingsBuilder.predictSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PredictionServiceSettings predictionServiceSettings = predictionServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java
index fb246dcdd..35cdf57fd 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceClient.java
@@ -60,8 +60,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SpecialistPoolServiceClient specialistPoolServiceClient =
  *     SpecialistPoolServiceClient.create()) {
  *   SpecialistPoolName name =
@@ -100,8 +103,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceSettings specialistPoolServiceSettings =
  *     SpecialistPoolServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -113,8 +119,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceSettings specialistPoolServiceSettings =
  *     SpecialistPoolServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * SpecialistPoolServiceClient specialistPoolServiceClient =
@@ -192,8 +201,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -225,8 +237,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -258,8 +273,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   CreateSpecialistPoolRequest request =
@@ -287,8 +305,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   CreateSpecialistPoolRequest request =
@@ -316,8 +337,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   CreateSpecialistPoolRequest request =
@@ -344,8 +368,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   SpecialistPoolName name =
@@ -373,8 +400,11 @@ public final SpecialistPool getSpecialistPool(SpecialistPoolName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   String name =
@@ -399,8 +429,11 @@ public final SpecialistPool getSpecialistPool(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   GetSpecialistPoolRequest request =
@@ -426,8 +459,11 @@ public final SpecialistPool getSpecialistPool(GetSpecialistPoolRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   GetSpecialistPoolRequest request =
@@ -453,8 +489,11 @@ public final UnaryCallable getSpeciali
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -484,8 +523,11 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(LocationName p
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
@@ -513,8 +555,11 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(String parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   ListSpecialistPoolsRequest request =
@@ -546,8 +591,11 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   ListSpecialistPoolsRequest request =
@@ -578,8 +626,11 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   ListSpecialistPoolsRequest request =
@@ -617,8 +668,11 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   SpecialistPoolName name =
@@ -647,8 +701,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   String name =
@@ -675,8 +732,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   DeleteSpecialistPoolRequest request =
@@ -704,8 +764,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   DeleteSpecialistPoolRequest request =
@@ -733,8 +796,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   DeleteSpecialistPoolRequest request =
@@ -762,8 +828,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   SpecialistPool specialistPool = SpecialistPool.newBuilder().build();
@@ -794,8 +863,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   UpdateSpecialistPoolRequest request =
@@ -823,8 +895,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   UpdateSpecialistPoolRequest request =
@@ -852,8 +927,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   UpdateSpecialistPoolRequest request =
@@ -880,8 +958,11 @@ public final OperationFuture deleteSpecialistPoo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -911,8 +992,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -943,8 +1027,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   ListLocationsRequest request =
@@ -981,8 +1068,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -1004,8 +1094,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
@@ -1029,8 +1122,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1061,8 +1157,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   SetIamPolicyRequest request =
@@ -1092,8 +1191,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1122,8 +1224,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   GetIamPolicyRequest request =
@@ -1156,8 +1261,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   TestIamPermissionsRequest request =
@@ -1190,8 +1298,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (SpecialistPoolServiceClient specialistPoolServiceClient =
    *     SpecialistPoolServiceClient.create()) {
    *   TestIamPermissionsRequest request =
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java
index 2d71b695f..5db878b82 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceSettings.java
@@ -65,8 +65,11 @@
  * 

For example, to set the total timeout of getSpecialistPool to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceSettings.Builder specialistPoolServiceSettingsBuilder =
  *     SpecialistPoolServiceSettings.newBuilder();
  * specialistPoolServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java
index 1005a9987..a7cb065f2 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceClient.java
@@ -57,8 +57,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
  *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
  *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -95,8 +98,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceSettings tensorboardServiceSettings =
  *     TensorboardServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,8 +114,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceSettings tensorboardServiceSettings =
  *     TensorboardServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * TensorboardServiceClient tensorboardServiceClient =
@@ -187,8 +196,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   Tensorboard tensorboard = Tensorboard.newBuilder().build();
@@ -219,8 +231,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   Tensorboard tensorboard = Tensorboard.newBuilder().build();
@@ -248,8 +263,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRequest request =
    *       CreateTensorboardRequest.newBuilder()
@@ -275,8 +293,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRequest request =
    *       CreateTensorboardRequest.newBuilder()
@@ -303,8 +324,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRequest request =
    *       CreateTensorboardRequest.newBuilder()
@@ -329,8 +353,11 @@ public final UnaryCallable createTensorboar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -354,8 +381,11 @@ public final Tensorboard getTensorboard(TensorboardName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -378,8 +408,11 @@ public final Tensorboard getTensorboard(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRequest request =
    *       GetTensorboardRequest.newBuilder()
@@ -403,8 +436,11 @@ public final Tensorboard getTensorboard(GetTensorboardRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRequest request =
    *       GetTensorboardRequest.newBuilder()
@@ -428,8 +464,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   Tensorboard tensorboard = Tensorboard.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -464,8 +503,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRequest request =
    *       UpdateTensorboardRequest.newBuilder()
@@ -491,8 +533,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRequest request =
    *       UpdateTensorboardRequest.newBuilder()
@@ -519,8 +564,11 @@ public final UnaryCallable getTensorboardCal
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRequest request =
    *       UpdateTensorboardRequest.newBuilder()
@@ -545,8 +593,11 @@ public final UnaryCallable updateTensorboar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
@@ -574,8 +625,11 @@ public final ListTensorboardsPagedResponse listTensorboards(LocationName parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Tensorboard element : tensorboardServiceClient.listTensorboards(parent).iterateAll()) {
@@ -601,8 +655,11 @@ public final ListTensorboardsPagedResponse listTensorboards(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardsRequest request =
    *       ListTensorboardsRequest.newBuilder()
@@ -633,8 +690,11 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardsRequest request =
    *       ListTensorboardsRequest.newBuilder()
@@ -666,8 +726,11 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardsRequest request =
    *       ListTensorboardsRequest.newBuilder()
@@ -706,8 +769,11 @@ public final ListTensorboardsPagedResponse listTensorboards(ListTensorboardsRequ
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   tensorboardServiceClient.deleteTensorboardAsync(name).get();
@@ -734,8 +800,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   tensorboardServiceClient.deleteTensorboardAsync(name).get();
@@ -758,8 +827,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRequest request =
    *       DeleteTensorboardRequest.newBuilder()
@@ -784,8 +856,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRequest request =
    *       DeleteTensorboardRequest.newBuilder()
@@ -810,8 +885,11 @@ public final OperationFuture deleteTensorboardAs
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRequest request =
    *       DeleteTensorboardRequest.newBuilder()
@@ -835,8 +913,11 @@ public final UnaryCallable deleteTensorboar
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -877,8 +958,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -918,8 +1002,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardExperimentRequest request =
    *       CreateTensorboardExperimentRequest.newBuilder()
@@ -950,8 +1037,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardExperimentRequest request =
    *       CreateTensorboardExperimentRequest.newBuilder()
@@ -981,8 +1071,11 @@ public final TensorboardExperiment createTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -1009,8 +1102,11 @@ public final TensorboardExperiment getTensorboardExperiment(TensorboardExperimen
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -1036,8 +1132,11 @@ public final TensorboardExperiment getTensorboardExperiment(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardExperimentRequest request =
    *       GetTensorboardExperimentRequest.newBuilder()
@@ -1065,8 +1164,11 @@ public final TensorboardExperiment getTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardExperimentRequest request =
    *       GetTensorboardExperimentRequest.newBuilder()
@@ -1094,8 +1196,11 @@ public final TensorboardExperiment getTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperiment tensorboardExperiment = TensorboardExperiment.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1131,8 +1236,11 @@ public final TensorboardExperiment updateTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardExperimentRequest request =
    *       UpdateTensorboardExperimentRequest.newBuilder()
@@ -1159,8 +1267,11 @@ public final TensorboardExperiment updateTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardExperimentRequest request =
    *       UpdateTensorboardExperimentRequest.newBuilder()
@@ -1186,8 +1297,11 @@ public final TensorboardExperiment updateTensorboardExperiment(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   for (TensorboardExperiment element :
@@ -1217,8 +1331,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
    *   for (TensorboardExperiment element :
@@ -1245,8 +1362,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardExperimentsRequest request =
    *       ListTensorboardExperimentsRequest.newBuilder()
@@ -1279,8 +1399,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardExperimentsRequest request =
    *       ListTensorboardExperimentsRequest.newBuilder()
@@ -1313,8 +1436,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardExperimentsRequest request =
    *       ListTensorboardExperimentsRequest.newBuilder()
@@ -1353,8 +1479,11 @@ public final ListTensorboardExperimentsPagedResponse listTensorboardExperiments(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -1382,8 +1511,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -1410,8 +1542,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardExperimentRequest request =
    *       DeleteTensorboardExperimentRequest.newBuilder()
@@ -1439,8 +1574,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardExperimentRequest request =
    *       DeleteTensorboardExperimentRequest.newBuilder()
@@ -1470,8 +1608,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardExperimentRequest request =
    *       DeleteTensorboardExperimentRequest.newBuilder()
@@ -1499,8 +1640,11 @@ public final OperationFuture deleteTensorboardEx
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName parent =
    *       TensorboardRunName.of(
@@ -1539,8 +1683,11 @@ public final TensorboardRun createTensorboardRun(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -1579,8 +1726,11 @@ public final TensorboardRun createTensorboardRun(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRunRequest request =
    *       CreateTensorboardRunRequest.newBuilder()
@@ -1609,8 +1759,11 @@ public final TensorboardRun createTensorboardRun(CreateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardRunRequest request =
    *       CreateTensorboardRunRequest.newBuilder()
@@ -1640,8 +1793,11 @@ public final TensorboardRun createTensorboardRun(CreateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -1676,8 +1832,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -1713,8 +1872,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardRunsRequest request =
    *       BatchCreateTensorboardRunsRequest.newBuilder()
@@ -1744,8 +1906,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardRunsRequest request =
    *       BatchCreateTensorboardRunsRequest.newBuilder()
@@ -1774,8 +1939,11 @@ public final BatchCreateTensorboardRunsResponse batchCreateTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName name =
    *       TensorboardRunName.of(
@@ -1803,8 +1971,11 @@ public final TensorboardRun getTensorboardRun(TensorboardRunName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -1829,8 +2000,11 @@ public final TensorboardRun getTensorboardRun(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRunRequest request =
    *       GetTensorboardRunRequest.newBuilder()
@@ -1857,8 +2031,11 @@ public final TensorboardRun getTensorboardRun(GetTensorboardRunRequest request)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardRunRequest request =
    *       GetTensorboardRunRequest.newBuilder()
@@ -1885,8 +2062,11 @@ public final UnaryCallable getTensorbo
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRun tensorboardRun = TensorboardRun.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1922,8 +2102,11 @@ public final TensorboardRun updateTensorboardRun(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRunRequest request =
    *       UpdateTensorboardRunRequest.newBuilder()
@@ -1948,8 +2131,11 @@ public final TensorboardRun updateTensorboardRun(UpdateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardRunRequest request =
    *       UpdateTensorboardRunRequest.newBuilder()
@@ -1975,8 +2161,11 @@ public final TensorboardRun updateTensorboardRun(UpdateTensorboardRunRequest req
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -2008,8 +2197,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -2039,8 +2231,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(String parent)
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardRunsRequest request =
    *       ListTensorboardRunsRequest.newBuilder()
@@ -2076,8 +2271,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardRunsRequest request =
    *       ListTensorboardRunsRequest.newBuilder()
@@ -2112,8 +2310,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardRunsRequest request =
    *       ListTensorboardRunsRequest.newBuilder()
@@ -2155,8 +2356,11 @@ public final ListTensorboardRunsPagedResponse listTensorboardRuns(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName name =
    *       TensorboardRunName.of(
@@ -2185,8 +2389,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -2213,8 +2420,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRunRequest request =
    *       DeleteTensorboardRunRequest.newBuilder()
@@ -2242,8 +2452,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRunRequest request =
    *       DeleteTensorboardRunRequest.newBuilder()
@@ -2271,8 +2484,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardRunRequest request =
    *       DeleteTensorboardRunRequest.newBuilder()
@@ -2300,8 +2516,11 @@ public final OperationFuture deleteTensorboardRu
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -2338,8 +2557,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -2377,8 +2599,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardTimeSeriesRequest request =
    *       BatchCreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2408,8 +2633,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchCreateTensorboardTimeSeriesRequest request =
    *       BatchCreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2439,8 +2667,11 @@ public final BatchCreateTensorboardTimeSeriesResponse batchCreateTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName parent =
    *       TensorboardTimeSeriesName.of(
@@ -2474,8 +2705,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardTimeSeriesName.of(
@@ -2515,8 +2749,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardTimeSeriesRequest request =
    *       CreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2552,8 +2789,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   CreateTensorboardTimeSeriesRequest request =
    *       CreateTensorboardTimeSeriesRequest.newBuilder()
@@ -2588,8 +2828,11 @@ public final TensorboardTimeSeries createTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName name =
    *       TensorboardTimeSeriesName.of(
@@ -2617,8 +2860,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(TensorboardTimeSerie
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardTimeSeriesName.of(
@@ -2650,8 +2896,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardTimeSeriesRequest request =
    *       GetTensorboardTimeSeriesRequest.newBuilder()
@@ -2684,8 +2933,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetTensorboardTimeSeriesRequest request =
    *       GetTensorboardTimeSeriesRequest.newBuilder()
@@ -2718,8 +2970,11 @@ public final TensorboardTimeSeries getTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeries tensorboardTimeSeries = TensorboardTimeSeries.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -2755,8 +3010,11 @@ public final TensorboardTimeSeries updateTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardTimeSeriesRequest request =
    *       UpdateTensorboardTimeSeriesRequest.newBuilder()
@@ -2783,8 +3041,11 @@ public final TensorboardTimeSeries updateTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   UpdateTensorboardTimeSeriesRequest request =
    *       UpdateTensorboardTimeSeriesRequest.newBuilder()
@@ -2810,8 +3071,11 @@ public final TensorboardTimeSeries updateTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName parent =
    *       TensorboardRunName.of(
@@ -2844,8 +3108,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String parent =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -2875,8 +3142,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(St
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardTimeSeriesRequest request =
    *       ListTensorboardTimeSeriesRequest.newBuilder()
@@ -2912,8 +3182,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardTimeSeriesRequest request =
    *       ListTensorboardTimeSeriesRequest.newBuilder()
@@ -2949,8 +3222,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListTensorboardTimeSeriesRequest request =
    *       ListTensorboardTimeSeriesRequest.newBuilder()
@@ -2992,8 +3268,11 @@ public final ListTensorboardTimeSeriesPagedResponse listTensorboardTimeSeries(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName name =
    *       TensorboardTimeSeriesName.of(
@@ -3022,8 +3301,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String name =
    *       TensorboardTimeSeriesName.of(
@@ -3056,8 +3338,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardTimeSeriesRequest request =
    *       DeleteTensorboardTimeSeriesRequest.newBuilder()
@@ -3090,8 +3375,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardTimeSeriesRequest request =
    *       DeleteTensorboardTimeSeriesRequest.newBuilder()
@@ -3126,8 +3414,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   DeleteTensorboardTimeSeriesRequest request =
    *       DeleteTensorboardTimeSeriesRequest.newBuilder()
@@ -3163,8 +3454,11 @@ public final OperationFuture deleteTensorboardTi
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardName tensorboard = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
    *   BatchReadTensorboardTimeSeriesDataResponse response =
@@ -3199,8 +3493,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboard =
    *       TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString();
@@ -3234,8 +3531,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchReadTensorboardTimeSeriesDataRequest request =
    *       BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3266,8 +3566,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   BatchReadTensorboardTimeSeriesDataRequest request =
    *       BatchReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3298,8 +3601,11 @@ public final BatchReadTensorboardTimeSeriesDataResponse batchReadTensorboardTime
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3334,8 +3640,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3375,8 +3684,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ReadTensorboardTimeSeriesDataRequest request =
    *       ReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3415,8 +3727,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ReadTensorboardTimeSeriesDataRequest request =
    *       ReadTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3453,8 +3768,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ReadTensorboardBlobDataRequest request =
    *       ReadTensorboardBlobDataRequest.newBuilder()
@@ -3491,8 +3809,11 @@ public final ReadTensorboardTimeSeriesDataResponse readTensorboardTimeSeriesData
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardExperimentName tensorboardExperiment =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]");
@@ -3530,8 +3851,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardExperiment =
    *       TensorboardExperimentName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]")
@@ -3568,8 +3892,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardExperimentDataRequest request =
    *       WriteTensorboardExperimentDataRequest.newBuilder()
@@ -3600,8 +3927,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardExperimentDataRequest request =
    *       WriteTensorboardExperimentDataRequest.newBuilder()
@@ -3632,8 +3962,11 @@ public final WriteTensorboardExperimentDataResponse writeTensorboardExperimentDa
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardRunName tensorboardRun =
    *       TensorboardRunName.of(
@@ -3670,8 +4003,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardRun =
    *       TensorboardRunName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]", "[EXPERIMENT]", "[RUN]")
@@ -3708,8 +4044,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardRunDataRequest request =
    *       WriteTensorboardRunDataRequest.newBuilder()
@@ -3740,8 +4079,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   WriteTensorboardRunDataRequest request =
    *       WriteTensorboardRunDataRequest.newBuilder()
@@ -3770,8 +4112,11 @@ public final WriteTensorboardRunDataResponse writeTensorboardRunData(
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TensorboardTimeSeriesName tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3807,8 +4152,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   String tensorboardTimeSeries =
    *       TensorboardTimeSeriesName.of(
@@ -3849,8 +4197,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ExportTensorboardTimeSeriesDataRequest request =
    *       ExportTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3890,8 +4241,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ExportTensorboardTimeSeriesDataRequest request =
    *       ExportTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3933,8 +4287,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ExportTensorboardTimeSeriesDataRequest request =
    *       ExportTensorboardTimeSeriesDataRequest.newBuilder()
@@ -3981,8 +4338,11 @@ public final ExportTensorboardTimeSeriesDataPagedResponse exportTensorboardTimeS
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4011,8 +4371,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4042,8 +4405,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -4079,8 +4445,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = tensorboardServiceClient.getLocation(request);
@@ -4101,8 +4470,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future =
@@ -4125,8 +4497,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4156,8 +4531,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -4186,8 +4564,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4215,8 +4596,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -4248,8 +4632,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -4281,8 +4668,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceSettings.java
index bdd29e9a7..7524971a3 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceSettings.java
@@ -70,8 +70,11 @@
  * 

For example, to set the total timeout of getTensorboard to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceSettings.Builder tensorboardServiceSettingsBuilder =
  *     TensorboardServiceSettings.newBuilder();
  * tensorboardServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java
index fb42f19eb..e20eb702e 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceClient.java
@@ -58,8 +58,11 @@
  * calls that map to API methods. Sample code to get started:
  *
  * 
{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Study study = Study.newBuilder().build();
@@ -96,8 +99,11 @@
  * 

To customize credentials: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceSettings vizierServiceSettings =
  *     VizierServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -108,8 +114,11 @@
  * 

To customize the endpoint: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceSettings vizierServiceSettings =
  *     VizierServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * VizierServiceClient vizierServiceClient = VizierServiceClient.create(vizierServiceSettings);
@@ -186,8 +195,11 @@ 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.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Study study = Study.newBuilder().build();
@@ -216,8 +228,11 @@ public final Study createStudy(LocationName parent, Study study) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Study study = Study.newBuilder().build();
@@ -243,8 +258,11 @@ public final Study createStudy(String parent, Study study) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateStudyRequest request =
    *       CreateStudyRequest.newBuilder()
@@ -269,8 +287,11 @@ public final Study createStudy(CreateStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateStudyRequest request =
    *       CreateStudyRequest.newBuilder()
@@ -294,8 +315,11 @@ public final UnaryCallable createStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   Study response = vizierServiceClient.getStudy(name);
@@ -319,8 +343,11 @@ public final Study getStudy(StudyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   Study response = vizierServiceClient.getStudy(name);
@@ -343,8 +370,11 @@ public final Study getStudy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetStudyRequest request =
    *       GetStudyRequest.newBuilder()
@@ -368,8 +398,11 @@ public final Study getStudy(GetStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetStudyRequest request =
    *       GetStudyRequest.newBuilder()
@@ -392,8 +425,11 @@ public final UnaryCallable getStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Study element : vizierServiceClient.listStudies(parent).iterateAll()) {
@@ -421,8 +457,11 @@ public final ListStudiesPagedResponse listStudies(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Study element : vizierServiceClient.listStudies(parent).iterateAll()) {
@@ -447,8 +486,11 @@ public final ListStudiesPagedResponse listStudies(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListStudiesRequest request =
    *       ListStudiesRequest.newBuilder()
@@ -476,8 +518,11 @@ public final ListStudiesPagedResponse listStudies(ListStudiesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListStudiesRequest request =
    *       ListStudiesRequest.newBuilder()
@@ -505,8 +550,11 @@ public final ListStudiesPagedResponse listStudies(ListStudiesRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListStudiesRequest request =
    *       ListStudiesRequest.newBuilder()
@@ -540,8 +588,11 @@ public final UnaryCallable listStudiesC
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   vizierServiceClient.deleteStudy(name);
@@ -565,8 +616,11 @@ public final void deleteStudy(StudyName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   vizierServiceClient.deleteStudy(name);
@@ -589,8 +643,11 @@ public final void deleteStudy(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteStudyRequest request =
    *       DeleteStudyRequest.newBuilder()
@@ -614,8 +671,11 @@ public final void deleteStudy(DeleteStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteStudyRequest request =
    *       DeleteStudyRequest.newBuilder()
@@ -639,8 +699,11 @@ public final UnaryCallable deleteStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Study response = vizierServiceClient.lookupStudy(parent);
@@ -667,8 +730,11 @@ public final Study lookupStudy(LocationName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Study response = vizierServiceClient.lookupStudy(parent);
@@ -692,8 +758,11 @@ public final Study lookupStudy(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LookupStudyRequest request =
    *       LookupStudyRequest.newBuilder()
@@ -719,8 +788,11 @@ public final Study lookupStudy(LookupStudyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   LookupStudyRequest request =
    *       LookupStudyRequest.newBuilder()
@@ -747,8 +819,11 @@ public final UnaryCallable lookupStudyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SuggestTrialsRequest request =
    *       SuggestTrialsRequest.newBuilder()
@@ -778,8 +853,11 @@ public final OperationFuture sugge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SuggestTrialsRequest request =
    *       SuggestTrialsRequest.newBuilder()
@@ -809,8 +887,11 @@ public final OperationFuture sugge
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SuggestTrialsRequest request =
    *       SuggestTrialsRequest.newBuilder()
@@ -835,8 +916,11 @@ public final UnaryCallable suggestTrialsCallabl
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   Trial trial = Trial.newBuilder().build();
@@ -865,8 +949,11 @@ public final Trial createTrial(StudyName parent, Trial trial) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   Trial trial = Trial.newBuilder().build();
@@ -892,8 +979,11 @@ public final Trial createTrial(String parent, Trial trial) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateTrialRequest request =
    *       CreateTrialRequest.newBuilder()
@@ -918,8 +1008,11 @@ public final Trial createTrial(CreateTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CreateTrialRequest request =
    *       CreateTrialRequest.newBuilder()
@@ -943,8 +1036,11 @@ public final UnaryCallable createTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TrialName name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]");
    *   Trial response = vizierServiceClient.getTrial(name);
@@ -968,8 +1064,11 @@ public final Trial getTrial(TrialName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString();
    *   Trial response = vizierServiceClient.getTrial(name);
@@ -992,8 +1091,11 @@ public final Trial getTrial(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetTrialRequest request =
    *       GetTrialRequest.newBuilder()
@@ -1017,8 +1119,11 @@ public final Trial getTrial(GetTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetTrialRequest request =
    *       GetTrialRequest.newBuilder()
@@ -1041,8 +1146,11 @@ public final UnaryCallable getTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   for (Trial element : vizierServiceClient.listTrials(parent).iterateAll()) {
@@ -1068,8 +1176,11 @@ public final ListTrialsPagedResponse listTrials(StudyName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   for (Trial element : vizierServiceClient.listTrials(parent).iterateAll()) {
@@ -1094,8 +1205,11 @@ public final ListTrialsPagedResponse listTrials(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListTrialsRequest request =
    *       ListTrialsRequest.newBuilder()
@@ -1123,8 +1237,11 @@ public final ListTrialsPagedResponse listTrials(ListTrialsRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListTrialsRequest request =
    *       ListTrialsRequest.newBuilder()
@@ -1151,8 +1268,11 @@ public final UnaryCallable listTrial
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListTrialsRequest request =
    *       ListTrialsRequest.newBuilder()
@@ -1187,8 +1307,11 @@ public final UnaryCallable listTrialsCall
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   AddTrialMeasurementRequest request =
    *       AddTrialMeasurementRequest.newBuilder()
@@ -1215,8 +1338,11 @@ public final Trial addTrialMeasurement(AddTrialMeasurementRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   AddTrialMeasurementRequest request =
    *       AddTrialMeasurementRequest.newBuilder()
@@ -1242,8 +1368,11 @@ public final UnaryCallable addTrialMeasuremen
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CompleteTrialRequest request =
    *       CompleteTrialRequest.newBuilder()
@@ -1270,8 +1399,11 @@ public final Trial completeTrial(CompleteTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CompleteTrialRequest request =
    *       CompleteTrialRequest.newBuilder()
@@ -1297,8 +1429,11 @@ public final UnaryCallable completeTrialCallable()
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TrialName name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]");
    *   vizierServiceClient.deleteTrial(name);
@@ -1322,8 +1457,11 @@ public final void deleteTrial(TrialName name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String name = TrialName.of("[PROJECT]", "[LOCATION]", "[STUDY]", "[TRIAL]").toString();
    *   vizierServiceClient.deleteTrial(name);
@@ -1346,8 +1484,11 @@ public final void deleteTrial(String name) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteTrialRequest request =
    *       DeleteTrialRequest.newBuilder()
@@ -1371,8 +1512,11 @@ public final void deleteTrial(DeleteTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   DeleteTrialRequest request =
    *       DeleteTrialRequest.newBuilder()
@@ -1397,8 +1541,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CheckTrialEarlyStoppingStateRequest request =
    *       CheckTrialEarlyStoppingStateRequest.newBuilder()
@@ -1428,8 +1575,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CheckTrialEarlyStoppingStateRequest request =
    *       CheckTrialEarlyStoppingStateRequest.newBuilder()
@@ -1463,8 +1613,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   CheckTrialEarlyStoppingStateRequest request =
    *       CheckTrialEarlyStoppingStateRequest.newBuilder()
@@ -1490,8 +1643,11 @@ public final UnaryCallable deleteTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StopTrialRequest request =
    *       StopTrialRequest.newBuilder()
@@ -1515,8 +1671,11 @@ public final Trial stopTrial(StopTrialRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StopTrialRequest request =
    *       StopTrialRequest.newBuilder()
@@ -1541,8 +1700,11 @@ public final UnaryCallable stopTrialCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   StudyName parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]");
    *   ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(parent);
@@ -1569,8 +1731,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(StudyName parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   String parent = StudyName.of("[PROJECT]", "[LOCATION]", "[STUDY]").toString();
    *   ListOptimalTrialsResponse response = vizierServiceClient.listOptimalTrials(parent);
@@ -1595,8 +1760,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(String parent) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListOptimalTrialsRequest request =
    *       ListOptimalTrialsRequest.newBuilder()
@@ -1622,8 +1790,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(ListOptimalTrialsReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListOptimalTrialsRequest request =
    *       ListOptimalTrialsRequest.newBuilder()
@@ -1648,8 +1819,11 @@ public final ListOptimalTrialsResponse listOptimalTrials(ListOptimalTrialsReques
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1678,8 +1852,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1709,8 +1886,11 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   ListLocationsRequest request =
    *       ListLocationsRequest.newBuilder()
@@ -1745,8 +1925,11 @@ public final UnaryCallable listLoca
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   Location response = vizierServiceClient.getLocation(request);
@@ -1767,8 +1950,11 @@ public final Location getLocation(GetLocationRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    *   ApiFuture future = vizierServiceClient.getLocationCallable().futureCall(request);
@@ -1790,8 +1976,11 @@ public final UnaryCallable getLocationCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1821,8 +2010,11 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
@@ -1850,8 +2042,11 @@ public final UnaryCallable setIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1879,8 +2074,11 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   GetIamPolicyRequest request =
    *       GetIamPolicyRequest.newBuilder()
@@ -1911,8 +2109,11 @@ public final UnaryCallable getIamPolicyCallable() {
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
@@ -1944,8 +2145,11 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * 

Sample code: * *

{@code
-   * // This snippet has been automatically generated for illustrative purposes only.
-   * // It may require modifications to work in your environment.
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceSettings.java
index ebb85e534..80ce03ae9 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceSettings.java
@@ -66,16 +66,16 @@
  * 

For example, to set the total timeout of createStudy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceSettings.Builder vizierServiceSettingsBuilder = VizierServiceSettings.newBuilder();
  * vizierServiceSettingsBuilder
  *     .createStudySettings()
  *     .setRetrySettings(
- *         vizierServiceSettingsBuilder
- *             .createStudySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         vizierServiceSettingsBuilder.createStudySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VizierServiceSettings vizierServiceSettings = vizierServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/package-info.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/package-info.java
index 4f3bed271..b337cf1be 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/package-info.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/package-info.java
@@ -27,8 +27,11 @@
  * 

Sample for DatasetServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
  *   DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
  *   Dataset response = datasetServiceClient.getDataset(name);
@@ -42,8 +45,11 @@
  * 

Sample for DeploymentResourcePoolServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (DeploymentResourcePoolServiceClient deploymentResourcePoolServiceClient =
  *     DeploymentResourcePoolServiceClient.create()) {
  *   DeploymentResourcePoolName name =
@@ -60,8 +66,11 @@
  * 

Sample for EndpointServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
  *   EndpointName name = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   Endpoint response = endpointServiceClient.getEndpoint(name);
@@ -75,8 +84,11 @@
  * 

Sample for FeaturestoreOnlineServingServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreOnlineServingServiceClient featurestoreOnlineServingServiceClient =
  *     FeaturestoreOnlineServingServiceClient.create()) {
  *   EntityTypeName entityType =
@@ -93,8 +105,11 @@
  * 

Sample for FeaturestoreServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (FeaturestoreServiceClient featurestoreServiceClient = FeaturestoreServiceClient.create()) {
  *   FeaturestoreName name = FeaturestoreName.of("[PROJECT]", "[LOCATION]", "[FEATURESTORE]");
  *   Featurestore response = featurestoreServiceClient.getFeaturestore(name);
@@ -108,8 +123,11 @@
  * 

Sample for IndexEndpointServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexEndpointServiceClient indexEndpointServiceClient =
  *     IndexEndpointServiceClient.create()) {
  *   IndexEndpointName name = IndexEndpointName.of("[PROJECT]", "[LOCATION]", "[INDEX_ENDPOINT]");
@@ -124,8 +142,11 @@
  * 

Sample for IndexServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (IndexServiceClient indexServiceClient = IndexServiceClient.create()) {
  *   IndexName name = IndexName.of("[PROJECT]", "[LOCATION]", "[INDEX]");
  *   Index response = indexServiceClient.getIndex(name);
@@ -139,8 +160,11 @@
  * 

Sample for JobServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   CustomJob customJob = CustomJob.newBuilder().build();
@@ -155,8 +179,11 @@
  * 

Sample for MetadataServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
  *   MetadataStoreName name = MetadataStoreName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]");
  *   MetadataStore response = metadataServiceClient.getMetadataStore(name);
@@ -171,8 +198,11 @@
  * 

Sample for MigrationServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
  *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
  *   Location response = migrationServiceClient.getLocation(request);
@@ -186,8 +216,11 @@
  * 

Sample for ModelServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
  *   ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
  *   Model response = modelServiceClient.getModel(name);
@@ -203,8 +236,11 @@
  * 

Sample for PipelineServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   TrainingPipeline trainingPipeline = TrainingPipeline.newBuilder().build();
@@ -220,8 +256,11 @@
  * 

Sample for PredictionServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (PredictionServiceClient predictionServiceClient = PredictionServiceClient.create()) {
  *   EndpointName endpoint = EndpointName.of("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
  *   List instances = new ArrayList<>();
@@ -241,8 +280,11 @@
  * 

Sample for SpecialistPoolServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (SpecialistPoolServiceClient specialistPoolServiceClient =
  *     SpecialistPoolServiceClient.create()) {
  *   SpecialistPoolName name =
@@ -258,8 +300,11 @@
  * 

Sample for TensorboardServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) {
  *   TensorboardName name = TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]");
  *   Tensorboard response = tensorboardServiceClient.getTensorboard(name);
@@ -276,8 +321,11 @@
  * 

Sample for VizierServiceClient: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * try (VizierServiceClient vizierServiceClient = VizierServiceClient.create()) {
  *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
  *   Study study = Study.newBuilder().build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java
index 7426341c0..fe973777f 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DatasetServiceStubSettings.java
@@ -112,17 +112,17 @@
  * 

For example, to set the total timeout of getDataset to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DatasetServiceStubSettings.Builder datasetServiceSettingsBuilder =
  *     DatasetServiceStubSettings.newBuilder();
  * datasetServiceSettingsBuilder
  *     .getDatasetSettings()
  *     .setRetrySettings(
- *         datasetServiceSettingsBuilder
- *             .getDatasetSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         datasetServiceSettingsBuilder.getDatasetSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * DatasetServiceStubSettings datasetServiceSettings = datasetServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java
index fdaa96aaa..d29cd96ca 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/DeploymentResourcePoolServiceStubSettings.java
@@ -95,8 +95,11 @@
  * 

For example, to set the total timeout of getDeploymentResourcePool to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * DeploymentResourcePoolServiceStubSettings.Builder deploymentResourcePoolServiceSettingsBuilder =
  *     DeploymentResourcePoolServiceStubSettings.newBuilder();
  * deploymentResourcePoolServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java
index 70ddb50e2..6da828731 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/EndpointServiceStubSettings.java
@@ -98,17 +98,17 @@
  * 

For example, to set the total timeout of getEndpoint to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * EndpointServiceStubSettings.Builder endpointServiceSettingsBuilder =
  *     EndpointServiceStubSettings.newBuilder();
  * endpointServiceSettingsBuilder
  *     .getEndpointSettings()
  *     .setRetrySettings(
- *         endpointServiceSettingsBuilder
- *             .getEndpointSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         endpointServiceSettingsBuilder.getEndpointSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * EndpointServiceStubSettings endpointServiceSettings = endpointServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java
index 425e37ecc..6efc8cd63 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreOnlineServingServiceStubSettings.java
@@ -82,8 +82,11 @@
  * 

For example, to set the total timeout of readFeatureValues to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreOnlineServingServiceStubSettings.Builder
  *     featurestoreOnlineServingServiceSettingsBuilder =
  *         FeaturestoreOnlineServingServiceStubSettings.newBuilder();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java
index 65156a591..21e66825c 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/FeaturestoreServiceStubSettings.java
@@ -126,8 +126,11 @@
  * 

For example, to set the total timeout of getFeaturestore to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * FeaturestoreServiceStubSettings.Builder featurestoreServiceSettingsBuilder =
  *     FeaturestoreServiceStubSettings.newBuilder();
  * featurestoreServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java
index 250b81834..e3c5e2395 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexEndpointServiceStubSettings.java
@@ -101,8 +101,11 @@
  * 

For example, to set the total timeout of getIndexEndpoint to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexEndpointServiceStubSettings.Builder indexEndpointServiceSettingsBuilder =
  *     IndexEndpointServiceStubSettings.newBuilder();
  * indexEndpointServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java
index 9cd8849ae..fb36be436 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/IndexServiceStubSettings.java
@@ -97,17 +97,17 @@
  * 

For example, to set the total timeout of getIndex to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * IndexServiceStubSettings.Builder indexServiceSettingsBuilder =
  *     IndexServiceStubSettings.newBuilder();
  * indexServiceSettingsBuilder
  *     .getIndexSettings()
  *     .setRetrySettings(
- *         indexServiceSettingsBuilder
- *             .getIndexSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         indexServiceSettingsBuilder.getIndexSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * IndexServiceStubSettings indexServiceSettings = indexServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java
index afddc0ac5..3f603cd82 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java
@@ -130,16 +130,16 @@
  * 

For example, to set the total timeout of createCustomJob to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * JobServiceStubSettings.Builder jobServiceSettingsBuilder = JobServiceStubSettings.newBuilder();
  * jobServiceSettingsBuilder
  *     .createCustomJobSettings()
  *     .setRetrySettings(
- *         jobServiceSettingsBuilder
- *             .createCustomJobSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         jobServiceSettingsBuilder.createCustomJobSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * JobServiceStubSettings jobServiceSettings = jobServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java
index 10faa84ac..19a9db789 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java
@@ -141,17 +141,17 @@
  * 

For example, to set the total timeout of getMetadataStore to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MetadataServiceStubSettings.Builder metadataServiceSettingsBuilder =
  *     MetadataServiceStubSettings.newBuilder();
  * metadataServiceSettingsBuilder
  *     .getMetadataStoreSettings()
  *     .setRetrySettings(
- *         metadataServiceSettingsBuilder
- *             .getMetadataStoreSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         metadataServiceSettingsBuilder.getMetadataStoreSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MetadataServiceStubSettings metadataServiceSettings = metadataServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java
index b6aee89bd..53f934776 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MigrationServiceStubSettings.java
@@ -88,17 +88,17 @@
  * 

For example, to set the total timeout of getLocation to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * MigrationServiceStubSettings.Builder migrationServiceSettingsBuilder =
  *     MigrationServiceStubSettings.newBuilder();
  * migrationServiceSettingsBuilder
  *     .getLocationSettings()
  *     .setRetrySettings(
- *         migrationServiceSettingsBuilder
- *             .getLocationSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         migrationServiceSettingsBuilder.getLocationSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * MigrationServiceStubSettings migrationServiceSettings = migrationServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java
index 7a93ef274..7f2a957b5 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java
@@ -117,17 +117,17 @@
  * 

For example, to set the total timeout of getModel to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * ModelServiceStubSettings.Builder modelServiceSettingsBuilder =
  *     ModelServiceStubSettings.newBuilder();
  * modelServiceSettingsBuilder
  *     .getModelSettings()
  *     .setRetrySettings(
- *         modelServiceSettingsBuilder
- *             .getModelSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         modelServiceSettingsBuilder.getModelSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ModelServiceStubSettings modelServiceSettings = modelServiceSettingsBuilder.build();
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java
index 6e458c313..b707bcce8 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PipelineServiceStubSettings.java
@@ -99,8 +99,11 @@
  * 

For example, to set the total timeout of createTrainingPipeline to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PipelineServiceStubSettings.Builder pipelineServiceSettingsBuilder =
  *     PipelineServiceStubSettings.newBuilder();
  * pipelineServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java
index 75453304c..6cbd3fab3 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/PredictionServiceStubSettings.java
@@ -82,17 +82,17 @@
  * 

For example, to set the total timeout of predict to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * PredictionServiceStubSettings.Builder predictionServiceSettingsBuilder =
  *     PredictionServiceStubSettings.newBuilder();
  * predictionServiceSettingsBuilder
  *     .predictSettings()
  *     .setRetrySettings(
- *         predictionServiceSettingsBuilder
- *             .predictSettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         predictionServiceSettingsBuilder.predictSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * PredictionServiceStubSettings predictionServiceSettings =
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java
index 72f377831..6f9b87679 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/SpecialistPoolServiceStubSettings.java
@@ -93,8 +93,11 @@
  * 

For example, to set the total timeout of getSpecialistPool to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * SpecialistPoolServiceStubSettings.Builder specialistPoolServiceSettingsBuilder =
  *     SpecialistPoolServiceStubSettings.newBuilder();
  * specialistPoolServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java
index b1c23fbf2..f17afaecc 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/TensorboardServiceStubSettings.java
@@ -136,8 +136,11 @@
  * 

For example, to set the total timeout of getTensorboard to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * TensorboardServiceStubSettings.Builder tensorboardServiceSettingsBuilder =
  *     TensorboardServiceStubSettings.newBuilder();
  * tensorboardServiceSettingsBuilder
diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java
index d903ecb9e..2b65bb688 100644
--- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java
+++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/VizierServiceStubSettings.java
@@ -108,17 +108,17 @@
  * 

For example, to set the total timeout of createStudy to 30 seconds: * *

{@code
- * // This snippet has been automatically generated for illustrative purposes only.
- * // It may require modifications to work in your environment.
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
  * VizierServiceStubSettings.Builder vizierServiceSettingsBuilder =
  *     VizierServiceStubSettings.newBuilder();
  * vizierServiceSettingsBuilder
  *     .createStudySettings()
  *     .setRetrySettings(
- *         vizierServiceSettingsBuilder
- *             .createStudySettings()
- *             .getRetrySettings()
- *             .toBuilder()
+ *         vizierServiceSettingsBuilder.createStudySettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * VizierServiceStubSettings vizierServiceSettings = vizierServiceSettingsBuilder.build();

From af4797bb44d7016d2d5ae4170c072f11a232c07a Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Fri, 9 Sep 2022 06:00:32 +0200
Subject: [PATCH 17/20] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v3.0.2 (#1043)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.1` -> `3.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/compatibility-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/confidence-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v3.0.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​302-httpsgithubcomgoogleapisjava-shared-dependenciescomparev301v302-2022-09-08) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#​789](https://togithub.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://togithub.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) - Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#​781](https://togithub.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://togithub.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) - Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#​790](https://togithub.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://togithub.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) - Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​773](https://togithub.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://togithub.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​776](https://togithub.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://togithub.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​780](https://togithub.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://togithub.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) - Update dependency io.grpc:grpc-bom to v1.48.1 ([#​768](https://togithub.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://togithub.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) - Update dependency io.grpc:grpc-bom to v1.49.0 ([#​786](https://togithub.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://togithub.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) - Update dependency org.checkerframework:checker-qual to v3.24.0 ([#​775](https://togithub.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://togithub.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) - Update dependency org.checkerframework:checker-qual to v3.25.0 ([#​788](https://togithub.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://togithub.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) - Update dependency org.threeten:threetenbp to v1.6.1 ([#​782](https://togithub.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://togithub.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) - Update gax.version to v2.19.0 ([#​785](https://togithub.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://togithub.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) - Update google.core.version to v2.8.10 ([#​787](https://togithub.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://togithub.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) - Update google.core.version to v2.8.7 ([#​774](https://togithub.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://togithub.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) - Update google.core.version to v2.8.8 ([#​777](https://togithub.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://togithub.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) - Update google.core.version to v2.8.9 ([#​784](https://togithub.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://togithub.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b50f018fb..51b9d1bd6 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2 pom import From 09594bbba9e0e7722249a9d81fd99140e1529316 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 13 Sep 2022 19:50:16 +0200 Subject: [PATCH 18/20] deps: update dependency com.google.cloud:google-cloud-bigquery to v2.16.0 (#1044) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-bigquery](https://togithub.com/googleapis/java-bigquery) | `2.15.0` -> `2.16.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/compatibility-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-bigquery/2.16.0/confidence-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-bigquery ### [`v2.16.0`](https://togithub.com/googleapis/java-bigquery/blob/HEAD/CHANGELOG.md#​2160-httpsgithubcomgoogleapisjava-bigquerycomparev2150v2160-2022-09-12) [Compare Source](https://togithub.com/googleapis/java-bigquery/compare/v2.15.0...v2.16.0) ##### Features - Add preserveAsciiControlCharacters to CsvOptions ([#​2143](https://togithub.com/googleapis/java-bigquery/issues/2143)) ([856893f](https://togithub.com/googleapis/java-bigquery/commit/856893f4d8f1b419365d8f179ce9f9e571dec718)) - Add reference file schema option for federated formats ([#​2269](https://togithub.com/googleapis/java-bigquery/issues/2269)) ([8c488e6](https://togithub.com/googleapis/java-bigquery/commit/8c488e64259bd67716342f48f96d2932c5e57c3e)) ##### Bug Fixes - Socket-timeout at bigquery.it.ITNightlyBigQueryTest: testForTableNotFound ([#​2260](https://togithub.com/googleapis/java-bigquery/issues/2260)) ([a9b5fb2](https://togithub.com/googleapis/java-bigquery/commit/a9b5fb2c1078788ddb1ac3169c9ce597af228ac0)) ##### Dependencies - Update dependency com.google.apis:google-api-services-bigquery to v2-rev20220827-2.0.0 ([#​2261](https://togithub.com/googleapis/java-bigquery/issues/2261)) ([3c67d21](https://togithub.com/googleapis/java-bigquery/commit/3c67d21c10f66b3c5313a1733f4e81db42c1b7c3)) - Update dependency com.google.cloud:google-cloud-datacatalog-bom to v1.9.3 ([#​2259](https://togithub.com/googleapis/java-bigquery/issues/2259)) ([5e30a04](https://togithub.com/googleapis/java-bigquery/commit/5e30a04e5b14b03e60e587787180b27f605d6abd)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#​2267](https://togithub.com/googleapis/java-bigquery/issues/2267)) ([8472fe5](https://togithub.com/googleapis/java-bigquery/commit/8472fe580a8197aaa3957dd3231fed0a9511fbb5))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index d3d36f6f1..90f207c5a 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.15.0 + 2.16.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 09e691645..df5a547dc 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -57,7 +57,7 @@ com.google.cloud google-cloud-bigquery - 2.15.0 + 2.16.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 503dd5b99..2e413fa42 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -65,7 +65,7 @@ com.google.cloud google-cloud-bigquery - 2.15.0 + 2.16.0 From bf6138fbeef298f73f2fa70cd12ae45f91562a5e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 15 Sep 2022 14:22:29 +0200 Subject: [PATCH 19/20] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#1045) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.2` -> `3.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/compatibility-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/confidence-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v3.0.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​303-httpsgithubcomgoogleapisjava-shared-dependenciescomparev302v303-2022-09-14) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) ##### Dependencies - Google-cloud-core 2.8.12 ([#​799](https://togithub.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://togithub.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) - Moving gson to first-party-dependencies ([#​800](https://togithub.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://togithub.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​797](https://togithub.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://togithub.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) - Update gax.version to v2.19.1 ([#​798](https://togithub.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://togithub.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) - Update google.core.version to v2.8.11 ([#​793](https://togithub.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://togithub.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 51b9d1bd6..ac84c57b5 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2 + 3.0.3 pom import From 41434f8b939b3e821371a3b10ef47cd2f519a439 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 16 Sep 2022 15:04:14 +0000 Subject: [PATCH 20/20] chore(main): release 3.3.0 (#1025) :robot: I have created a release *beep* *boop* --- ## [3.3.0](https://github.com/googleapis/java-aiplatform/compare/v3.2.0...v3.3.0) (2022-09-15) ### Features * add input_artifacts to PipelineJob.runtime_config in aiplatform v1 pipeline_job ([def077e](https://github.com/googleapis/java-aiplatform/commit/def077e48fca7fedb788a9703dbc7e02f03c0f32)) * Add model_monitoring_stats_anomalies,model_monitoring_status to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto ([#1041](https://github.com/googleapis/java-aiplatform/issues/1041)) ([1b72b9d](https://github.com/googleapis/java-aiplatform/commit/1b72b9d0a4cdff5372cf8bc588c1b38a3fbb3c30)) * Add read_mask to ListPipelineJobsRequest in aiplatform v1 pipeline_service ([#1032](https://github.com/googleapis/java-aiplatform/issues/1032)) ([def077e](https://github.com/googleapis/java-aiplatform/commit/def077e48fca7fedb788a9703dbc7e02f03c0f32)) * Add UpsertDatapoints and RemoveDatapoints rpcs to IndexService in aiplatform v1 index_service.proto ([#1030](https://github.com/googleapis/java-aiplatform/issues/1030)) ([fddedd5](https://github.com/googleapis/java-aiplatform/commit/fddedd58455ec6aebe347400344e9b9e42fed922)) * add UpsertDatapoints and RemoveDatapoints rpcs to IndexService in aiplatform v1beta1 index_service.proto ([fddedd5](https://github.com/googleapis/java-aiplatform/commit/fddedd58455ec6aebe347400344e9b9e42fed922)) * Add WriteFeatureValues in aiplatform v1beta1 featurestore_online_service.proto ([#1022](https://github.com/googleapis/java-aiplatform/issues/1022)) ([cf79830](https://github.com/googleapis/java-aiplatform/commit/cf79830711e635b4d9cf21c273d15d7e44a02105)) ### Dependencies * Update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.18.0 ([#1021](https://github.com/googleapis/java-aiplatform/issues/1021)) ([ff85984](https://github.com/googleapis/java-aiplatform/commit/ff85984cb4313de3b39da74e5666b171f3ce483b)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.14.5 ([#1016](https://github.com/googleapis/java-aiplatform/issues/1016)) ([d54f337](https://github.com/googleapis/java-aiplatform/commit/d54f3372e5d8d28730a324a419327f9fb331614a)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.14.6 ([#1026](https://github.com/googleapis/java-aiplatform/issues/1026)) ([a8efb8e](https://github.com/googleapis/java-aiplatform/commit/a8efb8e439492d19b49f9743f00927ff986b0391)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.14.7 ([#1031](https://github.com/googleapis/java-aiplatform/issues/1031)) ([bbf4f3f](https://github.com/googleapis/java-aiplatform/commit/bbf4f3f7be282fd53ba9e45cb2e23140647991f1)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.15.0 ([#1040](https://github.com/googleapis/java-aiplatform/issues/1040)) ([ec530d9](https://github.com/googleapis/java-aiplatform/commit/ec530d904887ac365bd4e6d1b0c775a639706c80)) * Update dependency com.google.cloud:google-cloud-bigquery to v2.16.0 ([#1044](https://github.com/googleapis/java-aiplatform/issues/1044)) ([09594bb](https://github.com/googleapis/java-aiplatform/commit/09594bbba9e0e7722249a9d81fd99140e1529316)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#1043](https://github.com/googleapis/java-aiplatform/issues/1043)) ([af4797b](https://github.com/googleapis/java-aiplatform/commit/af4797bb44d7016d2d5ae4170c072f11a232c07a)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#1045](https://github.com/googleapis/java-aiplatform/issues/1045)) ([bf6138f](https://github.com/googleapis/java-aiplatform/commit/bf6138fbeef298f73f2fa70cd12ae45f91562a5e)) * Update dependency com.google.cloud:google-cloud-storage to v2.11.3 ([#1015](https://github.com/googleapis/java-aiplatform/issues/1015)) ([112a827](https://github.com/googleapis/java-aiplatform/commit/112a827210a8c184a6075b9f7ad037b31ccf2b1d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 25 +++++++++++++++++++ google-cloud-aiplatform-bom/pom.xml | 12 ++++----- google-cloud-aiplatform/pom.xml | 4 +-- grpc-google-cloud-aiplatform-v1/pom.xml | 4 +-- grpc-google-cloud-aiplatform-v1beta1/pom.xml | 4 +-- pom.xml | 12 ++++----- proto-google-cloud-aiplatform-v1/pom.xml | 4 +-- proto-google-cloud-aiplatform-v1beta1/pom.xml | 4 +-- samples/snapshot/pom.xml | 2 +- versions.txt | 10 ++++---- 10 files changed, 53 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cec680a6..982a5e3d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [3.3.0](https://github.com/googleapis/java-aiplatform/compare/v3.2.0...v3.3.0) (2022-09-15) + + +### Features + +* add input_artifacts to PipelineJob.runtime_config in aiplatform v1 pipeline_job ([def077e](https://github.com/googleapis/java-aiplatform/commit/def077e48fca7fedb788a9703dbc7e02f03c0f32)) +* Add model_monitoring_stats_anomalies,model_monitoring_status to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto ([#1041](https://github.com/googleapis/java-aiplatform/issues/1041)) ([1b72b9d](https://github.com/googleapis/java-aiplatform/commit/1b72b9d0a4cdff5372cf8bc588c1b38a3fbb3c30)) +* Add read_mask to ListPipelineJobsRequest in aiplatform v1 pipeline_service ([#1032](https://github.com/googleapis/java-aiplatform/issues/1032)) ([def077e](https://github.com/googleapis/java-aiplatform/commit/def077e48fca7fedb788a9703dbc7e02f03c0f32)) +* Add UpsertDatapoints and RemoveDatapoints rpcs to IndexService in aiplatform v1 index_service.proto ([#1030](https://github.com/googleapis/java-aiplatform/issues/1030)) ([fddedd5](https://github.com/googleapis/java-aiplatform/commit/fddedd58455ec6aebe347400344e9b9e42fed922)) +* add UpsertDatapoints and RemoveDatapoints rpcs to IndexService in aiplatform v1beta1 index_service.proto ([fddedd5](https://github.com/googleapis/java-aiplatform/commit/fddedd58455ec6aebe347400344e9b9e42fed922)) +* Add WriteFeatureValues in aiplatform v1beta1 featurestore_online_service.proto ([#1022](https://github.com/googleapis/java-aiplatform/issues/1022)) ([cf79830](https://github.com/googleapis/java-aiplatform/commit/cf79830711e635b4d9cf21c273d15d7e44a02105)) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.18.0 ([#1021](https://github.com/googleapis/java-aiplatform/issues/1021)) ([ff85984](https://github.com/googleapis/java-aiplatform/commit/ff85984cb4313de3b39da74e5666b171f3ce483b)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.14.5 ([#1016](https://github.com/googleapis/java-aiplatform/issues/1016)) ([d54f337](https://github.com/googleapis/java-aiplatform/commit/d54f3372e5d8d28730a324a419327f9fb331614a)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.14.6 ([#1026](https://github.com/googleapis/java-aiplatform/issues/1026)) ([a8efb8e](https://github.com/googleapis/java-aiplatform/commit/a8efb8e439492d19b49f9743f00927ff986b0391)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.14.7 ([#1031](https://github.com/googleapis/java-aiplatform/issues/1031)) ([bbf4f3f](https://github.com/googleapis/java-aiplatform/commit/bbf4f3f7be282fd53ba9e45cb2e23140647991f1)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.15.0 ([#1040](https://github.com/googleapis/java-aiplatform/issues/1040)) ([ec530d9](https://github.com/googleapis/java-aiplatform/commit/ec530d904887ac365bd4e6d1b0c775a639706c80)) +* Update dependency com.google.cloud:google-cloud-bigquery to v2.16.0 ([#1044](https://github.com/googleapis/java-aiplatform/issues/1044)) ([09594bb](https://github.com/googleapis/java-aiplatform/commit/09594bbba9e0e7722249a9d81fd99140e1529316)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#1043](https://github.com/googleapis/java-aiplatform/issues/1043)) ([af4797b](https://github.com/googleapis/java-aiplatform/commit/af4797bb44d7016d2d5ae4170c072f11a232c07a)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#1045](https://github.com/googleapis/java-aiplatform/issues/1045)) ([bf6138f](https://github.com/googleapis/java-aiplatform/commit/bf6138fbeef298f73f2fa70cd12ae45f91562a5e)) +* Update dependency com.google.cloud:google-cloud-storage to v2.11.3 ([#1015](https://github.com/googleapis/java-aiplatform/issues/1015)) ([112a827](https://github.com/googleapis/java-aiplatform/commit/112a827210a8c184a6075b9f7ad037b31ccf2b1d)) + ## [3.2.0](https://github.com/googleapis/java-aiplatform/compare/v3.1.0...v3.2.0) (2022-08-09) diff --git a/google-cloud-aiplatform-bom/pom.xml b/google-cloud-aiplatform-bom/pom.xml index 25b284ee0..9ffb7b02f 100644 --- a/google-cloud-aiplatform-bom/pom.xml +++ b/google-cloud-aiplatform-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-aiplatform-bom - 3.2.1-SNAPSHOT + 3.3.0 pom com.google.cloud @@ -56,27 +56,27 @@ com.google.cloud google-cloud-aiplatform - 3.2.1-SNAPSHOT + 3.3.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.2.1-SNAPSHOT + 3.3.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.18.1-SNAPSHOT + 0.19.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.2.1-SNAPSHOT + 3.3.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.18.1-SNAPSHOT + 0.19.0 diff --git a/google-cloud-aiplatform/pom.xml b/google-cloud-aiplatform/pom.xml index a7afed60e..2194a91c9 100644 --- a/google-cloud-aiplatform/pom.xml +++ b/google-cloud-aiplatform/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-aiplatform - 3.2.1-SNAPSHOT + 3.3.0 jar Google Cloud Vertex AI https://github.com/googleapis/java-aiplatform @@ -11,7 +11,7 @@ com.google.cloud google-cloud-aiplatform-parent - 3.2.1-SNAPSHOT + 3.3.0 google-cloud-aiplatform diff --git a/grpc-google-cloud-aiplatform-v1/pom.xml b/grpc-google-cloud-aiplatform-v1/pom.xml index 10a75afb4..21c64ea72 100644 --- a/grpc-google-cloud-aiplatform-v1/pom.xml +++ b/grpc-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.2.1-SNAPSHOT + 3.3.0 grpc-google-cloud-aiplatform-v1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.1-SNAPSHOT + 3.3.0 diff --git a/grpc-google-cloud-aiplatform-v1beta1/pom.xml b/grpc-google-cloud-aiplatform-v1beta1/pom.xml index 6bac3584f..e8202862c 100644 --- a/grpc-google-cloud-aiplatform-v1beta1/pom.xml +++ b/grpc-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.18.1-SNAPSHOT + 0.19.0 grpc-google-cloud-aiplatform-v1beta1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.1-SNAPSHOT + 3.3.0 diff --git a/pom.xml b/pom.xml index ac84c57b5..b9c8036d0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-aiplatform-parent pom - 3.2.1-SNAPSHOT + 3.3.0 Google Cloud Vertex AI Parent https://github.com/googleapis/java- @@ -61,27 +61,27 @@ com.google.cloud google-cloud-aiplatform - 3.2.1-SNAPSHOT + 3.3.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.2.1-SNAPSHOT + 3.3.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.18.1-SNAPSHOT + 0.19.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.2.1-SNAPSHOT + 3.3.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.18.1-SNAPSHOT + 0.19.0 com.google.cloud diff --git a/proto-google-cloud-aiplatform-v1/pom.xml b/proto-google-cloud-aiplatform-v1/pom.xml index 3751a7325..2e84dd46b 100644 --- a/proto-google-cloud-aiplatform-v1/pom.xml +++ b/proto-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.2.1-SNAPSHOT + 3.3.0 proto-google-cloud-aiplatform-v1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.1-SNAPSHOT + 3.3.0 diff --git a/proto-google-cloud-aiplatform-v1beta1/pom.xml b/proto-google-cloud-aiplatform-v1beta1/pom.xml index 9c36466d0..7f59a9f78 100644 --- a/proto-google-cloud-aiplatform-v1beta1/pom.xml +++ b/proto-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.18.1-SNAPSHOT + 0.19.0 proto-google-cloud-aiplatform-v1beta1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.2.1-SNAPSHOT + 3.3.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index df5a547dc..b03492700 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-aiplatform - 3.2.1-SNAPSHOT + 3.3.0 diff --git a/versions.txt b/versions.txt index 2213f2e5e..99109408f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-aiplatform:3.2.0:3.2.1-SNAPSHOT -grpc-google-cloud-aiplatform-v1:3.2.0:3.2.1-SNAPSHOT -grpc-google-cloud-aiplatform-v1beta1:0.18.0:0.18.1-SNAPSHOT -proto-google-cloud-aiplatform-v1:3.2.0:3.2.1-SNAPSHOT -proto-google-cloud-aiplatform-v1beta1:0.18.0:0.18.1-SNAPSHOT +google-cloud-aiplatform:3.3.0:3.3.0 +grpc-google-cloud-aiplatform-v1:3.3.0:3.3.0 +grpc-google-cloud-aiplatform-v1beta1:0.19.0:0.19.0 +proto-google-cloud-aiplatform-v1:3.3.0:3.3.0 +proto-google-cloud-aiplatform-v1beta1:0.19.0:0.19.0