* The scheduled request type cannot be changed. * The non-empty fields cannot be + * unset. * The output_only fields will be ignored if specified. * @param updateMask Required. The update mask applies to the resource. See * [google.protobuf.FieldMask][google.protobuf.FieldMask]. * @throws com.google.api.gax.rpc.ApiException if the remote call fails diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java index 48773fa76e8e..9f25b53d725c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceClient.java @@ -1025,6 +1025,126 @@ public final ReadTensorboardUsageResponse readTensorboardUsage( return stub.readTensorboardUsageCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the storage size for a given TensorBoard instance. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating 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]"); + * ReadTensorboardSizeResponse response = + * tensorboardServiceClient.readTensorboardSize(tensorboard); + * } + * }+ * + * @param tensorboard Required. The name of the Tensorboard resource. Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadTensorboardSizeResponse readTensorboardSize(TensorboardName tensorboard) { + ReadTensorboardSizeRequest request = + ReadTensorboardSizeRequest.newBuilder() + .setTensorboard(tensorboard == null ? null : tensorboard.toString()) + .build(); + return readTensorboardSize(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the storage size for a given TensorBoard instance. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating 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(); + * ReadTensorboardSizeResponse response = + * tensorboardServiceClient.readTensorboardSize(tensorboard); + * } + * }+ * + * @param tensorboard Required. The name of the Tensorboard resource. Format: + * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadTensorboardSizeResponse readTensorboardSize(String tensorboard) { + ReadTensorboardSizeRequest request = + ReadTensorboardSizeRequest.newBuilder().setTensorboard(tensorboard).build(); + return readTensorboardSize(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the storage size for a given TensorBoard instance. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) { + * ReadTensorboardSizeRequest request = + * ReadTensorboardSizeRequest.newBuilder() + * .setTensorboard( + * TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString()) + * .build(); + * ReadTensorboardSizeResponse response = tensorboardServiceClient.readTensorboardSize(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 ReadTensorboardSizeResponse readTensorboardSize(ReadTensorboardSizeRequest request) { + return readTensorboardSizeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the storage size for a given TensorBoard instance. + * + *
Sample code: + * + *
{@code + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + * try (TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.create()) { + * ReadTensorboardSizeRequest request = + * ReadTensorboardSizeRequest.newBuilder() + * .setTensorboard( + * TensorboardName.of("[PROJECT]", "[LOCATION]", "[TENSORBOARD]").toString()) + * .build(); + * ApiFuture+ */ + public final UnaryCallablefuture = + * tensorboardServiceClient.readTensorboardSizeCallable().futureCall(request); + * // Do something. + * ReadTensorboardSizeResponse response = future.get(); + * } + * }
Sample code: * @@ -238,7 +239,7 @@ public final OperationsClient getOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Uploads a Model artifact into Vertex AI. + * Creates a PersistentResource. * *
Sample code: * @@ -283,7 +284,7 @@ public final OperationsClient getOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Uploads a Model artifact into Vertex AI. + * Creates a PersistentResource. * *
Sample code: * @@ -316,7 +317,7 @@ public final OperationsClient getOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Uploads a Model artifact into Vertex AI. + * Creates a PersistentResource. * *
Sample code: * @@ -353,7 +354,7 @@ public final OperationsClient getOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Uploads a Model artifact into Vertex AI. + * Creates a PersistentResource. * *
Sample code:
*
@@ -848,6 +849,146 @@ public final OperationFuture Sample code:
+ *
+ * The PersistentResource's `name` field is used to identify the PersistentResource to
+ * update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ * @param updateMask Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * * The scheduled request type cannot be changed. * The non-empty fields cannot be
+ * unset. * The output_only fields will be ignored if specified.
* @param updateMask Required. The update mask applies to the resource. See
* [google.protobuf.FieldMask][google.protobuf.FieldMask].
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json
index 3b929884e456..9d95651d7f78 100644
--- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json
+++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json
@@ -813,6 +813,9 @@
},
"TestIamPermissions": {
"methods": ["testIamPermissions", "testIamPermissionsCallable"]
+ },
+ "UpdatePersistentResource": {
+ "methods": ["updatePersistentResourceAsync", "updatePersistentResourceAsync", "updatePersistentResourceOperationCallable", "updatePersistentResourceCallable"]
}
}
}
@@ -877,6 +880,9 @@
"grpc": {
"libraryClient": "PredictionServiceClient",
"rpcs": {
+ "CountTokens": {
+ "methods": ["countTokens", "countTokens", "countTokens", "countTokensCallable"]
+ },
"Explain": {
"methods": ["explain", "explain", "explain", "explainCallable"]
},
diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPersistentResourceServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPersistentResourceServiceStub.java
index 68e4df698b09..ea5f8bcab5b7 100644
--- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPersistentResourceServiceStub.java
+++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcPersistentResourceServiceStub.java
@@ -36,6 +36,8 @@
import com.google.cloud.aiplatform.v1beta1.ListPersistentResourcesRequest;
import com.google.cloud.aiplatform.v1beta1.ListPersistentResourcesResponse;
import com.google.cloud.aiplatform.v1beta1.PersistentResource;
+import com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata;
+import com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
@@ -110,6 +112,17 @@ public class GrpcPersistentResourceServiceStub extends PersistentResourceService
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();
+ private static final MethodDescriptor{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PersistentResourceServiceClient persistentResourceServiceClient =
+ * PersistentResourceServiceClient.create()) {
+ * PersistentResource persistentResource = PersistentResource.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * PersistentResource response =
+ * persistentResourceServiceClient
+ * .updatePersistentResourceAsync(persistentResource, updateMask)
+ * .get();
+ * }
+ * }
+ *
+ * @param persistentResource Required. The PersistentResource to update.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PersistentResourceServiceClient persistentResourceServiceClient =
+ * PersistentResourceServiceClient.create()) {
+ * UpdatePersistentResourceRequest request =
+ * UpdatePersistentResourceRequest.newBuilder()
+ * .setPersistentResource(PersistentResource.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * PersistentResource response =
+ * persistentResourceServiceClient.updatePersistentResourceAsync(request).get();
+ * }
+ * }
+ *
+ * @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 OperationFuture{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PersistentResourceServiceClient persistentResourceServiceClient =
+ * PersistentResourceServiceClient.create()) {
+ * UpdatePersistentResourceRequest request =
+ * UpdatePersistentResourceRequest.newBuilder()
+ * .setPersistentResource(PersistentResource.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable<
+ UpdatePersistentResourceRequest,
+ PersistentResource,
+ UpdatePersistentResourceOperationMetadata>
+ updatePersistentResourceOperationCallable() {
+ return stub.updatePersistentResourceOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Updates a PersistentResource.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (PersistentResourceServiceClient persistentResourceServiceClient =
+ * PersistentResourceServiceClient.create()) {
+ * UpdatePersistentResourceRequest request =
+ * UpdatePersistentResourceRequest.newBuilder()
+ * .setPersistentResource(PersistentResource.newBuilder().build())
+ * .setUpdateMask(FieldMask.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying 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.ofProjectLocationEndpointName("[PROJECT]", "[LOCATION]", "[ENDPOINT]");
+ * List
+ *
+ * @param endpoint Required. The name of the Endpoint requested to perform token counting. Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ * @param instances Required. The instances that are the input to token counting call. Schema is
+ * identical to the prediction schema of the underlying model.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CountTokensResponse countTokens(EndpointName endpoint, List{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying 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.ofProjectLocationEndpointName("[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString();
+ * List
+ *
+ * @param endpoint Required. The name of the Endpoint requested to perform token counting. Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ * @param instances Required. The instances that are the input to token counting call. Schema is
+ * identical to the prediction schema of the underlying model.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final CountTokensResponse countTokens(String endpoint, List{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying 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()) {
+ * CountTokensRequest request =
+ * CountTokensRequest.newBuilder()
+ * .setEndpoint(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllInstances(new ArrayList
+ *
+ * @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 CountTokensResponse countTokens(CountTokensRequest request) {
+ return countTokensCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Perform a token counting.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying 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()) {
+ * CountTokensRequest request =
+ * CountTokensRequest.newBuilder()
+ * .setEndpoint(
+ * EndpointName.ofProjectLocationEndpointName(
+ * "[PROJECT]", "[LOCATION]", "[ENDPOINT]")
+ * .toString())
+ * .addAllInstances(new ArrayList
+ */
+ public final UnaryCallable
+ * Returns the storage size for a given TensorBoard instance.
+ *
+ */
+ default void readTensorboardSize(
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest request,
+ io.grpc.stub.StreamObserver
+ * Returns the storage size for a given TensorBoard instance.
+ *
+ */
+ public void readTensorboardSize(
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest request,
+ io.grpc.stub.StreamObserver
+ * Returns the storage size for a given TensorBoard instance.
+ *
+ */
+ public com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse readTensorboardSize(
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getReadTensorboardSizeMethod(), getCallOptions(), request);
+ }
+
/**
*
*
@@ -3074,6 +3169,20 @@ protected TensorboardServiceFutureStub build(
getChannel().newCall(getReadTensorboardUsageMethod(), getCallOptions()), request);
}
+ /**
+ *
+ *
+ *
+ * Returns the storage size for a given TensorBoard instance.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse>
+ readTensorboardSize(com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getReadTensorboardSizeMethod(), getCallOptions()), request);
+ }
+
/**
*
*
@@ -3419,29 +3528,30 @@ protected TensorboardServiceFutureStub build(
private static final int METHODID_LIST_TENSORBOARDS = 3;
private static final int METHODID_DELETE_TENSORBOARD = 4;
private static final int METHODID_READ_TENSORBOARD_USAGE = 5;
- private static final int METHODID_CREATE_TENSORBOARD_EXPERIMENT = 6;
- private static final int METHODID_GET_TENSORBOARD_EXPERIMENT = 7;
- private static final int METHODID_UPDATE_TENSORBOARD_EXPERIMENT = 8;
- private static final int METHODID_LIST_TENSORBOARD_EXPERIMENTS = 9;
- private static final int METHODID_DELETE_TENSORBOARD_EXPERIMENT = 10;
- private static final int METHODID_CREATE_TENSORBOARD_RUN = 11;
- private static final int METHODID_BATCH_CREATE_TENSORBOARD_RUNS = 12;
- private static final int METHODID_GET_TENSORBOARD_RUN = 13;
- private static final int METHODID_UPDATE_TENSORBOARD_RUN = 14;
- private static final int METHODID_LIST_TENSORBOARD_RUNS = 15;
- private static final int METHODID_DELETE_TENSORBOARD_RUN = 16;
- private static final int METHODID_BATCH_CREATE_TENSORBOARD_TIME_SERIES = 17;
- private static final int METHODID_CREATE_TENSORBOARD_TIME_SERIES = 18;
- private static final int METHODID_GET_TENSORBOARD_TIME_SERIES = 19;
- private static final int METHODID_UPDATE_TENSORBOARD_TIME_SERIES = 20;
- private static final int METHODID_LIST_TENSORBOARD_TIME_SERIES = 21;
- private static final int METHODID_DELETE_TENSORBOARD_TIME_SERIES = 22;
- private static final int METHODID_BATCH_READ_TENSORBOARD_TIME_SERIES_DATA = 23;
- private static final int METHODID_READ_TENSORBOARD_TIME_SERIES_DATA = 24;
- private static final int METHODID_READ_TENSORBOARD_BLOB_DATA = 25;
- private static final int METHODID_WRITE_TENSORBOARD_EXPERIMENT_DATA = 26;
- private static final int METHODID_WRITE_TENSORBOARD_RUN_DATA = 27;
- private static final int METHODID_EXPORT_TENSORBOARD_TIME_SERIES_DATA = 28;
+ private static final int METHODID_READ_TENSORBOARD_SIZE = 6;
+ private static final int METHODID_CREATE_TENSORBOARD_EXPERIMENT = 7;
+ private static final int METHODID_GET_TENSORBOARD_EXPERIMENT = 8;
+ private static final int METHODID_UPDATE_TENSORBOARD_EXPERIMENT = 9;
+ private static final int METHODID_LIST_TENSORBOARD_EXPERIMENTS = 10;
+ private static final int METHODID_DELETE_TENSORBOARD_EXPERIMENT = 11;
+ private static final int METHODID_CREATE_TENSORBOARD_RUN = 12;
+ private static final int METHODID_BATCH_CREATE_TENSORBOARD_RUNS = 13;
+ private static final int METHODID_GET_TENSORBOARD_RUN = 14;
+ private static final int METHODID_UPDATE_TENSORBOARD_RUN = 15;
+ private static final int METHODID_LIST_TENSORBOARD_RUNS = 16;
+ private static final int METHODID_DELETE_TENSORBOARD_RUN = 17;
+ private static final int METHODID_BATCH_CREATE_TENSORBOARD_TIME_SERIES = 18;
+ private static final int METHODID_CREATE_TENSORBOARD_TIME_SERIES = 19;
+ private static final int METHODID_GET_TENSORBOARD_TIME_SERIES = 20;
+ private static final int METHODID_UPDATE_TENSORBOARD_TIME_SERIES = 21;
+ private static final int METHODID_LIST_TENSORBOARD_TIME_SERIES = 22;
+ private static final int METHODID_DELETE_TENSORBOARD_TIME_SERIES = 23;
+ private static final int METHODID_BATCH_READ_TENSORBOARD_TIME_SERIES_DATA = 24;
+ private static final int METHODID_READ_TENSORBOARD_TIME_SERIES_DATA = 25;
+ private static final int METHODID_READ_TENSORBOARD_BLOB_DATA = 26;
+ private static final int METHODID_WRITE_TENSORBOARD_EXPERIMENT_DATA = 27;
+ private static final int METHODID_WRITE_TENSORBOARD_RUN_DATA = 28;
+ private static final int METHODID_EXPORT_TENSORBOARD_TIME_SERIES_DATA = 29;
private static final class MethodHandlers
- * Uploads a Model artifact into Vertex AI.
+ * Creates a PersistentResource.
*
*/
default void createPersistentResource(
@@ -354,6 +406,20 @@ default void deletePersistentResource(
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeletePersistentResourceMethod(), responseObserver);
}
+
+ /**
+ *
+ *
+ *
+ * Updates a PersistentResource.
+ *
+ */
+ default void updatePersistentResource(
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest request,
+ io.grpc.stub.StreamObserver
- * Uploads a Model artifact into Vertex AI.
+ * Creates a PersistentResource.
*
*/
public void createPersistentResource(
@@ -458,6 +524,22 @@ public void deletePersistentResource(
request,
responseObserver);
}
+
+ /**
+ *
+ *
+ *
+ * Updates a PersistentResource.
+ *
+ */
+ public void updatePersistentResource(
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest request,
+ io.grpc.stub.StreamObserver
- * Uploads a Model artifact into Vertex AI.
+ * Creates a PersistentResource.
*
*/
public com.google.longrunning.Operation createPersistentResource(
@@ -532,6 +614,19 @@ public com.google.longrunning.Operation deletePersistentResource(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeletePersistentResourceMethod(), getCallOptions(), request);
}
+
+ /**
+ *
+ *
+ *
+ * Updates a PersistentResource.
+ *
+ */
+ public com.google.longrunning.Operation updatePersistentResource(
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdatePersistentResourceMethod(), getCallOptions(), request);
+ }
}
/**
@@ -559,7 +654,7 @@ protected PersistentResourceServiceFutureStub build(
*
*
*
- * Uploads a Model artifact into Vertex AI.
+ * Creates a PersistentResource.
*
*/
public com.google.common.util.concurrent.ListenableFuture
+ * Updates a PersistentResource.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ * Perform a token counting.
+ *
+ */
+ default void countTokens(
+ com.google.cloud.aiplatform.v1beta1.CountTokensRequest request,
+ io.grpc.stub.StreamObserver
+ * Perform a token counting.
+ *
+ */
+ public void countTokens(
+ com.google.cloud.aiplatform.v1beta1.CountTokensRequest request,
+ io.grpc.stub.StreamObserver
+ * Perform a token counting.
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.CountTokensResponse countTokens(
+ com.google.cloud.aiplatform.v1beta1.CountTokensRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCountTokensMethod(), getCallOptions(), request);
+ }
}
/**
@@ -625,12 +717,27 @@ public com.google.common.util.concurrent.ListenableFuture
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -110,10 +110,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -1409,10 +1409,10 @@ public Builder mergeFrom(
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -1431,10 +1431,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -1453,10 +1453,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -1474,10 +1474,10 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return This builder for chaining.
*/
@@ -1491,10 +1491,10 @@ public Builder clearName() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextOrBuilder.java
index 649ef321d87a..b017bd5369aa 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextOrBuilder.java
@@ -27,10 +27,10 @@ public interface ContextOrBuilder
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -39,10 +39,10 @@ public interface ContextOrBuilder
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java
index 8ccee27376df..4920a2f3aa58 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java
@@ -49,7 +49,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "pi/field_behavior.proto\032\031google/api/reso"
+ "urce.proto\032\034google/protobuf/struct.proto"
+ "\032\037google/protobuf/timestamp.proto\"\327\004\n\007Co"
- + "ntext\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_nam"
+ + "ntext\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022\024\n\014display_nam"
+ "e\030\002 \001(\t\022\014\n\004etag\030\010 \001(\t\022?\n\006labels\030\t \003(\0132/."
+ "google.cloud.aiplatform.v1.Context.Label"
+ "sEntry\0225\n\013create_time\030\n \001(\0132\032.google.pro"
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateDatasetVersionOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateDatasetVersionOperationMetadata.java
new file mode 100644
index 000000000000..9064544111d0
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateDatasetVersionOperationMetadata.java
@@ -0,0 +1,729 @@
+/*
+ * Copyright 2023 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/dataset_service.proto
+
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata}
+ */
+public final class CreateDatasetVersionOperationMetadata
+ extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata)
+ CreateDatasetVersionOperationMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CreateDatasetVersionOperationMetadata.newBuilder() to construct.
+ private CreateDatasetVersionOperationMetadata(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CreateDatasetVersionOperationMetadata() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateDatasetVersionOperationMetadata();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata.class,
+ com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata.Builder.class);
+ }
+
+ public static final int GENERIC_METADATA_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasGenericMetadata() {
+ return genericMetadata_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+
+ 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 (genericMetadata_ != null) {
+ output.writeMessage(1, getGenericMetadata());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (genericMetadata_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata());
+ }
+ size += getUnknownFields().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.CreateDatasetVersionOperationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata other =
+ (com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata) obj;
+
+ if (hasGenericMetadata() != other.hasGenericMetadata()) return false;
+ if (hasGenericMetadata()) {
+ if (!getGenericMetadata().equals(other.getGenericMetadata())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasGenericMetadata()) {
+ hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGenericMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata
+ 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.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata 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;
+ }
+ /**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() {
+ if (genericMetadataBuilder_ == null) {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ } else {
+ return genericMetadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ genericMetadata_ = value;
+ } else {
+ genericMetadataBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadata_ = builderForValue.build();
+ } else {
+ genericMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder mergeGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
+ } else {
+ genericMetadata_ = value;
+ }
+ } else {
+ genericMetadataBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder clearGenericMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
+ genericMetadataBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
+ getGenericMetadataBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getGenericMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ if (genericMetadataBuilder_ != null) {
+ return genericMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>
+ getGenericMetadataFieldBuilder() {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>(
+ getGenericMetadata(), getParentForChildren(), isClean());
+ genericMetadata_ = null;
+ }
+ return genericMetadataBuilder_;
+ }
+
+ @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.CreateDatasetVersionOperationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata)
+ private static final com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata();
+ }
+
+ public static com.google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ boolean hasGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java
index 6b6c4623f6df..1aedb650c43a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java
@@ -133,15 +133,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Spec\022 \n\022executor_image_uri\030\001 \001(\tB\004\342A\001\002\022\032"
+ "\n\014package_uris\030\002 \003(\tB\004\342A\001\002\022\033\n\rpython_mod"
+ "ule\030\003 \001(\tB\004\342A\001\002\022\014\n\004args\030\004 \003(\t\022/\n\003env\030\005 \003"
- + "(\0132\".google.cloud.aiplatform.v1.EnvVar\"_"
+ + "(\0132\".google.cloud.aiplatform.v1.EnvVar\"~"
+ "\n\nScheduling\022*\n\007timeout\030\001 \001(\0132\031.google.p"
+ "rotobuf.Duration\022%\n\035restart_job_on_worke"
- + "r_restart\030\003 \001(\010B\314\001\n\036com.google.cloud.aip"
- + "latform.v1B\016CustomJobProtoP\001Z>cloud.goog"
- + "le.com/go/aiplatform/apiv1/aiplatformpb;"
- + "aiplatformpb\252\002\032Google.Cloud.AIPlatform.V"
- + "1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google:"
- + ":Cloud::AIPlatform::V1b\006proto3"
+ + "r_restart\030\003 \001(\010\022\035\n\017disable_retries\030\005 \001(\010"
+ + "B\004\342A\001\001B\314\001\n\036com.google.cloud.aiplatform.v"
+ + "1B\016CustomJobProtoP\001Z>cloud.google.com/go"
+ + "/aiplatform/apiv1/aiplatformpb;aiplatfor"
+ + "mpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl"
+ + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A"
+ + "IPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -247,7 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_Scheduling_descriptor,
new java.lang.String[] {
- "Timeout", "RestartJobOnWorkerRestart",
+ "Timeout", "RestartJobOnWorkerRestart", "DisableRetries",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java
index 9e2b75ad9f8f..67b9da36afec 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java
@@ -79,6 +79,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1_ExportDataOperationMetadata_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1_ExportDataOperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1_ListDataItemsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -188,134 +196,140 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "les\030\001 \003(\t\"\213\001\n\033ExportDataOperationMetadat"
+ "a\022N\n\020generic_metadata\030\001 \001(\01324.google.clo"
+ "ud.aiplatform.v1.GenericOperationMetadat"
- + "a\022\034\n\024gcs_output_directory\030\002 \001(\t\"\312\001\n\024List"
- + "DataItemsRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A"
- + "#\n!aiplatform.googleapis.com/Dataset\022\016\n\006"
- + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
- + "token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google."
- + "protobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\"j\n\025"
- + "ListDataItemsResponse\0228\n\ndata_items\030\001 \003("
- + "\0132$.google.cloud.aiplatform.v1.DataItem\022"
- + "\027\n\017next_page_token\030\002 \001(\t\"\336\004\n\026SearchDataI"
- + "temsRequest\022\034\n\022order_by_data_item\030\014 \001(\tH"
- + "\000\022c\n\023order_by_annotation\030\r \001(\0132D.google."
- + "cloud.aiplatform.v1.SearchDataItemsReque"
- + "st.OrderByAnnotationH\000\022;\n\007dataset\030\001 \001(\tB"
- + "*\342A\001\002\372A#\n!aiplatform.googleapis.com/Data"
- + "set\022@\n\013saved_query\030\002 \001(\tB+\030\001\372A&\n$aiplatf"
- + "orm.googleapis.com/SavedQuery\022\031\n\021data_la"
- + "beling_job\030\003 \001(\t\022\030\n\020data_item_filter\030\004 \001"
- + "(\t\022\036\n\022annotations_filter\030\005 \001(\tB\002\030\001\022\032\n\022an"
- + "notation_filters\030\013 \003(\t\022.\n\nfield_mask\030\006 \001"
- + "(\0132\032.google.protobuf.FieldMask\022\031\n\021annota"
- + "tions_limit\030\007 \001(\005\022\021\n\tpage_size\030\010 \001(\005\022\024\n\010"
- + "order_by\030\t \001(\tB\002\030\001\022\022\n\npage_token\030\n \001(\t\032@"
- + "\n\021OrderByAnnotation\022\031\n\013saved_query\030\001 \001(\t"
- + "B\004\342A\001\002\022\020\n\010order_by\030\002 \001(\tB\007\n\005order\"u\n\027Sea"
- + "rchDataItemsResponse\022A\n\017data_item_views\030"
- + "\001 \003(\0132(.google.cloud.aiplatform.v1.DataI"
- + "temView\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n\014Dat"
- + "aItemView\0227\n\tdata_item\030\001 \001(\0132$.google.cl"
- + "oud.aiplatform.v1.DataItem\022;\n\013annotation"
- + "s\030\002 \003(\0132&.google.cloud.aiplatform.v1.Ann"
- + "otation\022!\n\031has_truncated_annotations\030\003 \001"
- + "(\010\"\315\001\n\027ListSavedQueriesRequest\022:\n\006parent"
- + "\030\001 \001(\tB*\342A\001\002\372A#\n!aiplatform.googleapis.c"
- + "om/Dataset\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030"
- + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005"
- + " \001(\0132\032.google.protobuf.FieldMask\022\020\n\010orde"
- + "r_by\030\006 \001(\t\"r\n\030ListSavedQueriesResponse\022="
- + "\n\rsaved_queries\030\001 \003(\0132&.google.cloud.aip"
- + "latform.v1.SavedQuery\022\027\n\017next_page_token"
- + "\030\002 \001(\t\"V\n\027DeleteSavedQueryRequest\022;\n\004nam"
- + "e\030\001 \001(\tB-\342A\001\002\372A&\n$aiplatform.googleapis."
- + "com/SavedQuery\"\212\001\n\030GetAnnotationSpecRequ"
- + "est\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatform.g"
- + "oogleapis.com/AnnotationSpec\022-\n\tread_mas"
- + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"\315\001\n\026"
- + "ListAnnotationsRequest\022;\n\006parent\030\001 \001(\tB+"
- + "\342A\001\002\372A$\n\"aiplatform.googleapis.com/DataI"
- + "tem\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022"
- + "\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032."
- + "google.protobuf.FieldMask\022\020\n\010order_by\030\006 "
- + "\001(\t\"o\n\027ListAnnotationsResponse\022;\n\013annota"
- + "tions\030\001 \003(\0132&.google.cloud.aiplatform.v1"
- + ".Annotation\022\027\n\017next_page_token\030\002 \001(\t2\324\025\n"
- + "\016DatasetService\022\334\001\n\rCreateDataset\0220.goog"
- + "le.cloud.aiplatform.v1.CreateDatasetRequ"
- + "est\032\035.google.longrunning.Operation\"z\312A)\n"
- + "\007Dataset\022\036CreateDatasetOperationMetadata"
- + "\332A\016parent,dataset\202\323\344\223\0027\",/v1/{parent=pro"
- + "jects/*/locations/*}/datasets:\007dataset\022\235"
- + "\001\n\nGetDataset\022-.google.cloud.aiplatform."
- + "v1.GetDatasetRequest\032#.google.cloud.aipl"
- + "atform.v1.Dataset\";\332A\004name\202\323\344\223\002.\022,/v1/{n"
- + "ame=projects/*/locations/*/datasets/*}\022\303"
- + "\001\n\rUpdateDataset\0220.google.cloud.aiplatfo"
- + "rm.v1.UpdateDatasetRequest\032#.google.clou"
- + "d.aiplatform.v1.Dataset\"[\332A\023dataset,upda"
- + "te_mask\202\323\344\223\002?24/v1/{dataset.name=project"
- + "s/*/locations/*/datasets/*}:\007dataset\022\260\001\n"
- + "\014ListDatasets\022/.google.cloud.aiplatform."
- + "v1.ListDatasetsRequest\0320.google.cloud.ai"
- + "platform.v1.ListDatasetsResponse\"=\332A\006par"
- + "ent\202\323\344\223\002.\022,/v1/{parent=projects/*/locati"
- + "ons/*}/datasets\022\320\001\n\rDeleteDataset\0220.goog"
- + "le.cloud.aiplatform.v1.DeleteDatasetRequ"
- + "est\032\035.google.longrunning.Operation\"n\312A0\n"
- + "\025google.protobuf.Empty\022\027DeleteOperationM"
- + "etadata\332A\004name\202\323\344\223\002.*,/v1/{name=projects"
- + "/*/locations/*/datasets/*}\022\345\001\n\nImportDat"
- + "a\022-.google.cloud.aiplatform.v1.ImportDat"
- + "aRequest\032\035.google.longrunning.Operation\""
- + "\210\001\312A1\n\022ImportDataResponse\022\033ImportDataOpe"
- + "rationMetadata\332A\023name,import_configs\202\323\344\223"
- + "\0028\"3/v1/{name=projects/*/locations/*/dat"
- + "asets/*}:import:\001*\022\344\001\n\nExportData\022-.goog"
- + "le.cloud.aiplatform.v1.ExportDataRequest"
- + "\032\035.google.longrunning.Operation\"\207\001\312A1\n\022E"
- + "xportDataResponse\022\033ExportDataOperationMe"
- + "tadata\332A\022name,export_config\202\323\344\223\0028\"3/v1/{"
- + "name=projects/*/locations/*/datasets/*}:"
- + "export:\001*\022\277\001\n\rListDataItems\0220.google.clo"
- + "ud.aiplatform.v1.ListDataItemsRequest\0321."
- + "google.cloud.aiplatform.v1.ListDataItems"
- + "Response\"I\332A\006parent\202\323\344\223\002:\0228/v1/{parent=p"
- + "rojects/*/locations/*/datasets/*}/dataIt"
- + "ems\022\303\001\n\017SearchDataItems\0222.google.cloud.a"
- + "iplatform.v1.SearchDataItemsRequest\0323.go"
- + "ogle.cloud.aiplatform.v1.SearchDataItems"
- + "Response\"G\202\323\344\223\002A\022?/v1/{dataset=projects/"
- + "*/locations/*/datasets/*}:searchDataItem"
- + "s\022\313\001\n\020ListSavedQueries\0223.google.cloud.ai"
- + "platform.v1.ListSavedQueriesRequest\0324.go"
- + "ogle.cloud.aiplatform.v1.ListSavedQuerie"
- + "sResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{parent="
- + "projects/*/locations/*/datasets/*}/saved"
- + "Queries\022\345\001\n\020DeleteSavedQuery\0223.google.cl"
- + "oud.aiplatform.v1.DeleteSavedQueryReques"
- + "t\032\035.google.longrunning.Operation\"}\312A0\n\025g"
- + "oogle.protobuf.Empty\022\027DeleteOperationMet"
- + "adata\332A\004name\202\323\344\223\002=*;/v1/{name=projects/*"
- + "/locations/*/datasets/*/savedQueries/*}\022"
- + "\304\001\n\021GetAnnotationSpec\0224.google.cloud.aip"
- + "latform.v1.GetAnnotationSpecRequest\032*.go"
- + "ogle.cloud.aiplatform.v1.AnnotationSpec\""
- + "M\332A\004name\202\323\344\223\002@\022>/v1/{name=projects/*/loc"
- + "ations/*/datasets/*/annotationSpecs/*}\022\323"
- + "\001\n\017ListAnnotations\0222.google.cloud.aiplat"
- + "form.v1.ListAnnotationsRequest\0323.google."
- + "cloud.aiplatform.v1.ListAnnotationsRespo"
- + "nse\"W\332A\006parent\202\323\344\223\002H\022F/v1/{parent=projec"
- + "ts/*/locations/*/datasets/*/dataItems/*}"
- + "/annotations\032M\312A\031aiplatform.googleapis.c"
- + "om\322A.https://www.googleapis.com/auth/clo"
- + "ud-platformB\321\001\n\036com.google.cloud.aiplatf"
- + "orm.v1B\023DatasetServiceProtoP\001Z>cloud.goo"
- + "gle.com/go/aiplatform/apiv1/aiplatformpb"
- + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform."
- + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google"
- + "::Cloud::AIPlatform::V1b\006proto3"
+ + "a\022\034\n\024gcs_output_directory\030\002 \001(\t\"w\n%Creat"
+ + "eDatasetVersionOperationMetadata\022N\n\020gene"
+ + "ric_metadata\030\001 \001(\01324.google.cloud.aiplat"
+ + "form.v1.GenericOperationMetadata\"x\n&Rest"
+ + "oreDatasetVersionOperationMetadata\022N\n\020ge"
+ + "neric_metadata\030\001 \001(\01324.google.cloud.aipl"
+ + "atform.v1.GenericOperationMetadata\"\312\001\n\024L"
+ + "istDataItemsRequest\022:\n\006parent\030\001 \001(\tB*\342A\001"
+ + "\002\372A#\n!aiplatform.googleapis.com/Dataset\022"
+ + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa"
+ + "ge_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.goog"
+ + "le.protobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\""
+ + "j\n\025ListDataItemsResponse\0228\n\ndata_items\030\001"
+ + " \003(\0132$.google.cloud.aiplatform.v1.DataIt"
+ + "em\022\027\n\017next_page_token\030\002 \001(\t\"\336\004\n\026SearchDa"
+ + "taItemsRequest\022\034\n\022order_by_data_item\030\014 \001"
+ + "(\tH\000\022c\n\023order_by_annotation\030\r \001(\0132D.goog"
+ + "le.cloud.aiplatform.v1.SearchDataItemsRe"
+ + "quest.OrderByAnnotationH\000\022;\n\007dataset\030\001 \001"
+ + "(\tB*\342A\001\002\372A#\n!aiplatform.googleapis.com/D"
+ + "ataset\022@\n\013saved_query\030\002 \001(\tB+\030\001\372A&\n$aipl"
+ + "atform.googleapis.com/SavedQuery\022\031\n\021data"
+ + "_labeling_job\030\003 \001(\t\022\030\n\020data_item_filter\030"
+ + "\004 \001(\t\022\036\n\022annotations_filter\030\005 \001(\tB\002\030\001\022\032\n"
+ + "\022annotation_filters\030\013 \003(\t\022.\n\nfield_mask\030"
+ + "\006 \001(\0132\032.google.protobuf.FieldMask\022\031\n\021ann"
+ + "otations_limit\030\007 \001(\005\022\021\n\tpage_size\030\010 \001(\005\022"
+ + "\024\n\010order_by\030\t \001(\tB\002\030\001\022\022\n\npage_token\030\n \001("
+ + "\t\032@\n\021OrderByAnnotation\022\031\n\013saved_query\030\001 "
+ + "\001(\tB\004\342A\001\002\022\020\n\010order_by\030\002 \001(\tB\007\n\005order\"u\n\027"
+ + "SearchDataItemsResponse\022A\n\017data_item_vie"
+ + "ws\030\001 \003(\0132(.google.cloud.aiplatform.v1.Da"
+ + "taItemView\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n\014"
+ + "DataItemView\0227\n\tdata_item\030\001 \001(\0132$.google"
+ + ".cloud.aiplatform.v1.DataItem\022;\n\013annotat"
+ + "ions\030\002 \003(\0132&.google.cloud.aiplatform.v1."
+ + "Annotation\022!\n\031has_truncated_annotations\030"
+ + "\003 \001(\010\"\315\001\n\027ListSavedQueriesRequest\022:\n\006par"
+ + "ent\030\001 \001(\tB*\342A\001\002\372A#\n!aiplatform.googleapi"
+ + "s.com/Dataset\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si"
+ + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mas"
+ + "k\030\005 \001(\0132\032.google.protobuf.FieldMask\022\020\n\010o"
+ + "rder_by\030\006 \001(\t\"r\n\030ListSavedQueriesRespons"
+ + "e\022=\n\rsaved_queries\030\001 \003(\0132&.google.cloud."
+ + "aiplatform.v1.SavedQuery\022\027\n\017next_page_to"
+ + "ken\030\002 \001(\t\"V\n\027DeleteSavedQueryRequest\022;\n\004"
+ + "name\030\001 \001(\tB-\342A\001\002\372A&\n$aiplatform.googleap"
+ + "is.com/SavedQuery\"\212\001\n\030GetAnnotationSpecR"
+ + "equest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatfor"
+ + "m.googleapis.com/AnnotationSpec\022-\n\tread_"
+ + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\315"
+ + "\001\n\026ListAnnotationsRequest\022;\n\006parent\030\001 \001("
+ + "\tB+\342A\001\002\372A$\n\"aiplatform.googleapis.com/Da"
+ + "taItem\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001("
+ + "\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\013"
+ + "2\032.google.protobuf.FieldMask\022\020\n\010order_by"
+ + "\030\006 \001(\t\"o\n\027ListAnnotationsResponse\022;\n\013ann"
+ + "otations\030\001 \003(\0132&.google.cloud.aiplatform"
+ + ".v1.Annotation\022\027\n\017next_page_token\030\002 \001(\t2"
+ + "\324\025\n\016DatasetService\022\334\001\n\rCreateDataset\0220.g"
+ + "oogle.cloud.aiplatform.v1.CreateDatasetR"
+ + "equest\032\035.google.longrunning.Operation\"z\312"
+ + "A)\n\007Dataset\022\036CreateDatasetOperationMetad"
+ + "ata\332A\016parent,dataset\202\323\344\223\0027\",/v1/{parent="
+ + "projects/*/locations/*}/datasets:\007datase"
+ + "t\022\235\001\n\nGetDataset\022-.google.cloud.aiplatfo"
+ + "rm.v1.GetDatasetRequest\032#.google.cloud.a"
+ + "iplatform.v1.Dataset\";\332A\004name\202\323\344\223\002.\022,/v1"
+ + "/{name=projects/*/locations/*/datasets/*"
+ + "}\022\303\001\n\rUpdateDataset\0220.google.cloud.aipla"
+ + "tform.v1.UpdateDatasetRequest\032#.google.c"
+ + "loud.aiplatform.v1.Dataset\"[\332A\023dataset,u"
+ + "pdate_mask\202\323\344\223\002?24/v1/{dataset.name=proj"
+ + "ects/*/locations/*/datasets/*}:\007dataset\022"
+ + "\260\001\n\014ListDatasets\022/.google.cloud.aiplatfo"
+ + "rm.v1.ListDatasetsRequest\0320.google.cloud"
+ + ".aiplatform.v1.ListDatasetsResponse\"=\332A\006"
+ + "parent\202\323\344\223\002.\022,/v1/{parent=projects/*/loc"
+ + "ations/*}/datasets\022\320\001\n\rDeleteDataset\0220.g"
+ + "oogle.cloud.aiplatform.v1.DeleteDatasetR"
+ + "equest\032\035.google.longrunning.Operation\"n\312"
+ + "A0\n\025google.protobuf.Empty\022\027DeleteOperati"
+ + "onMetadata\332A\004name\202\323\344\223\002.*,/v1/{name=proje"
+ + "cts/*/locations/*/datasets/*}\022\345\001\n\nImport"
+ + "Data\022-.google.cloud.aiplatform.v1.Import"
+ + "DataRequest\032\035.google.longrunning.Operati"
+ + "on\"\210\001\312A1\n\022ImportDataResponse\022\033ImportData"
+ + "OperationMetadata\332A\023name,import_configs\202"
+ + "\323\344\223\0028\"3/v1/{name=projects/*/locations/*/"
+ + "datasets/*}:import:\001*\022\344\001\n\nExportData\022-.g"
+ + "oogle.cloud.aiplatform.v1.ExportDataRequ"
+ + "est\032\035.google.longrunning.Operation\"\207\001\312A1"
+ + "\n\022ExportDataResponse\022\033ExportDataOperatio"
+ + "nMetadata\332A\022name,export_config\202\323\344\223\0028\"3/v"
+ + "1/{name=projects/*/locations/*/datasets/"
+ + "*}:export:\001*\022\277\001\n\rListDataItems\0220.google."
+ + "cloud.aiplatform.v1.ListDataItemsRequest"
+ + "\0321.google.cloud.aiplatform.v1.ListDataIt"
+ + "emsResponse\"I\332A\006parent\202\323\344\223\002:\0228/v1/{paren"
+ + "t=projects/*/locations/*/datasets/*}/dat"
+ + "aItems\022\303\001\n\017SearchDataItems\0222.google.clou"
+ + "d.aiplatform.v1.SearchDataItemsRequest\0323"
+ + ".google.cloud.aiplatform.v1.SearchDataIt"
+ + "emsResponse\"G\202\323\344\223\002A\022?/v1/{dataset=projec"
+ + "ts/*/locations/*/datasets/*}:searchDataI"
+ + "tems\022\313\001\n\020ListSavedQueries\0223.google.cloud"
+ + ".aiplatform.v1.ListSavedQueriesRequest\0324"
+ + ".google.cloud.aiplatform.v1.ListSavedQue"
+ + "riesResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{pare"
+ + "nt=projects/*/locations/*/datasets/*}/sa"
+ + "vedQueries\022\345\001\n\020DeleteSavedQuery\0223.google"
+ + ".cloud.aiplatform.v1.DeleteSavedQueryReq"
+ + "uest\032\035.google.longrunning.Operation\"}\312A0"
+ + "\n\025google.protobuf.Empty\022\027DeleteOperation"
+ + "Metadata\332A\004name\202\323\344\223\002=*;/v1/{name=project"
+ + "s/*/locations/*/datasets/*/savedQueries/"
+ + "*}\022\304\001\n\021GetAnnotationSpec\0224.google.cloud."
+ + "aiplatform.v1.GetAnnotationSpecRequest\032*"
+ + ".google.cloud.aiplatform.v1.AnnotationSp"
+ + "ec\"M\332A\004name\202\323\344\223\002@\022>/v1/{name=projects/*/"
+ + "locations/*/datasets/*/annotationSpecs/*"
+ + "}\022\323\001\n\017ListAnnotations\0222.google.cloud.aip"
+ + "latform.v1.ListAnnotationsRequest\0323.goog"
+ + "le.cloud.aiplatform.v1.ListAnnotationsRe"
+ + "sponse\"W\332A\006parent\202\323\344\223\002H\022F/v1/{parent=pro"
+ + "jects/*/locations/*/datasets/*/dataItems"
+ + "/*}/annotations\032M\312A\031aiplatform.googleapi"
+ + "s.com\322A.https://www.googleapis.com/auth/"
+ + "cloud-platformB\321\001\n\036com.google.cloud.aipl"
+ + "atform.v1B\023DatasetServiceProtoP\001Z>cloud."
+ + "google.com/go/aiplatform/apiv1/aiplatfor"
+ + "mpb;aiplatformpb\252\002\032Google.Cloud.AIPlatfo"
+ + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo"
+ + "gle::Cloud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -437,8 +451,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"GenericMetadata", "GcsOutputDirectory",
});
- internal_static_google_cloud_aiplatform_v1_ListDataItemsRequest_descriptor =
+ internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_descriptor =
getDescriptor().getMessageTypes().get(13);
+ internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1_CreateDatasetVersionOperationMetadata_descriptor,
+ new java.lang.String[] {
+ "GenericMetadata",
+ });
+ internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(14);
+ internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_descriptor,
+ new java.lang.String[] {
+ "GenericMetadata",
+ });
+ internal_static_google_cloud_aiplatform_v1_ListDataItemsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_aiplatform_v1_ListDataItemsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListDataItemsRequest_descriptor,
@@ -446,7 +476,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "ReadMask", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1_ListDataItemsResponse_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_aiplatform_v1_ListDataItemsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListDataItemsResponse_descriptor,
@@ -454,7 +484,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataItems", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_SearchDataItemsRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_aiplatform_v1_SearchDataItemsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_SearchDataItemsRequest_descriptor,
@@ -485,7 +515,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"SavedQuery", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1_SearchDataItemsResponse_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_aiplatform_v1_SearchDataItemsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_SearchDataItemsResponse_descriptor,
@@ -493,7 +523,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataItemViews", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_DataItemView_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_cloud_aiplatform_v1_DataItemView_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_DataItemView_descriptor,
@@ -501,7 +531,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataItem", "Annotations", "HasTruncatedAnnotations",
});
internal_static_google_cloud_aiplatform_v1_ListSavedQueriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_cloud_aiplatform_v1_ListSavedQueriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListSavedQueriesRequest_descriptor,
@@ -509,7 +539,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "ReadMask", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1_ListSavedQueriesResponse_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_cloud_aiplatform_v1_ListSavedQueriesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListSavedQueriesResponse_descriptor,
@@ -517,7 +547,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"SavedQueries", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_DeleteSavedQueryRequest_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_cloud_aiplatform_v1_DeleteSavedQueryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_DeleteSavedQueryRequest_descriptor,
@@ -525,7 +555,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_GetAnnotationSpecRequest_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_cloud_aiplatform_v1_GetAnnotationSpecRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_GetAnnotationSpecRequest_descriptor,
@@ -533,7 +563,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "ReadMask",
});
internal_static_google_cloud_aiplatform_v1_ListAnnotationsRequest_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_cloud_aiplatform_v1_ListAnnotationsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListAnnotationsRequest_descriptor,
@@ -541,7 +571,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "ReadMask", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1_ListAnnotationsResponse_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_cloud_aiplatform_v1_ListAnnotationsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListAnnotationsResponse_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequest.java
index 0bb078508797..d7b021b94bf8 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequest.java
@@ -332,6 +332,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -370,6 +371,7 @@ public java.lang.String getOrderBy() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1406,6 +1408,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1443,6 +1446,7 @@ public java.lang.String getOrderBy() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1480,6 +1484,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1516,6 +1521,7 @@ public Builder setOrderBy(java.lang.String value) {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1548,6 +1554,7 @@ public Builder clearOrderBy() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequestOrBuilder.java
index e63aa99aad38..c7a821e6d65d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequestOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListSchedulesRequestOrBuilder.java
@@ -202,6 +202,7 @@ public interface ListSchedulesRequestOrBuilder
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -229,6 +230,7 @@ public interface ListSchedulesRequestOrBuilder
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
index fbea85a6421b..9dd7557c2290 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
@@ -117,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\"\276\016\n\013Pipeli"
+ + "roto\032\027google/rpc/status.proto\"\333\016\n\013Pipeli"
+ "neJob\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_nam"
+ "e\030\002 \001(\t\0225\n\013create_time\030\003 \001(\0132\032.google.pr"
+ "otobuf.TimestampB\004\342A\001\003\0224\n\nstart_time\030\004 \001"
@@ -141,95 +141,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_ranges\030\031 \003(\t\022\024\n\014template_uri\030\023 \001(\t\022U\n\021t"
+ "emplate_metadata\030\024 \001(\01324.google.cloud.ai"
+ "platform.v1.PipelineTemplateMetadataB\004\342A"
- + "\001\003\032\371\005\n\rRuntimeConfig\022]\n\nparameters\030\001 \003(\013"
- + "2E.google.cloud.aiplatform.v1.PipelineJo"
- + "b.RuntimeConfig.ParametersEntryB\002\030\001\022\"\n\024g"
- + "cs_output_directory\030\002 \001(\tB\004\342A\001\002\022d\n\020param"
- + "eter_values\030\003 \003(\0132J.google.cloud.aiplatf"
- + "orm.v1.PipelineJob.RuntimeConfig.Paramet"
- + "erValuesEntry\022I\n\016failure_policy\030\004 \001(\01621."
- + "google.cloud.aiplatform.v1.PipelineFailu"
- + "rePolicy\022b\n\017input_artifacts\030\005 \003(\0132I.goog"
- + "le.cloud.aiplatform.v1.PipelineJob.Runti"
- + "meConfig.InputArtifactsEntry\032.\n\rInputArt"
- + "ifact\022\025\n\013artifact_id\030\001 \001(\tH\000B\006\n\004kind\032T\n\017"
- + "ParametersEntry\022\013\n\003key\030\001 \001(\t\0220\n\005value\030\002 "
- + "\001(\0132!.google.cloud.aiplatform.v1.Value:\002"
- + "8\001\032N\n\024ParameterValuesEntry\022\013\n\003key\030\001 \001(\t\022"
- + "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002"
- + "8\001\032z\n\023InputArtifactsEntry\022\013\n\003key\030\001 \001(\t\022R"
- + "\n\005value\030\002 \001(\0132C.google.cloud.aiplatform."
- + "v1.PipelineJob.RuntimeConfig.InputArtifa"
- + "ct:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
- + "lue\030\002 \001(\t:\0028\001:o\352Al\n%aiplatform.googleapi"
- + "s.com/PipelineJob\022Cprojects/{project}/lo"
- + "cations/{location}/pipelineJobs/{pipelin"
- + "e_job}\"+\n\030PipelineTemplateMetadata\022\017\n\007ve"
- + "rsion\030\003 \001(\t\"\355\001\n\021PipelineJobDetail\022C\n\020pip"
- + "eline_context\030\001 \001(\0132#.google.cloud.aipla"
- + "tform.v1.ContextB\004\342A\001\003\022G\n\024pipeline_run_c"
- + "ontext\030\002 \001(\0132#.google.cloud.aiplatform.v"
- + "1.ContextB\004\342A\001\003\022J\n\014task_details\030\003 \003(\0132.."
- + "google.cloud.aiplatform.v1.PipelineTaskD"
- + "etailB\004\342A\001\003\"\256\013\n\022PipelineTaskDetail\022\025\n\007ta"
- + "sk_id\030\001 \001(\003B\004\342A\001\003\022\034\n\016parent_task_id\030\014 \001("
- + "\003B\004\342A\001\003\022\027\n\ttask_name\030\002 \001(\tB\004\342A\001\003\0225\n\013crea"
- + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam"
- + "pB\004\342A\001\003\0224\n\nstart_time\030\004 \001(\0132\032.google.pro"
- + "tobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132"
- + "\032.google.protobuf.TimestampB\004\342A\001\003\022U\n\017exe"
- + "cutor_detail\030\006 \001(\01326.google.cloud.aiplat"
- + "form.v1.PipelineTaskExecutorDetailB\004\342A\001\003"
- + "\022I\n\005state\030\007 \001(\01624.google.cloud.aiplatfor"
- + "m.v1.PipelineTaskDetail.StateB\004\342A\001\003\022>\n\te"
- + "xecution\030\010 \001(\0132%.google.cloud.aiplatform"
- + ".v1.ExecutionB\004\342A\001\003\022\'\n\005error\030\t \001(\0132\022.goo"
- + "gle.rpc.StatusB\004\342A\001\003\022e\n\024pipeline_task_st"
- + "atus\030\r \003(\0132A.google.cloud.aiplatform.v1."
- + "PipelineTaskDetail.PipelineTaskStatusB\004\342"
- + "A\001\003\022P\n\006inputs\030\n \003(\0132:.google.cloud.aipla"
- + "tform.v1.PipelineTaskDetail.InputsEntryB"
- + "\004\342A\001\003\022R\n\007outputs\030\013 \003(\0132;.google.cloud.ai"
- + "platform.v1.PipelineTaskDetail.OutputsEn"
- + "tryB\004\342A\001\003\032\277\001\n\022PipelineTaskStatus\0225\n\013upda"
- + "te_time\030\001 \001(\0132\032.google.protobuf.Timestam"
- + "pB\004\342A\001\003\022I\n\005state\030\002 \001(\01624.google.cloud.ai"
- + "platform.v1.PipelineTaskDetail.StateB\004\342A"
- + "\001\003\022\'\n\005error\030\003 \001(\0132\022.google.rpc.StatusB\004\342"
- + "A\001\003\032M\n\014ArtifactList\022=\n\tartifacts\030\001 \003(\0132$"
- + ".google.cloud.aiplatform.v1.ArtifactB\004\342A"
- + "\001\003\032j\n\013InputsEntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030"
- + "\002 \001(\0132;.google.cloud.aiplatform.v1.Pipel"
- + "ineTaskDetail.ArtifactList:\0028\001\032k\n\014Output"
+ + "\001\003\022\033\n\rschedule_name\030\026 \001(\tB\004\342A\001\003\032\371\005\n\rRunt"
+ + "imeConfig\022]\n\nparameters\030\001 \003(\0132E.google.c"
+ + "loud.aiplatform.v1.PipelineJob.RuntimeCo"
+ + "nfig.ParametersEntryB\002\030\001\022\"\n\024gcs_output_d"
+ + "irectory\030\002 \001(\tB\004\342A\001\002\022d\n\020parameter_values"
+ + "\030\003 \003(\0132J.google.cloud.aiplatform.v1.Pipe"
+ + "lineJob.RuntimeConfig.ParameterValuesEnt"
+ + "ry\022I\n\016failure_policy\030\004 \001(\01621.google.clou"
+ + "d.aiplatform.v1.PipelineFailurePolicy\022b\n"
+ + "\017input_artifacts\030\005 \003(\0132I.google.cloud.ai"
+ + "platform.v1.PipelineJob.RuntimeConfig.In"
+ + "putArtifactsEntry\032.\n\rInputArtifact\022\025\n\013ar"
+ + "tifact_id\030\001 \001(\tH\000B\006\n\004kind\032T\n\017ParametersE"
+ + "ntry\022\013\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.googl"
+ + "e.cloud.aiplatform.v1.Value:\0028\001\032N\n\024Param"
+ + "eterValuesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 "
+ + "\001(\0132\026.google.protobuf.Value:\0028\001\032z\n\023Input"
+ + "ArtifactsEntry\022\013\n\003key\030\001 \001(\t\022R\n\005value\030\002 \001"
+ + "(\0132C.google.cloud.aiplatform.v1.Pipeline"
+ + "Job.RuntimeConfig.InputArtifact:\0028\001\032-\n\013L"
+ + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
+ + "8\001:o\352Al\n%aiplatform.googleapis.com/Pipel"
+ + "ineJob\022Cprojects/{project}/locations/{lo"
+ + "cation}/pipelineJobs/{pipeline_job}\"+\n\030P"
+ + "ipelineTemplateMetadata\022\017\n\007version\030\003 \001(\t"
+ + "\"\355\001\n\021PipelineJobDetail\022C\n\020pipeline_conte"
+ + "xt\030\001 \001(\0132#.google.cloud.aiplatform.v1.Co"
+ + "ntextB\004\342A\001\003\022G\n\024pipeline_run_context\030\002 \001("
+ + "\0132#.google.cloud.aiplatform.v1.ContextB\004"
+ + "\342A\001\003\022J\n\014task_details\030\003 \003(\0132..google.clou"
+ + "d.aiplatform.v1.PipelineTaskDetailB\004\342A\001\003"
+ + "\"\256\013\n\022PipelineTaskDetail\022\025\n\007task_id\030\001 \001(\003"
+ + "B\004\342A\001\003\022\034\n\016parent_task_id\030\014 \001(\003B\004\342A\001\003\022\027\n\t"
+ + "task_name\030\002 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001"
+ + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0224\n\n"
+ + "start_time\030\004 \001(\0132\032.google.protobuf.Times"
+ + "tampB\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.google.pr"
+ + "otobuf.TimestampB\004\342A\001\003\022U\n\017executor_detai"
+ + "l\030\006 \001(\01326.google.cloud.aiplatform.v1.Pip"
+ + "elineTaskExecutorDetailB\004\342A\001\003\022I\n\005state\030\007"
+ + " \001(\01624.google.cloud.aiplatform.v1.Pipeli"
+ + "neTaskDetail.StateB\004\342A\001\003\022>\n\texecution\030\010 "
+ + "\001(\0132%.google.cloud.aiplatform.v1.Executi"
+ + "onB\004\342A\001\003\022\'\n\005error\030\t \001(\0132\022.google.rpc.Sta"
+ + "tusB\004\342A\001\003\022e\n\024pipeline_task_status\030\r \003(\0132"
+ + "A.google.cloud.aiplatform.v1.PipelineTas"
+ + "kDetail.PipelineTaskStatusB\004\342A\001\003\022P\n\006inpu"
+ + "ts\030\n \003(\0132:.google.cloud.aiplatform.v1.Pi"
+ + "pelineTaskDetail.InputsEntryB\004\342A\001\003\022R\n\007ou"
+ + "tputs\030\013 \003(\0132;.google.cloud.aiplatform.v1"
+ + ".PipelineTaskDetail.OutputsEntryB\004\342A\001\003\032\277"
+ + "\001\n\022PipelineTaskStatus\0225\n\013update_time\030\001 \001"
+ + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022I\n\005"
+ + "state\030\002 \001(\01624.google.cloud.aiplatform.v1"
+ + ".PipelineTaskDetail.StateB\004\342A\001\003\022\'\n\005error"
+ + "\030\003 \001(\0132\022.google.rpc.StatusB\004\342A\001\003\032M\n\014Arti"
+ + "factList\022=\n\tartifacts\030\001 \003(\0132$.google.clo"
+ + "ud.aiplatform.v1.ArtifactB\004\342A\001\003\032j\n\013Input"
+ "sEntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.goo"
+ "gle.cloud.aiplatform.v1.PipelineTaskDeta"
- + "il.ArtifactList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_U"
- + "NSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r"
- + "\n\tSUCCEEDED\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCAN"
- + "CELLING\020\005\022\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007"
- + "SKIPPED\020\010\022\021\n\rNOT_TRIGGERED\020\t\"\323\004\n\032Pipelin"
- + "eTaskExecutorDetail\022h\n\020container_detail\030"
- + "\001 \001(\0132F.google.cloud.aiplatform.v1.Pipel"
- + "ineTaskExecutorDetail.ContainerDetailB\004\342"
- + "A\001\003H\000\022i\n\021custom_job_detail\030\002 \001(\0132F.googl"
- + "e.cloud.aiplatform.v1.PipelineTaskExecut"
- + "orDetail.CustomJobDetailB\004\342A\001\003H\000\032\353\001\n\017Con"
- + "tainerDetail\022>\n\010main_job\030\001 \001(\tB,\342A\001\003\372A%\n"
- + "#aiplatform.googleapis.com/CustomJob\022K\n\025"
- + "pre_caching_check_job\030\002 \001(\tB,\342A\001\003\372A%\n#ai"
- + "platform.googleapis.com/CustomJob\022\036\n\020fai"
- + "led_main_jobs\030\003 \003(\tB\004\342A\001\003\022+\n\035failed_pre_"
- + "caching_check_jobs\030\004 \003(\tB\004\342A\001\003\032g\n\017Custom"
- + "JobDetail\0229\n\003job\030\001 \001(\tB,\342A\001\003\372A%\n#aiplatf"
- + "orm.googleapis.com/CustomJob\022\031\n\013failed_j"
- + "obs\030\003 \003(\tB\004\342A\001\003B\t\n\007detailsB\227\002\n\036com.googl"
- + "e.cloud.aiplatform.v1B\010PipelineP\001Z>cloud"
- + ".google.com/go/aiplatform/apiv1/aiplatfo"
- + "rmpb;aiplatformpb\252\002\032Google.Cloud.AIPlatf"
- + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go"
- + "ogle::Cloud::AIPlatform::V1\352AN\n\036compute."
- + "googleapis.com/Network\022,projects/{projec"
- + "t}/global/networks/{network}b\006proto3"
+ + "il.ArtifactList:\0028\001\032k\n\014OutputsEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.cloud.a"
+ + "iplatform.v1.PipelineTaskDetail.Artifact"
+ + "List:\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\tSUCCEEDED"
+ + "\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\"\323\004\n\032PipelineTaskExecut"
+ + "orDetail\022h\n\020container_detail\030\001 \001(\0132F.goo"
+ + "gle.cloud.aiplatform.v1.PipelineTaskExec"
+ + "utorDetail.ContainerDetailB\004\342A\001\003H\000\022i\n\021cu"
+ + "stom_job_detail\030\002 \001(\0132F.google.cloud.aip"
+ + "latform.v1.PipelineTaskExecutorDetail.Cu"
+ + "stomJobDetailB\004\342A\001\003H\000\032\353\001\n\017ContainerDetai"
+ + "l\022>\n\010main_job\030\001 \001(\tB,\342A\001\003\372A%\n#aiplatform"
+ + ".googleapis.com/CustomJob\022K\n\025pre_caching"
+ + "_check_job\030\002 \001(\tB,\342A\001\003\372A%\n#aiplatform.go"
+ + "ogleapis.com/CustomJob\022\036\n\020failed_main_jo"
+ + "bs\030\003 \003(\tB\004\342A\001\003\022+\n\035failed_pre_caching_che"
+ + "ck_jobs\030\004 \003(\tB\004\342A\001\003\032g\n\017CustomJobDetail\0229"
+ + "\n\003job\030\001 \001(\tB,\342A\001\003\372A%\n#aiplatform.googlea"
+ + "pis.com/CustomJob\022\031\n\013failed_jobs\030\003 \003(\tB\004"
+ + "\342A\001\003B\t\n\007detailsB\227\002\n\036com.google.cloud.aip"
+ + "latform.v1B\010PipelineP\001Z>cloud.google.com"
+ + "/go/aiplatform/apiv1/aiplatformpb;aiplat"
+ + "formpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Go"
+ + "ogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud"
+ + "::AIPlatform::V1\352AN\n\036compute.googleapis."
+ + "com/Network\022,projects/{project}/global/n"
+ + "etworks/{network}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -272,6 +273,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ReservedIpRanges",
"TemplateUri",
"TemplateMetadata",
+ "ScheduleName",
});
internal_static_google_cloud_aiplatform_v1_PipelineJob_RuntimeConfig_descriptor =
internal_static_google_cloud_aiplatform_v1_PipelineJob_descriptor.getNestedTypes().get(0);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java
index 6e13ee31c688..eab92fc2fe14 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJob.java
@@ -45,6 +45,7 @@ private PipelineJob() {
network_ = "";
reservedIpRanges_ = com.google.protobuf.LazyStringArrayList.emptyList();
templateUri_ = "";
+ scheduleName_ = "";
}
@java.lang.Override
@@ -4496,6 +4497,59 @@ public com.google.cloud.aiplatform.v1.PipelineTemplateMetadata getTemplateMetada
: templateMetadata_;
}
+ public static final int SCHEDULE_NAME_FIELD_NUMBER = 22;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object scheduleName_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The scheduleName.
+ */
+ @java.lang.Override
+ public java.lang.String getScheduleName() {
+ java.lang.Object ref = scheduleName_;
+ 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();
+ scheduleName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for scheduleName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getScheduleNameBytes() {
+ java.lang.Object ref = scheduleName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ scheduleName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -4561,6 +4615,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (templateMetadata_ != null) {
output.writeMessage(20, getTemplateMetadata());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 22, scheduleName_);
+ }
for (int i = 0; i < reservedIpRanges_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 25, reservedIpRanges_.getRaw(i));
}
@@ -4632,6 +4689,9 @@ public int getSerializedSize() {
if (templateMetadata_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getTemplateMetadata());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, scheduleName_);
+ }
{
int dataSize = 0;
for (int i = 0; i < reservedIpRanges_.size(); i++) {
@@ -4704,6 +4764,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasTemplateMetadata()) {
if (!getTemplateMetadata().equals(other.getTemplateMetadata())) return false;
}
+ if (!getScheduleName().equals(other.getScheduleName())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -4775,6 +4836,8 @@ public int hashCode() {
hash = (37 * hash) + TEMPLATE_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getTemplateMetadata().hashCode();
}
+ hash = (37 * hash) + SCHEDULE_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getScheduleName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -4992,6 +5055,7 @@ public Builder clear() {
templateMetadataBuilder_.dispose();
templateMetadataBuilder_ = null;
}
+ scheduleName_ = "";
return this;
}
@@ -5088,6 +5152,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.PipelineJob result) {
result.templateMetadata_ =
templateMetadataBuilder_ == null ? templateMetadata_ : templateMetadataBuilder_.build();
}
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.scheduleName_ = scheduleName_;
+ }
}
@java.lang.Override
@@ -5205,6 +5272,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.PipelineJob other) {
if (other.hasTemplateMetadata()) {
mergeTemplateMetadata(other.getTemplateMetadata());
}
+ if (!other.getScheduleName().isEmpty()) {
+ scheduleName_ = other.scheduleName_;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -5340,6 +5412,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00020000;
break;
} // case 162
+ case 178:
+ {
+ scheduleName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00040000;
+ break;
+ } // case 178
case 202:
{
java.lang.String s = input.readStringRequireUtf8();
@@ -8534,6 +8612,117 @@ public Builder clearTemplateMetadata() {
return templateMetadataBuilder_;
}
+ private java.lang.Object scheduleName_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The scheduleName.
+ */
+ public java.lang.String getScheduleName() {
+ java.lang.Object ref = scheduleName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ scheduleName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for scheduleName.
+ */
+ public com.google.protobuf.ByteString getScheduleNameBytes() {
+ java.lang.Object ref = scheduleName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ scheduleName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The scheduleName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScheduleName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ scheduleName_ = value;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearScheduleName() {
+ scheduleName_ = getDefaultInstance().getScheduleName();
+ bitField0_ = (bitField0_ & ~0x00040000);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for scheduleName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScheduleNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ scheduleName_ = value;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java
index 7e442cd410f5..c3ffd385427e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineJobOrBuilder.java
@@ -792,4 +792,31 @@ java.lang.String getLabelsOrDefault(
*
*/
com.google.cloud.aiplatform.v1.PipelineTemplateMetadataOrBuilder getTemplateMetadataOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The scheduleName.
+ */
+ java.lang.String getScheduleName();
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for scheduleName.
+ */
+ com.google.protobuf.ByteString getScheduleNameBytes();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModel.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModel.java
index 1ceb01f8bd5e..173849b917a1 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModel.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModel.java
@@ -2819,6 +2819,49 @@ public interface CallToActionOrBuilder
*/
com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder
getRequestAccessOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the openEvaluationPipeline field is set.
+ */
+ boolean hasOpenEvaluationPipeline();
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The openEvaluationPipeline.
+ */
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ getOpenEvaluationPipeline();
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesOrBuilder
+ getOpenEvaluationPipelineOrBuilder();
}
/**
*
@@ -8769,6 +8812,68 @@ public boolean hasRequestAccess() {
: requestAccess_;
}
+ public static final int OPEN_EVALUATION_PIPELINE_FIELD_NUMBER = 11;
+ private com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ openEvaluationPipeline_;
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the openEvaluationPipeline field is set.
+ */
+ @java.lang.Override
+ public boolean hasOpenEvaluationPipeline() {
+ return openEvaluationPipeline_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The openEvaluationPipeline.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ getOpenEvaluationPipeline() {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ .getDefaultInstance()
+ : openEvaluationPipeline_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder
+ getOpenEvaluationPipelineOrBuilder() {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ .getDefaultInstance()
+ : openEvaluationPipeline_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -8810,6 +8915,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (requestAccess_ != null) {
output.writeMessage(9, getRequestAccess());
}
+ if (openEvaluationPipeline_ != null) {
+ output.writeMessage(11, getOpenEvaluationPipeline());
+ }
getUnknownFields().writeTo(output);
}
@@ -8852,6 +8960,11 @@ public int getSerializedSize() {
if (requestAccess_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRequestAccess());
}
+ if (openEvaluationPipeline_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 11, getOpenEvaluationPipeline());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -8905,6 +9018,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasRequestAccess()) {
if (!getRequestAccess().equals(other.getRequestAccess())) return false;
}
+ if (hasOpenEvaluationPipeline() != other.hasOpenEvaluationPipeline()) return false;
+ if (hasOpenEvaluationPipeline()) {
+ if (!getOpenEvaluationPipeline().equals(other.getOpenEvaluationPipeline())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -8952,6 +9069,10 @@ public int hashCode() {
hash = (37 * hash) + REQUEST_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getRequestAccess().hashCode();
}
+ if (hasOpenEvaluationPipeline()) {
+ hash = (37 * hash) + OPEN_EVALUATION_PIPELINE_FIELD_NUMBER;
+ hash = (53 * hash) + getOpenEvaluationPipeline().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -9139,6 +9260,11 @@ public Builder clear() {
requestAccessBuilder_.dispose();
requestAccessBuilder_ = null;
}
+ openEvaluationPipeline_ = null;
+ if (openEvaluationPipelineBuilder_ != null) {
+ openEvaluationPipelineBuilder_.dispose();
+ openEvaluationPipelineBuilder_ = null;
+ }
return this;
}
@@ -9219,6 +9345,12 @@ private void buildPartial0(
result.requestAccess_ =
requestAccessBuilder_ == null ? requestAccess_ : requestAccessBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.openEvaluationPipeline_ =
+ openEvaluationPipelineBuilder_ == null
+ ? openEvaluationPipeline_
+ : openEvaluationPipelineBuilder_.build();
+ }
}
@java.lang.Override
@@ -9297,6 +9429,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.PublisherModel.CallToAct
if (other.hasRequestAccess()) {
mergeRequestAccess(other.getRequestAccess());
}
+ if (other.hasOpenEvaluationPipeline()) {
+ mergeOpenEvaluationPipeline(other.getOpenEvaluationPipeline());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -9381,6 +9516,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 74
+ case 90:
+ {
+ input.readMessage(
+ getOpenEvaluationPipelineFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 90
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -11398,6 +11540,231 @@ public Builder clearRequestAccess() {
return requestAccessBuilder_;
}
+ private com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ openEvaluationPipeline_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences,
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ .Builder,
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder>
+ openEvaluationPipelineBuilder_;
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the openEvaluationPipeline field is set.
+ */
+ public boolean hasOpenEvaluationPipeline() {
+ return ((bitField0_ & 0x00000200) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The openEvaluationPipeline.
+ */
+ public com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ getOpenEvaluationPipeline() {
+ if (openEvaluationPipelineBuilder_ == null) {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()
+ : openEvaluationPipeline_;
+ } else {
+ return openEvaluationPipelineBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setOpenEvaluationPipeline(
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ value) {
+ if (openEvaluationPipelineBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ openEvaluationPipeline_ = value;
+ } else {
+ openEvaluationPipelineBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setOpenEvaluationPipeline(
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ .Builder
+ builderForValue) {
+ if (openEvaluationPipelineBuilder_ == null) {
+ openEvaluationPipeline_ = builderForValue.build();
+ } else {
+ openEvaluationPipelineBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeOpenEvaluationPipeline(
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ value) {
+ if (openEvaluationPipelineBuilder_ == null) {
+ if (((bitField0_ & 0x00000200) != 0)
+ && openEvaluationPipeline_ != null
+ && openEvaluationPipeline_
+ != com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()) {
+ getOpenEvaluationPipelineBuilder().mergeFrom(value);
+ } else {
+ openEvaluationPipeline_ = value;
+ }
+ } else {
+ openEvaluationPipelineBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearOpenEvaluationPipeline() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ openEvaluationPipeline_ = null;
+ if (openEvaluationPipelineBuilder_ != null) {
+ openEvaluationPipelineBuilder_.dispose();
+ openEvaluationPipelineBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ .Builder
+ getOpenEvaluationPipelineBuilder() {
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return getOpenEvaluationPipelineFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder
+ getOpenEvaluationPipelineOrBuilder() {
+ if (openEvaluationPipelineBuilder_ != null) {
+ return openEvaluationPipelineBuilder_.getMessageOrBuilder();
+ } else {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()
+ : openEvaluationPipeline_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences,
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences
+ .Builder,
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder>
+ getOpenEvaluationPipelineFieldBuilder() {
+ if (openEvaluationPipelineBuilder_ == null) {
+ openEvaluationPipelineBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferences,
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferences.Builder,
+ com.google.cloud.aiplatform.v1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder>(
+ getOpenEvaluationPipeline(), getParentForChildren(), isClean());
+ openEvaluationPipeline_ = null;
+ }
+ return openEvaluationPipelineBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModelProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModelProto.java
index af9a8f5034a7..7ffdd1e3d957 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModelProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PublisherModelProto.java
@@ -73,7 +73,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "google/api/field_behavior.proto\032\031google/"
+ "api/resource.proto\0322google/cloud/aiplatf"
+ "orm/v1/machine_resources.proto\032&google/c"
- + "loud/aiplatform/v1/model.proto\"\207\027\n\016Publi"
+ + "loud/aiplatform/v1/model.proto\"\203\030\n\016Publi"
+ "sherModel\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\nversion"
+ "_id\030\002 \001(\tB\005\342A\002\005\003\022a\n\024open_source_category"
+ "\030\007 \001(\0162=.google.cloud.aiplatform.v1.Publ"
@@ -89,7 +89,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ourceReference\022\r\n\003uri\030\001 \001(\tH\000\022\027\n\rresourc"
+ "e_name\030\002 \001(\tH\000B\013\n\treference\032;\n\rDocumenta"
+ "tion\022\023\n\005title\030\001 \001(\tB\004\342A\001\002\022\025\n\007content\030\002 \001"
- + "(\tB\004\342A\001\002\032\371\016\n\014CallToAction\022`\n\rview_rest_a"
+ + "(\tB\004\342A\001\002\032\365\017\n\014CallToAction\022`\n\rview_rest_a"
+ "pi\030\001 \001(\0132C.google.cloud.aiplatform.v1.Pu"
+ "blisherModel.CallToAction.ViewRestApiB\004\342"
+ "A\001\001\022o\n\ropen_notebook\030\002 \001(\0132R.google.clou"
@@ -115,45 +115,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "sB\004\342A\001\001\022p\n\016request_access\030\t \001(\0132R.google"
+ ".cloud.aiplatform.v1.PublisherModel.Call"
+ "ToAction.RegionalResourceReferencesB\004\342A\001"
- + "\001\032\240\002\n\032RegionalResourceReferences\022|\n\nrefe"
- + "rences\030\001 \003(\0132b.google.cloud.aiplatform.v"
- + "1.PublisherModel.CallToAction.RegionalRe"
- + "sourceReferences.ReferencesEntryB\004\342A\001\002\022\023"
- + "\n\005title\030\002 \001(\tB\004\342A\001\002\032o\n\017ReferencesEntry\022\013"
- + "\n\003key\030\001 \001(\t\022K\n\005value\030\002 \001(\0132<.google.clou"
- + "d.aiplatform.v1.PublisherModel.ResourceR"
- + "eference:\0028\001\032z\n\013ViewRestApi\022V\n\016documenta"
- + "tions\030\001 \003(\01328.google.cloud.aiplatform.v1"
- + ".PublisherModel.DocumentationB\004\342A\001\002\022\023\n\005t"
- + "itle\030\002 \001(\tB\004\342A\001\002\032\321\003\n\006Deploy\022M\n\023dedicated"
- + "_resources\030\005 \001(\0132..google.cloud.aiplatfo"
- + "rm.v1.DedicatedResourcesH\000\022M\n\023automatic_"
- + "resources\030\006 \001(\0132..google.cloud.aiplatfor"
- + "m.v1.AutomaticResourcesH\000\022\032\n\020shared_reso"
- + "urces\030\007 \001(\tH\000\022 \n\022model_display_name\030\001 \001("
- + "\tB\004\342A\001\001\022T\n\025large_model_reference\030\002 \001(\0132/"
- + ".google.cloud.aiplatform.v1.LargeModelRe"
- + "ferenceB\004\342A\001\001\022L\n\016container_spec\030\003 \001(\0132.."
- + "google.cloud.aiplatform.v1.ModelContaine"
- + "rSpecB\004\342A\001\001\022\032\n\014artifact_uri\030\004 \001(\tB\004\342A\001\001\022"
- + "\023\n\005title\030\010 \001(\tB\004\342A\001\002B\026\n\024prediction_resou"
- + "rces\"\333\001\n\022OpenSourceCategory\022$\n OPEN_SOUR"
- + "CE_CATEGORY_UNSPECIFIED\020\000\022\017\n\013PROPRIETARY"
- + "\020\001\022+\n\'GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECK"
- + "POINT\020\002\0220\n,THIRD_PARTY_OWNED_OSS_WITH_GO"
- + "OGLE_CHECKPOINT\020\003\022\024\n\020GOOGLE_OWNED_OSS\020\004\022"
- + "\031\n\025THIRD_PARTY_OWNED_OSS\020\005\"n\n\013LaunchStag"
- + "e\022\034\n\030LAUNCH_STAGE_UNSPECIFIED\020\000\022\020\n\014EXPER"
- + "IMENTAL\020\001\022\023\n\017PRIVATE_PREVIEW\020\002\022\022\n\016PUBLIC"
- + "_PREVIEW\020\003\022\006\n\002GA\020\004:T\352AQ\n(aiplatform.goog"
- + "leapis.com/PublisherModel\022%publishers/{p"
- + "ublisher}/models/{model}B\321\001\n\036com.google."
- + "cloud.aiplatform.v1B\023PublisherModelProto"
- + "P\001Z>cloud.google.com/go/aiplatform/apiv1"
- + "/aiplatformpb;aiplatformpb\252\002\032Google.Clou"
- + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor"
- + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr"
- + "oto3"
+ + "\001\022z\n\030open_evaluation_pipeline\030\013 \001(\0132R.go"
+ + "ogle.cloud.aiplatform.v1.PublisherModel."
+ + "CallToAction.RegionalResourceReferencesB"
+ + "\004\342A\001\001\032\240\002\n\032RegionalResourceReferences\022|\n\n"
+ + "references\030\001 \003(\0132b.google.cloud.aiplatfo"
+ + "rm.v1.PublisherModel.CallToAction.Region"
+ + "alResourceReferences.ReferencesEntryB\004\342A"
+ + "\001\002\022\023\n\005title\030\002 \001(\tB\004\342A\001\002\032o\n\017ReferencesEnt"
+ + "ry\022\013\n\003key\030\001 \001(\t\022K\n\005value\030\002 \001(\0132<.google."
+ + "cloud.aiplatform.v1.PublisherModel.Resou"
+ + "rceReference:\0028\001\032z\n\013ViewRestApi\022V\n\016docum"
+ + "entations\030\001 \003(\01328.google.cloud.aiplatfor"
+ + "m.v1.PublisherModel.DocumentationB\004\342A\001\002\022"
+ + "\023\n\005title\030\002 \001(\tB\004\342A\001\002\032\321\003\n\006Deploy\022M\n\023dedic"
+ + "ated_resources\030\005 \001(\0132..google.cloud.aipl"
+ + "atform.v1.DedicatedResourcesH\000\022M\n\023automa"
+ + "tic_resources\030\006 \001(\0132..google.cloud.aipla"
+ + "tform.v1.AutomaticResourcesH\000\022\032\n\020shared_"
+ + "resources\030\007 \001(\tH\000\022 \n\022model_display_name\030"
+ + "\001 \001(\tB\004\342A\001\001\022T\n\025large_model_reference\030\002 \001"
+ + "(\0132/.google.cloud.aiplatform.v1.LargeMod"
+ + "elReferenceB\004\342A\001\001\022L\n\016container_spec\030\003 \001("
+ + "\0132..google.cloud.aiplatform.v1.ModelCont"
+ + "ainerSpecB\004\342A\001\001\022\032\n\014artifact_uri\030\004 \001(\tB\004\342"
+ + "A\001\001\022\023\n\005title\030\010 \001(\tB\004\342A\001\002B\026\n\024prediction_r"
+ + "esources\"\333\001\n\022OpenSourceCategory\022$\n OPEN_"
+ + "SOURCE_CATEGORY_UNSPECIFIED\020\000\022\017\n\013PROPRIE"
+ + "TARY\020\001\022+\n\'GOOGLE_OWNED_OSS_WITH_GOOGLE_C"
+ + "HECKPOINT\020\002\0220\n,THIRD_PARTY_OWNED_OSS_WIT"
+ + "H_GOOGLE_CHECKPOINT\020\003\022\024\n\020GOOGLE_OWNED_OS"
+ + "S\020\004\022\031\n\025THIRD_PARTY_OWNED_OSS\020\005\"n\n\013Launch"
+ + "Stage\022\034\n\030LAUNCH_STAGE_UNSPECIFIED\020\000\022\020\n\014E"
+ + "XPERIMENTAL\020\001\022\023\n\017PRIVATE_PREVIEW\020\002\022\022\n\016PU"
+ + "BLIC_PREVIEW\020\003\022\006\n\002GA\020\004:T\352AQ\n(aiplatform."
+ + "googleapis.com/PublisherModel\022%publisher"
+ + "s/{publisher}/models/{model}B\321\001\n\036com.goo"
+ + "gle.cloud.aiplatform.v1B\023PublisherModelP"
+ + "rotoP\001Z>cloud.google.com/go/aiplatform/a"
+ + "piv1/aiplatformpb;aiplatformpb\252\002\032Google."
+ + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla"
+ + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1"
+ + "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -216,6 +219,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Deploy",
"OpenGenerationAiStudio",
"RequestAccess",
+ "OpenEvaluationPipeline",
});
internal_static_google_cloud_aiplatform_v1_PublisherModel_CallToAction_RegionalResourceReferences_descriptor =
internal_static_google_cloud_aiplatform_v1_PublisherModel_CallToAction_descriptor
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardSizeRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardSizeRequest.java
new file mode 100644
index 000000000000..1abc2b7f63dc
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardSizeRequest.java
@@ -0,0 +1,655 @@
+/*
+ * Copyright 2023 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/tensorboard_service.proto
+
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ *
+ * Request message for
+ * [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.ReadTensorboardSizeRequest}
+ */
+public final class ReadTensorboardSizeRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ReadTensorboardSizeRequest)
+ ReadTensorboardSizeRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ReadTensorboardSizeRequest.newBuilder() to construct.
+ private ReadTensorboardSizeRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ReadTensorboardSizeRequest() {
+ tensorboard_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadTensorboardSizeRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1.TensorboardServiceProto
+ .internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1.TensorboardServiceProto
+ .internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest.class,
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest.Builder.class);
+ }
+
+ public static final int TENSORBOARD_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object tensorboard_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tensorboard.
+ */
+ @java.lang.Override
+ public java.lang.String getTensorboard() {
+ java.lang.Object ref = tensorboard_;
+ 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();
+ tensorboard_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tensorboard.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getTensorboardBytes() {
+ java.lang.Object ref = tensorboard_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ tensorboard_ = 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(tensorboard_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tensorboard_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tensorboard_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tensorboard_);
+ }
+ size += getUnknownFields().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.ReadTensorboardSizeRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest other =
+ (com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest) obj;
+
+ if (!getTensorboard().equals(other.getTensorboard())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TENSORBOARD_FIELD_NUMBER;
+ hash = (53 * hash) + getTensorboard().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest 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.ReadTensorboardSizeRequest 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
+ * [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.ReadTensorboardSizeRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tensorboard.
+ */
+ public java.lang.String getTensorboard() {
+ java.lang.Object ref = tensorboard_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ tensorboard_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tensorboard.
+ */
+ public com.google.protobuf.ByteString getTensorboardBytes() {
+ java.lang.Object ref = tensorboard_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ tensorboard_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The tensorboard to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTensorboard(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tensorboard_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTensorboard() {
+ tensorboard_ = getDefaultInstance().getTensorboard();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for tensorboard to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTensorboardBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ tensorboard_ = value;
+ bitField0_ |= 0x00000001;
+ 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.ReadTensorboardSizeRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ReadTensorboardSizeRequest)
+ private static final com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest();
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The tensorboard.
+ */
+ java.lang.String getTensorboard();
+ /**
+ *
+ *
+ *
+ * Required. The name of the Tensorboard resource.
+ * Format:
+ * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
+ *
+ *
+ *
+ * string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for tensorboard.
+ */
+ com.google.protobuf.ByteString getTensorboardBytes();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardSizeResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardSizeResponse.java
new file mode 100644
index 000000000000..e835d417158d
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ReadTensorboardSizeResponse.java
@@ -0,0 +1,537 @@
+/*
+ * Copyright 2023 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/tensorboard_service.proto
+
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ *
+ * Response message for
+ * [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.ReadTensorboardSizeResponse}
+ */
+public final class ReadTensorboardSizeResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ReadTensorboardSizeResponse)
+ ReadTensorboardSizeResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ReadTensorboardSizeResponse.newBuilder() to construct.
+ private ReadTensorboardSizeResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ReadTensorboardSizeResponse() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReadTensorboardSizeResponse();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1.TensorboardServiceProto
+ .internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1.TensorboardServiceProto
+ .internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse.class,
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse.Builder.class);
+ }
+
+ public static final int STORAGE_SIZE_BYTE_FIELD_NUMBER = 1;
+ private long storageSizeByte_ = 0L;
+ /**
+ *
+ *
+ *
+ * Payload storage size for the TensorBoard
+ *
+ *
+ * int64 storage_size_byte = 1;
+ *
+ * @return The storageSizeByte.
+ */
+ @java.lang.Override
+ public long getStorageSizeByte() {
+ return storageSizeByte_;
+ }
+
+ 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 (storageSizeByte_ != 0L) {
+ output.writeInt64(1, storageSizeByte_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (storageSizeByte_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, storageSizeByte_);
+ }
+ size += getUnknownFields().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.ReadTensorboardSizeResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse other =
+ (com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse) obj;
+
+ if (getStorageSizeByte() != other.getStorageSizeByte()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + STORAGE_SIZE_BYTE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStorageSizeByte());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse 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.ReadTensorboardSizeResponse 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
+ * [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.ReadTensorboardSizeResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Payload storage size for the TensorBoard
+ *
+ *
+ * int64 storage_size_byte = 1;
+ *
+ * @return The storageSizeByte.
+ */
+ @java.lang.Override
+ public long getStorageSizeByte() {
+ return storageSizeByte_;
+ }
+ /**
+ *
+ *
+ *
+ * Payload storage size for the TensorBoard
+ *
+ *
+ * int64 storage_size_byte = 1;
+ *
+ * @param value The storageSizeByte to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStorageSizeByte(long value) {
+
+ storageSizeByte_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Payload storage size for the TensorBoard
+ *
+ *
+ * int64 storage_size_byte = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearStorageSizeByte() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ storageSizeByte_ = 0L;
+ 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.ReadTensorboardSizeResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ReadTensorboardSizeResponse)
+ private static final com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse();
+ }
+
+ public static com.google.cloud.aiplatform.v1.ReadTensorboardSizeResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Payload storage size for the TensorBoard
+ *
+ *
+ * int64 storage_size_byte = 1;
+ *
+ * @return The storageSizeByte.
+ */
+ long getStorageSizeByte();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RestoreDatasetVersionOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RestoreDatasetVersionOperationMetadata.java
new file mode 100644
index 000000000000..1a0b0c846516
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RestoreDatasetVersionOperationMetadata.java
@@ -0,0 +1,729 @@
+/*
+ * Copyright 2023 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/dataset_service.proto
+
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata}
+ */
+public final class RestoreDatasetVersionOperationMetadata
+ extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata)
+ RestoreDatasetVersionOperationMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use RestoreDatasetVersionOperationMetadata.newBuilder() to construct.
+ private RestoreDatasetVersionOperationMetadata(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private RestoreDatasetVersionOperationMetadata() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RestoreDatasetVersionOperationMetadata();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1_RestoreDatasetVersionOperationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata.class,
+ com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata.Builder.class);
+ }
+
+ public static final int GENERIC_METADATA_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasGenericMetadata() {
+ return genericMetadata_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+
+ 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 (genericMetadata_ != null) {
+ output.writeMessage(1, getGenericMetadata());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (genericMetadata_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata());
+ }
+ size += getUnknownFields().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.RestoreDatasetVersionOperationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata other =
+ (com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata) obj;
+
+ if (hasGenericMetadata() != other.hasGenericMetadata()) return false;
+ if (hasGenericMetadata()) {
+ if (!getGenericMetadata().equals(other.getGenericMetadata())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasGenericMetadata()) {
+ hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGenericMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata 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.RestoreDatasetVersionOperationMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata 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.RestoreDatasetVersionOperationMetadata parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata 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.RestoreDatasetVersionOperationMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata 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.RestoreDatasetVersionOperationMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata 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.RestoreDatasetVersionOperationMetadata 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.RestoreDatasetVersionOperationMetadata 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;
+ }
+ /**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() {
+ if (genericMetadataBuilder_ == null) {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ } else {
+ return genericMetadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ genericMetadata_ = value;
+ } else {
+ genericMetadataBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadata_ = builderForValue.build();
+ } else {
+ genericMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder mergeGenericMetadata(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
+ } else {
+ genericMetadata_ = value;
+ }
+ } else {
+ genericMetadataBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder clearGenericMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
+ genericMetadataBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
+ getGenericMetadataBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getGenericMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ if (genericMetadataBuilder_ != null) {
+ return genericMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>
+ getGenericMetadataFieldBuilder() {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>(
+ getGenericMetadata(), getParentForChildren(), isClean());
+ genericMetadata_ = null;
+ }
+ return genericMetadataBuilder_;
+ }
+
+ @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.RestoreDatasetVersionOperationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata)
+ private static final com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata();
+ }
+
+ public static com.google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ boolean hasGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
+ */
+ com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Schedule.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Schedule.java
index 7a58ee40d5c5..efa8a7c824e8 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Schedule.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Schedule.java
@@ -1446,10 +1446,10 @@ public com.google.cloud.aiplatform.v1.CreatePipelineJobRequest getCreatePipeline
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -1469,10 +1469,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -3441,10 +3441,10 @@ public Builder clearCreatePipelineJobRequest() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -3463,10 +3463,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -3485,10 +3485,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -3506,10 +3506,10 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return This builder for chaining.
*/
@@ -3523,10 +3523,10 @@ public Builder clearName() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleOrBuilder.java
index 3135f4a6dc31..b8e219f9aa11 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleOrBuilder.java
@@ -127,10 +127,10 @@ public interface ScheduleOrBuilder
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -139,10 +139,10 @@ public interface ScheduleOrBuilder
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleProto.java
index b600af708738..4ce9bbc3785b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ScheduleProto.java
@@ -52,7 +52,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "timestamp.proto\"\225\t\n\010Schedule\022\016\n\004cron\030\n \001"
+ "(\tH\000\022[\n\033create_pipeline_job_request\030\016 \001("
+ "\01324.google.cloud.aiplatform.v1.CreatePip"
- + "elineJobRequestH\001\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n"
+ + "elineJobRequestH\001\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022\032\n"
+ "\014display_name\030\002 \001(\tB\004\342A\001\002\0224\n\nstart_time\030"
+ "\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\001\022"
+ "2\n\010end_time\030\004 \001(\0132\032.google.protobuf.Time"
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java
index dc758a6e28fc..09a5a59f0c65 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Scheduling.java
@@ -126,6 +126,26 @@ public boolean getRestartJobOnWorkerRestart() {
return restartJobOnWorkerRestart_;
}
+ public static final int DISABLE_RETRIES_FIELD_NUMBER = 5;
+ private boolean disableRetries_ = false;
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableRetries.
+ */
+ @java.lang.Override
+ public boolean getDisableRetries() {
+ return disableRetries_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -146,6 +166,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (restartJobOnWorkerRestart_ != false) {
output.writeBool(3, restartJobOnWorkerRestart_);
}
+ if (disableRetries_ != false) {
+ output.writeBool(5, disableRetries_);
+ }
getUnknownFields().writeTo(output);
}
@@ -161,6 +184,9 @@ public int getSerializedSize() {
if (restartJobOnWorkerRestart_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, restartJobOnWorkerRestart_);
}
+ if (disableRetries_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disableRetries_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -182,6 +208,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getTimeout().equals(other.getTimeout())) return false;
}
if (getRestartJobOnWorkerRestart() != other.getRestartJobOnWorkerRestart()) return false;
+ if (getDisableRetries() != other.getDisableRetries()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -199,6 +226,8 @@ public int hashCode() {
}
hash = (37 * hash) + RESTART_JOB_ON_WORKER_RESTART_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRestartJobOnWorkerRestart());
+ hash = (37 * hash) + DISABLE_RETRIES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableRetries());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -344,6 +373,7 @@ public Builder clear() {
timeoutBuilder_ = null;
}
restartJobOnWorkerRestart_ = false;
+ disableRetries_ = false;
return this;
}
@@ -386,6 +416,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.Scheduling result) {
if (((from_bitField0_ & 0x00000002) != 0)) {
result.restartJobOnWorkerRestart_ = restartJobOnWorkerRestart_;
}
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.disableRetries_ = disableRetries_;
+ }
}
@java.lang.Override
@@ -439,6 +472,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Scheduling other) {
if (other.getRestartJobOnWorkerRestart() != false) {
setRestartJobOnWorkerRestart(other.getRestartJobOnWorkerRestart());
}
+ if (other.getDisableRetries() != false) {
+ setDisableRetries(other.getDisableRetries());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -477,6 +513,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 24
+ case 40:
+ {
+ disableRetries_ = input.readBool();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 40
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -734,6 +776,65 @@ public Builder clearRestartJobOnWorkerRestart() {
return this;
}
+ private boolean disableRetries_;
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableRetries.
+ */
+ @java.lang.Override
+ public boolean getDisableRetries() {
+ return disableRetries_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The disableRetries to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisableRetries(boolean value) {
+
+ disableRetries_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisableRetries() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ disableRetries_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java
index ad64dd55a80c..12ec4a34a376 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SchedulingOrBuilder.java
@@ -72,4 +72,19 @@ public interface SchedulingOrBuilder
* @return The restartJobOnWorkerRestart.
*/
boolean getRestartJobOnWorkerRestart();
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableRetries.
+ */
+ boolean getDisableRetries();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequest.java
index 3ac95d2a6379..842f0200441b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequest.java
@@ -1224,7 +1224,7 @@ public com.google.protobuf.ByteString getDatasetBytes() {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return The savedQuery.
*/
@java.lang.Override
@@ -1254,7 +1254,7 @@ public java.lang.String getSavedQuery() {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return The bytes for savedQuery.
*/
@java.lang.Override
@@ -1419,7 +1419,7 @@ public com.google.protobuf.ByteString getDataItemFilterBytes() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is deprecated.
- * See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return The annotationsFilter.
*/
@java.lang.Override
@@ -1447,7 +1447,7 @@ public java.lang.String getAnnotationsFilter() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is deprecated.
- * See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return The bytes for annotationsFilter.
*/
@java.lang.Override
@@ -1647,7 +1647,7 @@ public int getPageSize() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return The orderBy.
*/
@java.lang.Override
@@ -1674,7 +1674,7 @@ public java.lang.String getOrderBy() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return The bytes for orderBy.
*/
@java.lang.Override
@@ -2973,7 +2973,7 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return The savedQuery.
*/
@java.lang.Deprecated
@@ -3002,7 +3002,7 @@ public java.lang.String getSavedQuery() {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return The bytes for savedQuery.
*/
@java.lang.Deprecated
@@ -3031,7 +3031,7 @@ public com.google.protobuf.ByteString getSavedQueryBytes() {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @param value The savedQuery to set.
* @return This builder for chaining.
*/
@@ -3059,7 +3059,7 @@ public Builder setSavedQuery(java.lang.String value) {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3083,7 +3083,7 @@ public Builder clearSavedQuery() {
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @param value The bytes for savedQuery to set.
* @return This builder for chaining.
*/
@@ -3399,7 +3399,7 @@ public Builder setDataItemFilterBytes(com.google.protobuf.ByteString value) {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return The annotationsFilter.
*/
@java.lang.Deprecated
@@ -3426,7 +3426,7 @@ public java.lang.String getAnnotationsFilter() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return The bytes for annotationsFilter.
*/
@java.lang.Deprecated
@@ -3453,7 +3453,7 @@ public com.google.protobuf.ByteString getAnnotationsFilterBytes() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @param value The annotationsFilter to set.
* @return This builder for chaining.
*/
@@ -3479,7 +3479,7 @@ public Builder setAnnotationsFilter(java.lang.String value) {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3501,7 +3501,7 @@ public Builder clearAnnotationsFilter() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @param value The bytes for annotationsFilter to set.
* @return This builder for chaining.
*/
@@ -4042,7 +4042,7 @@ public Builder clearPageSize() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return The orderBy.
*/
@java.lang.Deprecated
@@ -4068,7 +4068,7 @@ public java.lang.String getOrderBy() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return The bytes for orderBy.
*/
@java.lang.Deprecated
@@ -4094,7 +4094,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @param value The orderBy to set.
* @return This builder for chaining.
*/
@@ -4119,7 +4119,7 @@ public Builder setOrderBy(java.lang.String value) {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -4140,7 +4140,7 @@ public Builder clearOrderBy() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @param value The bytes for orderBy to set.
* @return This builder for chaining.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequestOrBuilder.java
index fcea93341b71..6f6c9e680632 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequestOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SearchDataItemsRequestOrBuilder.java
@@ -152,7 +152,7 @@ public interface SearchDataItemsRequestOrBuilder
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return The savedQuery.
*/
@java.lang.Deprecated
@@ -171,7 +171,7 @@ public interface SearchDataItemsRequestOrBuilder
*
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=449
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=463
* @return The bytes for savedQuery.
*/
@java.lang.Deprecated
@@ -269,7 +269,7 @@ public interface SearchDataItemsRequestOrBuilder
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is deprecated.
- * See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return The annotationsFilter.
*/
@java.lang.Deprecated
@@ -286,7 +286,7 @@ public interface SearchDataItemsRequestOrBuilder
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is deprecated.
- * See google/cloud/aiplatform/v1/dataset_service.proto;l=480
+ * See google/cloud/aiplatform/v1/dataset_service.proto;l=494
* @return The bytes for annotationsFilter.
*/
@java.lang.Deprecated
@@ -437,7 +437,7 @@ public interface SearchDataItemsRequestOrBuilder
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return The orderBy.
*/
@java.lang.Deprecated
@@ -453,7 +453,7 @@ public interface SearchDataItemsRequestOrBuilder
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1/dataset_service.proto;l=518
* @return The bytes for orderBy.
*/
@java.lang.Deprecated
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java
index 56057a16c5d1..21b3cc408670 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java
@@ -71,6 +71,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1_ReadTensorboardUsageResponse_MonthlyUsageDataEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1_ReadTensorboardUsageResponse_MonthlyUsageDataEntry_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1_CreateTensorboardExperimentRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -273,346 +281,356 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "a\032\203\001\n\025MonthlyUsageDataEntry\022\013\n\003key\030\001 \001(\t"
+ "\022Y\n\005value\030\002 \001(\0132J.google.cloud.aiplatfor"
+ "m.v1.ReadTensorboardUsageResponse.PerMon"
- + "thUsageData:\0028\001\"\352\001\n\"CreateTensorboardExp"
- + "erimentRequest\022H\n\006parent\030\001 \001(\tB8\342A\001\002\372A1\n"
- + "/aiplatform.googleapis.com/TensorboardEx"
- + "periment\022Q\n\026tensorboard_experiment\030\002 \001(\013"
- + "21.google.cloud.aiplatform.v1.Tensorboar"
- + "dExperiment\022\'\n\031tensorboard_experiment_id"
- + "\030\003 \001(\tB\004\342A\001\002\"i\n\037GetTensorboardExperiment"
- + "Request\022F\n\004name\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatfo"
- + "rm.googleapis.com/TensorboardExperiment\""
- + "\345\001\n!ListTensorboardExperimentsRequest\022H\n"
- + "\006parent\030\001 \001(\tB8\342A\001\002\372A1\022/aiplatform.googl"
- + "eapis.com/TensorboardExperiment\022\016\n\006filte"
- + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token"
- + "\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 "
- + "\001(\0132\032.google.protobuf.FieldMask\"\221\001\n\"List"
- + "TensorboardExperimentsResponse\022R\n\027tensor"
- + "board_experiments\030\001 \003(\01321.google.cloud.a"
- + "iplatform.v1.TensorboardExperiment\022\027\n\017ne"
- + "xt_page_token\030\002 \001(\t\"\264\001\n\"UpdateTensorboar"
- + "dExperimentRequest\0225\n\013update_mask\030\001 \001(\0132"
- + "\032.google.protobuf.FieldMaskB\004\342A\001\002\022W\n\026ten"
- + "sorboard_experiment\030\002 \001(\01321.google.cloud"
- + ".aiplatform.v1.TensorboardExperimentB\004\342A"
- + "\001\002\"l\n\"DeleteTensorboardExperimentRequest"
- + "\022F\n\004name\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.goog"
- + "leapis.com/TensorboardExperiment\"\276\001\n!Bat"
- + "chCreateTensorboardRunsRequest\022H\n\006parent"
- + "\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.googleapis.c"
- + "om/TensorboardExperiment\022O\n\010requests\030\002 \003"
- + "(\01327.google.cloud.aiplatform.v1.CreateTe"
- + "nsorboardRunRequestB\004\342A\001\002\"j\n\"BatchCreate"
- + "TensorboardRunsResponse\022D\n\020tensorboard_r"
- + "uns\030\001 \003(\0132*.google.cloud.aiplatform.v1.T"
- + "ensorboardRun\"\315\001\n\033CreateTensorboardRunRe"
- + "quest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatfo"
- + "rm.googleapis.com/TensorboardRun\022I\n\017tens"
- + "orboard_run\030\002 \001(\0132*.google.cloud.aiplatf"
- + "orm.v1.TensorboardRunB\004\342A\001\002\022 \n\022tensorboa"
- + "rd_run_id\030\003 \001(\tB\004\342A\001\002\"[\n\030GetTensorboardR"
- + "unRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(aiplat"
- + "form.googleapis.com/TensorboardRun\"\201\001\n\036R"
- + "eadTensorboardBlobDataRequest\022M\n\013time_se"
- + "ries\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.googleap"
- + "is.com/TensorboardTimeSeries\022\020\n\010blob_ids"
- + "\030\002 \003(\t\"]\n\037ReadTensorboardBlobDataRespons"
- + "e\022:\n\005blobs\030\001 \003(\0132+.google.cloud.aiplatfo"
- + "rm.v1.TensorboardBlob\"\327\001\n\032ListTensorboar"
- + "dRunsRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(a"
- + "iplatform.googleapis.com/TensorboardRun\022"
- + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa"
- + "ge_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread"
- + "_mask\030\006 \001(\0132\032.google.protobuf.FieldMask\""
- + "|\n\033ListTensorboardRunsResponse\022D\n\020tensor"
- + "board_runs\030\001 \003(\0132*.google.cloud.aiplatfo"
- + "rm.v1.TensorboardRun\022\027\n\017next_page_token\030"
- + "\002 \001(\t\"\237\001\n\033UpdateTensorboardRunRequest\0225\n"
- + "\013update_mask\030\001 \001(\0132\032.google.protobuf.Fie"
- + "ldMaskB\004\342A\001\002\022I\n\017tensorboard_run\030\002 \001(\0132*."
- + "google.cloud.aiplatform.v1.TensorboardRu"
- + "nB\004\342A\001\002\"^\n\033DeleteTensorboardRunRequest\022?"
- + "\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatform.google"
- + "apis.com/TensorboardRun\"\313\001\n\'BatchCreateT"
- + "ensorboardTimeSeriesRequest\022H\n\006parent\030\001 "
- + "\001(\tB8\342A\001\002\372A1\n/aiplatform.googleapis.com/"
- + "TensorboardExperiment\022V\n\010requests\030\002 \003(\0132"
- + ">.google.cloud.aiplatform.v1.CreateTenso"
- + "rboardTimeSeriesRequestB\004\342A\001\002\"~\n(BatchCr"
- + "eateTensorboardTimeSeriesResponse\022R\n\027ten"
- + "sorboard_time_series\030\001 \003(\01321.google.clou"
- + "d.aiplatform.v1.TensorboardTimeSeries\"\362\001"
- + "\n\"CreateTensorboardTimeSeriesRequest\022H\n\006"
- + "parent\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.google"
- + "apis.com/TensorboardTimeSeries\022(\n\032tensor"
- + "board_time_series_id\030\003 \001(\tB\004\342A\001\001\022X\n\027tens"
- + "orboard_time_series\030\002 \001(\01321.google.cloud"
- + ".aiplatform.v1.TensorboardTimeSeriesB\004\342A"
- + "\001\002\"i\n\037GetTensorboardTimeSeriesRequest\022F\n"
+ + "thUsageData:\0028\001\"a\n\032ReadTensorboardSizeRe"
+ + "quest\022C\n\013tensorboard\030\001 \001(\tB.\342A\001\002\372A\'\n%aip"
+ + "latform.googleapis.com/Tensorboard\"8\n\033Re"
+ + "adTensorboardSizeResponse\022\031\n\021storage_siz"
+ + "e_byte\030\001 \001(\003\"\352\001\n\"CreateTensorboardExperi"
+ + "mentRequest\022H\n\006parent\030\001 \001(\tB8\342A\001\002\372A1\n/ai"
+ + "platform.googleapis.com/TensorboardExper"
+ + "iment\022Q\n\026tensorboard_experiment\030\002 \001(\01321."
+ + "google.cloud.aiplatform.v1.TensorboardEx"
+ + "periment\022\'\n\031tensorboard_experiment_id\030\003 "
+ + "\001(\tB\004\342A\001\002\"i\n\037GetTensorboardExperimentReq"
+ + "uest\022F\n\004name\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform."
+ + "googleapis.com/TensorboardExperiment\"\345\001\n"
+ + "!ListTensorboardExperimentsRequest\022H\n\006pa"
+ + "rent\030\001 \001(\tB8\342A\001\002\372A1\022/aiplatform.googleap"
+ + "is.com/TensorboardExperiment\022\016\n\006filter\030\002"
+ + " \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 "
+ + "\001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\013"
+ + "2\032.google.protobuf.FieldMask\"\221\001\n\"ListTen"
+ + "sorboardExperimentsResponse\022R\n\027tensorboa"
+ + "rd_experiments\030\001 \003(\01321.google.cloud.aipl"
+ + "atform.v1.TensorboardExperiment\022\027\n\017next_"
+ + "page_token\030\002 \001(\t\"\264\001\n\"UpdateTensorboardEx"
+ + "perimentRequest\0225\n\013update_mask\030\001 \001(\0132\032.g"
+ + "oogle.protobuf.FieldMaskB\004\342A\001\002\022W\n\026tensor"
+ + "board_experiment\030\002 \001(\01321.google.cloud.ai"
+ + "platform.v1.TensorboardExperimentB\004\342A\001\002\""
+ + "l\n\"DeleteTensorboardExperimentRequest\022F\n"
+ "\004name\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.googlea"
- + "pis.com/TensorboardTimeSeries\"\344\001\n ListTe"
- + "nsorboardTimeSeriesRequest\022H\n\006parent\030\001 \001"
- + "(\tB8\342A\001\002\372A1\022/aiplatform.googleapis.com/T"
- + "ensorboardTimeSeries\022\016\n\006filter\030\002 \001(\t\022\021\n\t"
- + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010o"
- + "rder_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.googl"
- + "e.protobuf.FieldMask\"\220\001\n!ListTensorboard"
- + "TimeSeriesResponse\022R\n\027tensorboard_time_s"
- + "eries\030\001 \003(\01321.google.cloud.aiplatform.v1"
- + ".TensorboardTimeSeries\022\027\n\017next_page_toke"
- + "n\030\002 \001(\t\"\265\001\n\"UpdateTensorboardTimeSeriesR"
- + "equest\0225\n\013update_mask\030\001 \001(\0132\032.google.pro"
- + "tobuf.FieldMaskB\004\342A\001\002\022X\n\027tensorboard_tim"
- + "e_series\030\002 \001(\01321.google.cloud.aiplatform"
- + ".v1.TensorboardTimeSeriesB\004\342A\001\002\"l\n\"Delet"
- + "eTensorboardTimeSeriesRequest\022F\n\004name\030\001 "
+ + "pis.com/TensorboardExperiment\"\276\001\n!BatchC"
+ + "reateTensorboardRunsRequest\022H\n\006parent\030\001 "
+ "\001(\tB8\342A\001\002\372A1\n/aiplatform.googleapis.com/"
- + "TensorboardTimeSeries\"\277\001\n)BatchReadTenso"
- + "rboardTimeSeriesDataRequest\022C\n\013tensorboa"
- + "rd\030\001 \001(\tB.\342A\001\002\372A\'\n%aiplatform.googleapis"
- + ".com/Tensorboard\022M\n\013time_series\030\002 \003(\tB8\342"
- + "A\001\002\372A1\n/aiplatform.googleapis.com/Tensor"
- + "boardTimeSeries\"r\n*BatchReadTensorboardT"
- + "imeSeriesDataResponse\022D\n\020time_series_dat"
- + "a\030\001 \003(\0132*.google.cloud.aiplatform.v1.Tim"
- + "eSeriesData\"\252\001\n$ReadTensorboardTimeSerie"
- + "sDataRequest\022Y\n\027tensorboard_time_series\030"
- + "\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.googleapis.co"
- + "m/TensorboardTimeSeries\022\027\n\017max_data_poin"
- + "ts\030\002 \001(\005\022\016\n\006filter\030\003 \001(\t\"m\n%ReadTensorbo"
- + "ardTimeSeriesDataResponse\022D\n\020time_series"
- + "_data\030\001 \001(\0132*.google.cloud.aiplatform.v1"
- + ".TimeSeriesData\"\344\001\n%WriteTensorboardExpe"
- + "rimentDataRequest\022X\n\026tensorboard_experim"
+ + "TensorboardExperiment\022O\n\010requests\030\002 \003(\0132"
+ + "7.google.cloud.aiplatform.v1.CreateTenso"
+ + "rboardRunRequestB\004\342A\001\002\"j\n\"BatchCreateTen"
+ + "sorboardRunsResponse\022D\n\020tensorboard_runs"
+ + "\030\001 \003(\0132*.google.cloud.aiplatform.v1.Tens"
+ + "orboardRun\"\315\001\n\033CreateTensorboardRunReque"
+ + "st\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatform."
+ + "googleapis.com/TensorboardRun\022I\n\017tensorb"
+ + "oard_run\030\002 \001(\0132*.google.cloud.aiplatform"
+ + ".v1.TensorboardRunB\004\342A\001\002\022 \n\022tensorboard_"
+ + "run_id\030\003 \001(\tB\004\342A\001\002\"[\n\030GetTensorboardRunR"
+ + "equest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatfor"
+ + "m.googleapis.com/TensorboardRun\"\201\001\n\036Read"
+ + "TensorboardBlobDataRequest\022M\n\013time_serie"
+ + "s\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.googleapis."
+ + "com/TensorboardTimeSeries\022\020\n\010blob_ids\030\002 "
+ + "\003(\t\"]\n\037ReadTensorboardBlobDataResponse\022:"
+ + "\n\005blobs\030\001 \003(\0132+.google.cloud.aiplatform."
+ + "v1.TensorboardBlob\"\327\001\n\032ListTensorboardRu"
+ + "nsRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(aipl"
+ + "atform.googleapis.com/TensorboardRun\022\016\n\006"
+ + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
+ + "token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_ma"
+ + "sk\030\006 \001(\0132\032.google.protobuf.FieldMask\"|\n\033"
+ + "ListTensorboardRunsResponse\022D\n\020tensorboa"
+ + "rd_runs\030\001 \003(\0132*.google.cloud.aiplatform."
+ + "v1.TensorboardRun\022\027\n\017next_page_token\030\002 \001"
+ + "(\t\"\237\001\n\033UpdateTensorboardRunRequest\0225\n\013up"
+ + "date_mask\030\001 \001(\0132\032.google.protobuf.FieldM"
+ + "askB\004\342A\001\002\022I\n\017tensorboard_run\030\002 \001(\0132*.goo"
+ + "gle.cloud.aiplatform.v1.TensorboardRunB\004"
+ + "\342A\001\002\"^\n\033DeleteTensorboardRunRequest\022?\n\004n"
+ + "ame\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatform.googleapi"
+ + "s.com/TensorboardRun\"\313\001\n\'BatchCreateTens"
+ + "orboardTimeSeriesRequest\022H\n\006parent\030\001 \001(\t"
+ + "B8\342A\001\002\372A1\n/aiplatform.googleapis.com/Ten"
+ + "sorboardExperiment\022V\n\010requests\030\002 \003(\0132>.g"
+ + "oogle.cloud.aiplatform.v1.CreateTensorbo"
+ + "ardTimeSeriesRequestB\004\342A\001\002\"~\n(BatchCreat"
+ + "eTensorboardTimeSeriesResponse\022R\n\027tensor"
+ + "board_time_series\030\001 \003(\01321.google.cloud.a"
+ + "iplatform.v1.TensorboardTimeSeries\"\362\001\n\"C"
+ + "reateTensorboardTimeSeriesRequest\022H\n\006par"
+ "ent\030\001 \001(\tB8\342A\001\002\372A1\n/aiplatform.googleapi"
- + "s.com/TensorboardExperiment\022a\n\027write_run"
- + "_data_requests\030\002 \003(\0132:.google.cloud.aipl"
- + "atform.v1.WriteTensorboardRunDataRequest"
- + "B\004\342A\001\002\"(\n&WriteTensorboardExperimentData"
- + "Response\"\270\001\n\036WriteTensorboardRunDataRequ"
- + "est\022J\n\017tensorboard_run\030\001 \001(\tB1\342A\001\002\372A*\n(a"
- + "iplatform.googleapis.com/TensorboardRun\022"
- + "J\n\020time_series_data\030\002 \003(\0132*.google.cloud"
- + ".aiplatform.v1.TimeSeriesDataB\004\342A\001\002\"!\n\037W"
- + "riteTensorboardRunDataResponse\"\314\001\n&Expor"
- + "tTensorboardTimeSeriesDataRequest\022Y\n\027ten"
- + "sorboard_time_series\030\001 \001(\tB8\342A\001\002\372A1\n/aip"
- + "latform.googleapis.com/TensorboardTimeSe"
- + "ries\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022"
- + "\022\n\npage_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\224\001"
- + "\n\'ExportTensorboardTimeSeriesDataRespons"
- + "e\022P\n\027time_series_data_points\030\001 \003(\0132/.goo"
- + "gle.cloud.aiplatform.v1.TimeSeriesDataPo"
- + "int\022\027\n\017next_page_token\030\002 \001(\t\"t\n\"CreateTe"
- + "nsorboardOperationMetadata\022N\n\020generic_me"
- + "tadata\030\001 \001(\01324.google.cloud.aiplatform.v"
- + "1.GenericOperationMetadata\"t\n\"UpdateTens"
- + "orboardOperationMetadata\022N\n\020generic_meta"
- + "data\030\001 \001(\01324.google.cloud.aiplatform.v1."
- + "GenericOperationMetadata2\252=\n\022Tensorboard"
- + "Service\022\371\001\n\021CreateTensorboard\0224.google.c"
- + "loud.aiplatform.v1.CreateTensorboardRequ"
- + "est\032\035.google.longrunning.Operation\"\216\001\312A1"
- + "\n\013Tensorboard\022\"CreateTensorboardOperatio"
- + "nMetadata\332A\022parent,tensorboard\202\323\344\223\002?\"0/v"
- + "1/{parent=projects/*/locations/*}/tensor"
- + "boards:\013tensorboard\022\255\001\n\016GetTensorboard\0221"
- + ".google.cloud.aiplatform.v1.GetTensorboa"
- + "rdRequest\032\'.google.cloud.aiplatform.v1.T"
- + "ensorboard\"?\332A\004name\202\323\344\223\0022\0220/v1/{name=pro"
- + "jects/*/locations/*/tensorboards/*}\022\212\002\n\021"
- + "UpdateTensorboard\0224.google.cloud.aiplatf"
- + "orm.v1.UpdateTensorboardRequest\032\035.google"
- + ".longrunning.Operation\"\237\001\312A1\n\013Tensorboar"
- + "d\022\"UpdateTensorboardOperationMetadata\332A\027"
- + "tensorboard,update_mask\202\323\344\223\002K2.google.cloud.aiplatform.v1.Creat"
+ + "eTensorboardExperimentRequest\0321.google.c"
+ + "loud.aiplatform.v1.TensorboardExperiment"
+ + "\"\230\001\332A7parent,tensorboard_experiment,tens"
+ + "orboard_experiment_id\202\323\344\223\002X\">/v1/{parent"
+ + "=projects/*/locations/*/tensorboards/*}/"
+ + "experiments:\026tensorboard_experiment\022\331\001\n\030"
+ + "GetTensorboardExperiment\022;.google.cloud."
+ + "aiplatform.v1.GetTensorboardExperimentRe"
+ + "quest\0321.google.cloud.aiplatform.v1.Tenso"
+ + "rboardExperiment\"M\332A\004name\202\323\344\223\002@\022>/v1/{na"
+ + "me=projects/*/locations/*/tensorboards/*"
+ + "/experiments/*}\022\255\002\n\033UpdateTensorboardExp"
+ + "eriment\022>.google.cloud.aiplatform.v1.Upd"
+ + "ateTensorboardExperimentRequest\0321.google"
+ + ".cloud.aiplatform.v1.TensorboardExperime"
+ + "nt\"\232\001\332A\"tensorboard_experiment,update_ma"
+ + "sk\202\323\344\223\002o2U/v1/{tensorboard_experiment.na"
+ + "me=projects/*/locations/*/tensorboards/*"
+ + "/experiments/*}:\026tensorboard_experiment\022"
+ + "\354\001\n\032ListTensorboardExperiments\022=.google."
+ + "cloud.aiplatform.v1.ListTensorboardExper"
+ + "imentsRequest\032>.google.cloud.aiplatform."
+ + "v1.ListTensorboardExperimentsResponse\"O\332"
+ + "A\006parent\202\323\344\223\002@\022>/v1/{parent=projects/*/l"
+ + "ocations/*/tensorboards/*}/experiments\022\377"
+ + "\001\n\033DeleteTensorboardExperiment\022>.google."
+ + "cloud.aiplatform.v1.DeleteTensorboardExp"
+ + "erimentRequest\032\035.google.longrunning.Oper"
+ + "ation\"\200\001\312A0\n\025google.protobuf.Empty\022\027Dele"
+ + "teOperationMetadata\332A\004name\202\323\344\223\002@*>/v1/{n"
+ "ame=projects/*/locations/*/tensorboards/"
- + "*}\022\342\001\n\024ReadTensorboardUsage\0227.google.clo"
- + "ud.aiplatform.v1.ReadTensorboardUsageReq"
- + "uest\0328.google.cloud.aiplatform.v1.ReadTe"
- + "nsorboardUsageResponse\"W\332A\013tensorboard\202\323"
- + "\344\223\002C\022A/v1/{tensorboard=projects/*/locati"
- + "ons/*/tensorboards/*}:readUsage\022\253\002\n\033Crea"
- + "teTensorboardExperiment\022>.google.cloud.a"
- + "iplatform.v1.CreateTensorboardExperiment"
- + "Request\0321.google.cloud.aiplatform.v1.Ten"
- + "sorboardExperiment\"\230\001\332A7parent,tensorboa"
- + "rd_experiment,tensorboard_experiment_id\202"
- + "\323\344\223\002X\">/v1/{parent=projects/*/locations/"
- + "*/tensorboards/*}/experiments:\026tensorboa"
- + "rd_experiment\022\331\001\n\030GetTensorboardExperime"
- + "nt\022;.google.cloud.aiplatform.v1.GetTenso"
- + "rboardExperimentRequest\0321.google.cloud.a"
- + "iplatform.v1.TensorboardExperiment\"M\332A\004n"
- + "ame\202\323\344\223\002@\022>/v1/{name=projects/*/location"
- + "s/*/tensorboards/*/experiments/*}\022\255\002\n\033Up"
- + "dateTensorboardExperiment\022>.google.cloud"
- + ".aiplatform.v1.UpdateTensorboardExperime"
- + "ntRequest\0321.google.cloud.aiplatform.v1.T"
- + "ensorboardExperiment\"\232\001\332A\"tensorboard_ex"
- + "periment,update_mask\202\323\344\223\002o2U/v1/{tensorb"
- + "oard_experiment.name=projects/*/location"
- + "s/*/tensorboards/*/experiments/*}:\026tenso"
- + "rboard_experiment\022\354\001\n\032ListTensorboardExp"
- + "eriments\022=.google.cloud.aiplatform.v1.Li"
- + "stTensorboardExperimentsRequest\032>.google"
- + ".cloud.aiplatform.v1.ListTensorboardExpe"
- + "rimentsResponse\"O\332A\006parent\202\323\344\223\002@\022>/v1/{p"
- + "arent=projects/*/locations/*/tensorboard"
- + "s/*}/experiments\022\377\001\n\033DeleteTensorboardEx"
- + "periment\022>.google.cloud.aiplatform.v1.De"
- + "leteTensorboardExperimentRequest\032\035.googl"
- + "e.longrunning.Operation\"\200\001\312A0\n\025google.pr"
- + "otobuf.Empty\022\027DeleteOperationMetadata\332A\004"
- + "name\202\323\344\223\002@*>/v1/{name=projects/*/locatio"
- + "ns/*/tensorboards/*/experiments/*}\022\210\002\n\024C"
- + "reateTensorboardRun\0227.google.cloud.aipla"
- + "tform.v1.CreateTensorboardRunRequest\032*.g"
- + "oogle.cloud.aiplatform.v1.TensorboardRun"
- + "\"\212\001\332A)parent,tensorboard_run,tensorboard"
- + "_run_id\202\323\344\223\002X\"E/v1/{parent=projects/*/lo"
- + "cations/*/tensorboards/*/experiments/*}/"
- + "runs:\017tensorboard_run\022\213\002\n\032BatchCreateTen"
- + "sorboardRuns\022=.google.cloud.aiplatform.v"
- + "1.BatchCreateTensorboardRunsRequest\032>.go"
- + "ogle.cloud.aiplatform.v1.BatchCreateTens"
- + "orboardRunsResponse\"n\332A\017parent,requests\202"
- + "\323\344\223\002V\"Q/v1/{parent=projects/*/locations/"
- + "*/tensorboards/*/experiments/*}/runs:bat"
- + "chCreate:\001*\022\313\001\n\021GetTensorboardRun\0224.goog"
- + "le.cloud.aiplatform.v1.GetTensorboardRun"
- + "Request\032*.google.cloud.aiplatform.v1.Ten"
- + "sorboardRun\"T\332A\004name\202\323\344\223\002G\022E/v1/{name=pr"
- + "ojects/*/locations/*/tensorboards/*/expe"
- + "riments/*/runs/*}\022\212\002\n\024UpdateTensorboardR"
- + "un\0227.google.cloud.aiplatform.v1.UpdateTe"
- + "nsorboardRunRequest\032*.google.cloud.aipla"
- + "tform.v1.TensorboardRun\"\214\001\332A\033tensorboard"
- + "_run,update_mask\202\323\344\223\002h2U/v1/{tensorboard"
- + "_run.name=projects/*/locations/*/tensorb"
- + "oards/*/experiments/*/runs/*}:\017tensorboa"
- + "rd_run\022\336\001\n\023ListTensorboardRuns\0226.google."
- + "cloud.aiplatform.v1.ListTensorboardRunsR"
- + "equest\0327.google.cloud.aiplatform.v1.List"
- + "TensorboardRunsResponse\"V\332A\006parent\202\323\344\223\002G"
- + "\022E/v1/{parent=projects/*/locations/*/ten"
- + "sorboards/*/experiments/*}/runs\022\370\001\n\024Dele"
- + "teTensorboardRun\0227.google.cloud.aiplatfo"
- + "rm.v1.DeleteTensorboardRunRequest\032\035.goog"
- + "le.longrunning.Operation\"\207\001\312A0\n\025google.p"
- + "rotobuf.Empty\022\027DeleteOperationMetadata\332A"
- + "\004name\202\323\344\223\002G*E/v1/{name=projects/*/locati"
- + "ons/*/tensorboards/*/experiments/*/runs/"
- + "*}\022\252\002\n BatchCreateTensorboardTimeSeries\022"
- + "C.google.cloud.aiplatform.v1.BatchCreate"
- + "TensorboardTimeSeriesRequest\032D.google.cl"
- + "oud.aiplatform.v1.BatchCreateTensorboard"
- + "TimeSeriesResponse\"{\332A\017parent,requests\202\323"
- + "\344\223\002c\"^/v1/{parent=projects/*/locations/*"
- + "/tensorboards/*/experiments/*}/runs/*/ti"
- + "meSeries:batchCreate:\001*\022\247\002\n\033CreateTensor"
- + "boardTimeSeries\022>.google.cloud.aiplatfor"
- + "m.v1.CreateTensorboardTimeSeriesRequest\032"
- + "1.google.cloud.aiplatform.v1.Tensorboard"
- + "TimeSeries\"\224\001\332A\036parent,tensorboard_time_"
- + "series\202\323\344\223\002m\"R/v1/{parent=projects/*/loc"
- + "ations/*/tensorboards/*/experiments/*/ru"
- + "ns/*}/timeSeries:\027tensorboard_time_serie"
- + "s\022\355\001\n\030GetTensorboardTimeSeries\022;.google."
- + "cloud.aiplatform.v1.GetTensorboardTimeSe"
- + "riesRequest\0321.google.cloud.aiplatform.v1"
- + ".TensorboardTimeSeries\"a\332A\004name\202\323\344\223\002T\022R/"
- + "v1/{name=projects/*/locations/*/tensorbo"
- + "ards/*/experiments/*/runs/*/timeSeries/*"
- + "}\022\305\002\n\033UpdateTensorboardTimeSeries\022>.goog"
- + "le.cloud.aiplatform.v1.UpdateTensorboard"
- + "TimeSeriesRequest\0321.google.cloud.aiplatf"
- + "orm.v1.TensorboardTimeSeries\"\262\001\332A#tensor"
- + "board_time_series,update_mask\202\323\344\223\002\205\0012j/v"
- + "1/{tensorboard_time_series.name=projects"
+ + "*/experiments/*}\022\210\002\n\024CreateTensorboardRu"
+ + "n\0227.google.cloud.aiplatform.v1.CreateTen"
+ + "sorboardRunRequest\032*.google.cloud.aiplat"
+ + "form.v1.TensorboardRun\"\212\001\332A)parent,tenso"
+ + "rboard_run,tensorboard_run_id\202\323\344\223\002X\"E/v1"
+ + "/{parent=projects/*/locations/*/tensorbo"
+ + "ards/*/experiments/*}/runs:\017tensorboard_"
+ + "run\022\213\002\n\032BatchCreateTensorboardRuns\022=.goo"
+ + "gle.cloud.aiplatform.v1.BatchCreateTenso"
+ + "rboardRunsRequest\032>.google.cloud.aiplatf"
+ + "orm.v1.BatchCreateTensorboardRunsRespons"
+ + "e\"n\332A\017parent,requests\202\323\344\223\002V\"Q/v1/{parent"
+ + "=projects/*/locations/*/tensorboards/*/e"
+ + "xperiments/*}/runs:batchCreate:\001*\022\313\001\n\021Ge"
+ + "tTensorboardRun\0224.google.cloud.aiplatfor"
+ + "m.v1.GetTensorboardRunRequest\032*.google.c"
+ + "loud.aiplatform.v1.TensorboardRun\"T\332A\004na"
+ + "me\202\323\344\223\002G\022E/v1/{name=projects/*/locations"
+ + "/*/tensorboards/*/experiments/*/runs/*}\022"
+ + "\212\002\n\024UpdateTensorboardRun\0227.google.cloud."
+ + "aiplatform.v1.UpdateTensorboardRunReques"
+ + "t\032*.google.cloud.aiplatform.v1.Tensorboa"
+ + "rdRun\"\214\001\332A\033tensorboard_run,update_mask\202\323"
+ + "\344\223\002h2U/v1/{tensorboard_run.name=projects"
+ "/*/locations/*/tensorboards/*/experiment"
- + "s/*/runs/*/timeSeries/*}:\027tensorboard_ti"
- + "me_series\022\375\001\n\031ListTensorboardTimeSeries\022"
- + "<.google.cloud.aiplatform.v1.ListTensorb"
- + "oardTimeSeriesRequest\032=.google.cloud.aip"
- + "latform.v1.ListTensorboardTimeSeriesResp"
- + "onse\"c\332A\006parent\202\323\344\223\002T\022R/v1/{parent=proje"
- + "cts/*/locations/*/tensorboards/*/experim"
- + "ents/*/runs/*}/timeSeries\022\223\002\n\033DeleteTens"
- + "orboardTimeSeries\022>.google.cloud.aiplatf"
- + "orm.v1.DeleteTensorboardTimeSeriesReques"
- + "t\032\035.google.longrunning.Operation\"\224\001\312A0\n\025"
- + "google.protobuf.Empty\022\027DeleteOperationMe"
- + "tadata\332A\004name\202\323\344\223\002T*R/v1/{name=projects/"
+ + "s/*/runs/*}:\017tensorboard_run\022\336\001\n\023ListTen"
+ + "sorboardRuns\0226.google.cloud.aiplatform.v"
+ + "1.ListTensorboardRunsRequest\0327.google.cl"
+ + "oud.aiplatform.v1.ListTensorboardRunsRes"
+ + "ponse\"V\332A\006parent\202\323\344\223\002G\022E/v1/{parent=proj"
+ + "ects/*/locations/*/tensorboards/*/experi"
+ + "ments/*}/runs\022\370\001\n\024DeleteTensorboardRun\0227"
+ + ".google.cloud.aiplatform.v1.DeleteTensor"
+ + "boardRunRequest\032\035.google.longrunning.Ope"
+ + "ration\"\207\001\312A0\n\025google.protobuf.Empty\022\027Del"
+ + "eteOperationMetadata\332A\004name\202\323\344\223\002G*E/v1/{"
+ + "name=projects/*/locations/*/tensorboards"
+ + "/*/experiments/*/runs/*}\022\252\002\n BatchCreate"
+ + "TensorboardTimeSeries\022C.google.cloud.aip"
+ + "latform.v1.BatchCreateTensorboardTimeSer"
+ + "iesRequest\032D.google.cloud.aiplatform.v1."
+ + "BatchCreateTensorboardTimeSeriesResponse"
+ + "\"{\332A\017parent,requests\202\323\344\223\002c\"^/v1/{parent="
+ + "projects/*/locations/*/tensorboards/*/ex"
+ + "periments/*}/runs/*/timeSeries:batchCrea"
+ + "te:\001*\022\247\002\n\033CreateTensorboardTimeSeries\022>."
+ + "google.cloud.aiplatform.v1.CreateTensorb"
+ + "oardTimeSeriesRequest\0321.google.cloud.aip"
+ + "latform.v1.TensorboardTimeSeries\"\224\001\332A\036pa"
+ + "rent,tensorboard_time_series\202\323\344\223\002m\"R/v1/"
+ + "{parent=projects/*/locations/*/tensorboa"
+ + "rds/*/experiments/*/runs/*}/timeSeries:\027"
+ + "tensorboard_time_series\022\355\001\n\030GetTensorboa"
+ + "rdTimeSeries\022;.google.cloud.aiplatform.v"
+ + "1.GetTensorboardTimeSeriesRequest\0321.goog"
+ + "le.cloud.aiplatform.v1.TensorboardTimeSe"
+ + "ries\"a\332A\004name\202\323\344\223\002T\022R/v1/{name=projects/"
+ "*/locations/*/tensorboards/*/experiments"
- + "/*/runs/*/timeSeries/*}\022\254\002\n\"BatchReadTen"
- + "sorboardTimeSeriesData\022E.google.cloud.ai"
- + "platform.v1.BatchReadTensorboardTimeSeri"
- + "esDataRequest\032F.google.cloud.aiplatform."
- + "v1.BatchReadTensorboardTimeSeriesDataRes"
- + "ponse\"w\332A\013tensorboard\202\323\344\223\002c\022a/v1/{tensor"
- + "board=projects/*/locations/*/tensorboard"
- + "s/*}/experiments/*/runs/*/timeSeries:bat"
- + "chRead\022\263\002\n\035ReadTensorboardTimeSeriesData"
- + "\022@.google.cloud.aiplatform.v1.ReadTensor"
- + "boardTimeSeriesDataRequest\032A.google.clou"
- + "d.aiplatform.v1.ReadTensorboardTimeSerie"
- + "sDataResponse\"\214\001\332A\027tensorboard_time_seri"
- + "es\202\323\344\223\002l\022j/v1/{tensorboard_time_series=p"
- + "rojects/*/locations/*/tensorboards/*/exp"
- + "eriments/*/runs/*/timeSeries/*}:read\022\222\002\n"
- + "\027ReadTensorboardBlobData\022:.google.cloud."
- + "aiplatform.v1.ReadTensorboardBlobDataReq"
- + "uest\032;.google.cloud.aiplatform.v1.ReadTe"
- + "nsorboardBlobDataResponse\"|\332A\013time_serie"
- + "s\202\323\344\223\002h\022f/v1/{time_series=projects/*/loc"
- + "ations/*/tensorboards/*/experiments/*/ru"
- + "ns/*/timeSeries/*}:readBlobData0\001\022\274\002\n\036Wr"
- + "iteTensorboardExperimentData\022A.google.cl"
- + "oud.aiplatform.v1.WriteTensorboardExperi"
- + "mentDataRequest\032B.google.cloud.aiplatfor"
- + "m.v1.WriteTensorboardExperimentDataRespo"
- + "nse\"\222\001\332A.tensorboard_experiment,write_ru"
- + "n_data_requests\202\323\344\223\002[\"V/v1/{tensorboard_"
- + "experiment=projects/*/locations/*/tensor"
- + "boards/*/experiments/*}:write:\001*\022\231\002\n\027Wri"
- + "teTensorboardRunData\022:.google.cloud.aipl"
- + "atform.v1.WriteTensorboardRunDataRequest"
- + "\032;.google.cloud.aiplatform.v1.WriteTenso"
- + "rboardRunDataResponse\"\204\001\332A tensorboard_r"
- + "un,time_series_data\202\323\344\223\002[\"V/v1/{tensorbo"
- + "ard_run=projects/*/locations/*/tensorboa"
- + "rds/*/experiments/*/runs/*}:write:\001*\022\325\002\n"
- + "\037ExportTensorboardTimeSeriesData\022B.googl"
- + "e.cloud.aiplatform.v1.ExportTensorboardT"
- + "imeSeriesDataRequest\032C.google.cloud.aipl"
- + "atform.v1.ExportTensorboardTimeSeriesDat"
- + "aResponse\"\250\001\332A\027tensorboard_time_series\202\323"
- + "\344\223\002\207\001\"\201\001/v1/{tensorboard_time_series=pro"
- + "jects/*/locations/*/tensorboards/*/exper"
- + "iments/*/runs/*/timeSeries/*}:exportTens"
- + "orboardTimeSeries:\001*\032\206\001\312A\031aiplatform.goo"
- + "gleapis.com\322Aghttps://www.googleapis.com"
- + "/auth/cloud-platform,https://www.googlea"
- + "pis.com/auth/cloud-platform.read-onlyB\325\001"
- + "\n\036com.google.cloud.aiplatform.v1B\027Tensor"
- + "boardServiceProtoP\001Z>cloud.google.com/go"
- + "/aiplatform/apiv1/aiplatformpb;aiplatfor"
- + "mpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl"
- + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A"
- + "IPlatform::V1b\006proto3"
+ + "/*/runs/*/timeSeries/*}\022\305\002\n\033UpdateTensor"
+ + "boardTimeSeries\022>.google.cloud.aiplatfor"
+ + "m.v1.UpdateTensorboardTimeSeriesRequest\032"
+ + "1.google.cloud.aiplatform.v1.Tensorboard"
+ + "TimeSeries\"\262\001\332A#tensorboard_time_series,"
+ + "update_mask\202\323\344\223\002\205\0012j/v1/{tensorboard_tim"
+ + "e_series.name=projects/*/locations/*/ten"
+ + "sorboards/*/experiments/*/runs/*/timeSer"
+ + "ies/*}:\027tensorboard_time_series\022\375\001\n\031List"
+ + "TensorboardTimeSeries\022<.google.cloud.aip"
+ + "latform.v1.ListTensorboardTimeSeriesRequ"
+ + "est\032=.google.cloud.aiplatform.v1.ListTen"
+ + "sorboardTimeSeriesResponse\"c\332A\006parent\202\323\344"
+ + "\223\002T\022R/v1/{parent=projects/*/locations/*/"
+ + "tensorboards/*/experiments/*/runs/*}/tim"
+ + "eSeries\022\223\002\n\033DeleteTensorboardTimeSeries\022"
+ + ">.google.cloud.aiplatform.v1.DeleteTenso"
+ + "rboardTimeSeriesRequest\032\035.google.longrun"
+ + "ning.Operation\"\224\001\312A0\n\025google.protobuf.Em"
+ + "pty\022\027DeleteOperationMetadata\332A\004name\202\323\344\223\002"
+ + "T*R/v1/{name=projects/*/locations/*/tens"
+ + "orboards/*/experiments/*/runs/*/timeSeri"
+ + "es/*}\022\254\002\n\"BatchReadTensorboardTimeSeries"
+ + "Data\022E.google.cloud.aiplatform.v1.BatchR"
+ + "eadTensorboardTimeSeriesDataRequest\032F.go"
+ + "ogle.cloud.aiplatform.v1.BatchReadTensor"
+ + "boardTimeSeriesDataResponse\"w\332A\013tensorbo"
+ + "ard\202\323\344\223\002c\022a/v1/{tensorboard=projects/*/l"
+ + "ocations/*/tensorboards/*}/experiments/*"
+ + "/runs/*/timeSeries:batchRead\022\263\002\n\035ReadTen"
+ + "sorboardTimeSeriesData\022@.google.cloud.ai"
+ + "platform.v1.ReadTensorboardTimeSeriesDat"
+ + "aRequest\032A.google.cloud.aiplatform.v1.Re"
+ + "adTensorboardTimeSeriesDataResponse\"\214\001\332A"
+ + "\027tensorboard_time_series\202\323\344\223\002l\022j/v1/{ten"
+ + "sorboard_time_series=projects/*/location"
+ + "s/*/tensorboards/*/experiments/*/runs/*/"
+ + "timeSeries/*}:read\022\222\002\n\027ReadTensorboardBl"
+ + "obData\022:.google.cloud.aiplatform.v1.Read"
+ + "TensorboardBlobDataRequest\032;.google.clou"
+ + "d.aiplatform.v1.ReadTensorboardBlobDataR"
+ + "esponse\"|\332A\013time_series\202\323\344\223\002h\022f/v1/{time"
+ + "_series=projects/*/locations/*/tensorboa"
+ + "rds/*/experiments/*/runs/*/timeSeries/*}"
+ + ":readBlobData0\001\022\274\002\n\036WriteTensorboardExpe"
+ + "rimentData\022A.google.cloud.aiplatform.v1."
+ + "WriteTensorboardExperimentDataRequest\032B."
+ + "google.cloud.aiplatform.v1.WriteTensorbo"
+ + "ardExperimentDataResponse\"\222\001\332A.tensorboa"
+ + "rd_experiment,write_run_data_requests\202\323\344"
+ + "\223\002[\"V/v1/{tensorboard_experiment=project"
+ + "s/*/locations/*/tensorboards/*/experimen"
+ + "ts/*}:write:\001*\022\231\002\n\027WriteTensorboardRunDa"
+ + "ta\022:.google.cloud.aiplatform.v1.WriteTen"
+ + "sorboardRunDataRequest\032;.google.cloud.ai"
+ + "platform.v1.WriteTensorboardRunDataRespo"
+ + "nse\"\204\001\332A tensorboard_run,time_series_dat"
+ + "a\202\323\344\223\002[\"V/v1/{tensorboard_run=projects/*"
+ + "/locations/*/tensorboards/*/experiments/"
+ + "*/runs/*}:write:\001*\022\325\002\n\037ExportTensorboard"
+ + "TimeSeriesData\022B.google.cloud.aiplatform"
+ + ".v1.ExportTensorboardTimeSeriesDataReque"
+ + "st\032C.google.cloud.aiplatform.v1.ExportTe"
+ + "nsorboardTimeSeriesDataResponse\"\250\001\332A\027ten"
+ + "sorboard_time_series\202\323\344\223\002\207\001\"\201\001/v1/{tenso"
+ + "rboard_time_series=projects/*/locations/"
+ + "*/tensorboards/*/experiments/*/runs/*/ti"
+ + "meSeries/*}:exportTensorboardTimeSeries:"
+ + "\001*\032\206\001\312A\031aiplatform.googleapis.com\322Aghttp"
+ + "s://www.googleapis.com/auth/cloud-platfo"
+ + "rm,https://www.googleapis.com/auth/cloud"
+ + "-platform.read-onlyB\325\001\n\036com.google.cloud"
+ + ".aiplatform.v1B\027TensorboardServiceProtoP"
+ + "\001Z>cloud.google.com/go/aiplatform/apiv1/"
+ + "aiplatformpb;aiplatformpb\252\002\032Google.Cloud"
+ + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform"
+ + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro"
+ + "to3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -726,8 +744,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Key", "Value",
});
- internal_static_google_cloud_aiplatform_v1_CreateTensorboardExperimentRequest_descriptor =
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeRequest_descriptor,
+ new java.lang.String[] {
+ "Tensorboard",
+ });
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1_ReadTensorboardSizeResponse_descriptor,
+ new java.lang.String[] {
+ "StorageSizeByte",
+ });
+ internal_static_google_cloud_aiplatform_v1_CreateTensorboardExperimentRequest_descriptor =
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_cloud_aiplatform_v1_CreateTensorboardExperimentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_CreateTensorboardExperimentRequest_descriptor,
@@ -735,7 +769,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "TensorboardExperiment", "TensorboardExperimentId",
});
internal_static_google_cloud_aiplatform_v1_GetTensorboardExperimentRequest_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_cloud_aiplatform_v1_GetTensorboardExperimentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_GetTensorboardExperimentRequest_descriptor,
@@ -743,7 +777,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_ListTensorboardExperimentsRequest_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_aiplatform_v1_ListTensorboardExperimentsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListTensorboardExperimentsRequest_descriptor,
@@ -751,7 +785,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "OrderBy", "ReadMask",
});
internal_static_google_cloud_aiplatform_v1_ListTensorboardExperimentsResponse_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_aiplatform_v1_ListTensorboardExperimentsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListTensorboardExperimentsResponse_descriptor,
@@ -759,7 +793,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardExperiments", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardExperimentRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardExperimentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardExperimentRequest_descriptor,
@@ -767,7 +801,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UpdateMask", "TensorboardExperiment",
});
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardExperimentRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardExperimentRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardExperimentRequest_descriptor,
@@ -775,7 +809,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardRunsRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardRunsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardRunsRequest_descriptor,
@@ -783,7 +817,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Requests",
});
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardRunsResponse_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardRunsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardRunsResponse_descriptor,
@@ -791,7 +825,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardRuns",
});
internal_static_google_cloud_aiplatform_v1_CreateTensorboardRunRequest_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_aiplatform_v1_CreateTensorboardRunRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_CreateTensorboardRunRequest_descriptor,
@@ -799,7 +833,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "TensorboardRun", "TensorboardRunId",
});
internal_static_google_cloud_aiplatform_v1_GetTensorboardRunRequest_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_cloud_aiplatform_v1_GetTensorboardRunRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_GetTensorboardRunRequest_descriptor,
@@ -807,7 +841,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_ReadTensorboardBlobDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_cloud_aiplatform_v1_ReadTensorboardBlobDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ReadTensorboardBlobDataRequest_descriptor,
@@ -815,7 +849,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TimeSeries", "BlobIds",
});
internal_static_google_cloud_aiplatform_v1_ReadTensorboardBlobDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_cloud_aiplatform_v1_ReadTensorboardBlobDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ReadTensorboardBlobDataResponse_descriptor,
@@ -823,7 +857,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Blobs",
});
internal_static_google_cloud_aiplatform_v1_ListTensorboardRunsRequest_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_cloud_aiplatform_v1_ListTensorboardRunsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListTensorboardRunsRequest_descriptor,
@@ -831,7 +865,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "OrderBy", "ReadMask",
});
internal_static_google_cloud_aiplatform_v1_ListTensorboardRunsResponse_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_cloud_aiplatform_v1_ListTensorboardRunsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListTensorboardRunsResponse_descriptor,
@@ -839,7 +873,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardRuns", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardRunRequest_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardRunRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardRunRequest_descriptor,
@@ -847,7 +881,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UpdateMask", "TensorboardRun",
});
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardRunRequest_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardRunRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardRunRequest_descriptor,
@@ -855,7 +889,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardTimeSeriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(24);
+ getDescriptor().getMessageTypes().get(26);
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardTimeSeriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardTimeSeriesRequest_descriptor,
@@ -863,7 +897,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Requests",
});
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardTimeSeriesResponse_descriptor =
- getDescriptor().getMessageTypes().get(25);
+ getDescriptor().getMessageTypes().get(27);
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardTimeSeriesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_BatchCreateTensorboardTimeSeriesResponse_descriptor,
@@ -871,7 +905,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardTimeSeries",
});
internal_static_google_cloud_aiplatform_v1_CreateTensorboardTimeSeriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(26);
+ getDescriptor().getMessageTypes().get(28);
internal_static_google_cloud_aiplatform_v1_CreateTensorboardTimeSeriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_CreateTensorboardTimeSeriesRequest_descriptor,
@@ -879,7 +913,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "TensorboardTimeSeriesId", "TensorboardTimeSeries",
});
internal_static_google_cloud_aiplatform_v1_GetTensorboardTimeSeriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(27);
+ getDescriptor().getMessageTypes().get(29);
internal_static_google_cloud_aiplatform_v1_GetTensorboardTimeSeriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_GetTensorboardTimeSeriesRequest_descriptor,
@@ -887,7 +921,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_ListTensorboardTimeSeriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(28);
+ getDescriptor().getMessageTypes().get(30);
internal_static_google_cloud_aiplatform_v1_ListTensorboardTimeSeriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListTensorboardTimeSeriesRequest_descriptor,
@@ -895,7 +929,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "OrderBy", "ReadMask",
});
internal_static_google_cloud_aiplatform_v1_ListTensorboardTimeSeriesResponse_descriptor =
- getDescriptor().getMessageTypes().get(29);
+ getDescriptor().getMessageTypes().get(31);
internal_static_google_cloud_aiplatform_v1_ListTensorboardTimeSeriesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ListTensorboardTimeSeriesResponse_descriptor,
@@ -903,7 +937,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardTimeSeries", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardTimeSeriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(30);
+ getDescriptor().getMessageTypes().get(32);
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardTimeSeriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardTimeSeriesRequest_descriptor,
@@ -911,7 +945,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UpdateMask", "TensorboardTimeSeries",
});
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardTimeSeriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(31);
+ getDescriptor().getMessageTypes().get(33);
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardTimeSeriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_DeleteTensorboardTimeSeriesRequest_descriptor,
@@ -919,7 +953,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1_BatchReadTensorboardTimeSeriesDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(32);
+ getDescriptor().getMessageTypes().get(34);
internal_static_google_cloud_aiplatform_v1_BatchReadTensorboardTimeSeriesDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_BatchReadTensorboardTimeSeriesDataRequest_descriptor,
@@ -927,7 +961,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Tensorboard", "TimeSeries",
});
internal_static_google_cloud_aiplatform_v1_BatchReadTensorboardTimeSeriesDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(33);
+ getDescriptor().getMessageTypes().get(35);
internal_static_google_cloud_aiplatform_v1_BatchReadTensorboardTimeSeriesDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_BatchReadTensorboardTimeSeriesDataResponse_descriptor,
@@ -935,7 +969,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TimeSeriesData",
});
internal_static_google_cloud_aiplatform_v1_ReadTensorboardTimeSeriesDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(34);
+ getDescriptor().getMessageTypes().get(36);
internal_static_google_cloud_aiplatform_v1_ReadTensorboardTimeSeriesDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ReadTensorboardTimeSeriesDataRequest_descriptor,
@@ -943,7 +977,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardTimeSeries", "MaxDataPoints", "Filter",
});
internal_static_google_cloud_aiplatform_v1_ReadTensorboardTimeSeriesDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(35);
+ getDescriptor().getMessageTypes().get(37);
internal_static_google_cloud_aiplatform_v1_ReadTensorboardTimeSeriesDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ReadTensorboardTimeSeriesDataResponse_descriptor,
@@ -951,7 +985,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TimeSeriesData",
});
internal_static_google_cloud_aiplatform_v1_WriteTensorboardExperimentDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(36);
+ getDescriptor().getMessageTypes().get(38);
internal_static_google_cloud_aiplatform_v1_WriteTensorboardExperimentDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_WriteTensorboardExperimentDataRequest_descriptor,
@@ -959,13 +993,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardExperiment", "WriteRunDataRequests",
});
internal_static_google_cloud_aiplatform_v1_WriteTensorboardExperimentDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(37);
+ getDescriptor().getMessageTypes().get(39);
internal_static_google_cloud_aiplatform_v1_WriteTensorboardExperimentDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_WriteTensorboardExperimentDataResponse_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_aiplatform_v1_WriteTensorboardRunDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(38);
+ getDescriptor().getMessageTypes().get(40);
internal_static_google_cloud_aiplatform_v1_WriteTensorboardRunDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_WriteTensorboardRunDataRequest_descriptor,
@@ -973,13 +1007,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardRun", "TimeSeriesData",
});
internal_static_google_cloud_aiplatform_v1_WriteTensorboardRunDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(39);
+ getDescriptor().getMessageTypes().get(41);
internal_static_google_cloud_aiplatform_v1_WriteTensorboardRunDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_WriteTensorboardRunDataResponse_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_aiplatform_v1_ExportTensorboardTimeSeriesDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(40);
+ getDescriptor().getMessageTypes().get(42);
internal_static_google_cloud_aiplatform_v1_ExportTensorboardTimeSeriesDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ExportTensorboardTimeSeriesDataRequest_descriptor,
@@ -987,7 +1021,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TensorboardTimeSeries", "Filter", "PageSize", "PageToken", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1_ExportTensorboardTimeSeriesDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(41);
+ getDescriptor().getMessageTypes().get(43);
internal_static_google_cloud_aiplatform_v1_ExportTensorboardTimeSeriesDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_ExportTensorboardTimeSeriesDataResponse_descriptor,
@@ -995,7 +1029,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TimeSeriesDataPoints", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1_CreateTensorboardOperationMetadata_descriptor =
- getDescriptor().getMessageTypes().get(42);
+ getDescriptor().getMessageTypes().get(44);
internal_static_google_cloud_aiplatform_v1_CreateTensorboardOperationMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_CreateTensorboardOperationMetadata_descriptor,
@@ -1003,7 +1037,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"GenericMetadata",
});
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardOperationMetadata_descriptor =
- getDescriptor().getMessageTypes().get(43);
+ getDescriptor().getMessageTypes().get(45);
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardOperationMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1_UpdateTensorboardOperationMetadata_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequest.java
index 8f8a307b7ae3..5af616566608 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -89,7 +91,9 @@ public boolean hasSchedule() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -111,7 +115,9 @@ public com.google.cloud.aiplatform.v1.Schedule getSchedule() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -571,7 +577,9 @@ public Builder mergeFrom(
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -590,7 +598,9 @@ public boolean hasSchedule() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -615,7 +625,9 @@ public com.google.cloud.aiplatform.v1.Schedule getSchedule() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -642,7 +654,9 @@ public Builder setSchedule(com.google.cloud.aiplatform.v1.Schedule value) {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -666,7 +680,9 @@ public Builder setSchedule(com.google.cloud.aiplatform.v1.Schedule.Builder build
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -696,7 +712,9 @@ public Builder mergeSchedule(com.google.cloud.aiplatform.v1.Schedule value) {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -720,7 +738,9 @@ public Builder clearSchedule() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -739,7 +759,9 @@ public com.google.cloud.aiplatform.v1.Schedule.Builder getScheduleBuilder() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -762,7 +784,9 @@ public com.google.cloud.aiplatform.v1.ScheduleOrBuilder getScheduleOrBuilder() {
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequestOrBuilder.java
index c88de1f1ec83..00ddb6a3cb17 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequestOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateScheduleRequestOrBuilder.java
@@ -29,7 +29,9 @@ public interface UpdateScheduleRequestOrBuilder
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -46,7 +48,9 @@ public interface UpdateScheduleRequestOrBuilder
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
@@ -63,7 +67,9 @@ public interface UpdateScheduleRequestOrBuilder
*
* Required. The Schedule which replaces the resource on the server.
* The following restrictions will be applied:
+ *
* * The scheduled request type cannot be changed.
+ * * The non-empty fields cannot be unset.
* * The output_only fields will be ignored if specified.
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto
index dfbf62d30659..8122ddb69ee9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto
@@ -36,8 +36,8 @@ message Context {
pattern: "projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}"
};
- // Output only. The resource name of the Context.
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Immutable. The resource name of the Context.
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
// User provided display name of the Context.
// May be up to 128 Unicode characters.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
index 10be55ef321e..49bb9790b1fd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
@@ -318,4 +318,9 @@ message Scheduling {
// This feature can be used by distributed training jobs that are not
// resilient to workers leaving and joining a job.
bool restart_job_on_worker_restart = 3;
+
+ // Optional. Indicates if the job should retry for internal errors after the
+ // job starts running. If true, overrides
+ // `Scheduling.restart_job_on_worker_restart` to false.
+ bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto
index d4a0f3e3ba0f..5968668aa46b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto
@@ -369,6 +369,20 @@ message ExportDataOperationMetadata {
string gcs_output_directory = 2;
}
+// Runtime operation information for
+// [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion].
+message CreateDatasetVersionOperationMetadata {
+ // The common part of the operation metadata.
+ GenericOperationMetadata generic_metadata = 1;
+}
+
+// Runtime operation information for
+// [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion].
+message RestoreDatasetVersionOperationMetadata {
+ // The common part of the operation metadata.
+ GenericOperationMetadata generic_metadata = 1;
+}
+
// Request message for
// [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems].
message ListDataItemsRequest {
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
index 5239f6740ecd..f5da296dae46 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto
@@ -207,6 +207,10 @@ message PipelineJob {
// is from supported template registry.
PipelineTemplateMetadata template_metadata = 20
[(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The schedule resource name.
+ // Only returned if the Pipeline is created by Schedule API.
+ string schedule_name = 22 [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Pipeline template metadata if
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/publisher_model.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/publisher_model.proto
index a854fce73e7e..f942a92132b7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/publisher_model.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/publisher_model.proto
@@ -154,6 +154,10 @@ message PublisherModel {
// Optional. Request for access.
RegionalResourceReferences request_access = 9
[(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Open evaluation pipeline of the PublisherModel.
+ RegionalResourceReferences open_evaluation_pipeline = 11
+ [(google.api.field_behavior) = OPTIONAL];
}
// An enum representing the open source category of a PublisherModel.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule.proto
index b66e735ac64e..e40028b41881 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule.proto
@@ -88,8 +88,8 @@ message Schedule {
CreatePipelineJobRequest create_pipeline_job_request = 14;
}
- // Output only. The resource name of the Schedule.
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Immutable. The resource name of the Schedule.
+ string name = 1 [(google.api.field_behavior) = IMMUTABLE];
// Required. User provided name of the Schedule.
// The name can be up to 128 characters long and can consist of any UTF-8
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule_service.proto
index 19ffc2b89537..67b922fa0387 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schedule_service.proto
@@ -222,6 +222,7 @@ message ListSchedulesRequest {
// descending order.
//
// Supported fields:
+ //
// * `create_time`
// * `start_time`
// * `end_time`
@@ -296,7 +297,9 @@ message ResumeScheduleRequest {
message UpdateScheduleRequest {
// Required. The Schedule which replaces the resource on the server.
// The following restrictions will be applied:
+ //
// * The scheduled request type cannot be changed.
+ // * The non-empty fields cannot be unset.
// * The output_only fields will be ignored if specified.
Schedule schedule = 1 [(google.api.field_behavior) = REQUIRED];
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto
index 631705ade80f..0086f73671dd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto
@@ -112,6 +112,15 @@ service TensorboardService {
option (google.api.method_signature) = "tensorboard";
}
+ // Returns the storage size for a given TensorBoard instance.
+ rpc ReadTensorboardSize(ReadTensorboardSizeRequest)
+ returns (ReadTensorboardSizeResponse) {
+ option (google.api.http) = {
+ get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readSize"
+ };
+ option (google.api.method_signature) = "tensorboard";
+ }
+
// Creates a TensorboardExperiment.
rpc CreateTensorboardExperiment(CreateTensorboardExperimentRequest)
returns (TensorboardExperiment) {
@@ -510,6 +519,27 @@ message ReadTensorboardUsageResponse {
mapNVIDIA_L4 = 11;
*/
NVIDIA_L4(11),
+ /**
+ *
+ *
+ *
+ * Nvidia H100 80Gb GPU.
+ *
+ *
+ * NVIDIA_H100_80GB = 13;
+ */
+ NVIDIA_H100_80GB(13),
/**
*
*
@@ -148,6 +158,16 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
* TPU_V4_POD = 10;
*/
TPU_V4_POD(10),
+ /**
+ *
+ *
+ *
+ * TPU v5.
+ *
+ *
+ * TPU_V5_LITEPOD = 12;
+ */
+ TPU_V5_LITEPOD(12),
UNRECOGNIZED(-1),
;
@@ -241,6 +261,16 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
* NVIDIA_L4 = 11;
*/
public static final int NVIDIA_L4_VALUE = 11;
+ /**
+ *
+ *
+ *
+ * Nvidia H100 80Gb GPU.
+ *
+ *
+ * NVIDIA_H100_80GB = 13;
+ */
+ public static final int NVIDIA_H100_80GB_VALUE = 13;
/**
*
*
@@ -271,6 +301,16 @@ public enum AcceleratorType implements com.google.protobuf.ProtocolMessageEnum {
* TPU_V4_POD = 10;
*/
public static final int TPU_V4_POD_VALUE = 10;
+ /**
+ *
+ *
+ *
+ * TPU v5.
+ *
+ *
+ * TPU_V5_LITEPOD = 12;
+ */
+ public static final int TPU_V5_LITEPOD_VALUE = 12;
public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -314,12 +354,16 @@ public static AcceleratorType forNumber(int value) {
return NVIDIA_A100_80GB;
case 11:
return NVIDIA_L4;
+ case 13:
+ return NVIDIA_H100_80GB;
case 6:
return TPU_V2;
case 7:
return TPU_V3;
case 10:
return TPU_V4_POD;
+ case 12:
+ return TPU_V5_LITEPOD;
default:
return null;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java
index c01204ac03e1..d8bba682b73e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java
@@ -37,19 +37,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n6google/cloud/aiplatform/v1beta1/accele"
+ "rator_type.proto\022\037google.cloud.aiplatfor"
- + "m.v1beta1*\205\002\n\017AcceleratorType\022 \n\034ACCELER"
+ + "m.v1beta1*\257\002\n\017AcceleratorType\022 \n\034ACCELER"
+ "ATOR_TYPE_UNSPECIFIED\020\000\022\024\n\020NVIDIA_TESLA_"
+ "K80\020\001\022\025\n\021NVIDIA_TESLA_P100\020\002\022\025\n\021NVIDIA_T"
+ "ESLA_V100\020\003\022\023\n\017NVIDIA_TESLA_P4\020\004\022\023\n\017NVID"
+ "IA_TESLA_T4\020\005\022\025\n\021NVIDIA_TESLA_A100\020\010\022\024\n\020"
- + "NVIDIA_A100_80GB\020\t\022\r\n\tNVIDIA_L4\020\013\022\n\n\006TPU"
- + "_V2\020\006\022\n\n\006TPU_V3\020\007\022\016\n\nTPU_V4_POD\020\nB\353\001\n#co"
- + "m.google.cloud.aiplatform.v1beta1B\024Accel"
- + "eratorTypeProtoP\001ZCcloud.google.com/go/a"
- + "iplatform/apiv1beta1/aiplatformpb;aiplat"
- + "formpb\252\002\037Google.Cloud.AIPlatform.V1Beta1"
- + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo"
- + "gle::Cloud::AIPlatform::V1beta1b\006proto3"
+ + "NVIDIA_A100_80GB\020\t\022\r\n\tNVIDIA_L4\020\013\022\024\n\020NVI"
+ + "DIA_H100_80GB\020\r\022\n\n\006TPU_V2\020\006\022\n\n\006TPU_V3\020\007\022"
+ + "\016\n\nTPU_V4_POD\020\n\022\022\n\016TPU_V5_LITEPOD\020\014B\353\001\n#"
+ + "com.google.cloud.aiplatform.v1beta1B\024Acc"
+ + "eleratorTypeProtoP\001ZCcloud.google.com/go"
+ + "/aiplatform/apiv1beta1/aiplatformpb;aipl"
+ + "atformpb\252\002\037Google.Cloud.AIPlatform.V1Bet"
+ + "a1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"G"
+ + "oogle::Cloud::AIPlatform::V1beta1b\006proto"
+ + "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Context.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Context.java
index 28c64e2be713..713dae9c2d5d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Context.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Context.java
@@ -87,10 +87,10 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -110,10 +110,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -1410,10 +1410,10 @@ public Builder mergeFrom(
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -1432,10 +1432,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -1454,10 +1454,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -1475,10 +1475,10 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return This builder for chaining.
*/
@@ -1492,10 +1492,10 @@ public Builder clearName() {
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextOrBuilder.java
index f1f647aefbf5..cb7f04f183b3 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextOrBuilder.java
@@ -27,10 +27,10 @@ public interface ContextOrBuilder
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -39,10 +39,10 @@ public interface ContextOrBuilder
*
*
*
- * Output only. The resource name of the Context.
+ * Immutable. The resource name of the Context.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java
index a2fcedf4efd6..724199797a2a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java
@@ -49,7 +49,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\032\037google/api/field_behavior.proto\032\031googl"
+ "e/api/resource.proto\032\034google/protobuf/st"
+ "ruct.proto\032\037google/protobuf/timestamp.pr"
- + "oto\"\334\004\n\007Context\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014d"
+ + "oto\"\334\004\n\007Context\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\022\024\n\014d"
+ "isplay_name\030\002 \001(\t\022\014\n\004etag\030\010 \001(\t\022D\n\006label"
+ "s\030\t \003(\01324.google.cloud.aiplatform.v1beta"
+ "1.Context.LabelsEntry\0225\n\013create_time\030\n \001"
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CountTokensRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CountTokensRequest.java
new file mode 100644
index 000000000000..365bc753df72
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CountTokensRequest.java
@@ -0,0 +1,1205 @@
+/*
+ * Copyright 2023 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/prediction_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Request message for
+ * [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.CountTokensRequest}
+ */
+public final class CountTokensRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CountTokensRequest)
+ CountTokensRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CountTokensRequest.newBuilder() to construct.
+ private CountTokensRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CountTokensRequest() {
+ endpoint_ = "";
+ instances_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CountTokensRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.PredictionServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.PredictionServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.CountTokensRequest.class,
+ com.google.cloud.aiplatform.v1beta1.CountTokensRequest.Builder.class);
+ }
+
+ public static final int ENDPOINT_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object endpoint_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The endpoint.
+ */
+ @java.lang.Override
+ public java.lang.String getEndpoint() {
+ java.lang.Object ref = endpoint_;
+ 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();
+ endpoint_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for endpoint.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEndpointBytes() {
+ java.lang.Object ref = endpoint_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endpoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int INSTANCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.protobuf.ValueOrBuilder> getInstancesOrBuilderList() {
+ return instances_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getInstancesCount() {
+ return instances_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.Value getInstances(int index) {
+ return instances_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.ValueOrBuilder getInstancesOrBuilder(int index) {
+ return instances_.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(endpoint_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_);
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ output.writeMessage(2, instances_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_);
+ }
+ for (int i = 0; i < instances_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instances_.get(i));
+ }
+ size += getUnknownFields().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.CountTokensRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.CountTokensRequest other =
+ (com.google.cloud.aiplatform.v1beta1.CountTokensRequest) obj;
+
+ if (!getEndpoint().equals(other.getEndpoint())) return false;
+ if (!getInstancesList().equals(other.getInstancesList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + ENDPOINT_FIELD_NUMBER;
+ hash = (53 * hash) + getEndpoint().hashCode();
+ if (getInstancesCount() > 0) {
+ hash = (37 * hash) + INSTANCES_FIELD_NUMBER;
+ hash = (53 * hash) + getInstancesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensRequest 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.CountTokensRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensRequest 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.CountTokensRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensRequest 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.CountTokensRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensRequest 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.CountTokensRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensRequest 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.CountTokensRequest 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.CountTokensRequest 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.CountTokensRequest 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
+ * [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.CountTokensRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The endpoint.
+ */
+ public java.lang.String getEndpoint() {
+ java.lang.Object ref = endpoint_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ endpoint_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for endpoint.
+ */
+ public com.google.protobuf.ByteString getEndpointBytes() {
+ java.lang.Object ref = endpoint_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ endpoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The endpoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndpoint(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endpoint_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEndpoint() {
+ endpoint_ = getDefaultInstance().getEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for endpoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ endpoint_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getInstancesCount() {
+ if (instancesBuilder_ == null) {
+ return instances_.size();
+ } else {
+ return instancesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.Value getInstances(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(int index, com.google.protobuf.Value value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.set(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setInstances(int index, com.google.protobuf.Value.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(com.google.protobuf.Value value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(int index, com.google.protobuf.Value value) {
+ if (instancesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureInstancesIsMutable();
+ instances_.add(index, value);
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(com.google.protobuf.Value.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addInstances(int index, com.google.protobuf.Value.Builder builderForValue) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ instancesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllInstances(java.lang.Iterable extends com.google.protobuf.Value> values) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_);
+ onChanged();
+ } else {
+ instancesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearInstances() {
+ if (instancesBuilder_ == null) {
+ instances_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ instancesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeInstances(int index) {
+ if (instancesBuilder_ == null) {
+ ensureInstancesIsMutable();
+ instances_.remove(index);
+ onChanged();
+ } else {
+ instancesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.Value.Builder getInstancesBuilder(int index) {
+ return getInstancesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.ValueOrBuilder getInstancesOrBuilder(int index) {
+ if (instancesBuilder_ == null) {
+ return instances_.get(index);
+ } else {
+ return instancesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List extends com.google.protobuf.ValueOrBuilder>
+ getInstancesOrBuilderList() {
+ if (instancesBuilder_ != null) {
+ return instancesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(instances_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.Value.Builder addInstancesBuilder() {
+ return getInstancesFieldBuilder().addBuilder(com.google.protobuf.Value.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.Value.Builder addInstancesBuilder(int index) {
+ return getInstancesFieldBuilder()
+ .addBuilder(index, com.google.protobuf.Value.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The endpoint.
+ */
+ java.lang.String getEndpoint();
+ /**
+ *
+ *
+ *
+ * Required. The name of the Endpoint requested to perform token counting.
+ * Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}`
+ *
+ *
+ *
+ * string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for endpoint.
+ */
+ com.google.protobuf.ByteString getEndpointBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.protobuf.Value getInstances(int index);
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getInstancesCount();
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List extends com.google.protobuf.ValueOrBuilder> getInstancesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Required. The instances that are the input to token counting call.
+ * Schema is identical to the prediction schema of the underlying model.
+ *
+ *
+ * repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.protobuf.ValueOrBuilder getInstancesOrBuilder(int index);
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CountTokensResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CountTokensResponse.java
new file mode 100644
index 000000000000..ff28c5d341a8
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CountTokensResponse.java
@@ -0,0 +1,634 @@
+/*
+ * Copyright 2023 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/prediction_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Response message for
+ * [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.CountTokensResponse}
+ */
+public final class CountTokensResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CountTokensResponse)
+ CountTokensResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CountTokensResponse.newBuilder() to construct.
+ private CountTokensResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CountTokensResponse() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CountTokensResponse();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.PredictionServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.PredictionServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.CountTokensResponse.class,
+ com.google.cloud.aiplatform.v1beta1.CountTokensResponse.Builder.class);
+ }
+
+ public static final int TOTAL_TOKENS_FIELD_NUMBER = 1;
+ private int totalTokens_ = 0;
+ /**
+ *
+ *
+ *
+ * The total number of tokens counted across all instances from the request.
+ *
+ *
+ * int32 total_tokens = 1;
+ *
+ * @return The totalTokens.
+ */
+ @java.lang.Override
+ public int getTotalTokens() {
+ return totalTokens_;
+ }
+
+ public static final int TOTAL_BILLABLE_CHARACTERS_FIELD_NUMBER = 2;
+ private int totalBillableCharacters_ = 0;
+ /**
+ *
+ *
+ *
+ * The total number of billable characters counted across all instances from
+ * the request.
+ *
+ *
+ * int32 total_billable_characters = 2;
+ *
+ * @return The totalBillableCharacters.
+ */
+ @java.lang.Override
+ public int getTotalBillableCharacters() {
+ return totalBillableCharacters_;
+ }
+
+ 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 (totalTokens_ != 0) {
+ output.writeInt32(1, totalTokens_);
+ }
+ if (totalBillableCharacters_ != 0) {
+ output.writeInt32(2, totalBillableCharacters_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (totalTokens_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, totalTokens_);
+ }
+ if (totalBillableCharacters_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalBillableCharacters_);
+ }
+ size += getUnknownFields().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.CountTokensResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.CountTokensResponse other =
+ (com.google.cloud.aiplatform.v1beta1.CountTokensResponse) obj;
+
+ if (getTotalTokens() != other.getTotalTokens()) return false;
+ if (getTotalBillableCharacters() != other.getTotalBillableCharacters()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TOTAL_TOKENS_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalTokens();
+ hash = (37 * hash) + TOTAL_BILLABLE_CHARACTERS_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalBillableCharacters();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse 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.CountTokensResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse 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.CountTokensResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse 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.CountTokensResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse 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.CountTokensResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse 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.CountTokensResponse 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.CountTokensResponse 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.CountTokensResponse 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
+ * [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.CountTokensResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The total number of tokens counted across all instances from the request.
+ *
+ *
+ * int32 total_tokens = 1;
+ *
+ * @return The totalTokens.
+ */
+ @java.lang.Override
+ public int getTotalTokens() {
+ return totalTokens_;
+ }
+ /**
+ *
+ *
+ *
+ * The total number of tokens counted across all instances from the request.
+ *
+ *
+ * int32 total_tokens = 1;
+ *
+ * @param value The totalTokens to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotalTokens(int value) {
+
+ totalTokens_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The total number of tokens counted across all instances from the request.
+ *
+ *
+ * int32 total_tokens = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTotalTokens() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ totalTokens_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int totalBillableCharacters_;
+ /**
+ *
+ *
+ *
+ * The total number of billable characters counted across all instances from
+ * the request.
+ *
+ *
+ * int32 total_billable_characters = 2;
+ *
+ * @return The totalBillableCharacters.
+ */
+ @java.lang.Override
+ public int getTotalBillableCharacters() {
+ return totalBillableCharacters_;
+ }
+ /**
+ *
+ *
+ *
+ * The total number of billable characters counted across all instances from
+ * the request.
+ *
+ *
+ * int32 total_billable_characters = 2;
+ *
+ * @param value The totalBillableCharacters to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotalBillableCharacters(int value) {
+
+ totalBillableCharacters_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The total number of billable characters counted across all instances from
+ * the request.
+ *
+ *
+ * int32 total_billable_characters = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTotalBillableCharacters() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ totalBillableCharacters_ = 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.CountTokensResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CountTokensResponse)
+ private static final com.google.cloud.aiplatform.v1beta1.CountTokensResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.CountTokensResponse();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CountTokensResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The total number of tokens counted across all instances from the request.
+ *
+ *
+ * int32 total_tokens = 1;
+ *
+ * @return The totalTokens.
+ */
+ int getTotalTokens();
+
+ /**
+ *
+ *
+ *
+ * The total number of billable characters counted across all instances from
+ * the request.
+ *
+ *
+ * int32 total_billable_characters = 2;
+ *
+ * @return The totalBillableCharacters.
+ */
+ int getTotalBillableCharacters();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateDatasetVersionOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateDatasetVersionOperationMetadata.java
new file mode 100644
index 000000000000..ec8fcc7c5511
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateDatasetVersionOperationMetadata.java
@@ -0,0 +1,737 @@
+/*
+ * Copyright 2023 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/dataset_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata}
+ */
+public final class CreateDatasetVersionOperationMetadata
+ extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata)
+ CreateDatasetVersionOperationMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CreateDatasetVersionOperationMetadata.newBuilder() to construct.
+ private CreateDatasetVersionOperationMetadata(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CreateDatasetVersionOperationMetadata() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateDatasetVersionOperationMetadata();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata.class,
+ com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata.Builder
+ .class);
+ }
+
+ public static final int GENERIC_METADATA_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata genericMetadata_;
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasGenericMetadata() {
+ return genericMetadata_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+
+ 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 (genericMetadata_ != null) {
+ output.writeMessage(1, getGenericMetadata());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (genericMetadata_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata());
+ }
+ size += getUnknownFields().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.CreateDatasetVersionOperationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata other =
+ (com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata) obj;
+
+ if (hasGenericMetadata() != other.hasGenericMetadata()) return false;
+ if (hasGenericMetadata()) {
+ if (!getGenericMetadata().equals(other.getGenericMetadata())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasGenericMetadata()) {
+ hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGenericMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata
+ 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.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata 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.CreateDatasetVersionOperationMetadata 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;
+ }
+ /**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() {
+ if (genericMetadataBuilder_ == null) {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ } else {
+ return genericMetadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ genericMetadata_ = value;
+ } else {
+ genericMetadataBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder builderForValue) {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadata_ = builderForValue.build();
+ } else {
+ genericMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder mergeGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata
+ .getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
+ } else {
+ genericMetadata_ = value;
+ }
+ } else {
+ genericMetadataBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder clearGenericMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
+ genericMetadataBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder
+ getGenericMetadataBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getGenericMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ if (genericMetadataBuilder_ != null) {
+ return genericMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>
+ getGenericMetadataFieldBuilder() {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>(
+ getGenericMetadata(), getParentForChildren(), isClean());
+ genericMetadata_ = null;
+ }
+ return genericMetadataBuilder_;
+ }
+
+ @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.CreateDatasetVersionOperationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata)
+ private static final com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ boolean hasGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java
index d1e5589ac99c..8dbd3e926d16 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java
@@ -138,16 +138,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "executor_image_uri\030\001 \001(\tB\004\342A\001\002\022\032\n\014packag"
+ "e_uris\030\002 \003(\tB\004\342A\001\002\022\033\n\rpython_module\030\003 \001("
+ "\tB\004\342A\001\002\022\014\n\004args\030\004 \003(\t\0224\n\003env\030\005 \003(\0132\'.goo"
- + "gle.cloud.aiplatform.v1beta1.EnvVar\"_\n\nS"
+ + "gle.cloud.aiplatform.v1beta1.EnvVar\"~\n\nS"
+ "cheduling\022*\n\007timeout\030\001 \001(\0132\031.google.prot"
+ "obuf.Duration\022%\n\035restart_job_on_worker_r"
- + "estart\030\003 \001(\010B\345\001\n#com.google.cloud.aiplat"
- + "form.v1beta1B\016CustomJobProtoP\001ZCcloud.go"
- + "ogle.com/go/aiplatform/apiv1beta1/aiplat"
- + "formpb;aiplatformpb\252\002\037Google.Cloud.AIPla"
- + "tform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\"
- + "V1beta1\352\002\"Google::Cloud::AIPlatform::V1b"
- + "eta1b\006proto3"
+ + "estart\030\003 \001(\010\022\035\n\017disable_retries\030\005 \001(\010B\004\342"
+ + "A\001\001B\345\001\n#com.google.cloud.aiplatform.v1be"
+ + "ta1B\016CustomJobProtoP\001ZCcloud.google.com/"
+ + "go/aiplatform/apiv1beta1/aiplatformpb;ai"
+ + "platformpb\252\002\037Google.Cloud.AIPlatform.V1B"
+ + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002"
+ + "\"Google::Cloud::AIPlatform::V1beta1b\006pro"
+ + "to3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -258,7 +259,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_Scheduling_descriptor,
new java.lang.String[] {
- "Timeout", "RestartJobOnWorkerRestart",
+ "Timeout", "RestartJobOnWorkerRestart", "DisableRetries",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java
index feb3af14ce23..1c292f0f0608 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java
@@ -79,6 +79,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_ExportDataOperationMetadata_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_ExportDataOperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -190,140 +198,146 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \003(\t\"\220\001\n\033ExportDataOperationMetadata\022S\n\020"
+ "generic_metadata\030\001 \001(\01329.google.cloud.ai"
+ "platform.v1beta1.GenericOperationMetadat"
- + "a\022\034\n\024gcs_output_directory\030\002 \001(\t\"\312\001\n\024List"
- + "DataItemsRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A"
- + "#\n!aiplatform.googleapis.com/Dataset\022\016\n\006"
- + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
- + "token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google."
- + "protobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\"o\n\025"
- + "ListDataItemsResponse\022=\n\ndata_items\030\001 \003("
- + "\0132).google.cloud.aiplatform.v1beta1.Data"
- + "Item\022\027\n\017next_page_token\030\002 \001(\t\"\343\004\n\026Search"
- + "DataItemsRequest\022\034\n\022order_by_data_item\030\014"
- + " \001(\tH\000\022h\n\023order_by_annotation\030\r \001(\0132I.go"
- + "ogle.cloud.aiplatform.v1beta1.SearchData"
- + "ItemsRequest.OrderByAnnotationH\000\022;\n\007data"
- + "set\030\001 \001(\tB*\342A\001\002\372A#\n!aiplatform.googleapi"
- + "s.com/Dataset\022@\n\013saved_query\030\002 \001(\tB+\030\001\372A"
- + "&\n$aiplatform.googleapis.com/SavedQuery\022"
- + "\031\n\021data_labeling_job\030\003 \001(\t\022\030\n\020data_item_"
- + "filter\030\004 \001(\t\022\036\n\022annotations_filter\030\005 \001(\t"
- + "B\002\030\001\022\032\n\022annotation_filters\030\013 \003(\t\022.\n\nfiel"
- + "d_mask\030\006 \001(\0132\032.google.protobuf.FieldMask"
- + "\022\031\n\021annotations_limit\030\007 \001(\005\022\021\n\tpage_size"
- + "\030\010 \001(\005\022\024\n\010order_by\030\t \001(\tB\002\030\001\022\022\n\npage_tok"
- + "en\030\n \001(\t\032@\n\021OrderByAnnotation\022\031\n\013saved_q"
- + "uery\030\001 \001(\tB\004\342A\001\002\022\020\n\010order_by\030\002 \001(\tB\007\n\005or"
- + "der\"z\n\027SearchDataItemsResponse\022F\n\017data_i"
- + "tem_views\030\001 \003(\0132-.google.cloud.aiplatfor"
- + "m.v1beta1.DataItemView\022\027\n\017next_page_toke"
- + "n\030\002 \001(\t\"\261\001\n\014DataItemView\022<\n\tdata_item\030\001 "
- + "\001(\0132).google.cloud.aiplatform.v1beta1.Da"
- + "taItem\022@\n\013annotations\030\002 \003(\0132+.google.clo"
- + "ud.aiplatform.v1beta1.Annotation\022!\n\031has_"
- + "truncated_annotations\030\003 \001(\010\"\315\001\n\027ListSave"
- + "dQueriesRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#"
- + "\n!aiplatform.googleapis.com/Dataset\022\016\n\006f"
- + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t"
- + "oken\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.p"
- + "rotobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\"w\n\030L"
- + "istSavedQueriesResponse\022B\n\rsaved_queries"
- + "\030\001 \003(\0132+.google.cloud.aiplatform.v1beta1"
- + ".SavedQuery\022\027\n\017next_page_token\030\002 \001(\t\"V\n\027"
- + "DeleteSavedQueryRequest\022;\n\004name\030\001 \001(\tB-\342"
- + "A\001\002\372A&\n$aiplatform.googleapis.com/SavedQ"
- + "uery\"\212\001\n\030GetAnnotationSpecRequest\022?\n\004nam"
- + "e\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatform.googleapis."
- + "com/AnnotationSpec\022-\n\tread_mask\030\002 \001(\0132\032."
- + "google.protobuf.FieldMask\"\315\001\n\026ListAnnota"
- + "tionsRequest\022;\n\006parent\030\001 \001(\tB+\342A\001\002\372A$\n\"a"
- + "iplatform.googleapis.com/DataItem\022\016\n\006fil"
- + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok"
- + "en\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.pro"
- + "tobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\"t\n\027Lis"
- + "tAnnotationsResponse\022@\n\013annotations\030\001 \003("
- + "\0132+.google.cloud.aiplatform.v1beta1.Anno"
- + "tation\022\027\n\017next_page_token\030\002 \001(\t2\377\026\n\016Data"
- + "setService\022\346\001\n\rCreateDataset\0225.google.cl"
- + "oud.aiplatform.v1beta1.CreateDatasetRequ"
- + "est\032\035.google.longrunning.Operation\"\177\312A)\n"
- + "\007Dataset\022\036CreateDatasetOperationMetadata"
- + "\332A\016parent,dataset\202\323\344\223\002<\"1/v1beta1/{paren"
- + "t=projects/*/locations/*}/datasets:\007data"
- + "set\022\254\001\n\nGetDataset\0222.google.cloud.aiplat"
- + "form.v1beta1.GetDatasetRequest\032(.google."
- + "cloud.aiplatform.v1beta1.Dataset\"@\332A\004nam"
- + "e\202\323\344\223\0023\0221/v1beta1/{name=projects/*/locat"
- + "ions/*/datasets/*}\022\322\001\n\rUpdateDataset\0225.g"
- + "oogle.cloud.aiplatform.v1beta1.UpdateDat"
- + "asetRequest\032(.google.cloud.aiplatform.v1"
- + "beta1.Dataset\"`\332A\023dataset,update_mask\202\323\344"
- + "\223\002D29/v1beta1/{dataset.name=projects/*/l"
- + "ocations/*/datasets/*}:\007dataset\022\277\001\n\014List"
- + "Datasets\0224.google.cloud.aiplatform.v1bet"
- + "a1.ListDatasetsRequest\0325.google.cloud.ai"
- + "platform.v1beta1.ListDatasetsResponse\"B\332"
- + "A\006parent\202\323\344\223\0023\0221/v1beta1/{parent=project"
- + "s/*/locations/*}/datasets\022\332\001\n\rDeleteData"
- + "set\0225.google.cloud.aiplatform.v1beta1.De"
- + "leteDatasetRequest\032\035.google.longrunning."
- + "Operation\"s\312A0\n\025google.protobuf.Empty\022\027D"
- + "eleteOperationMetadata\332A\004name\202\323\344\223\0023*1/v1"
- + "beta1/{name=projects/*/locations/*/datas"
- + "ets/*}\022\357\001\n\nImportData\0222.google.cloud.aip"
- + "latform.v1beta1.ImportDataRequest\032\035.goog"
- + "le.longrunning.Operation\"\215\001\312A1\n\022ImportDa"
- + "taResponse\022\033ImportDataOperationMetadata\332"
- + "A\023name,import_configs\202\323\344\223\002=\"8/v1beta1/{n"
- + "ame=projects/*/locations/*/datasets/*}:i"
- + "mport:\001*\022\356\001\n\nExportData\0222.google.cloud.a"
- + "iplatform.v1beta1.ExportDataRequest\032\035.go"
- + "ogle.longrunning.Operation\"\214\001\312A1\n\022Export"
- + "DataResponse\022\033ExportDataOperationMetadat"
- + "a\332A\022name,export_config\202\323\344\223\002=\"8/v1beta1/{"
- + "name=projects/*/locations/*/datasets/*}:"
- + "export:\001*\022\316\001\n\rListDataItems\0225.google.clo"
- + "ud.aiplatform.v1beta1.ListDataItemsReque"
- + "st\0326.google.cloud.aiplatform.v1beta1.Lis"
- + "tDataItemsResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1"
- + "beta1/{parent=projects/*/locations/*/dat"
- + "asets/*}/dataItems\022\322\001\n\017SearchDataItems\0227"
- + ".google.cloud.aiplatform.v1beta1.SearchD"
- + "ataItemsRequest\0328.google.cloud.aiplatfor"
- + "m.v1beta1.SearchDataItemsResponse\"L\202\323\344\223\002"
- + "F\022D/v1beta1/{dataset=projects/*/location"
- + "s/*/datasets/*}:searchDataItems\022\332\001\n\020List"
- + "SavedQueries\0228.google.cloud.aiplatform.v"
- + "1beta1.ListSavedQueriesRequest\0329.google."
- + "cloud.aiplatform.v1beta1.ListSavedQuerie"
- + "sResponse\"Q\332A\006parent\202\323\344\223\002B\022@/v1beta1/{pa"
- + "rent=projects/*/locations/*/datasets/*}/"
- + "savedQueries\022\360\001\n\020DeleteSavedQuery\0228.goog"
- + "le.cloud.aiplatform.v1beta1.DeleteSavedQ"
- + "ueryRequest\032\035.google.longrunning.Operati"
- + "on\"\202\001\312A0\n\025google.protobuf.Empty\022\027DeleteO"
- + "perationMetadata\332A\004name\202\323\344\223\002B*@/v1beta1/"
- + "{name=projects/*/locations/*/datasets/*/"
- + "savedQueries/*}\022\323\001\n\021GetAnnotationSpec\0229."
- + "google.cloud.aiplatform.v1beta1.GetAnnot"
- + "ationSpecRequest\032/.google.cloud.aiplatfo"
- + "rm.v1beta1.AnnotationSpec\"R\332A\004name\202\323\344\223\002E"
- + "\022C/v1beta1/{name=projects/*/locations/*/"
- + "datasets/*/annotationSpecs/*}\022\342\001\n\017ListAn"
- + "notations\0227.google.cloud.aiplatform.v1be"
- + "ta1.ListAnnotationsRequest\0328.google.clou"
- + "d.aiplatform.v1beta1.ListAnnotationsResp"
- + "onse\"\\\332A\006parent\202\323\344\223\002M\022K/v1beta1/{parent="
- + "projects/*/locations/*/datasets/*/dataIt"
- + "ems/*}/annotations\032M\312A\031aiplatform.google"
- + "apis.com\322A.https://www.googleapis.com/au"
- + "th/cloud-platformB\352\001\n#com.google.cloud.a"
- + "iplatform.v1beta1B\023DatasetServiceProtoP\001"
- + "ZCcloud.google.com/go/aiplatform/apiv1be"
- + "ta1/aiplatformpb;aiplatformpb\252\002\037Google.C"
- + "loud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\A"
- + "IPlatform\\V1beta1\352\002\"Google::Cloud::AIPla"
- + "tform::V1beta1b\006proto3"
+ + "a\022\034\n\024gcs_output_directory\030\002 \001(\t\"|\n%Creat"
+ + "eDatasetVersionOperationMetadata\022S\n\020gene"
+ + "ric_metadata\030\001 \001(\01329.google.cloud.aiplat"
+ + "form.v1beta1.GenericOperationMetadata\"}\n"
+ + "&RestoreDatasetVersionOperationMetadata\022"
+ + "S\n\020generic_metadata\030\001 \001(\01329.google.cloud"
+ + ".aiplatform.v1beta1.GenericOperationMeta"
+ + "data\"\312\001\n\024ListDataItemsRequest\022:\n\006parent\030"
+ + "\001 \001(\tB*\342A\001\002\372A#\n!aiplatform.googleapis.co"
+ + "m/Dataset\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
+ + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 "
+ + "\001(\0132\032.google.protobuf.FieldMask\022\020\n\010order"
+ + "_by\030\006 \001(\t\"o\n\025ListDataItemsResponse\022=\n\nda"
+ + "ta_items\030\001 \003(\0132).google.cloud.aiplatform"
+ + ".v1beta1.DataItem\022\027\n\017next_page_token\030\002 \001"
+ + "(\t\"\343\004\n\026SearchDataItemsRequest\022\034\n\022order_b"
+ + "y_data_item\030\014 \001(\tH\000\022h\n\023order_by_annotati"
+ + "on\030\r \001(\0132I.google.cloud.aiplatform.v1bet"
+ + "a1.SearchDataItemsRequest.OrderByAnnotat"
+ + "ionH\000\022;\n\007dataset\030\001 \001(\tB*\342A\001\002\372A#\n!aiplatf"
+ + "orm.googleapis.com/Dataset\022@\n\013saved_quer"
+ + "y\030\002 \001(\tB+\030\001\372A&\n$aiplatform.googleapis.co"
+ + "m/SavedQuery\022\031\n\021data_labeling_job\030\003 \001(\t\022"
+ + "\030\n\020data_item_filter\030\004 \001(\t\022\036\n\022annotations"
+ + "_filter\030\005 \001(\tB\002\030\001\022\032\n\022annotation_filters\030"
+ + "\013 \003(\t\022.\n\nfield_mask\030\006 \001(\0132\032.google.proto"
+ + "buf.FieldMask\022\031\n\021annotations_limit\030\007 \001(\005"
+ + "\022\021\n\tpage_size\030\010 \001(\005\022\024\n\010order_by\030\t \001(\tB\002\030"
+ + "\001\022\022\n\npage_token\030\n \001(\t\032@\n\021OrderByAnnotati"
+ + "on\022\031\n\013saved_query\030\001 \001(\tB\004\342A\001\002\022\020\n\010order_b"
+ + "y\030\002 \001(\tB\007\n\005order\"z\n\027SearchDataItemsRespo"
+ + "nse\022F\n\017data_item_views\030\001 \003(\0132-.google.cl"
+ + "oud.aiplatform.v1beta1.DataItemView\022\027\n\017n"
+ + "ext_page_token\030\002 \001(\t\"\261\001\n\014DataItemView\022<\n"
+ + "\tdata_item\030\001 \001(\0132).google.cloud.aiplatfo"
+ + "rm.v1beta1.DataItem\022@\n\013annotations\030\002 \003(\013"
+ + "2+.google.cloud.aiplatform.v1beta1.Annot"
+ + "ation\022!\n\031has_truncated_annotations\030\003 \001(\010"
+ + "\"\315\001\n\027ListSavedQueriesRequest\022:\n\006parent\030\001"
+ + " \001(\tB*\342A\001\002\372A#\n!aiplatform.googleapis.com"
+ + "/Dataset\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 "
+ + "\001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001"
+ + "(\0132\032.google.protobuf.FieldMask\022\020\n\010order_"
+ + "by\030\006 \001(\t\"w\n\030ListSavedQueriesResponse\022B\n\r"
+ + "saved_queries\030\001 \003(\0132+.google.cloud.aipla"
+ + "tform.v1beta1.SavedQuery\022\027\n\017next_page_to"
+ + "ken\030\002 \001(\t\"V\n\027DeleteSavedQueryRequest\022;\n\004"
+ + "name\030\001 \001(\tB-\342A\001\002\372A&\n$aiplatform.googleap"
+ + "is.com/SavedQuery\"\212\001\n\030GetAnnotationSpecR"
+ + "equest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(aiplatfor"
+ + "m.googleapis.com/AnnotationSpec\022-\n\tread_"
+ + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\315"
+ + "\001\n\026ListAnnotationsRequest\022;\n\006parent\030\001 \001("
+ + "\tB+\342A\001\002\372A$\n\"aiplatform.googleapis.com/Da"
+ + "taItem\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001("
+ + "\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\013"
+ + "2\032.google.protobuf.FieldMask\022\020\n\010order_by"
+ + "\030\006 \001(\t\"t\n\027ListAnnotationsResponse\022@\n\013ann"
+ + "otations\030\001 \003(\0132+.google.cloud.aiplatform"
+ + ".v1beta1.Annotation\022\027\n\017next_page_token\030\002"
+ + " \001(\t2\377\026\n\016DatasetService\022\346\001\n\rCreateDatase"
+ + "t\0225.google.cloud.aiplatform.v1beta1.Crea"
+ + "teDatasetRequest\032\035.google.longrunning.Op"
+ + "eration\"\177\312A)\n\007Dataset\022\036CreateDatasetOper"
+ + "ationMetadata\332A\016parent,dataset\202\323\344\223\002<\"1/v"
+ + "1beta1/{parent=projects/*/locations/*}/d"
+ + "atasets:\007dataset\022\254\001\n\nGetDataset\0222.google"
+ + ".cloud.aiplatform.v1beta1.GetDatasetRequ"
+ + "est\032(.google.cloud.aiplatform.v1beta1.Da"
+ + "taset\"@\332A\004name\202\323\344\223\0023\0221/v1beta1/{name=pro"
+ + "jects/*/locations/*/datasets/*}\022\322\001\n\rUpda"
+ + "teDataset\0225.google.cloud.aiplatform.v1be"
+ + "ta1.UpdateDatasetRequest\032(.google.cloud."
+ + "aiplatform.v1beta1.Dataset\"`\332A\023dataset,u"
+ + "pdate_mask\202\323\344\223\002D29/v1beta1/{dataset.name"
+ + "=projects/*/locations/*/datasets/*}:\007dat"
+ + "aset\022\277\001\n\014ListDatasets\0224.google.cloud.aip"
+ + "latform.v1beta1.ListDatasetsRequest\0325.go"
+ + "ogle.cloud.aiplatform.v1beta1.ListDatase"
+ + "tsResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1beta1/{p"
+ + "arent=projects/*/locations/*}/datasets\022\332"
+ + "\001\n\rDeleteDataset\0225.google.cloud.aiplatfo"
+ + "rm.v1beta1.DeleteDatasetRequest\032\035.google"
+ + ".longrunning.Operation\"s\312A0\n\025google.prot"
+ + "obuf.Empty\022\027DeleteOperationMetadata\332A\004na"
+ + "me\202\323\344\223\0023*1/v1beta1/{name=projects/*/loca"
+ + "tions/*/datasets/*}\022\357\001\n\nImportData\0222.goo"
+ + "gle.cloud.aiplatform.v1beta1.ImportDataR"
+ + "equest\032\035.google.longrunning.Operation\"\215\001"
+ + "\312A1\n\022ImportDataResponse\022\033ImportDataOpera"
+ + "tionMetadata\332A\023name,import_configs\202\323\344\223\002="
+ + "\"8/v1beta1/{name=projects/*/locations/*/"
+ + "datasets/*}:import:\001*\022\356\001\n\nExportData\0222.g"
+ + "oogle.cloud.aiplatform.v1beta1.ExportDat"
+ + "aRequest\032\035.google.longrunning.Operation\""
+ + "\214\001\312A1\n\022ExportDataResponse\022\033ExportDataOpe"
+ + "rationMetadata\332A\022name,export_config\202\323\344\223\002"
+ + "=\"8/v1beta1/{name=projects/*/locations/*"
+ + "/datasets/*}:export:\001*\022\316\001\n\rListDataItems"
+ + "\0225.google.cloud.aiplatform.v1beta1.ListD"
+ + "ataItemsRequest\0326.google.cloud.aiplatfor"
+ + "m.v1beta1.ListDataItemsResponse\"N\332A\006pare"
+ + "nt\202\323\344\223\002?\022=/v1beta1/{parent=projects/*/lo"
+ + "cations/*/datasets/*}/dataItems\022\322\001\n\017Sear"
+ + "chDataItems\0227.google.cloud.aiplatform.v1"
+ + "beta1.SearchDataItemsRequest\0328.google.cl"
+ + "oud.aiplatform.v1beta1.SearchDataItemsRe"
+ + "sponse\"L\202\323\344\223\002F\022D/v1beta1/{dataset=projec"
+ + "ts/*/locations/*/datasets/*}:searchDataI"
+ + "tems\022\332\001\n\020ListSavedQueries\0228.google.cloud"
+ + ".aiplatform.v1beta1.ListSavedQueriesRequ"
+ + "est\0329.google.cloud.aiplatform.v1beta1.Li"
+ + "stSavedQueriesResponse\"Q\332A\006parent\202\323\344\223\002B\022"
+ + "@/v1beta1/{parent=projects/*/locations/*"
+ + "/datasets/*}/savedQueries\022\360\001\n\020DeleteSave"
+ + "dQuery\0228.google.cloud.aiplatform.v1beta1"
+ + ".DeleteSavedQueryRequest\032\035.google.longru"
+ + "nning.Operation\"\202\001\312A0\n\025google.protobuf.E"
+ + "mpty\022\027DeleteOperationMetadata\332A\004name\202\323\344\223"
+ + "\002B*@/v1beta1/{name=projects/*/locations/"
+ + "*/datasets/*/savedQueries/*}\022\323\001\n\021GetAnno"
+ + "tationSpec\0229.google.cloud.aiplatform.v1b"
+ + "eta1.GetAnnotationSpecRequest\032/.google.c"
+ + "loud.aiplatform.v1beta1.AnnotationSpec\"R"
+ + "\332A\004name\202\323\344\223\002E\022C/v1beta1/{name=projects/*"
+ + "/locations/*/datasets/*/annotationSpecs/"
+ + "*}\022\342\001\n\017ListAnnotations\0227.google.cloud.ai"
+ + "platform.v1beta1.ListAnnotationsRequest\032"
+ + "8.google.cloud.aiplatform.v1beta1.ListAn"
+ + "notationsResponse\"\\\332A\006parent\202\323\344\223\002M\022K/v1b"
+ + "eta1/{parent=projects/*/locations/*/data"
+ + "sets/*/dataItems/*}/annotations\032M\312A\031aipl"
+ + "atform.googleapis.com\322A.https://www.goog"
+ + "leapis.com/auth/cloud-platformB\352\001\n#com.g"
+ + "oogle.cloud.aiplatform.v1beta1B\023DatasetS"
+ + "erviceProtoP\001ZCcloud.google.com/go/aipla"
+ + "tform/apiv1beta1/aiplatformpb;aiplatform"
+ + "pb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037G"
+ + "oogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google:"
+ + ":Cloud::AIPlatform::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -445,8 +459,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"GenericMetadata", "GcsOutputDirectory",
});
- internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsRequest_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_descriptor =
getDescriptor().getMessageTypes().get(13);
+ internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_CreateDatasetVersionOperationMetadata_descriptor,
+ new java.lang.String[] {
+ "GenericMetadata",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(14);
+ internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_descriptor,
+ new java.lang.String[] {
+ "GenericMetadata",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsRequest_descriptor,
@@ -454,7 +484,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "ReadMask", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsResponse_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ListDataItemsResponse_descriptor,
@@ -462,7 +492,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataItems", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1beta1_SearchDataItemsRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_aiplatform_v1beta1_SearchDataItemsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_SearchDataItemsRequest_descriptor,
@@ -493,7 +523,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"SavedQuery", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1beta1_SearchDataItemsResponse_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_aiplatform_v1beta1_SearchDataItemsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_SearchDataItemsResponse_descriptor,
@@ -501,7 +531,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataItemViews", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1beta1_DataItemView_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_cloud_aiplatform_v1beta1_DataItemView_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_DataItemView_descriptor,
@@ -509,7 +539,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DataItem", "Annotations", "HasTruncatedAnnotations",
});
internal_static_google_cloud_aiplatform_v1beta1_ListSavedQueriesRequest_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_cloud_aiplatform_v1beta1_ListSavedQueriesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ListSavedQueriesRequest_descriptor,
@@ -517,7 +547,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "ReadMask", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1beta1_ListSavedQueriesResponse_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_cloud_aiplatform_v1beta1_ListSavedQueriesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ListSavedQueriesResponse_descriptor,
@@ -525,7 +555,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"SavedQueries", "NextPageToken",
});
internal_static_google_cloud_aiplatform_v1beta1_DeleteSavedQueryRequest_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_cloud_aiplatform_v1beta1_DeleteSavedQueryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_DeleteSavedQueryRequest_descriptor,
@@ -533,7 +563,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_aiplatform_v1beta1_GetAnnotationSpecRequest_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_cloud_aiplatform_v1beta1_GetAnnotationSpecRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_GetAnnotationSpecRequest_descriptor,
@@ -541,7 +571,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "ReadMask",
});
internal_static_google_cloud_aiplatform_v1beta1_ListAnnotationsRequest_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_cloud_aiplatform_v1beta1_ListAnnotationsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ListAnnotationsRequest_descriptor,
@@ -549,7 +579,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken", "ReadMask", "OrderBy",
});
internal_static_google_cloud_aiplatform_v1beta1_ListAnnotationsResponse_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_cloud_aiplatform_v1beta1_ListAnnotationsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ListAnnotationsResponse_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePool.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePool.java
index cb09c5d1124f..886139dac311 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePool.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePool.java
@@ -71,12 +71,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -96,12 +96,12 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -642,12 +642,12 @@ public Builder mergeFrom(
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -666,12 +666,12 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -690,12 +690,12 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -713,12 +713,12 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return This builder for chaining.
*/
@@ -732,12 +732,12 @@ public Builder clearName() {
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolOrBuilder.java
index a01a01b614a3..d4df42e8a991 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolOrBuilder.java
@@ -27,12 +27,12 @@ public interface DeploymentResourcePoolOrBuilder
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -41,12 +41,12 @@ public interface DeploymentResourcePoolOrBuilder
*
*
*
- * Output only. The resource name of the DeploymentResourcePool.
+ * Immutable. The resource name of the DeploymentResourcePool.
* Format:
* `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java
index 46fadbb1fc77..6e80d5d43bb3 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java
@@ -47,7 +47,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oogle/cloud/aiplatform/v1beta1/machine_r"
+ "esources.proto\032\037google/protobuf/timestam"
+ "p.proto\"\320\002\n\026DeploymentResourcePool\022\022\n\004na"
- + "me\030\001 \001(\tB\004\342A\001\003\022V\n\023dedicated_resources\030\002 "
+ + "me\030\001 \001(\tB\004\342A\001\005\022V\n\023dedicated_resources\030\002 "
+ "\001(\01323.google.cloud.aiplatform.v1beta1.De"
+ "dicatedResourcesB\004\342A\001\002\0225\n\013create_time\030\004 "
+ "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003:\222\001"
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequest.java
index 071e6d4c7226..d6c6e35349b9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequest.java
@@ -332,6 +332,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -370,6 +371,7 @@ public java.lang.String getOrderBy() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1407,6 +1409,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1444,6 +1447,7 @@ public java.lang.String getOrderBy() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1481,6 +1485,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1517,6 +1522,7 @@ public Builder setOrderBy(java.lang.String value) {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -1549,6 +1555,7 @@ public Builder clearOrderBy() {
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequestOrBuilder.java
index 6b4d99f8c053..d4e7eb1380bd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequestOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListSchedulesRequestOrBuilder.java
@@ -202,6 +202,7 @@ public interface ListSchedulesRequestOrBuilder
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
@@ -229,6 +230,7 @@ public interface ListSchedulesRequestOrBuilder
* descending order.
*
* Supported fields:
+ *
* * `create_time`
* * `start_time`
* * `end_time`
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java
index bffa3940c9bc..114a44d10f40 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java
@@ -51,6 +51,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_DiskSpec_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_DiskSpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_NfsMount_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -92,17 +96,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "unt\030\003 \001(\005B\004\342A\001\005\"0\n\021ResourcesConsumed\022\033\n\r"
+ "replica_hours\030\001 \001(\001B\004\342A\001\003\"=\n\010DiskSpec\022\026\n"
+ "\016boot_disk_type\030\001 \001(\t\022\031\n\021boot_disk_size_"
- + "gb\030\002 \001(\005\"O\n\010NfsMount\022\024\n\006server\030\001 \001(\tB\004\342A"
- + "\001\002\022\022\n\004path\030\002 \001(\tB\004\342A\001\002\022\031\n\013mount_point\030\003 "
- + "\001(\tB\004\342A\001\002\"B\n\025AutoscalingMetricSpec\022\031\n\013me"
- + "tric_name\030\001 \001(\tB\004\342A\001\002\022\016\n\006target\030\002 \001(\005B\354\001"
- + "\n#com.google.cloud.aiplatform.v1beta1B\025M"
- + "achineResourcesProtoP\001ZCcloud.google.com"
- + "/go/aiplatform/apiv1beta1/aiplatformpb;a"
- + "iplatformpb\252\002\037Google.Cloud.AIPlatform.V1"
- + "Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352"
- + "\002\"Google::Cloud::AIPlatform::V1beta1b\006pr"
- + "oto3"
+ + "gb\030\002 \001(\005\"=\n\022PersistentDiskSpec\022\021\n\tdisk_t"
+ + "ype\030\001 \001(\t\022\024\n\014disk_size_gb\030\002 \001(\003\"O\n\010NfsMo"
+ + "unt\022\024\n\006server\030\001 \001(\tB\004\342A\001\002\022\022\n\004path\030\002 \001(\tB"
+ + "\004\342A\001\002\022\031\n\013mount_point\030\003 \001(\tB\004\342A\001\002\"B\n\025Auto"
+ + "scalingMetricSpec\022\031\n\013metric_name\030\001 \001(\tB\004"
+ + "\342A\001\002\022\016\n\006target\030\002 \001(\005B\354\001\n#com.google.clou"
+ + "d.aiplatform.v1beta1B\025MachineResourcesPr"
+ + "otoP\001ZCcloud.google.com/go/aiplatform/ap"
+ + "iv1beta1/aiplatformpb;aiplatformpb\252\002\037Goo"
+ + "gle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cl"
+ + "oud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::"
+ + "AIPlatform::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -159,8 +164,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"BootDiskType", "BootDiskSizeGb",
});
- internal_static_google_cloud_aiplatform_v1beta1_NfsMount_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_descriptor =
getDescriptor().getMessageTypes().get(6);
+ internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_descriptor,
+ new java.lang.String[] {
+ "DiskType", "DiskSizeGb",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_NfsMount_descriptor =
+ getDescriptor().getMessageTypes().get(7);
internal_static_google_cloud_aiplatform_v1beta1_NfsMount_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_NfsMount_descriptor,
@@ -168,7 +181,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Server", "Path", "MountPoint",
});
internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentDiskSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentDiskSpec.java
new file mode 100644
index 000000000000..1efb1546c569
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentDiskSpec.java
@@ -0,0 +1,748 @@
+/*
+ * Copyright 2023 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/machine_resources.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Represents the spec of [persistent
+ * disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.PersistentDiskSpec}
+ */
+public final class PersistentDiskSpec extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.PersistentDiskSpec)
+ PersistentDiskSpecOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use PersistentDiskSpec.newBuilder() to construct.
+ private PersistentDiskSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private PersistentDiskSpec() {
+ diskType_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PersistentDiskSpec();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.MachineResourcesProto
+ .internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.MachineResourcesProto
+ .internal_static_google_cloud_aiplatform_v1beta1_PersistentDiskSpec_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.class,
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec.Builder.class);
+ }
+
+ public static final int DISK_TYPE_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object diskType_ = "";
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return The diskType.
+ */
+ @java.lang.Override
+ public java.lang.String getDiskType() {
+ java.lang.Object ref = diskType_;
+ 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();
+ diskType_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return The bytes for diskType.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDiskTypeBytes() {
+ java.lang.Object ref = diskType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ diskType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DISK_SIZE_GB_FIELD_NUMBER = 2;
+ private long diskSizeGb_ = 0L;
+ /**
+ *
+ *
+ *
+ * Size in GB of the disk (default is 100GB).
+ *
+ *
+ * int64 disk_size_gb = 2;
+ *
+ * @return The diskSizeGb.
+ */
+ @java.lang.Override
+ public long getDiskSizeGb() {
+ return diskSizeGb_;
+ }
+
+ 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(diskType_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, diskType_);
+ }
+ if (diskSizeGb_ != 0L) {
+ output.writeInt64(2, diskSizeGb_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, diskType_);
+ }
+ if (diskSizeGb_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, diskSizeGb_);
+ }
+ size += getUnknownFields().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.PersistentDiskSpec)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec other =
+ (com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec) obj;
+
+ if (!getDiskType().equals(other.getDiskType())) return false;
+ if (getDiskSizeGb() != other.getDiskSizeGb()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + DISK_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getDiskType().hashCode();
+ hash = (37 * hash) + DISK_SIZE_GB_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskSizeGb());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec 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.PersistentDiskSpec parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec 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.PersistentDiskSpec parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec 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.PersistentDiskSpec parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec 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.PersistentDiskSpec parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec 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.PersistentDiskSpec 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.PersistentDiskSpec 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.PersistentDiskSpec 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;
+ }
+ /**
+ *
+ *
+ *
+ * Represents the spec of [persistent
+ * disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.PersistentDiskSpec}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return The diskType.
+ */
+ public java.lang.String getDiskType() {
+ java.lang.Object ref = diskType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ diskType_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return The bytes for diskType.
+ */
+ public com.google.protobuf.ByteString getDiskTypeBytes() {
+ java.lang.Object ref = diskType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ diskType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @param value The diskType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDiskType(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ diskType_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDiskType() {
+ diskType_ = getDefaultInstance().getDiskType();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @param value The bytes for diskType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ diskType_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private long diskSizeGb_;
+ /**
+ *
+ *
+ *
+ * Size in GB of the disk (default is 100GB).
+ *
+ *
+ * int64 disk_size_gb = 2;
+ *
+ * @return The diskSizeGb.
+ */
+ @java.lang.Override
+ public long getDiskSizeGb() {
+ return diskSizeGb_;
+ }
+ /**
+ *
+ *
+ *
+ * Size in GB of the disk (default is 100GB).
+ *
+ *
+ * int64 disk_size_gb = 2;
+ *
+ * @param value The diskSizeGb to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDiskSizeGb(long value) {
+
+ diskSizeGb_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Size in GB of the disk (default is 100GB).
+ *
+ *
+ * int64 disk_size_gb = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDiskSizeGb() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ diskSizeGb_ = 0L;
+ 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.PersistentDiskSpec)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.PersistentDiskSpec)
+ private static final com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PersistentDiskSpec getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return The diskType.
+ */
+ java.lang.String getDiskType();
+ /**
+ *
+ *
+ *
+ * Type of the disk (default is "pd-standard").
+ * Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
+ * "pd-standard" (Persistent Disk Hard Disk Drive)
+ * "pd-balanced" (Balanced Persistent Disk)
+ * "pd-extreme" (Extreme Persistent Disk)
+ *
+ *
+ * string disk_type = 1;
+ *
+ * @return The bytes for diskType.
+ */
+ com.google.protobuf.ByteString getDiskTypeBytes();
+
+ /**
+ *
+ *
+ *
+ * Size in GB of the disk (default is 100GB).
+ *
+ *
+ * int64 disk_size_gb = 2;
+ *
+ * @return The diskSizeGb.
+ */
+ long getDiskSizeGb();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceProto.java
index 117364e8b1f1..64b5d1ae7e4a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceProto.java
@@ -51,6 +51,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_RaySpec_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_RaySpec_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_RaySpec_ResourcePoolImagesEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_RaySpec_ResourcePoolImagesEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_ResourceRuntime_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -108,38 +112,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020\005:\205\001\352A\201\001\n,aiplatform.googleapis.com/Per"
+ "sistentResource\022Qprojects/{project}/loca"
+ "tions/{location}/persistentResources/{pe"
- + "rsistent_resource}\"\224\004\n\014ResourcePool\022\020\n\002i"
- + "d\030\001 \001(\tB\004\342A\001\001\022I\n\014machine_spec\030\002 \001(\0132,.go"
+ + "rsistent_resource}\"\360\003\n\014ResourcePool\022\020\n\002i"
+ + "d\030\001 \001(\tB\004\342A\001\005\022I\n\014machine_spec\030\002 \001(\0132,.go"
+ "ogle.cloud.aiplatform.v1beta1.MachineSpe"
+ "cB\005\342A\002\002\005\022 \n\rreplica_count\030\003 \001(\003B\004\342A\001\001H\000\210"
+ "\001\001\022B\n\tdisk_spec\030\004 \001(\0132).google.cloud.aip"
- + "latform.v1beta1.DiskSpecB\004\342A\001\001\022\"\n\022idle_r"
- + "eplica_count\030\005 \001(\003B\006\030\001\342A\001\003\022 \n\022used_repli"
- + "ca_count\030\006 \001(\003B\004\342A\001\003\022]\n\020autoscaling_spec"
- + "\030\007 \001(\0132=.google.cloud.aiplatform.v1beta1"
- + ".ResourcePool.AutoscalingSpecB\004\342A\001\001\032\211\001\n\017"
- + "AutoscalingSpec\022$\n\021min_replica_count\030\001 \001"
- + "(\003B\004\342A\001\001H\000\210\001\001\022$\n\021max_replica_count\030\002 \001(\003"
- + "B\004\342A\001\001H\001\210\001\001B\024\n\022_min_replica_countB\024\n\022_ma"
- + "x_replica_countB\020\n\016_replica_count\"\260\001\n\023Re"
- + "sourceRuntimeSpec\022W\n\024service_account_spe"
- + "c\030\002 \001(\01323.google.cloud.aiplatform.v1beta"
- + "1.ServiceAccountSpecB\004\342A\001\001\022@\n\010ray_spec\030\001"
- + " \001(\0132(.google.cloud.aiplatform.v1beta1.R"
- + "aySpecB\004\342A\001\001\"\"\n\007RaySpec\022\027\n\timage_uri\030\001 \001"
- + "(\tB\004\342A\001\001\"\241\001\n\017ResourceRuntime\022[\n\013access_u"
- + "ris\030\001 \003(\0132@.google.cloud.aiplatform.v1be"
- + "ta1.ResourceRuntime.AccessUrisEntryB\004\342A\001"
- + "\003\0321\n\017AccessUrisEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
- + "ue\030\002 \001(\t:\0028\001\"`\n\022ServiceAccountSpec\022+\n\035en"
- + "able_custom_service_account\030\001 \001(\010B\004\342A\001\002\022"
- + "\035\n\017service_account\030\002 \001(\tB\004\342A\001\001B\356\001\n#com.g"
- + "oogle.cloud.aiplatform.v1beta1B\027Persiste"
- + "ntResourceProtoP\001ZCcloud.google.com/go/a"
- + "iplatform/apiv1beta1/aiplatformpb;aiplat"
- + "formpb\252\002\037Google.Cloud.AIPlatform.V1Beta1"
- + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo"
- + "gle::Cloud::AIPlatform::V1beta1b\006proto3"
+ + "latform.v1beta1.DiskSpecB\004\342A\001\001\022 \n\022used_r"
+ + "eplica_count\030\006 \001(\003B\004\342A\001\003\022]\n\020autoscaling_"
+ + "spec\030\007 \001(\0132=.google.cloud.aiplatform.v1b"
+ + "eta1.ResourcePool.AutoscalingSpecB\004\342A\001\001\032"
+ + "\211\001\n\017AutoscalingSpec\022$\n\021min_replica_count"
+ + "\030\001 \001(\003B\004\342A\001\001H\000\210\001\001\022$\n\021max_replica_count\030\002"
+ + " \001(\003B\004\342A\001\001H\001\210\001\001B\024\n\022_min_replica_countB\024\n"
+ + "\022_max_replica_countB\020\n\016_replica_count\"\260\001"
+ + "\n\023ResourceRuntimeSpec\022W\n\024service_account"
+ + "_spec\030\002 \001(\01323.google.cloud.aiplatform.v1"
+ + "beta1.ServiceAccountSpecB\004\342A\001\001\022@\n\010ray_sp"
+ + "ec\030\001 \001(\0132(.google.cloud.aiplatform.v1bet"
+ + "a1.RaySpecB\004\342A\001\001\"\355\001\n\007RaySpec\022\027\n\timage_ur"
+ + "i\030\001 \001(\tB\004\342A\001\001\022d\n\024resource_pool_images\030\006 "
+ + "\003(\0132@.google.cloud.aiplatform.v1beta1.Ra"
+ + "ySpec.ResourcePoolImagesEntryB\004\342A\001\001\022(\n\032h"
+ + "ead_node_resource_pool_id\030\007 \001(\tB\004\342A\001\001\0329\n"
+ + "\027ResourcePoolImagesEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
+ + "\005value\030\002 \001(\t:\0028\001\"\241\001\n\017ResourceRuntime\022[\n\013"
+ + "access_uris\030\001 \003(\0132@.google.cloud.aiplatf"
+ + "orm.v1beta1.ResourceRuntime.AccessUrisEn"
+ + "tryB\004\342A\001\003\0321\n\017AccessUrisEntry\022\013\n\003key\030\001 \001("
+ + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\022ServiceAccountSp"
+ + "ec\022+\n\035enable_custom_service_account\030\001 \001("
+ + "\010B\004\342A\001\002\022\035\n\017service_account\030\002 \001(\tB\004\342A\001\001B\356"
+ + "\001\n#com.google.cloud.aiplatform.v1beta1B\027"
+ + "PersistentResourceProtoP\001ZCcloud.google."
+ + "com/go/aiplatform/apiv1beta1/aiplatformp"
+ + "b;aiplatformpb\252\002\037Google.Cloud.AIPlatform"
+ + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet"
+ + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b"
+ + "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -193,7 +202,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MachineSpec",
"ReplicaCount",
"DiskSpec",
- "IdleReplicaCount",
"UsedReplicaCount",
"AutoscalingSpec",
"ReplicaCount",
@@ -222,7 +230,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_RaySpec_descriptor,
new java.lang.String[] {
- "ImageUri",
+ "ImageUri", "ResourcePoolImages", "HeadNodeResourcePoolId",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_RaySpec_ResourcePoolImagesEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_RaySpec_descriptor.getNestedTypes().get(0);
+ internal_static_google_cloud_aiplatform_v1beta1_RaySpec_ResourcePoolImagesEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_RaySpec_ResourcePoolImagesEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
});
internal_static_google_cloud_aiplatform_v1beta1_ResourceRuntime_descriptor =
getDescriptor().getMessageTypes().get(4);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceProto.java
index df97c8dd9bc6..cdb7373e2817 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PersistentResourceServiceProto.java
@@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_CreatePersistentResourceOperationMetadata_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_CreatePersistentResourceOperationMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceOperationMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceOperationMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_GetPersistentResourceRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -51,6 +55,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_DeletePersistentResourceRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_DeletePersistentResourceRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceRequest_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -69,64 +77,81 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/v1beta1/operation.proto\0329google/cloud/a"
+ "iplatform/v1beta1/persistent_resource.pr"
+ "oto\032#google/longrunning/operations.proto"
- + "\032\033google/protobuf/empty.proto\"\333\001\n\037Create"
- + "PersistentResourceRequest\022:\n\006parent\030\001 \001("
- + "\tB*\342A\001\002\372A#\n!locations.googleapis.com/Loc"
- + "ation\022V\n\023persistent_resource\030\002 \001(\01323.goo"
- + "gle.cloud.aiplatform.v1beta1.PersistentR"
- + "esourceB\004\342A\001\002\022$\n\026persistent_resource_id\030"
- + "\003 \001(\tB\004\342A\001\002\"\200\001\n)CreatePersistentResource"
- + "OperationMetadata\022S\n\020generic_metadata\030\001 "
- + "\001(\01329.google.cloud.aiplatform.v1beta1.Ge"
- + "nericOperationMetadata\"c\n\034GetPersistentR"
- + "esourceRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n,a"
- + "iplatform.googleapis.com/PersistentResou"
- + "rce\"\217\001\n\036ListPersistentResourcesRequest\022:"
- + "\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googl"
- + "eapis.com/Location\022\027\n\tpage_size\030\003 \001(\005B\004\342"
- + "A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342A\001\001\"\215\001\n\037ListPe"
- + "rsistentResourcesResponse\022Q\n\024persistent_"
- + "resources\030\001 \003(\01323.google.cloud.aiplatfor"
- + "m.v1beta1.PersistentResource\022\027\n\017next_pag"
- + "e_token\030\002 \001(\t\"f\n\037DeletePersistentResourc"
- + "eRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n,aiplatf"
- + "orm.googleapis.com/PersistentResource2\201\t"
- + "\n\031PersistentResourceService\022\315\002\n\030CreatePe"
- + "rsistentResource\022@.google.cloud.aiplatfo"
- + "rm.v1beta1.CreatePersistentResourceReque"
- + "st\032\035.google.longrunning.Operation\"\317\001\312A?\n"
- + "\022PersistentResource\022)CreatePersistentRes"
- + "ourceOperationMetadata\332A1parent,persiste"
- + "nt_resource,persistent_resource_id\202\323\344\223\002S"
- + "\""
- + "\022\022<"
- + "/v1beta1/{parent=projects/*/locations/*}"
- + "/persistentResources\022\373\001\n\030DeletePersisten"
- + "tResource\022@.google.cloud.aiplatform.v1be"
- + "ta1.DeletePersistentResourceRequest\032\035.go"
- + "ogle.longrunning.Operation\"~\312A0\n\025google."
- + "protobuf.Empty\022\027DeleteOperationMetadata\332"
- + "A\004name\202\323\344\223\002>*\022\022*\n\010main"
- + "_job\030\001 \001(\tB,\342A\001\003\372A%\n#aiplatform.googleap"
- + "is.com/CustomJob\022K\n\025pre_caching_check_jo"
- + "b\030\002 \001(\tB,\342A\001\003\372A%\n#aiplatform.googleapis."
- + "com/CustomJob\022\036\n\020failed_main_jobs\030\003 \003(\tB"
- + "\004\342A\001\003\022+\n\035failed_pre_caching_check_jobs\030\004"
- + " \003(\tB\004\342A\001\003\032g\n\017CustomJobDetail\0229\n\003job\030\001 \001"
- + "(\tB,\342A\001\003\372A%\n#aiplatform.googleapis.com/C"
- + "ustomJob\022\031\n\013failed_jobs\030\003 \003(\tB\004\342A\001\003B\t\n\007d"
- + "etailsB\260\002\n#com.google.cloud.aiplatform.v"
- + "1beta1B\010PipelineP\001ZCcloud.google.com/go/"
- + "aiplatform/apiv1beta1/aiplatformpb;aipla"
- + "tformpb\252\002\037Google.Cloud.AIPlatform.V1Beta"
- + "1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Go"
- + "ogle::Cloud::AIPlatform::V1beta1\352AN\n\036com"
- + "pute.googleapis.com/Network\022,projects/{p"
- + "roject}/global/networks/{network}b\006proto"
- + "3"
+ + "1beta1.PipelineTemplateMetadataB\004\342A\001\003\022\033\n"
+ + "\rschedule_name\030\026 \001(\tB\004\342A\001\003\032\227\006\n\rRuntimeCo"
+ + "nfig\022b\n\nparameters\030\001 \003(\0132J.google.cloud."
+ + "aiplatform.v1beta1.PipelineJob.RuntimeCo"
+ + "nfig.ParametersEntryB\002\030\001\022\"\n\024gcs_output_d"
+ + "irectory\030\002 \001(\tB\004\342A\001\002\022i\n\020parameter_values"
+ + "\030\003 \003(\0132O.google.cloud.aiplatform.v1beta1"
+ + ".PipelineJob.RuntimeConfig.ParameterValu"
+ + "esEntry\022N\n\016failure_policy\030\004 \001(\01626.google"
+ + ".cloud.aiplatform.v1beta1.PipelineFailur"
+ + "ePolicy\022g\n\017input_artifacts\030\005 \003(\0132N.googl"
+ + "e.cloud.aiplatform.v1beta1.PipelineJob.R"
+ + "untimeConfig.InputArtifactsEntry\032.\n\rInpu"
+ + "tArtifact\022\025\n\013artifact_id\030\001 \001(\tH\000B\006\n\004kind"
+ + "\032Y\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\0225\n\005valu"
+ + "e\030\002 \001(\0132&.google.cloud.aiplatform.v1beta"
+ + "1.Value:\0028\001\032N\n\024ParameterValuesEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobu"
+ + "f.Value:\0028\001\032\177\n\023InputArtifactsEntry\022\013\n\003ke"
+ + "y\030\001 \001(\t\022W\n\005value\030\002 \001(\0132H.google.cloud.ai"
+ + "platform.v1beta1.PipelineJob.RuntimeConf"
+ + "ig.InputArtifact:\0028\001\032-\n\013LabelsEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%aiplat"
+ + "form.googleapis.com/PipelineJob\022Cproject"
+ + "s/{project}/locations/{location}/pipelin"
+ + "eJobs/{pipeline_job}\"+\n\030PipelineTemplate"
+ + "Metadata\022\017\n\007version\030\003 \001(\t\"\374\001\n\021PipelineJo"
+ + "bDetail\022H\n\020pipeline_context\030\001 \001(\0132(.goog"
+ + "le.cloud.aiplatform.v1beta1.ContextB\004\342A\001"
+ + "\003\022L\n\024pipeline_run_context\030\002 \001(\0132(.google"
+ + ".cloud.aiplatform.v1beta1.ContextB\004\342A\001\003\022"
+ + "O\n\014task_details\030\003 \003(\01323.google.cloud.aip"
+ + "latform.v1beta1.PipelineTaskDetailB\004\342A\001\003"
+ + "\"\340\013\n\022PipelineTaskDetail\022\025\n\007task_id\030\001 \001(\003"
+ + "B\004\342A\001\003\022\034\n\016parent_task_id\030\014 \001(\003B\004\342A\001\003\022\027\n\t"
+ + "task_name\030\002 \001(\tB\004\342A\001\003\0225\n\013create_time\030\003 \001"
+ + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0224\n\n"
+ + "start_time\030\004 \001(\0132\032.google.protobuf.Times"
+ + "tampB\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.google.pr"
+ + "otobuf.TimestampB\004\342A\001\003\022Z\n\017executor_detai"
+ + "l\030\006 \001(\0132;.google.cloud.aiplatform.v1beta"
+ + "1.PipelineTaskExecutorDetailB\004\342A\001\003\022N\n\005st"
+ + "ate\030\007 \001(\01629.google.cloud.aiplatform.v1be"
+ + "ta1.PipelineTaskDetail.StateB\004\342A\001\003\022C\n\tex"
+ + "ecution\030\010 \001(\0132*.google.cloud.aiplatform."
+ + "v1beta1.ExecutionB\004\342A\001\003\022\'\n\005error\030\t \001(\0132\022"
+ + ".google.rpc.StatusB\004\342A\001\003\022j\n\024pipeline_tas"
+ + "k_status\030\r \003(\0132F.google.cloud.aiplatform"
+ + ".v1beta1.PipelineTaskDetail.PipelineTask"
+ + "StatusB\004\342A\001\003\022U\n\006inputs\030\n \003(\0132?.google.cl"
+ + "oud.aiplatform.v1beta1.PipelineTaskDetai"
+ + "l.InputsEntryB\004\342A\001\003\022W\n\007outputs\030\013 \003(\0132@.g"
+ + "oogle.cloud.aiplatform.v1beta1.PipelineT"
+ + "askDetail.OutputsEntryB\004\342A\001\003\032\304\001\n\022Pipelin"
+ + "eTaskStatus\0225\n\013update_time\030\001 \001(\0132\032.googl"
+ + "e.protobuf.TimestampB\004\342A\001\003\022N\n\005state\030\002 \001("
+ + "\01629.google.cloud.aiplatform.v1beta1.Pipe"
+ + "lineTaskDetail.StateB\004\342A\001\003\022\'\n\005error\030\003 \001("
+ + "\0132\022.google.rpc.StatusB\004\342A\001\003\032R\n\014ArtifactL"
+ + "ist\022B\n\tartifacts\030\001 \003(\0132).google.cloud.ai"
+ + "platform.v1beta1.ArtifactB\004\342A\001\003\032o\n\013Input"
+ + "sEntry\022\013\n\003key\030\001 \001(\t\022O\n\005value\030\002 \001(\0132@.goo"
+ + "gle.cloud.aiplatform.v1beta1.PipelineTas"
+ + "kDetail.ArtifactList:\0028\001\032p\n\014OutputsEntry"
+ + "\022\013\n\003key\030\001 \001(\t\022O\n\005value\030\002 \001(\0132@.google.cl"
+ + "oud.aiplatform.v1beta1.PipelineTaskDetai"
+ + "l.ArtifactList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UN"
+ + "SPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n"
+ + "\tSUCCEEDED\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANC"
+ + "ELLING\020\005\022\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007S"
+ + "KIPPED\020\010\022\021\n\rNOT_TRIGGERED\020\t\"\335\004\n\032Pipeline"
+ + "TaskExecutorDetail\022m\n\020container_detail\030\001"
+ + " \001(\0132K.google.cloud.aiplatform.v1beta1.P"
+ + "ipelineTaskExecutorDetail.ContainerDetai"
+ + "lB\004\342A\001\003H\000\022n\n\021custom_job_detail\030\002 \001(\0132K.g"
+ + "oogle.cloud.aiplatform.v1beta1.PipelineT"
+ + "askExecutorDetail.CustomJobDetailB\004\342A\001\003H"
+ + "\000\032\353\001\n\017ContainerDetail\022>\n\010main_job\030\001 \001(\tB"
+ + ",\342A\001\003\372A%\n#aiplatform.googleapis.com/Cust"
+ + "omJob\022K\n\025pre_caching_check_job\030\002 \001(\tB,\342A"
+ + "\001\003\372A%\n#aiplatform.googleapis.com/CustomJ"
+ + "ob\022\036\n\020failed_main_jobs\030\003 \003(\tB\004\342A\001\003\022+\n\035fa"
+ + "iled_pre_caching_check_jobs\030\004 \003(\tB\004\342A\001\003\032"
+ + "g\n\017CustomJobDetail\0229\n\003job\030\001 \001(\tB,\342A\001\003\372A%"
+ + "\n#aiplatform.googleapis.com/CustomJob\022\031\n"
+ + "\013failed_jobs\030\003 \003(\tB\004\342A\001\003B\t\n\007detailsB\260\002\n#"
+ + "com.google.cloud.aiplatform.v1beta1B\010Pip"
+ + "elineP\001ZCcloud.google.com/go/aiplatform/"
+ + "apiv1beta1/aiplatformpb;aiplatformpb\252\002\037G"
+ + "oogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\"
+ + "Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cloud"
+ + "::AIPlatform::V1beta1\352AN\n\036compute.google"
+ + "apis.com/Network\022,projects/{project}/glo"
+ + "bal/networks/{network}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -278,6 +278,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ReservedIpRanges",
"TemplateUri",
"TemplateMetadata",
+ "ScheduleName",
});
internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_descriptor
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java
index d6f0b4c3e130..f1d624d9505e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java
@@ -45,6 +45,7 @@ private PipelineJob() {
network_ = "";
reservedIpRanges_ = com.google.protobuf.LazyStringArrayList.emptyList();
templateUri_ = "";
+ scheduleName_ = "";
}
@java.lang.Override
@@ -4523,6 +4524,59 @@ public com.google.cloud.aiplatform.v1beta1.PipelineTemplateMetadata getTemplateM
: templateMetadata_;
}
+ public static final int SCHEDULE_NAME_FIELD_NUMBER = 22;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object scheduleName_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The scheduleName.
+ */
+ @java.lang.Override
+ public java.lang.String getScheduleName() {
+ java.lang.Object ref = scheduleName_;
+ 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();
+ scheduleName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for scheduleName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getScheduleNameBytes() {
+ java.lang.Object ref = scheduleName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ scheduleName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -4589,6 +4643,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (templateMetadata_ != null) {
output.writeMessage(20, getTemplateMetadata());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 22, scheduleName_);
+ }
for (int i = 0; i < reservedIpRanges_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 25, reservedIpRanges_.getRaw(i));
}
@@ -4661,6 +4718,9 @@ public int getSerializedSize() {
if (templateMetadata_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getTemplateMetadata());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, scheduleName_);
+ }
{
int dataSize = 0;
for (int i = 0; i < reservedIpRanges_.size(); i++) {
@@ -4733,6 +4793,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasTemplateMetadata()) {
if (!getTemplateMetadata().equals(other.getTemplateMetadata())) return false;
}
+ if (!getScheduleName().equals(other.getScheduleName())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -4804,6 +4865,8 @@ public int hashCode() {
hash = (37 * hash) + TEMPLATE_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getTemplateMetadata().hashCode();
}
+ hash = (37 * hash) + SCHEDULE_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getScheduleName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -5021,6 +5084,7 @@ public Builder clear() {
templateMetadataBuilder_.dispose();
templateMetadataBuilder_ = null;
}
+ scheduleName_ = "";
return this;
}
@@ -5117,6 +5181,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.PipelineJob resul
result.templateMetadata_ =
templateMetadataBuilder_ == null ? templateMetadata_ : templateMetadataBuilder_.build();
}
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.scheduleName_ = scheduleName_;
+ }
}
@java.lang.Override
@@ -5235,6 +5302,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.PipelineJob other)
if (other.hasTemplateMetadata()) {
mergeTemplateMetadata(other.getTemplateMetadata());
}
+ if (!other.getScheduleName().isEmpty()) {
+ scheduleName_ = other.scheduleName_;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -5370,6 +5442,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00020000;
break;
} // case 162
+ case 178:
+ {
+ scheduleName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00040000;
+ break;
+ } // case 178
case 202:
{
java.lang.String s = input.readStringRequireUtf8();
@@ -8569,6 +8647,117 @@ public Builder clearTemplateMetadata() {
return templateMetadataBuilder_;
}
+ private java.lang.Object scheduleName_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The scheduleName.
+ */
+ public java.lang.String getScheduleName() {
+ java.lang.Object ref = scheduleName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ scheduleName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for scheduleName.
+ */
+ public com.google.protobuf.ByteString getScheduleNameBytes() {
+ java.lang.Object ref = scheduleName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ scheduleName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The scheduleName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScheduleName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ scheduleName_ = value;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearScheduleName() {
+ scheduleName_ = getDefaultInstance().getScheduleName();
+ bitField0_ = (bitField0_ & ~0x00040000);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for scheduleName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setScheduleNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ scheduleName_ = value;
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJobOrBuilder.java
index 69f645715496..4099793e2a28 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJobOrBuilder.java
@@ -794,4 +794,31 @@ java.lang.String getLabelsOrDefault(
*/
com.google.cloud.aiplatform.v1beta1.PipelineTemplateMetadataOrBuilder
getTemplateMetadataOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The scheduleName.
+ */
+ java.lang.String getScheduleName();
+ /**
+ *
+ *
+ *
+ * Output only. The schedule resource name.
+ * Only returned if the Pipeline is created by Schedule API.
+ *
+ *
+ * string schedule_name = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for scheduleName.
+ */
+ com.google.protobuf.ByteString getScheduleNameBytes();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java
index e93edc201865..667b114408e2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java
@@ -55,6 +55,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_ExplainResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_ExplainResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -107,44 +115,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "planations\030\001 \003(\0132,.google.cloud.aiplatfo"
+ "rm.v1beta1.Explanation\022\031\n\021deployed_model"
+ "_id\030\002 \001(\t\022+\n\013predictions\030\003 \003(\0132\026.google."
- + "protobuf.Value2\325\t\n\021PredictionService\022\250\002\n"
- + "\007Predict\022/.google.cloud.aiplatform.v1bet"
- + "a1.PredictRequest\0320.google.cloud.aiplatf"
- + "orm.v1beta1.PredictResponse\"\271\001\332A\035endpoin"
- + "t,instances,parameters\202\323\344\223\002\222\001\">/v1beta1/"
- + "{endpoint=projects/*/locations/*/endpoin"
- + "ts/*}:predict:\001*ZM\"H/v1beta1/{endpoint=p"
- + "rojects/*/locations/*/publishers/*/model"
- + "s/*}:predict:\001*\022\215\002\n\nRawPredict\0222.google."
- + "cloud.aiplatform.v1beta1.RawPredictReque"
- + "st\032\024.google.api.HttpBody\"\264\001\332A\022endpoint,h"
- + "ttp_body\202\323\344\223\002\230\001\"A/v1beta1/{endpoint=proj"
- + "ects/*/locations/*/endpoints/*}:rawPredi"
- + "ct:\001*ZP\"K/v1beta1/{endpoint=projects/*/l"
- + "ocations/*/publishers/*/models/*}:rawPre"
- + "dict:\001*\022\311\002\n\026ServerStreamingPredict\0228.goo"
- + "gle.cloud.aiplatform.v1beta1.StreamingPr"
- + "edictRequest\0329.google.cloud.aiplatform.v"
- + "1beta1.StreamingPredictResponse\"\267\001\202\323\344\223\002\260"
- + "\001\"M/v1beta1/{endpoint=projects/*/locatio"
- + "ns/*/endpoints/*}:serverStreamingPredict"
- + ":\001*Z\\\"W/v1beta1/{endpoint=projects/*/loc"
- + "ations/*/publishers/*/models/*}:serverSt"
- + "reamingPredict:\001*0\001\022\351\001\n\007Explain\022/.google"
- + ".cloud.aiplatform.v1beta1.ExplainRequest"
- + "\0320.google.cloud.aiplatform.v1beta1.Expla"
- + "inResponse\"{\332A/endpoint,instances,parame"
- + "ters,deployed_model_id\202\323\344\223\002C\">/v1beta1/{"
- + "endpoint=projects/*/locations/*/endpoint"
- + "s/*}:explain:\001*\032M\312A\031aiplatform.googleapi"
- + "s.com\322A.https://www.googleapis.com/auth/"
- + "cloud-platformB\355\001\n#com.google.cloud.aipl"
- + "atform.v1beta1B\026PredictionServiceProtoP\001"
- + "ZCcloud.google.com/go/aiplatform/apiv1be"
- + "ta1/aiplatformpb;aiplatformpb\252\002\037Google.C"
- + "loud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\A"
- + "IPlatform\\V1beta1\352\002\"Google::Cloud::AIPla"
- + "tform::V1beta1b\006proto3"
+ + "protobuf.Value\"\204\001\n\022CountTokensRequest\022=\n"
+ + "\010endpoint\030\001 \001(\tB+\342A\001\002\372A$\n\"aiplatform.goo"
+ + "gleapis.com/Endpoint\022/\n\tinstances\030\002 \003(\0132"
+ + "\026.google.protobuf.ValueB\004\342A\001\002\"N\n\023CountTo"
+ + "kensResponse\022\024\n\014total_tokens\030\001 \001(\005\022!\n\031to"
+ + "tal_billable_characters\030\002 \001(\0052\211\014\n\021Predic"
+ + "tionService\022\250\002\n\007Predict\022/.google.cloud.a"
+ + "iplatform.v1beta1.PredictRequest\0320.googl"
+ + "e.cloud.aiplatform.v1beta1.PredictRespon"
+ + "se\"\271\001\332A\035endpoint,instances,parameters\202\323\344"
+ + "\223\002\222\001\">/v1beta1/{endpoint=projects/*/loca"
+ + "tions/*/endpoints/*}:predict:\001*ZM\"H/v1be"
+ + "ta1/{endpoint=projects/*/locations/*/pub"
+ + "lishers/*/models/*}:predict:\001*\022\215\002\n\nRawPr"
+ + "edict\0222.google.cloud.aiplatform.v1beta1."
+ + "RawPredictRequest\032\024.google.api.HttpBody\""
+ + "\264\001\332A\022endpoint,http_body\202\323\344\223\002\230\001\"A/v1beta1"
+ + "/{endpoint=projects/*/locations/*/endpoi"
+ + "nts/*}:rawPredict:\001*ZP\"K/v1beta1/{endpoi"
+ + "nt=projects/*/locations/*/publishers/*/m"
+ + "odels/*}:rawPredict:\001*\022\311\002\n\026ServerStreami"
+ + "ngPredict\0228.google.cloud.aiplatform.v1be"
+ + "ta1.StreamingPredictRequest\0329.google.clo"
+ + "ud.aiplatform.v1beta1.StreamingPredictRe"
+ + "sponse\"\267\001\202\323\344\223\002\260\001\"M/v1beta1/{endpoint=pro"
+ + "jects/*/locations/*/endpoints/*}:serverS"
+ + "treamingPredict:\001*Z\\\"W/v1beta1/{endpoint"
+ + "=projects/*/locations/*/publishers/*/mod"
+ + "els/*}:serverStreamingPredict:\001*0\001\022\351\001\n\007E"
+ + "xplain\022/.google.cloud.aiplatform.v1beta1"
+ + ".ExplainRequest\0320.google.cloud.aiplatfor"
+ + "m.v1beta1.ExplainResponse\"{\332A/endpoint,i"
+ + "nstances,parameters,deployed_model_id\202\323\344"
+ + "\223\002C\">/v1beta1/{endpoint=projects/*/locat"
+ + "ions/*/endpoints/*}:explain:\001*\022\261\002\n\013Count"
+ + "Tokens\0223.google.cloud.aiplatform.v1beta1"
+ + ".CountTokensRequest\0324.google.cloud.aipla"
+ + "tform.v1beta1.CountTokensResponse\"\266\001\332A\022e"
+ + "ndpoint,instances\202\323\344\223\002\232\001\"B/v1beta1/{endp"
+ + "oint=projects/*/locations/*/endpoints/*}"
+ + ":countTokens:\001*ZQ\"L/v1beta1/{endpoint=pr"
+ + "ojects/*/locations/*/publishers/*/models"
+ + "/*}:countTokens:\001*\032M\312A\031aiplatform.google"
+ + "apis.com\322A.https://www.googleapis.com/au"
+ + "th/cloud-platformB\355\001\n#com.google.cloud.a"
+ + "iplatform.v1beta1B\026PredictionServiceProt"
+ + "oP\001ZCcloud.google.com/go/aiplatform/apiv"
+ + "1beta1/aiplatformpb;aiplatformpb\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(
@@ -220,6 +241,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Explanations", "DeployedModelId", "Predictions",
});
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensRequest_descriptor,
+ new java.lang.String[] {
+ "Endpoint", "Instances",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_descriptor =
+ getDescriptor().getMessageTypes().get(8);
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_CountTokensResponse_descriptor,
+ new java.lang.String[] {
+ "TotalTokens", "TotalBillableCharacters",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModel.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModel.java
index aa72825da032..a60607ba77f9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModel.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModel.java
@@ -1576,6 +1576,1000 @@ public com.google.protobuf.Parser
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The displayName.
+ */
+ java.lang.String getDisplayName();
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for displayName.
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the reference field is set.
+ */
+ boolean hasReference();
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The reference.
+ */
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference getReference();
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReferenceOrBuilder
+ getReferenceOrBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The information about the parent of a model.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.PublisherModel.Parent}
+ */
+ public static final class Parent extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.PublisherModel.Parent)
+ ParentOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use Parent.newBuilder() to construct.
+ private Parent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private Parent() {
+ displayName_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Parent();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.PublisherModelProto
+ .internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.PublisherModelProto
+ .internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.class,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder.class);
+ }
+
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The displayName.
+ */
+ @java.lang.Override
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ 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();
+ displayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for displayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int REFERENCE_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference_;
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the reference field is set.
+ */
+ @java.lang.Override
+ public boolean hasReference() {
+ return reference_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The reference.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference getReference() {
+ return reference_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference
+ .getDefaultInstance()
+ : reference_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReferenceOrBuilder
+ getReferenceOrBuilder() {
+ return reference_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference
+ .getDefaultInstance()
+ : reference_;
+ }
+
+ 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(displayName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
+ }
+ if (reference_ != null) {
+ output.writeMessage(2, getReference());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
+ }
+ if (reference_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReference());
+ }
+ size += getUnknownFields().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.PublisherModel.Parent)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent other =
+ (com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent) obj;
+
+ if (!getDisplayName().equals(other.getDisplayName())) return false;
+ if (hasReference() != other.hasReference()) return false;
+ if (hasReference()) {
+ if (!getReference().equals(other.getReference())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) 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) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayName().hashCode();
+ if (hasReference()) {
+ hash = (37 * hash) + REFERENCE_FIELD_NUMBER;
+ hash = (53 * hash) + getReference().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent 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.PublisherModel.Parent parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent 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.PublisherModel.Parent parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent 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.PublisherModel.Parent parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent 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.PublisherModel.Parent parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent 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.PublisherModel.Parent 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.PublisherModel.Parent 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.PublisherModel.Parent 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 information about the parent of a model.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.PublisherModel.Parent}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The displayName.
+ */
+ public java.lang.String getDisplayName() {
+ java.lang.Object ref = displayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ displayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for displayName.
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes() {
+ java.lang.Object ref = displayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ displayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ displayName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisplayName() {
+ displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The display name of the parent. E.g., LaMDA, T5, Vision API,
+ * Natural Language API.
+ *
+ *
+ * string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for displayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ displayName_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReferenceOrBuilder>
+ referenceBuilder_;
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the reference field is set.
+ */
+ public boolean hasReference() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The reference.
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference getReference() {
+ if (referenceBuilder_ == null) {
+ return reference_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference
+ .getDefaultInstance()
+ : reference_;
+ } else {
+ return referenceBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setReference(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference value) {
+ if (referenceBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ reference_ = value;
+ } else {
+ referenceBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setReference(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.Builder
+ builderForValue) {
+ if (referenceBuilder_ == null) {
+ reference_ = builderForValue.build();
+ } else {
+ referenceBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeReference(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference value) {
+ if (referenceBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && reference_ != null
+ && reference_
+ != com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference
+ .getDefaultInstance()) {
+ getReferenceBuilder().mergeFrom(value);
+ } else {
+ reference_ = value;
+ }
+ } else {
+ referenceBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearReference() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ reference_ = null;
+ if (referenceBuilder_ != null) {
+ referenceBuilder_.dispose();
+ referenceBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.Builder
+ getReferenceBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getReferenceFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReferenceOrBuilder
+ getReferenceOrBuilder() {
+ if (referenceBuilder_ != null) {
+ return referenceBuilder_.getMessageOrBuilder();
+ } else {
+ return reference_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference
+ .getDefaultInstance()
+ : reference_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The Google Cloud resource name or the URI reference.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference reference = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReferenceOrBuilder>
+ getReferenceFieldBuilder() {
+ if (referenceBuilder_ == null) {
+ referenceBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReference.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ResourceReferenceOrBuilder>(
+ getReference(), getParentForChildren(), isClean());
+ reference_ = null;
+ }
+ return referenceBuilder_;
+ }
+
+ @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.PublisherModel.Parent)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.PublisherModel.Parent)
+ private static final com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Optional. Open in Generation AI Studio.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_generation_ai_studio = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder
+ getOpenGenerationAiStudioOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. Request for access.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the requestAccess field is set.
+ */
+ boolean hasRequestAccess();
+ /**
+ *
+ *
+ *
+ * Optional. Request for access.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The requestAccess.
+ */
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences
+ getRequestAccess();
/**
*
*
*
- * Optional. Open in Generation AI Studio.
+ * Optional. Request for access.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_generation_ai_studio = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferencesOrBuilder
- getOpenGenerationAiStudioOrBuilder();
+ getRequestAccessOrBuilder();
/**
*
*
*
- * Optional. Request for access.
+ * Optional. Open evaluation pipeline of the PublisherModel.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*
- * @return Whether the requestAccess field is set.
+ * @return Whether the openEvaluationPipeline field is set.
*/
- boolean hasRequestAccess();
+ boolean hasOpenEvaluationPipeline();
/**
*
*
*
- * Optional. Request for access.
+ * Optional. Open evaluation pipeline of the PublisherModel.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*
- * @return The requestAccess.
+ * @return The openEvaluationPipeline.
*/
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences
- getRequestAccess();
+ getOpenEvaluationPipeline();
/**
*
*
*
- * Optional. Request for access.
+ * Optional. Open evaluation pipeline of the PublisherModel.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferencesOrBuilder
- getRequestAccessOrBuilder();
+ getOpenEvaluationPipelineOrBuilder();
}
/**
*
@@ -8873,6 +9911,70 @@ public boolean hasRequestAccess() {
: requestAccess_;
}
+ public static final int OPEN_EVALUATION_PIPELINE_FIELD_NUMBER = 11;
+ private com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences
+ openEvaluationPipeline_;
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the openEvaluationPipeline field is set.
+ */
+ @java.lang.Override
+ public boolean hasOpenEvaluationPipeline() {
+ return openEvaluationPipeline_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The openEvaluationPipeline.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences
+ getOpenEvaluationPipeline() {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()
+ : openEvaluationPipeline_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder
+ getOpenEvaluationPipelineOrBuilder() {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()
+ : openEvaluationPipeline_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -8914,6 +10016,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (requestAccess_ != null) {
output.writeMessage(9, getRequestAccess());
}
+ if (openEvaluationPipeline_ != null) {
+ output.writeMessage(11, getOpenEvaluationPipeline());
+ }
getUnknownFields().writeTo(output);
}
@@ -8956,6 +10061,11 @@ public int getSerializedSize() {
if (requestAccess_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getRequestAccess());
}
+ if (openEvaluationPipeline_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 11, getOpenEvaluationPipeline());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -9009,6 +10119,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasRequestAccess()) {
if (!getRequestAccess().equals(other.getRequestAccess())) return false;
}
+ if (hasOpenEvaluationPipeline() != other.hasOpenEvaluationPipeline()) return false;
+ if (hasOpenEvaluationPipeline()) {
+ if (!getOpenEvaluationPipeline().equals(other.getOpenEvaluationPipeline())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -9056,6 +10170,10 @@ public int hashCode() {
hash = (37 * hash) + REQUEST_ACCESS_FIELD_NUMBER;
hash = (53 * hash) + getRequestAccess().hashCode();
}
+ if (hasOpenEvaluationPipeline()) {
+ hash = (37 * hash) + OPEN_EVALUATION_PIPELINE_FIELD_NUMBER;
+ hash = (53 * hash) + getOpenEvaluationPipeline().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -9245,6 +10363,11 @@ public Builder clear() {
requestAccessBuilder_.dispose();
requestAccessBuilder_ = null;
}
+ openEvaluationPipeline_ = null;
+ if (openEvaluationPipelineBuilder_ != null) {
+ openEvaluationPipelineBuilder_.dispose();
+ openEvaluationPipelineBuilder_ = null;
+ }
return this;
}
@@ -9325,6 +10448,12 @@ private void buildPartial0(
result.requestAccess_ =
requestAccessBuilder_ == null ? requestAccess_ : requestAccessBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.openEvaluationPipeline_ =
+ openEvaluationPipelineBuilder_ == null
+ ? openEvaluationPipeline_
+ : openEvaluationPipelineBuilder_.build();
+ }
}
@java.lang.Override
@@ -9404,6 +10533,9 @@ public Builder mergeFrom(
if (other.hasRequestAccess()) {
mergeRequestAccess(other.getRequestAccess());
}
+ if (other.hasOpenEvaluationPipeline()) {
+ mergeOpenEvaluationPipeline(other.getOpenEvaluationPipeline());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -9488,6 +10620,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 74
+ case 90:
+ {
+ input.readMessage(
+ getOpenEvaluationPipelineFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 90
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -11464,52 +12603,281 @@ public Builder clearRequestAccess() {
*
*
*
- * Optional. Request for access.
+ * Optional. Request for access.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.Builder
+ getRequestAccessBuilder() {
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return getRequestAccessFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Request for access.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder
+ getRequestAccessOrBuilder() {
+ if (requestAccessBuilder_ != null) {
+ return requestAccessBuilder_.getMessageOrBuilder();
+ } else {
+ return requestAccess_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()
+ : requestAccess_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Request for access.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder>
+ getRequestAccessFieldBuilder() {
+ if (requestAccessBuilder_ == null) {
+ requestAccessBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder>(
+ getRequestAccess(), getParentForChildren(), isClean());
+ requestAccess_ = null;
+ }
+ return requestAccessBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences
+ openEvaluationPipeline_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferencesOrBuilder>
+ openEvaluationPipelineBuilder_;
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the openEvaluationPipeline field is set.
+ */
+ public boolean hasOpenEvaluationPipeline() {
+ return ((bitField0_ & 0x00000200) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The openEvaluationPipeline.
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences
+ getOpenEvaluationPipeline() {
+ if (openEvaluationPipelineBuilder_ == null) {
+ return openEvaluationPipeline_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()
+ : openEvaluationPipeline_;
+ } else {
+ return openEvaluationPipelineBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setOpenEvaluationPipeline(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences
+ value) {
+ if (openEvaluationPipelineBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ openEvaluationPipeline_ = value;
+ } else {
+ openEvaluationPipelineBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setOpenEvaluationPipeline(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences
+ .Builder
+ builderForValue) {
+ if (openEvaluationPipelineBuilder_ == null) {
+ openEvaluationPipeline_ = builderForValue.build();
+ } else {
+ openEvaluationPipelineBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeOpenEvaluationPipeline(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences
+ value) {
+ if (openEvaluationPipelineBuilder_ == null) {
+ if (((bitField0_ & 0x00000200) != 0)
+ && openEvaluationPipeline_ != null
+ && openEvaluationPipeline_
+ != com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
+ .RegionalResourceReferences.getDefaultInstance()) {
+ getOpenEvaluationPipelineBuilder().mergeFrom(value);
+ } else {
+ openEvaluationPipeline_ = value;
+ }
+ } else {
+ openEvaluationPipelineBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearOpenEvaluationPipeline() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ openEvaluationPipeline_ = null;
+ if (openEvaluationPipelineBuilder_ != null) {
+ openEvaluationPipelineBuilder_.dispose();
+ openEvaluationPipelineBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Open evaluation pipeline of the PublisherModel.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferences.Builder
- getRequestAccessBuilder() {
- bitField0_ |= 0x00000100;
+ getOpenEvaluationPipelineBuilder() {
+ bitField0_ |= 0x00000200;
onChanged();
- return getRequestAccessFieldBuilder().getBuilder();
+ return getOpenEvaluationPipelineFieldBuilder().getBuilder();
}
/**
*
*
*
- * Optional. Request for access.
+ * Optional. Open evaluation pipeline of the PublisherModel.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferencesOrBuilder
- getRequestAccessOrBuilder() {
- if (requestAccessBuilder_ != null) {
- return requestAccessBuilder_.getMessageOrBuilder();
+ getOpenEvaluationPipelineOrBuilder() {
+ if (openEvaluationPipelineBuilder_ != null) {
+ return openEvaluationPipelineBuilder_.getMessageOrBuilder();
} else {
- return requestAccess_ == null
+ return openEvaluationPipeline_ == null
? com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferences.getDefaultInstance()
- : requestAccess_;
+ : openEvaluationPipeline_;
}
}
/**
*
*
*
- * Optional. Request for access.
+ * Optional. Open evaluation pipeline of the PublisherModel.
*
*
*
- * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences request_access = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.RegionalResourceReferences open_evaluation_pipeline = 11 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -11519,9 +12887,9 @@ public Builder clearRequestAccess() {
.RegionalResourceReferences.Builder,
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferencesOrBuilder>
- getRequestAccessFieldBuilder() {
- if (requestAccessBuilder_ == null) {
- requestAccessBuilder_ =
+ getOpenEvaluationPipelineFieldBuilder() {
+ if (openEvaluationPipelineBuilder_ == null) {
+ openEvaluationPipelineBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferences,
@@ -11529,10 +12897,10 @@ public Builder clearRequestAccess() {
.RegionalResourceReferences.Builder,
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
.RegionalResourceReferencesOrBuilder>(
- getRequestAccess(), getParentForChildren(), isClean());
- requestAccess_ = null;
+ getOpenEvaluationPipeline(), getParentForChildren(), isClean());
+ openEvaluationPipeline_ = null;
}
- return requestAccessBuilder_;
+ return openEvaluationPipelineBuilder_;
}
@java.lang.Override
@@ -11757,6 +13125,65 @@ public int getOpenSourceCategoryValue() {
: result;
}
+ public static final int PARENT_FIELD_NUMBER = 14;
+ private com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent_;
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the parent field is set.
+ */
+ @java.lang.Override
+ public boolean hasParent() {
+ return parent_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The parent.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent getParent() {
+ return parent_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.getDefaultInstance()
+ : parent_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ParentOrBuilder getParentOrBuilder() {
+ return parent_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.getDefaultInstance()
+ : parent_;
+ }
+
public static final int SUPPORTED_ACTIONS_FIELD_NUMBER = 19;
private com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supportedActions_;
/**
@@ -12067,6 +13494,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
.getNumber()) {
output.writeEnum(7, openSourceCategory_);
}
+ if (parent_ != null) {
+ output.writeMessage(14, getParent());
+ }
if (supportedActions_ != null) {
output.writeMessage(19, getSupportedActions());
}
@@ -12105,6 +13535,9 @@ public int getSerializedSize() {
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, openSourceCategory_);
}
+ if (parent_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getParent());
+ }
if (supportedActions_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getSupportedActions());
}
@@ -12146,6 +13579,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getName().equals(other.getName())) return false;
if (!getVersionId().equals(other.getVersionId())) return false;
if (openSourceCategory_ != other.openSourceCategory_) return false;
+ if (hasParent() != other.hasParent()) return false;
+ if (hasParent()) {
+ if (!getParent().equals(other.getParent())) return false;
+ }
if (hasSupportedActions() != other.hasSupportedActions()) return false;
if (hasSupportedActions()) {
if (!getSupportedActions().equals(other.getSupportedActions())) return false;
@@ -12174,6 +13611,10 @@ public int hashCode() {
hash = (53 * hash) + getVersionId().hashCode();
hash = (37 * hash) + OPEN_SOURCE_CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + openSourceCategory_;
+ if (hasParent()) {
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ }
if (hasSupportedActions()) {
hash = (37 * hash) + SUPPORTED_ACTIONS_FIELD_NUMBER;
hash = (53 * hash) + getSupportedActions().hashCode();
@@ -12332,6 +13773,11 @@ public Builder clear() {
name_ = "";
versionId_ = "";
openSourceCategory_ = 0;
+ parent_ = null;
+ if (parentBuilder_ != null) {
+ parentBuilder_.dispose();
+ parentBuilder_ = null;
+ }
supportedActions_ = null;
if (supportedActionsBuilder_ != null) {
supportedActionsBuilder_.dispose();
@@ -12391,20 +13837,23 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.PublisherModel re
result.openSourceCategory_ = openSourceCategory_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.parent_ = parentBuilder_ == null ? parent_ : parentBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
result.supportedActions_ =
supportedActionsBuilder_ == null ? supportedActions_ : supportedActionsBuilder_.build();
}
- if (((from_bitField0_ & 0x00000010) != 0)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
frameworks_.makeImmutable();
result.frameworks_ = frameworks_;
}
- if (((from_bitField0_ & 0x00000020) != 0)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
result.launchStage_ = launchStage_;
}
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
result.publisherModelTemplate_ = publisherModelTemplate_;
}
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
result.predictSchemata_ =
predictSchemataBuilder_ == null ? predictSchemata_ : predictSchemataBuilder_.build();
}
@@ -12469,13 +13918,16 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.PublisherModel othe
if (other.openSourceCategory_ != 0) {
setOpenSourceCategoryValue(other.getOpenSourceCategoryValue());
}
+ if (other.hasParent()) {
+ mergeParent(other.getParent());
+ }
if (other.hasSupportedActions()) {
mergeSupportedActions(other.getSupportedActions());
}
if (!other.frameworks_.isEmpty()) {
if (frameworks_.isEmpty()) {
frameworks_ = other.frameworks_;
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
} else {
ensureFrameworksIsMutable();
frameworks_.addAll(other.frameworks_);
@@ -12487,7 +13939,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.PublisherModel othe
}
if (!other.getPublisherModelTemplate().isEmpty()) {
publisherModelTemplate_ = other.publisherModelTemplate_;
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasPredictSchemata()) {
@@ -12537,11 +13989,17 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 56
+ case 114:
+ {
+ input.readMessage(getParentFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 114
case 154:
{
input.readMessage(
getSupportedActionsFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
break;
} // case 154
case 186:
@@ -12554,19 +14012,19 @@ public Builder mergeFrom(
case 232:
{
launchStage_ = input.readEnum();
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
break;
} // case 232
case 242:
{
publisherModelTemplate_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000080;
break;
} // case 242
case 250:
{
input.readMessage(getPredictSchemataFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000100;
break;
} // case 250
default:
@@ -12930,6 +14388,218 @@ public Builder clearOpenSourceCategory() {
return this;
}
+ private com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ParentOrBuilder>
+ parentBuilder_;
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the parent field is set.
+ */
+ public boolean hasParent() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The parent.
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent getParent() {
+ if (parentBuilder_ == null) {
+ return parent_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.getDefaultInstance()
+ : parent_;
+ } else {
+ return parentBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setParent(com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent value) {
+ if (parentBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ parent_ = value;
+ } else {
+ parentBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setParent(
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder builderForValue) {
+ if (parentBuilder_ == null) {
+ parent_ = builderForValue.build();
+ } else {
+ parentBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeParent(com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent value) {
+ if (parentBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0)
+ && parent_ != null
+ && parent_
+ != com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.getDefaultInstance()) {
+ getParentBuilder().mergeFrom(value);
+ } else {
+ parent_ = value;
+ }
+ } else {
+ parentBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearParent() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ parent_ = null;
+ if (parentBuilder_ != null) {
+ parentBuilder_.dispose();
+ parentBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder getParentBuilder() {
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return getParentFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PublisherModel.ParentOrBuilder getParentOrBuilder() {
+ if (parentBuilder_ != null) {
+ return parentBuilder_.getMessageOrBuilder();
+ } else {
+ return parent_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.getDefaultInstance()
+ : parent_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ParentOrBuilder>
+ getParentFieldBuilder() {
+ if (parentBuilder_ == null) {
+ parentBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent.Builder,
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ParentOrBuilder>(
+ getParent(), getParentForChildren(), isClean());
+ parent_ = null;
+ }
+ return parentBuilder_;
+ }
+
private com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supportedActions_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction,
@@ -12950,7 +14620,7 @@ public Builder clearOpenSourceCategory() {
* @return Whether the supportedActions field is set.
*/
public boolean hasSupportedActions() {
- return ((bitField0_ & 0x00000008) != 0);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -12995,7 +14665,7 @@ public Builder setSupportedActions(
} else {
supportedActionsBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -13017,7 +14687,7 @@ public Builder setSupportedActions(
} else {
supportedActionsBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -13035,7 +14705,7 @@ public Builder setSupportedActions(
public Builder mergeSupportedActions(
com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction value) {
if (supportedActionsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)
+ if (((bitField0_ & 0x00000010) != 0)
&& supportedActions_ != null
&& supportedActions_
!= com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction
@@ -13047,7 +14717,7 @@ public Builder mergeSupportedActions(
} else {
supportedActionsBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -13063,7 +14733,7 @@ public Builder mergeSupportedActions(
*
*/
public Builder clearSupportedActions() {
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
supportedActions_ = null;
if (supportedActionsBuilder_ != null) {
supportedActionsBuilder_.dispose();
@@ -13085,7 +14755,7 @@ public Builder clearSupportedActions() {
*/
public com.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction.Builder
getSupportedActionsBuilder() {
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return getSupportedActionsFieldBuilder().getBuilder();
}
@@ -13145,7 +14815,7 @@ private void ensureFrameworksIsMutable() {
if (!frameworks_.isModifiable()) {
frameworks_ = new com.google.protobuf.LazyStringArrayList(frameworks_);
}
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
}
/**
*
@@ -13225,7 +14895,7 @@ public Builder setFrameworks(int index, java.lang.String value) {
}
ensureFrameworksIsMutable();
frameworks_.set(index, value);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -13247,7 +14917,7 @@ public Builder addFrameworks(java.lang.String value) {
}
ensureFrameworksIsMutable();
frameworks_.add(value);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -13266,7 +14936,7 @@ public Builder addFrameworks(java.lang.String value) {
public Builder addAllFrameworks(java.lang.Iterable
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the parent field is set.
+ */
+ boolean hasParent();
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The parent.
+ */
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.Parent getParent();
+ /**
+ *
+ *
+ *
+ * Optional. The parent that this model was customized from. E.g., Vision API,
+ * Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.PublisherModel.ParentOrBuilder getParentOrBuilder();
+
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModelProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModelProto.java
index cb7c5ef06a3f..072bd97fcda4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModelProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PublisherModelProto.java
@@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_ResourceReference_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_ResourceReference_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Documentation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -74,89 +78,98 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "o\032\031google/api/resource.proto\0327google/clo"
+ "ud/aiplatform/v1beta1/machine_resources."
+ "proto\032+google/cloud/aiplatform/v1beta1/m"
- + "odel.proto\"\357\027\n\016PublisherModel\022\022\n\004name\030\001 "
+ + "odel.proto\"\301\032\n\016PublisherModel\022\022\n\004name\030\001 "
+ "\001(\tB\004\342A\001\003\022\031\n\nversion_id\030\002 \001(\tB\005\342A\002\005\003\022f\n\024"
+ "open_source_category\030\007 \001(\0162B.google.clou"
+ "d.aiplatform.v1beta1.PublisherModel.Open"
- + "SourceCategoryB\004\342A\001\002\022]\n\021supported_action"
- + "s\030\023 \001(\0132<.google.cloud.aiplatform.v1beta"
- + "1.PublisherModel.CallToActionB\004\342A\001\001\022\030\n\nf"
- + "rameworks\030\027 \003(\tB\004\342A\001\001\022W\n\014launch_stage\030\035 "
- + "\001(\0162;.google.cloud.aiplatform.v1beta1.Pu"
- + "blisherModel.LaunchStageB\004\342A\001\001\022\'\n\030publis"
- + "her_model_template\030\036 \001(\tB\005\342A\002\005\003\022P\n\020predi"
- + "ct_schemata\030\037 \001(\01320.google.cloud.aiplatf"
- + "orm.v1beta1.PredictSchemataB\004\342A\001\001\032H\n\021Res"
- + "ourceReference\022\r\n\003uri\030\001 \001(\tH\000\022\027\n\rresourc"
- + "e_name\030\002 \001(\tH\000B\013\n\treference\032;\n\rDocumenta"
- + "tion\022\023\n\005title\030\001 \001(\tB\004\342A\001\002\022\025\n\007content\030\002 \001"
- + "(\tB\004\342A\001\002\032\315\017\n\014CallToAction\022e\n\rview_rest_a"
- + "pi\030\001 \001(\0132H.google.cloud.aiplatform.v1bet"
- + "a1.PublisherModel.CallToAction.ViewRestA"
- + "piB\004\342A\001\001\022t\n\ropen_notebook\030\002 \001(\0132W.google"
- + ".cloud.aiplatform.v1beta1.PublisherModel"
- + ".CallToAction.RegionalResourceReferences"
- + "B\004\342A\001\001\022y\n\022create_application\030\003 \001(\0132W.goo"
- + "gle.cloud.aiplatform.v1beta1.PublisherMo"
- + "del.CallToAction.RegionalResourceReferen"
- + "cesB\004\342A\001\001\022\200\001\n\031open_fine_tuning_pipeline\030"
- + "\004 \001(\0132W.google.cloud.aiplatform.v1beta1."
- + "PublisherModel.CallToAction.RegionalReso"
- + "urceReferencesB\004\342A\001\001\022\202\001\n\033open_prompt_tun"
- + "ing_pipeline\030\005 \001(\0132W.google.cloud.aiplat"
- + "form.v1beta1.PublisherModel.CallToAction"
- + ".RegionalResourceReferencesB\004\342A\001\001\022q\n\nope"
- + "n_genie\030\006 \001(\0132W.google.cloud.aiplatform."
- + "v1beta1.PublisherModel.CallToAction.Regi"
- + "onalResourceReferencesB\004\342A\001\001\022Y\n\006deploy\030\007"
- + " \001(\0132C.google.cloud.aiplatform.v1beta1.P"
- + "ublisherModel.CallToAction.DeployB\004\342A\001\001\022"
- + "\200\001\n\031open_generation_ai_studio\030\010 \001(\0132W.go"
- + "ogle.cloud.aiplatform.v1beta1.PublisherM"
- + "odel.CallToAction.RegionalResourceRefere"
- + "ncesB\004\342A\001\001\022u\n\016request_access\030\t \001(\0132W.goo"
- + "gle.cloud.aiplatform.v1beta1.PublisherMo"
- + "del.CallToAction.RegionalResourceReferen"
- + "cesB\004\342A\001\001\032\253\002\n\032RegionalResourceReferences"
- + "\022\201\001\n\nreferences\030\001 \003(\0132g.google.cloud.aip"
- + "latform.v1beta1.PublisherModel.CallToAct"
- + "ion.RegionalResourceReferences.Reference"
- + "sEntryB\004\342A\001\002\022\023\n\005title\030\002 \001(\tB\004\342A\001\002\032t\n\017Ref"
- + "erencesEntry\022\013\n\003key\030\001 \001(\t\022P\n\005value\030\002 \001(\013"
- + "2A.google.cloud.aiplatform.v1beta1.Publi"
- + "sherModel.ResourceReference:\0028\001\032\177\n\013ViewR"
- + "estApi\022[\n\016documentations\030\001 \003(\0132=.google."
- + "cloud.aiplatform.v1beta1.PublisherModel."
- + "DocumentationB\004\342A\001\002\022\023\n\005title\030\002 \001(\tB\004\342A\001\002"
- + "\032\345\003\n\006Deploy\022R\n\023dedicated_resources\030\005 \001(\013"
- + "23.google.cloud.aiplatform.v1beta1.Dedic"
- + "atedResourcesH\000\022R\n\023automatic_resources\030\006"
- + " \001(\01323.google.cloud.aiplatform.v1beta1.A"
- + "utomaticResourcesH\000\022\032\n\020shared_resources\030"
- + "\007 \001(\tH\000\022 \n\022model_display_name\030\001 \001(\tB\004\342A\001"
- + "\001\022Y\n\025large_model_reference\030\002 \001(\01324.googl"
- + "e.cloud.aiplatform.v1beta1.LargeModelRef"
- + "erenceB\004\342A\001\001\022Q\n\016container_spec\030\003 \001(\01323.g"
- + "oogle.cloud.aiplatform.v1beta1.ModelCont"
- + "ainerSpecB\004\342A\001\001\022\032\n\014artifact_uri\030\004 \001(\tB\004\342"
- + "A\001\001\022\023\n\005title\030\010 \001(\tB\004\342A\001\002B\026\n\024prediction_r"
- + "esources\"\333\001\n\022OpenSourceCategory\022$\n OPEN_"
- + "SOURCE_CATEGORY_UNSPECIFIED\020\000\022\017\n\013PROPRIE"
- + "TARY\020\001\022+\n\'GOOGLE_OWNED_OSS_WITH_GOOGLE_C"
- + "HECKPOINT\020\002\0220\n,THIRD_PARTY_OWNED_OSS_WIT"
- + "H_GOOGLE_CHECKPOINT\020\003\022\024\n\020GOOGLE_OWNED_OS"
- + "S\020\004\022\031\n\025THIRD_PARTY_OWNED_OSS\020\005\"n\n\013Launch"
- + "Stage\022\034\n\030LAUNCH_STAGE_UNSPECIFIED\020\000\022\020\n\014E"
- + "XPERIMENTAL\020\001\022\023\n\017PRIVATE_PREVIEW\020\002\022\022\n\016PU"
- + "BLIC_PREVIEW\020\003\022\006\n\002GA\020\004:T\352AQ\n(aiplatform."
- + "googleapis.com/PublisherModel\022%publisher"
- + "s/{publisher}/models/{model}B\352\001\n#com.goo"
- + "gle.cloud.aiplatform.v1beta1B\023PublisherM"
- + "odelProtoP\001ZCcloud.google.com/go/aiplatf"
- + "orm/apiv1beta1/aiplatformpb;aiplatformpb"
- + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo"
- + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C"
- + "loud::AIPlatform::V1beta1b\006proto3"
+ + "SourceCategoryB\004\342A\001\002\022L\n\006parent\030\016 \001(\01326.g"
+ + "oogle.cloud.aiplatform.v1beta1.Publisher"
+ + "Model.ParentB\004\342A\001\001\022]\n\021supported_actions\030"
+ + "\023 \001(\0132<.google.cloud.aiplatform.v1beta1."
+ + "PublisherModel.CallToActionB\004\342A\001\001\022\030\n\nfra"
+ + "meworks\030\027 \003(\tB\004\342A\001\001\022W\n\014launch_stage\030\035 \001("
+ + "\0162;.google.cloud.aiplatform.v1beta1.Publ"
+ + "isherModel.LaunchStageB\004\342A\001\001\022\'\n\030publishe"
+ + "r_model_template\030\036 \001(\tB\005\342A\002\005\003\022P\n\020predict"
+ + "_schemata\030\037 \001(\01320.google.cloud.aiplatfor"
+ + "m.v1beta1.PredictSchemataB\004\342A\001\001\032H\n\021Resou"
+ + "rceReference\022\r\n\003uri\030\001 \001(\tH\000\022\027\n\rresource_"
+ + "name\030\002 \001(\tH\000B\013\n\treference\032\200\001\n\006Parent\022\032\n\014"
+ + "display_name\030\001 \001(\tB\004\342A\001\002\022Z\n\treference\030\002 "
+ + "\001(\0132A.google.cloud.aiplatform.v1beta1.Pu"
+ + "blisherModel.ResourceReferenceB\004\342A\001\001\032;\n\r"
+ + "Documentation\022\023\n\005title\030\001 \001(\tB\004\342A\001\002\022\025\n\007co"
+ + "ntent\030\002 \001(\tB\004\342A\001\002\032\316\020\n\014CallToAction\022e\n\rvi"
+ + "ew_rest_api\030\001 \001(\0132H.google.cloud.aiplatf"
+ + "orm.v1beta1.PublisherModel.CallToAction."
+ + "ViewRestApiB\004\342A\001\001\022t\n\ropen_notebook\030\002 \001(\013"
+ + "2W.google.cloud.aiplatform.v1beta1.Publi"
+ + "sherModel.CallToAction.RegionalResourceR"
+ + "eferencesB\004\342A\001\001\022y\n\022create_application\030\003 "
+ + "\001(\0132W.google.cloud.aiplatform.v1beta1.Pu"
+ + "blisherModel.CallToAction.RegionalResour"
+ + "ceReferencesB\004\342A\001\001\022\200\001\n\031open_fine_tuning_"
+ + "pipeline\030\004 \001(\0132W.google.cloud.aiplatform"
+ + ".v1beta1.PublisherModel.CallToAction.Reg"
+ + "ionalResourceReferencesB\004\342A\001\001\022\202\001\n\033open_p"
+ + "rompt_tuning_pipeline\030\005 \001(\0132W.google.clo"
+ + "ud.aiplatform.v1beta1.PublisherModel.Cal"
+ + "lToAction.RegionalResourceReferencesB\004\342A"
+ + "\001\001\022q\n\nopen_genie\030\006 \001(\0132W.google.cloud.ai"
+ + "platform.v1beta1.PublisherModel.CallToAc"
+ + "tion.RegionalResourceReferencesB\004\342A\001\001\022Y\n"
+ + "\006deploy\030\007 \001(\0132C.google.cloud.aiplatform."
+ + "v1beta1.PublisherModel.CallToAction.Depl"
+ + "oyB\004\342A\001\001\022\200\001\n\031open_generation_ai_studio\030\010"
+ + " \001(\0132W.google.cloud.aiplatform.v1beta1.P"
+ + "ublisherModel.CallToAction.RegionalResou"
+ + "rceReferencesB\004\342A\001\001\022u\n\016request_access\030\t "
+ + "\001(\0132W.google.cloud.aiplatform.v1beta1.Pu"
+ + "blisherModel.CallToAction.RegionalResour"
+ + "ceReferencesB\004\342A\001\001\022\177\n\030open_evaluation_pi"
+ + "peline\030\013 \001(\0132W.google.cloud.aiplatform.v"
+ + "1beta1.PublisherModel.CallToAction.Regio"
+ + "nalResourceReferencesB\004\342A\001\001\032\253\002\n\032Regional"
+ + "ResourceReferences\022\201\001\n\nreferences\030\001 \003(\0132"
+ + "g.google.cloud.aiplatform.v1beta1.Publis"
+ + "herModel.CallToAction.RegionalResourceRe"
+ + "ferences.ReferencesEntryB\004\342A\001\002\022\023\n\005title\030"
+ + "\002 \001(\tB\004\342A\001\002\032t\n\017ReferencesEntry\022\013\n\003key\030\001 "
+ + "\001(\t\022P\n\005value\030\002 \001(\0132A.google.cloud.aiplat"
+ + "form.v1beta1.PublisherModel.ResourceRefe"
+ + "rence:\0028\001\032\177\n\013ViewRestApi\022[\n\016documentatio"
+ + "ns\030\001 \003(\0132=.google.cloud.aiplatform.v1bet"
+ + "a1.PublisherModel.DocumentationB\004\342A\001\002\022\023\n"
+ + "\005title\030\002 \001(\tB\004\342A\001\002\032\345\003\n\006Deploy\022R\n\023dedicat"
+ + "ed_resources\030\005 \001(\01323.google.cloud.aiplat"
+ + "form.v1beta1.DedicatedResourcesH\000\022R\n\023aut"
+ + "omatic_resources\030\006 \001(\01323.google.cloud.ai"
+ + "platform.v1beta1.AutomaticResourcesH\000\022\032\n"
+ + "\020shared_resources\030\007 \001(\tH\000\022 \n\022model_displ"
+ + "ay_name\030\001 \001(\tB\004\342A\001\001\022Y\n\025large_model_refer"
+ + "ence\030\002 \001(\01324.google.cloud.aiplatform.v1b"
+ + "eta1.LargeModelReferenceB\004\342A\001\001\022Q\n\016contai"
+ + "ner_spec\030\003 \001(\01323.google.cloud.aiplatform"
+ + ".v1beta1.ModelContainerSpecB\004\342A\001\001\022\032\n\014art"
+ + "ifact_uri\030\004 \001(\tB\004\342A\001\001\022\023\n\005title\030\010 \001(\tB\004\342A"
+ + "\001\002B\026\n\024prediction_resources\"\333\001\n\022OpenSourc"
+ + "eCategory\022$\n OPEN_SOURCE_CATEGORY_UNSPEC"
+ + "IFIED\020\000\022\017\n\013PROPRIETARY\020\001\022+\n\'GOOGLE_OWNED"
+ + "_OSS_WITH_GOOGLE_CHECKPOINT\020\002\0220\n,THIRD_P"
+ + "ARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT\020\003\022"
+ + "\024\n\020GOOGLE_OWNED_OSS\020\004\022\031\n\025THIRD_PARTY_OWN"
+ + "ED_OSS\020\005\"n\n\013LaunchStage\022\034\n\030LAUNCH_STAGE_"
+ + "UNSPECIFIED\020\000\022\020\n\014EXPERIMENTAL\020\001\022\023\n\017PRIVA"
+ + "TE_PREVIEW\020\002\022\022\n\016PUBLIC_PREVIEW\020\003\022\006\n\002GA\020\004"
+ + ":T\352AQ\n(aiplatform.googleapis.com/Publish"
+ + "erModel\022%publishers/{publisher}/models/{"
+ + "model}B\352\001\n#com.google.cloud.aiplatform.v"
+ + "1beta1B\023PublisherModelProtoP\001ZCcloud.goo"
+ + "gle.com/go/aiplatform/apiv1beta1/aiplatf"
+ + "ormpb;aiplatformpb\252\002\037Google.Cloud.AIPlat"
+ + "form.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V"
+ + "1beta1\352\002\"Google::Cloud::AIPlatform::V1be"
+ + "ta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -176,6 +189,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
"VersionId",
"OpenSourceCategory",
+ "Parent",
"SupportedActions",
"Frameworks",
"LaunchStage",
@@ -192,10 +206,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Uri", "ResourceName", "Reference",
});
- internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Documentation_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_descriptor
.getNestedTypes()
.get(1);
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Parent_descriptor,
+ new java.lang.String[] {
+ "DisplayName", "Reference",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Documentation_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_descriptor
+ .getNestedTypes()
+ .get(2);
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Documentation_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_Documentation_descriptor,
@@ -205,7 +229,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_CallToAction_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_descriptor
.getNestedTypes()
- .get(2);
+ .get(3);
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_CallToAction_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_CallToAction_descriptor,
@@ -219,6 +243,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Deploy",
"OpenGenerationAiStudio",
"RequestAccess",
+ "OpenEvaluationPipeline",
});
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_CallToAction_RegionalResourceReferences_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_PublisherModel_CallToAction_descriptor
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpec.java
index aef767347e04..bc7aca42cf2f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpec.java
@@ -42,6 +42,7 @@ private RaySpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private RaySpec() {
imageUri_ = "";
+ headNodeResourcePoolId_ = "";
}
@java.lang.Override
@@ -55,6 +56,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_aiplatform_v1beta1_RaySpec_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 6:
+ return internalGetResourcePoolImages();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -126,6 +138,209 @@ public com.google.protobuf.ByteString getImageUriBytes() {
}
}
+ public static final int RESOURCE_POOL_IMAGES_FIELD_NUMBER = 6;
+
+ private static final class ResourcePoolImagesDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsResourcePoolImages(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetResourcePoolImages().getMap().containsKey(key);
+ }
+ /** Use {@link #getResourcePoolImagesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getResourcePoolImagesOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getResourcePoolImagesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The headNodeResourcePoolId.
+ */
+ @java.lang.Override
+ public java.lang.String getHeadNodeResourcePoolId() {
+ java.lang.Object ref = headNodeResourcePoolId_;
+ 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();
+ headNodeResourcePoolId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for headNodeResourcePoolId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getHeadNodeResourcePoolIdBytes() {
+ java.lang.Object ref = headNodeResourcePoolId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ headNodeResourcePoolId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -143,6 +358,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageUri_);
}
+ com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ output,
+ internalGetResourcePoolImages(),
+ ResourcePoolImagesDefaultEntryHolder.defaultEntry,
+ 6);
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headNodeResourcePoolId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, headNodeResourcePoolId_);
+ }
getUnknownFields().writeTo(output);
}
@@ -155,6 +378,19 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageUri_);
}
+ for (java.util.Map.Entry
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public boolean containsResourcePoolImages(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ return internalGetResourcePoolImages().getMap().containsKey(key);
+ }
+ /** Use {@link #getResourcePoolImagesMap()} instead. */
+ @java.lang.Override
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public /* nullable */ java.lang.String getResourcePoolImagesOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.lang.String getResourcePoolImagesOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeResourcePoolImages(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableResourcePoolImages().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putResourcePoolImages(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableResourcePoolImages().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000002;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder putAllResourcePoolImages(
+ java.util.Map
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The headNodeResourcePoolId.
+ */
+ public java.lang.String getHeadNodeResourcePoolId() {
+ java.lang.Object ref = headNodeResourcePoolId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ headNodeResourcePoolId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for headNodeResourcePoolId.
+ */
+ public com.google.protobuf.ByteString getHeadNodeResourcePoolIdBytes() {
+ java.lang.Object ref = headNodeResourcePoolId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ headNodeResourcePoolId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The headNodeResourcePoolId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHeadNodeResourcePoolId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ headNodeResourcePoolId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearHeadNodeResourcePoolId() {
+ headNodeResourcePoolId_ = getDefaultInstance().getHeadNodeResourcePoolId();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for headNodeResourcePoolId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHeadNodeResourcePoolIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ headNodeResourcePoolId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpecOrBuilder.java
index 08c879d8e6d0..1672a399a91d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpecOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RaySpecOrBuilder.java
@@ -57,4 +57,143 @@ public interface RaySpecOrBuilder
* @return The bytes for imageUri.
*/
com.google.protobuf.ByteString getImageUriBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getResourcePoolImagesCount();
+ /**
+ *
+ *
+ *
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ boolean containsResourcePoolImages(java.lang.String key);
+ /** Use {@link #getResourcePoolImagesMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.Map
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ /* nullable */
+ java.lang.String getResourcePoolImagesOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue);
+ /**
+ *
+ *
+ *
+ * Optional. Required if image_uri is not set. A map of resource_pool_id to
+ * prebuild Ray image if user need to use different images for different
+ * head/worker pools. This map needs to cover all the resource pool ids.
+ * Example:
+ * {
+ * "ray_head_node_pool": "head image"
+ * "ray_worker_node_pool1": "worker image"
+ * "ray_worker_node_pool2": "another worker image"
+ * }
+ *
+ *
+ *
+ * map<string, string> resource_pool_images = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.lang.String getResourcePoolImagesOrThrow(java.lang.String key);
+
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The headNodeResourcePoolId.
+ */
+ java.lang.String getHeadNodeResourcePoolId();
+ /**
+ *
+ *
+ *
+ * Optional. This will be used to indicate which resource pool will serve as
+ * the Ray head node(the first node within that pool). Will use the machine
+ * from the first workerpool as the head node by default if this field is not
+ * set.
+ *
+ *
+ * string head_node_resource_pool_id = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for headNodeResourcePoolId.
+ */
+ com.google.protobuf.ByteString getHeadNodeResourcePoolIdBytes();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePool.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePool.java
index d0eeffa1010b..9148bddbeb83 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePool.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePool.java
@@ -852,12 +852,12 @@ public com.google.protobuf.Parser
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The id.
*/
@@ -877,12 +877,12 @@ public java.lang.String getId() {
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for id.
*/
@@ -1044,30 +1044,6 @@ public com.google.cloud.aiplatform.v1beta1.DiskSpecOrBuilder getDiskSpecOrBuilde
: diskSpec_;
}
- public static final int IDLE_REPLICA_COUNT_FIELD_NUMBER = 5;
- private long idleReplicaCount_ = 0L;
- /**
- *
- *
- *
- * Output only. The number of machines currently not in use by training jobs
- * for this resource pool. Deprecated. Use `used_replica_count` instead.
- *
- *
- *
- * int64 idle_replica_count = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.ResourcePool.idle_replica_count is deprecated. See
- * google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=187
- * @return The idleReplicaCount.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public long getIdleReplicaCount() {
- return idleReplicaCount_;
- }
-
public static final int USED_REPLICA_COUNT_FIELD_NUMBER = 6;
private long usedReplicaCount_ = 0L;
/**
@@ -1170,9 +1146,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (diskSpec_ != null) {
output.writeMessage(4, getDiskSpec());
}
- if (idleReplicaCount_ != 0L) {
- output.writeInt64(5, idleReplicaCount_);
- }
if (usedReplicaCount_ != 0L) {
output.writeInt64(6, usedReplicaCount_);
}
@@ -1200,9 +1173,6 @@ public int getSerializedSize() {
if (diskSpec_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDiskSpec());
}
- if (idleReplicaCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, idleReplicaCount_);
- }
if (usedReplicaCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, usedReplicaCount_);
}
@@ -1238,7 +1208,6 @@ public boolean equals(final java.lang.Object obj) {
if (hasDiskSpec()) {
if (!getDiskSpec().equals(other.getDiskSpec())) return false;
}
- if (getIdleReplicaCount() != other.getIdleReplicaCount()) return false;
if (getUsedReplicaCount() != other.getUsedReplicaCount()) return false;
if (hasAutoscalingSpec() != other.hasAutoscalingSpec()) return false;
if (hasAutoscalingSpec()) {
@@ -1269,8 +1238,6 @@ public int hashCode() {
hash = (37 * hash) + DISK_SPEC_FIELD_NUMBER;
hash = (53 * hash) + getDiskSpec().hashCode();
}
- hash = (37 * hash) + IDLE_REPLICA_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIdleReplicaCount());
hash = (37 * hash) + USED_REPLICA_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUsedReplicaCount());
if (hasAutoscalingSpec()) {
@@ -1429,7 +1396,6 @@ public Builder clear() {
diskSpecBuilder_.dispose();
diskSpecBuilder_ = null;
}
- idleReplicaCount_ = 0L;
usedReplicaCount_ = 0L;
autoscalingSpec_ = null;
if (autoscalingSpecBuilder_ != null) {
@@ -1488,12 +1454,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ResourcePool resu
result.diskSpec_ = diskSpecBuilder_ == null ? diskSpec_ : diskSpecBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
- result.idleReplicaCount_ = idleReplicaCount_;
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
result.usedReplicaCount_ = usedReplicaCount_;
}
- if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
result.autoscalingSpec_ =
autoscalingSpecBuilder_ == null ? autoscalingSpec_ : autoscalingSpecBuilder_.build();
}
@@ -1560,9 +1523,6 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ResourcePool other)
if (other.hasDiskSpec()) {
mergeDiskSpec(other.getDiskSpec());
}
- if (other.getIdleReplicaCount() != 0L) {
- setIdleReplicaCount(other.getIdleReplicaCount());
- }
if (other.getUsedReplicaCount() != 0L) {
setUsedReplicaCount(other.getUsedReplicaCount());
}
@@ -1619,22 +1579,16 @@ public Builder mergeFrom(
bitField0_ |= 0x00000008;
break;
} // case 34
- case 40:
- {
- idleReplicaCount_ = input.readInt64();
- bitField0_ |= 0x00000010;
- break;
- } // case 40
case 48:
{
usedReplicaCount_ = input.readInt64();
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
break;
} // case 48
case 58:
{
input.readMessage(getAutoscalingSpecFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000020;
break;
} // case 58
default:
@@ -1661,12 +1615,12 @@ public Builder mergeFrom(
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The id.
*/
@@ -1685,12 +1639,12 @@ public java.lang.String getId() {
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for id.
*/
@@ -1709,12 +1663,12 @@ public com.google.protobuf.ByteString getIdBytes() {
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The id to set.
* @return This builder for chaining.
@@ -1732,12 +1686,12 @@ public Builder setId(java.lang.String value) {
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return This builder for chaining.
*/
@@ -1751,12 +1705,12 @@ public Builder clearId() {
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The bytes for id to set.
* @return This builder for chaining.
@@ -2245,77 +2199,6 @@ public com.google.cloud.aiplatform.v1beta1.DiskSpecOrBuilder getDiskSpecOrBuilde
return diskSpecBuilder_;
}
- private long idleReplicaCount_;
- /**
- *
- *
- *
- * Output only. The number of machines currently not in use by training jobs
- * for this resource pool. Deprecated. Use `used_replica_count` instead.
- *
- *
- *
- * int64 idle_replica_count = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.ResourcePool.idle_replica_count is deprecated.
- * See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=187
- * @return The idleReplicaCount.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public long getIdleReplicaCount() {
- return idleReplicaCount_;
- }
- /**
- *
- *
- *
- * Output only. The number of machines currently not in use by training jobs
- * for this resource pool. Deprecated. Use `used_replica_count` instead.
- *
- *
- *
- * int64 idle_replica_count = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.ResourcePool.idle_replica_count is deprecated.
- * See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=187
- * @param value The idleReplicaCount to set.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated
- public Builder setIdleReplicaCount(long value) {
-
- idleReplicaCount_ = value;
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- *
- *
- *
- * Output only. The number of machines currently not in use by training jobs
- * for this resource pool. Deprecated. Use `used_replica_count` instead.
- *
- *
- *
- * int64 idle_replica_count = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.ResourcePool.idle_replica_count is deprecated.
- * See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=187
- * @return This builder for chaining.
- */
- @java.lang.Deprecated
- public Builder clearIdleReplicaCount() {
- bitField0_ = (bitField0_ & ~0x00000010);
- idleReplicaCount_ = 0L;
- onChanged();
- return this;
- }
-
private long usedReplicaCount_;
/**
*
@@ -2349,7 +2232,7 @@ public long getUsedReplicaCount() {
public Builder setUsedReplicaCount(long value) {
usedReplicaCount_ = value;
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2366,7 +2249,7 @@ public Builder setUsedReplicaCount(long value) {
* @return This builder for chaining.
*/
public Builder clearUsedReplicaCount() {
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000010);
usedReplicaCount_ = 0L;
onChanged();
return this;
@@ -2392,7 +2275,7 @@ public Builder clearUsedReplicaCount() {
* @return Whether the autoscalingSpec field is set.
*/
public boolean hasAutoscalingSpec() {
- return ((bitField0_ & 0x00000040) != 0);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -2437,7 +2320,7 @@ public Builder setAutoscalingSpec(
} else {
autoscalingSpecBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2459,7 +2342,7 @@ public Builder setAutoscalingSpec(
} else {
autoscalingSpecBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2477,7 +2360,7 @@ public Builder setAutoscalingSpec(
public Builder mergeAutoscalingSpec(
com.google.cloud.aiplatform.v1beta1.ResourcePool.AutoscalingSpec value) {
if (autoscalingSpecBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)
+ if (((bitField0_ & 0x00000020) != 0)
&& autoscalingSpec_ != null
&& autoscalingSpec_
!= com.google.cloud.aiplatform.v1beta1.ResourcePool.AutoscalingSpec
@@ -2489,7 +2372,7 @@ public Builder mergeAutoscalingSpec(
} else {
autoscalingSpecBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2505,7 +2388,7 @@ public Builder mergeAutoscalingSpec(
*
*/
public Builder clearAutoscalingSpec() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000020);
autoscalingSpec_ = null;
if (autoscalingSpecBuilder_ != null) {
autoscalingSpecBuilder_.dispose();
@@ -2527,7 +2410,7 @@ public Builder clearAutoscalingSpec() {
*/
public com.google.cloud.aiplatform.v1beta1.ResourcePool.AutoscalingSpec.Builder
getAutoscalingSpecBuilder() {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000020;
onChanged();
return getAutoscalingSpecFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePoolOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePoolOrBuilder.java
index 40492f788a34..fa7e83ef31c9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePoolOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourcePoolOrBuilder.java
@@ -27,12 +27,12 @@ public interface ResourcePoolOrBuilder
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The id.
*/
@@ -41,12 +41,12 @@ public interface ResourcePoolOrBuilder
*
*
*
- * Optional. The unique ID in a PersistentResource to refer the this resource
+ * Immutable. The unique ID in a PersistentResource to refer the this resource
* pool. User can specify it if need to use it, otherwise we will generate it
* automatically.
*
*
- * string id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for id.
*/
@@ -159,25 +159,6 @@ public interface ResourcePoolOrBuilder
*/
com.google.cloud.aiplatform.v1beta1.DiskSpecOrBuilder getDiskSpecOrBuilder();
- /**
- *
- *
- *
- * Output only. The number of machines currently not in use by training jobs
- * for this resource pool. Deprecated. Use `used_replica_count` instead.
- *
- *
- *
- * int64 idle_replica_count = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- *
- *
- * @deprecated google.cloud.aiplatform.v1beta1.ResourcePool.idle_replica_count is deprecated. See
- * google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=187
- * @return The idleReplicaCount.
- */
- @java.lang.Deprecated
- long getIdleReplicaCount();
-
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpec.java
index b7ff5f41c8a9..684a22181e74 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpec.java
@@ -126,7 +126,7 @@ public com.google.cloud.aiplatform.v1beta1.ServiceAccountSpec getServiceAccountS
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -144,7 +144,7 @@ public boolean hasRaySpec() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -164,7 +164,7 @@ public com.google.cloud.aiplatform.v1beta1.RaySpec getRaySpec() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -784,7 +784,7 @@ public Builder clearServiceAccountSpec() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -801,7 +801,7 @@ public boolean hasRaySpec() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -824,7 +824,7 @@ public com.google.cloud.aiplatform.v1beta1.RaySpec getRaySpec() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -849,7 +849,7 @@ public Builder setRaySpec(com.google.cloud.aiplatform.v1beta1.RaySpec value) {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -871,7 +871,7 @@ public Builder setRaySpec(com.google.cloud.aiplatform.v1beta1.RaySpec.Builder bu
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -899,7 +899,7 @@ public Builder mergeRaySpec(com.google.cloud.aiplatform.v1beta1.RaySpec value) {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -921,7 +921,7 @@ public Builder clearRaySpec() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -938,7 +938,7 @@ public com.google.cloud.aiplatform.v1beta1.RaySpec.Builder getRaySpecBuilder() {
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -959,7 +959,7 @@ public com.google.cloud.aiplatform.v1beta1.RaySpecOrBuilder getRaySpecOrBuilder(
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpecOrBuilder.java
index 7b2840c4a386..8abc9be03e2c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpecOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ResourceRuntimeSpecOrBuilder.java
@@ -68,7 +68,7 @@ public interface ResourceRuntimeSpecOrBuilder
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -83,7 +83,7 @@ public interface ResourceRuntimeSpecOrBuilder
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
@@ -98,7 +98,7 @@ public interface ResourceRuntimeSpecOrBuilder
*
*
*
- * Ray cluster configuration.
+ * Optional. Ray cluster configuration.
* Required when creating a dedicated RayCluster on the PersistentResource.
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RestoreDatasetVersionOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RestoreDatasetVersionOperationMetadata.java
new file mode 100644
index 000000000000..d312030128db
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RestoreDatasetVersionOperationMetadata.java
@@ -0,0 +1,742 @@
+/*
+ * Copyright 2023 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/dataset_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata}
+ */
+public final class RestoreDatasetVersionOperationMetadata
+ extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata)
+ RestoreDatasetVersionOperationMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use RestoreDatasetVersionOperationMetadata.newBuilder() to construct.
+ private RestoreDatasetVersionOperationMetadata(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private RestoreDatasetVersionOperationMetadata() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RestoreDatasetVersionOperationMetadata();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.DatasetServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_RestoreDatasetVersionOperationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata.class,
+ com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata.Builder
+ .class);
+ }
+
+ public static final int GENERIC_METADATA_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata genericMetadata_;
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasGenericMetadata() {
+ return genericMetadata_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+
+ 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 (genericMetadata_ != null) {
+ output.writeMessage(1, getGenericMetadata());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (genericMetadata_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata());
+ }
+ size += getUnknownFields().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.RestoreDatasetVersionOperationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata other =
+ (com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata) obj;
+
+ if (hasGenericMetadata() != other.hasGenericMetadata()) return false;
+ if (hasGenericMetadata()) {
+ if (!getGenericMetadata().equals(other.getGenericMetadata())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasGenericMetadata()) {
+ hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGenericMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata
+ 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.RestoreDatasetVersionOperationMetadata 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;
+ }
+ /**
+ *
+ *
+ *
+ * Runtime operation information for
+ * [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion].
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() {
+ if (genericMetadataBuilder_ == null) {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ } else {
+ return genericMetadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ genericMetadata_ = value;
+ } else {
+ genericMetadataBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder builderForValue) {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadata_ = builderForValue.build();
+ } else {
+ genericMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder mergeGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata
+ .getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
+ } else {
+ genericMetadata_ = value;
+ }
+ } else {
+ genericMetadataBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder clearGenericMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
+ genericMetadataBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder
+ getGenericMetadataBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getGenericMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ if (genericMetadataBuilder_ != null) {
+ return genericMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>
+ getGenericMetadataFieldBuilder() {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>(
+ getGenericMetadata(), getParentForChildren(), isClean());
+ genericMetadata_ = null;
+ }
+ return genericMetadataBuilder_;
+ }
+
+ @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.RestoreDatasetVersionOperationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata)
+ private static final com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ boolean hasGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata();
+ /**
+ *
+ *
+ *
+ * The common part of the operation metadata.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Schedule.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Schedule.java
index 87cdf4245c53..d41a4a94f6f3 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Schedule.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Schedule.java
@@ -1450,10 +1450,10 @@ public boolean hasCreatePipelineJobRequest() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -1473,10 +1473,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -3463,10 +3463,10 @@ public Builder clearCreatePipelineJobRequest() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -3485,10 +3485,10 @@ public java.lang.String getName() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
@@ -3507,10 +3507,10 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -3528,10 +3528,10 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return This builder for chaining.
*/
@@ -3545,10 +3545,10 @@ public Builder clearName() {
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleOrBuilder.java
index 0217d33763bc..a27be17396c4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleOrBuilder.java
@@ -130,10 +130,10 @@ public interface ScheduleOrBuilder
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
@@ -142,10 +142,10 @@ public interface ScheduleOrBuilder
*
*
*
- * Output only. The resource name of the Schedule.
+ * Immutable. The resource name of the Schedule.
*
*
- * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleProto.java
index 8e4f54640cf7..8f08e7c57b90 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ScheduleProto.java
@@ -53,7 +53,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ule\022\016\n\004cron\030\n \001(\tH\000\022`\n\033create_pipeline_j"
+ "ob_request\030\016 \001(\01329.google.cloud.aiplatfo"
+ "rm.v1beta1.CreatePipelineJobRequestH\001\022\022\n"
- + "\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB"
+ + "\004name\030\001 \001(\tB\004\342A\001\005\022\032\n\014display_name\030\002 \001(\tB"
+ "\004\342A\001\002\0224\n\nstart_time\030\003 \001(\0132\032.google.proto"
+ "buf.TimestampB\004\342A\001\001\0222\n\010end_time\030\004 \001(\0132\032."
+ "google.protobuf.TimestampB\004\342A\001\001\022\033\n\rmax_r"
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
index 6d0daef8ed0d..ef2cd47749c4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
@@ -126,6 +126,26 @@ public boolean getRestartJobOnWorkerRestart() {
return restartJobOnWorkerRestart_;
}
+ public static final int DISABLE_RETRIES_FIELD_NUMBER = 5;
+ private boolean disableRetries_ = false;
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableRetries.
+ */
+ @java.lang.Override
+ public boolean getDisableRetries() {
+ return disableRetries_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -146,6 +166,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (restartJobOnWorkerRestart_ != false) {
output.writeBool(3, restartJobOnWorkerRestart_);
}
+ if (disableRetries_ != false) {
+ output.writeBool(5, disableRetries_);
+ }
getUnknownFields().writeTo(output);
}
@@ -161,6 +184,9 @@ public int getSerializedSize() {
if (restartJobOnWorkerRestart_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, restartJobOnWorkerRestart_);
}
+ if (disableRetries_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disableRetries_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -182,6 +208,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getTimeout().equals(other.getTimeout())) return false;
}
if (getRestartJobOnWorkerRestart() != other.getRestartJobOnWorkerRestart()) return false;
+ if (getDisableRetries() != other.getDisableRetries()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -199,6 +226,8 @@ public int hashCode() {
}
hash = (37 * hash) + RESTART_JOB_ON_WORKER_RESTART_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRestartJobOnWorkerRestart());
+ hash = (37 * hash) + DISABLE_RETRIES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableRetries());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -344,6 +373,7 @@ public Builder clear() {
timeoutBuilder_ = null;
}
restartJobOnWorkerRestart_ = false;
+ disableRetries_ = false;
return this;
}
@@ -386,6 +416,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.Scheduling result
if (((from_bitField0_ & 0x00000002) != 0)) {
result.restartJobOnWorkerRestart_ = restartJobOnWorkerRestart_;
}
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.disableRetries_ = disableRetries_;
+ }
}
@java.lang.Override
@@ -439,6 +472,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Scheduling other) {
if (other.getRestartJobOnWorkerRestart() != false) {
setRestartJobOnWorkerRestart(other.getRestartJobOnWorkerRestart());
}
+ if (other.getDisableRetries() != false) {
+ setDisableRetries(other.getDisableRetries());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -477,6 +513,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 24
+ case 40:
+ {
+ disableRetries_ = input.readBool();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 40
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -734,6 +776,65 @@ public Builder clearRestartJobOnWorkerRestart() {
return this;
}
+ private boolean disableRetries_;
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableRetries.
+ */
+ @java.lang.Override
+ public boolean getDisableRetries() {
+ return disableRetries_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The disableRetries to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisableRetries(boolean value) {
+
+ disableRetries_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisableRetries() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ disableRetries_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
index 2fe4a5fae043..247880393f28 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
@@ -72,4 +72,19 @@ public interface SchedulingOrBuilder
* @return The restartJobOnWorkerRestart.
*/
boolean getRestartJobOnWorkerRestart();
+
+ /**
+ *
+ *
+ *
+ * Optional. Indicates if the job should retry for internal errors after the
+ * job starts running. If true, overrides
+ * `Scheduling.restart_job_on_worker_restart` to false.
+ *
+ *
+ * bool disable_retries = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableRetries.
+ */
+ boolean getDisableRetries();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequest.java
index 7cf5ea237724..87e3d11964e6 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequest.java
@@ -1233,7 +1233,7 @@ public com.google.protobuf.ByteString getDatasetBytes() {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return The savedQuery.
*/
@java.lang.Override
@@ -1263,7 +1263,7 @@ public java.lang.String getSavedQuery() {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return The bytes for savedQuery.
*/
@java.lang.Override
@@ -1428,7 +1428,7 @@ public com.google.protobuf.ByteString getDataItemFilterBytes() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return The annotationsFilter.
*/
@java.lang.Override
@@ -1456,7 +1456,7 @@ public java.lang.String getAnnotationsFilter() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return The bytes for annotationsFilter.
*/
@java.lang.Override
@@ -1656,7 +1656,7 @@ public int getPageSize() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return The orderBy.
*/
@java.lang.Override
@@ -1683,7 +1683,7 @@ public java.lang.String getOrderBy() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return The bytes for orderBy.
*/
@java.lang.Override
@@ -2992,7 +2992,7 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return The savedQuery.
*/
@java.lang.Deprecated
@@ -3021,7 +3021,7 @@ public java.lang.String getSavedQuery() {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return The bytes for savedQuery.
*/
@java.lang.Deprecated
@@ -3050,7 +3050,7 @@ public com.google.protobuf.ByteString getSavedQueryBytes() {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @param value The savedQuery to set.
* @return This builder for chaining.
*/
@@ -3078,7 +3078,7 @@ public Builder setSavedQuery(java.lang.String value) {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3102,7 +3102,7 @@ public Builder clearSavedQuery() {
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @param value The bytes for savedQuery to set.
* @return This builder for chaining.
*/
@@ -3418,7 +3418,7 @@ public Builder setDataItemFilterBytes(com.google.protobuf.ByteString value) {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return The annotationsFilter.
*/
@java.lang.Deprecated
@@ -3445,7 +3445,7 @@ public java.lang.String getAnnotationsFilter() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return The bytes for annotationsFilter.
*/
@java.lang.Deprecated
@@ -3472,7 +3472,7 @@ public com.google.protobuf.ByteString getAnnotationsFilterBytes() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @param value The annotationsFilter to set.
* @return This builder for chaining.
*/
@@ -3498,7 +3498,7 @@ public Builder setAnnotationsFilter(java.lang.String value) {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -3520,7 +3520,7 @@ public Builder clearAnnotationsFilter() {
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @param value The bytes for annotationsFilter to set.
* @return This builder for chaining.
*/
@@ -4061,7 +4061,7 @@ public Builder clearPageSize() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return The orderBy.
*/
@java.lang.Deprecated
@@ -4087,7 +4087,7 @@ public java.lang.String getOrderBy() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return The bytes for orderBy.
*/
@java.lang.Deprecated
@@ -4113,7 +4113,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @param value The orderBy to set.
* @return This builder for chaining.
*/
@@ -4138,7 +4138,7 @@ public Builder setOrderBy(java.lang.String value) {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -4159,7 +4159,7 @@ public Builder clearOrderBy() {
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @param value The bytes for orderBy to set.
* @return This builder for chaining.
*/
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequestOrBuilder.java
index ed44e2c10b89..a6c3add561c0 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequestOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SearchDataItemsRequestOrBuilder.java
@@ -153,7 +153,7 @@ public interface SearchDataItemsRequestOrBuilder
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return The savedQuery.
*/
@java.lang.Deprecated
@@ -172,7 +172,7 @@ public interface SearchDataItemsRequestOrBuilder
*
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.saved_query is deprecated.
- * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=449
+ * See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=463
* @return The bytes for savedQuery.
*/
@java.lang.Deprecated
@@ -270,7 +270,7 @@ public interface SearchDataItemsRequestOrBuilder
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return The annotationsFilter.
*/
@java.lang.Deprecated
@@ -287,7 +287,7 @@ public interface SearchDataItemsRequestOrBuilder
* string annotations_filter = 5 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.annotations_filter is
- * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=480
+ * deprecated. See google/cloud/aiplatform/v1beta1/dataset_service.proto;l=494
* @return The bytes for annotationsFilter.
*/
@java.lang.Deprecated
@@ -438,7 +438,7 @@ public interface SearchDataItemsRequestOrBuilder
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return The orderBy.
*/
@java.lang.Deprecated
@@ -454,7 +454,7 @@ public interface SearchDataItemsRequestOrBuilder
* string order_by = 9 [deprecated = true];
*
* @deprecated google.cloud.aiplatform.v1beta1.SearchDataItemsRequest.order_by is deprecated. See
- * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=504
+ * google/cloud/aiplatform/v1beta1/dataset_service.proto;l=518
* @return The bytes for orderBy.
*/
@java.lang.Deprecated
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdatePersistentResourceOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdatePersistentResourceOperationMetadata.java
new file mode 100644
index 000000000000..61b803c7250f
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdatePersistentResourceOperationMetadata.java
@@ -0,0 +1,743 @@
+/*
+ * Copyright 2023 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/persistent_resource_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Details of operations that perform update PersistentResource.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata}
+ */
+public final class UpdatePersistentResourceOperationMetadata
+ extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata)
+ UpdatePersistentResourceOperationMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use UpdatePersistentResourceOperationMetadata.newBuilder() to construct.
+ private UpdatePersistentResourceOperationMetadata(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UpdatePersistentResourceOperationMetadata() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdatePersistentResourceOperationMetadata();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.PersistentResourceServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceOperationMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.PersistentResourceServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceOperationMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata.class,
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata.Builder
+ .class);
+ }
+
+ public static final int GENERIC_METADATA_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata genericMetadata_;
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ @java.lang.Override
+ public boolean hasGenericMetadata() {
+ return genericMetadata_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+
+ 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 (genericMetadata_ != null) {
+ output.writeMessage(1, getGenericMetadata());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (genericMetadata_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata());
+ }
+ size += getUnknownFields().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.UpdatePersistentResourceOperationMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata other =
+ (com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata) obj;
+
+ if (hasGenericMetadata() != other.hasGenericMetadata()) return false;
+ if (hasGenericMetadata()) {
+ if (!getGenericMetadata().equals(other.getGenericMetadata())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasGenericMetadata()) {
+ hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGenericMetadata().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata
+ 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.UpdatePersistentResourceOperationMetadata 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;
+ }
+ /**
+ *
+ *
+ *
+ * Details of operations that perform update PersistentResource.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ public boolean hasGenericMetadata() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() {
+ if (genericMetadataBuilder_ == null) {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ } else {
+ return genericMetadataBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ genericMetadata_ = value;
+ } else {
+ genericMetadataBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder setGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder builderForValue) {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadata_ = builderForValue.build();
+ } else {
+ genericMetadataBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder mergeGenericMetadata(
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) {
+ if (genericMetadataBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata
+ .getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
+ } else {
+ genericMetadata_ = value;
+ }
+ } else {
+ genericMetadataBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public Builder clearGenericMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
+ genericMetadataBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder
+ getGenericMetadataBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getGenericMetadataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder() {
+ if (genericMetadataBuilder_ != null) {
+ return genericMetadataBuilder_.getMessageOrBuilder();
+ } else {
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>
+ getGenericMetadataFieldBuilder() {
+ if (genericMetadataBuilder_ == null) {
+ genericMetadataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder,
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>(
+ getGenericMetadata(), getParentForChildren(), isClean());
+ genericMetadata_ = null;
+ }
+ return genericMetadataBuilder_;
+ }
+
+ @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.UpdatePersistentResourceOperationMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata)
+ private static final com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return Whether the genericMetadata field is set.
+ */
+ boolean hasGenericMetadata();
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ *
+ * @return The genericMetadata.
+ */
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata();
+ /**
+ *
+ *
+ *
+ * Operation metadata for PersistentResource.
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1;
+ */
+ com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder
+ getGenericMetadataOrBuilder();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdatePersistentResourceRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdatePersistentResourceRequest.java
new file mode 100644
index 000000000000..281551079247
--- /dev/null
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdatePersistentResourceRequest.java
@@ -0,0 +1,1085 @@
+/*
+ * Copyright 2023 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/persistent_resource_service.proto
+
+package com.google.cloud.aiplatform.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Request message for UpdatePersistentResource method.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest}
+ */
+public final class UpdatePersistentResourceRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest)
+ UpdatePersistentResourceRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use UpdatePersistentResourceRequest.newBuilder() to construct.
+ private UpdatePersistentResourceRequest(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UpdatePersistentResourceRequest() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdatePersistentResourceRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.PersistentResourceServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.PersistentResourceServiceProto
+ .internal_static_google_cloud_aiplatform_v1beta1_UpdatePersistentResourceRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest.class,
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest.Builder.class);
+ }
+
+ public static final int PERSISTENT_RESOURCE_FIELD_NUMBER = 1;
+ private com.google.cloud.aiplatform.v1beta1.PersistentResource persistentResource_;
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the persistentResource field is set.
+ */
+ @java.lang.Override
+ public boolean hasPersistentResource() {
+ return persistentResource_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The persistentResource.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PersistentResource getPersistentResource() {
+ return persistentResource_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentResource.getDefaultInstance()
+ : persistentResource_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.PersistentResourceOrBuilder
+ getPersistentResourceOrBuilder() {
+ return persistentResource_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentResource.getDefaultInstance()
+ : persistentResource_;
+ }
+
+ public static final int UPDATE_MASK_FIELD_NUMBER = 2;
+ private com.google.protobuf.FieldMask updateMask_;
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ @java.lang.Override
+ public boolean hasUpdateMask() {
+ return updateMask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The updateMask.
+ */
+ @java.lang.Override
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+
+ 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 (persistentResource_ != null) {
+ output.writeMessage(1, getPersistentResource());
+ }
+ if (updateMask_ != null) {
+ output.writeMessage(2, getUpdateMask());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (persistentResource_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPersistentResource());
+ }
+ if (updateMask_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+ }
+ size += getUnknownFields().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.UpdatePersistentResourceRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest other =
+ (com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest) obj;
+
+ if (hasPersistentResource() != other.hasPersistentResource()) return false;
+ if (hasPersistentResource()) {
+ if (!getPersistentResource().equals(other.getPersistentResource())) return false;
+ }
+ if (hasUpdateMask() != other.hasUpdateMask()) return false;
+ if (hasUpdateMask()) {
+ if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasPersistentResource()) {
+ hash = (37 * hash) + PERSISTENT_RESOURCE_FIELD_NUMBER;
+ hash = (53 * hash) + getPersistentResource().hashCode();
+ }
+ if (hasUpdateMask()) {
+ hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateMask().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest 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.UpdatePersistentResourceRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest 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.UpdatePersistentResourceRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest 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.UpdatePersistentResourceRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest 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.UpdatePersistentResourceRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest
+ 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.UpdatePersistentResourceRequest 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.UpdatePersistentResourceRequest 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.UpdatePersistentResourceRequest 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 UpdatePersistentResource method.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the persistentResource field is set.
+ */
+ public boolean hasPersistentResource() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The persistentResource.
+ */
+ public com.google.cloud.aiplatform.v1beta1.PersistentResource getPersistentResource() {
+ if (persistentResourceBuilder_ == null) {
+ return persistentResource_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentResource.getDefaultInstance()
+ : persistentResource_;
+ } else {
+ return persistentResourceBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPersistentResource(
+ com.google.cloud.aiplatform.v1beta1.PersistentResource value) {
+ if (persistentResourceBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ persistentResource_ = value;
+ } else {
+ persistentResourceBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setPersistentResource(
+ com.google.cloud.aiplatform.v1beta1.PersistentResource.Builder builderForValue) {
+ if (persistentResourceBuilder_ == null) {
+ persistentResource_ = builderForValue.build();
+ } else {
+ persistentResourceBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergePersistentResource(
+ com.google.cloud.aiplatform.v1beta1.PersistentResource value) {
+ if (persistentResourceBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && persistentResource_ != null
+ && persistentResource_
+ != com.google.cloud.aiplatform.v1beta1.PersistentResource.getDefaultInstance()) {
+ getPersistentResourceBuilder().mergeFrom(value);
+ } else {
+ persistentResource_ = value;
+ }
+ } else {
+ persistentResourceBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearPersistentResource() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ persistentResource_ = null;
+ if (persistentResourceBuilder_ != null) {
+ persistentResourceBuilder_.dispose();
+ persistentResourceBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PersistentResource.Builder
+ getPersistentResourceBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return getPersistentResourceFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.PersistentResourceOrBuilder
+ getPersistentResourceOrBuilder() {
+ if (persistentResourceBuilder_ != null) {
+ return persistentResourceBuilder_.getMessageOrBuilder();
+ } else {
+ return persistentResource_ == null
+ ? com.google.cloud.aiplatform.v1beta1.PersistentResource.getDefaultInstance()
+ : persistentResource_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The PersistentResource to update.
+ *
+ * The PersistentResource's `name` field is used to identify the
+ * PersistentResource to update. Format:
+ * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}`
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PersistentResource,
+ com.google.cloud.aiplatform.v1beta1.PersistentResource.Builder,
+ com.google.cloud.aiplatform.v1beta1.PersistentResourceOrBuilder>
+ getPersistentResourceFieldBuilder() {
+ if (persistentResourceBuilder_ == null) {
+ persistentResourceBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.PersistentResource,
+ com.google.cloud.aiplatform.v1beta1.PersistentResource.Builder,
+ com.google.cloud.aiplatform.v1beta1.PersistentResourceOrBuilder>(
+ getPersistentResource(), getParentForChildren(), isClean());
+ persistentResource_ = null;
+ }
+ return persistentResourceBuilder_;
+ }
+
+ private com.google.protobuf.FieldMask updateMask_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ updateMaskBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the updateMask field is set.
+ */
+ public boolean hasUpdateMask() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The updateMask.
+ */
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ if (updateMaskBuilder_ == null) {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ } else {
+ return updateMaskBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateMask_ = value;
+ } else {
+ updateMaskBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+ if (updateMaskBuilder_ == null) {
+ updateMask_ = builderForValue.build();
+ } else {
+ updateMaskBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && updateMask_ != null
+ && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+ getUpdateMaskBuilder().mergeFrom(value);
+ } else {
+ updateMask_ = value;
+ }
+ } else {
+ updateMaskBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearUpdateMask() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ updateMask_ = null;
+ if (updateMaskBuilder_ != null) {
+ updateMaskBuilder_.dispose();
+ updateMaskBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getUpdateMaskFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ if (updateMaskBuilder_ != null) {
+ return updateMaskBuilder_.getMessageOrBuilder();
+ } else {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. Specify the fields to be overwritten in the PersistentResource by
+ * the update method.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ getUpdateMaskFieldBuilder() {
+ if (updateMaskBuilder_ == null) {
+ updateMaskBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>(
+ getUpdateMask(), getParentForChildren(), isClean());
+ updateMask_ = null;
+ }
+ return updateMaskBuilder_;
+ }
+
+ @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.UpdatePersistentResourceRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest)
+ private static final com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser