diff --git a/CHANGELOG.md b/CHANGELOG.md index e6854be45..b41a83e92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [2.8.0](https://github.com/googleapis/java-aiplatform/compare/v2.7.4...v2.8.0) (2022-03-29) + + +### Features + +* add `service_account` to `BatchPredictionJob` in aiplatform `v1beta1` `batch_prediction_job.proto` ([#831](https://github.com/googleapis/java-aiplatform/issues/831)) ([cd12452](https://github.com/googleapis/java-aiplatform/commit/cd1245213594655ed434f72901fa576da75a8f79)) +* add ImportModelEvaluation in aiplatform v1 model_service.proto ([#832](https://github.com/googleapis/java-aiplatform/issues/832)) ([e720ecc](https://github.com/googleapis/java-aiplatform/commit/e720eccdae90bbe7d6841d3f858ddc25b45907a6)) +* add monitoring_config to EntityType in aiplatform v1 entity_type.proto ([#830](https://github.com/googleapis/java-aiplatform/issues/830)) ([139a839](https://github.com/googleapis/java-aiplatform/commit/139a83950f7a846b6216539b7cad2242384166a9)) +* add PredictRequestResponseLoggingConfig to Endpoint in aiplatform v1 endpoint.proto ([#824](https://github.com/googleapis/java-aiplatform/issues/824)) ([2ac62d6](https://github.com/googleapis/java-aiplatform/commit/2ac62d6574845824f09e6b2af30c2e750b334f9b)) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.13.4 ([#829](https://github.com/googleapis/java-aiplatform/issues/829)) ([f31367a](https://github.com/googleapis/java-aiplatform/commit/f31367ab045811832e2f008a753921366f6b3529)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#836](https://github.com/googleapis/java-aiplatform/issues/836)) ([320e320](https://github.com/googleapis/java-aiplatform/commit/320e320dac6cc3fd5a2a93f3077134d73060cb70)) +* update dependency com.google.cloud:google-cloud-storage to v2.5.0 ([#834](https://github.com/googleapis/java-aiplatform/issues/834)) ([9dd2b5d](https://github.com/googleapis/java-aiplatform/commit/9dd2b5d796efe0a491dc11c1186414e767e52621)) +* update dependency com.google.cloud:google-cloud-storage to v2.5.1 ([#835](https://github.com/googleapis/java-aiplatform/issues/835)) ([8857925](https://github.com/googleapis/java-aiplatform/commit/8857925ae6f07a15228de1a2cb3b724670ea1041)) + ### [2.7.4](https://github.com/googleapis/java-aiplatform/compare/v2.7.3...v2.7.4) (2022-03-10) diff --git a/README.md b/README.md index 5acc82ad8..54064c289 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud google-cloud-aiplatform - 2.7.3 + 2.7.4 ``` @@ -30,7 +30,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-aiplatform - 2.7.3 + 2.7.4 ``` @@ -38,20 +38,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:24.4.0') +implementation platform('com.google.cloud:libraries-bom:25.0.0') implementation 'com.google.cloud:google-cloud-aiplatform' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:2.7.3' +implementation 'com.google.cloud:google-cloud-aiplatform:2.7.4' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "2.7.3" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "2.7.4" ``` ## Authentication diff --git a/google-cloud-aiplatform-bom/pom.xml b/google-cloud-aiplatform-bom/pom.xml index baa5a482b..77bcebede 100644 --- a/google-cloud-aiplatform-bom/pom.xml +++ b/google-cloud-aiplatform-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-aiplatform-bom - 2.7.4 + 2.8.0 pom com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 Google Cloud Vertex AI BOM @@ -56,27 +56,27 @@ com.google.cloud google-cloud-aiplatform - 2.7.4 + 2.8.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 2.7.4 + 2.8.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.13.4 + 0.14.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 2.7.4 + 2.8.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.13.4 + 0.14.0 diff --git a/google-cloud-aiplatform/pom.xml b/google-cloud-aiplatform/pom.xml index 563b3ea3d..5e9b069f6 100644 --- a/google-cloud-aiplatform/pom.xml +++ b/google-cloud-aiplatform/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-aiplatform - 2.7.4 + 2.8.0 jar Google Cloud Vertex AI https://github.com/googleapis/java-aiplatform @@ -11,7 +11,7 @@ com.google.cloud google-cloud-aiplatform-parent - 2.7.4 + 2.8.0 google-cloud-aiplatform diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java index e0bbd8931..dbbc953db 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClient.java @@ -1413,7 +1413,12 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest * overwritten. Set the update_mask to `*` to override all fields. *

Updatable fields: *

* `description` * `labels` * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` * + * `monitoring_config.snapshot_analysis.staleness_days` * + * `monitoring_config.import_features_analysis.state` * + * `monitoring_config.import_features_analysis.anomaly_detection_baseline` * + * `monitoring_config.numerical_threshold_config.value` * + * `monitoring_config.categorical_threshold_config.value` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType updateEntityType(EntityType entityType, FieldMask updateMask) { @@ -2323,8 +2328,7 @@ public final UnaryCallable listFeatur * user does not provide a mask then only the non-empty fields present in the request will be * overwritten. Set the update_mask to `*` to override all fields. *

Updatable fields: - *

* `description` * `labels` * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + *

* `description` * `labels` * `disable_monitoring` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Feature updateFeature(Feature feature, FieldMask updateMask) { @@ -2632,6 +2636,7 @@ public final UnaryCallable deleteFeatureCallabl * .addAllFeatureSpecs(new ArrayList()) * .setDisableOnlineServing(true) * .setWorkerCount(372044046) + * .setDisableIngestionAnalysis(true) * .build(); * ImportFeatureValuesResponse response = * featurestoreServiceClient.importFeatureValuesAsync(request).get(); @@ -2679,6 +2684,7 @@ public final UnaryCallable deleteFeatureCallabl * .addAllFeatureSpecs(new ArrayList()) * .setDisableOnlineServing(true) * .setWorkerCount(372044046) + * .setDisableIngestionAnalysis(true) * .build(); * OperationFuture future = * featurestoreServiceClient.importFeatureValuesOperationCallable().futureCall(request); @@ -2728,6 +2734,7 @@ public final UnaryCallable deleteFeatureCallabl * .addAllFeatureSpecs(new ArrayList()) * .setDisableOnlineServing(true) * .setWorkerCount(372044046) + * .setDisableIngestionAnalysis(true) * .build(); * ApiFuture future = * featurestoreServiceClient.importFeatureValuesCallable().futureCall(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java index d8f66f6c2..b354d31b4 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java @@ -871,6 +871,113 @@ public final UnaryCallable exportModelCallable() return stub.exportModelCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+   *   ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build();
+   *   ModelEvaluation response = modelServiceClient.importModelEvaluation(parent, modelEvaluation);
+   * }
+   * }
+ * + * @param parent Required. The name of the parent model resource. Format: + * `projects/{project}/locations/{location}/models/{model}` + * @param modelEvaluation Required. Model evaluation resource to be imported. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ModelEvaluation importModelEvaluation( + ModelName parent, ModelEvaluation modelEvaluation) { + ImportModelEvaluationRequest request = + ImportModelEvaluationRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setModelEvaluation(modelEvaluation) + .build(); + return importModelEvaluation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   String parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
+   *   ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build();
+   *   ModelEvaluation response = modelServiceClient.importModelEvaluation(parent, modelEvaluation);
+   * }
+   * }
+ * + * @param parent Required. The name of the parent model resource. Format: + * `projects/{project}/locations/{location}/models/{model}` + * @param modelEvaluation Required. Model evaluation resource to be imported. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ModelEvaluation importModelEvaluation( + String parent, ModelEvaluation modelEvaluation) { + ImportModelEvaluationRequest request = + ImportModelEvaluationRequest.newBuilder() + .setParent(parent) + .setModelEvaluation(modelEvaluation) + .build(); + return importModelEvaluation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   ImportModelEvaluationRequest request =
+   *       ImportModelEvaluationRequest.newBuilder()
+   *           .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setModelEvaluation(ModelEvaluation.newBuilder().build())
+   *           .build();
+   *   ModelEvaluation response = modelServiceClient.importModelEvaluation(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 ModelEvaluation importModelEvaluation(ImportModelEvaluationRequest request) { + return importModelEvaluationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   ImportModelEvaluationRequest request =
+   *       ImportModelEvaluationRequest.newBuilder()
+   *           .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setModelEvaluation(ModelEvaluation.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       modelServiceClient.importModelEvaluationCallable().futureCall(request);
+   *   // Do something.
+   *   ModelEvaluation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + importModelEvaluationCallable() { + return stub.importModelEvaluationCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets a ModelEvaluation. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java index c84dbdaf6..ceba1bd99 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java @@ -124,6 +124,12 @@ public UnaryCallSettings exportModelSettings() { return ((ModelServiceStubSettings) getStubSettings()).exportModelOperationSettings(); } + /** Returns the object with the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings + importModelEvaluationSettings() { + return ((ModelServiceStubSettings) getStubSettings()).importModelEvaluationSettings(); + } + /** Returns the object with the settings used for calls to getModelEvaluation. */ public UnaryCallSettings getModelEvaluationSettings() { @@ -302,6 +308,12 @@ public UnaryCallSettings.Builder exportModelSetti return getStubSettingsBuilder().exportModelOperationSettings(); } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings.Builder + importModelEvaluationSettings() { + return getStubSettingsBuilder().importModelEvaluationSettings(); + } + /** Returns the builder for the settings used for calls to getModelEvaluation. */ public UnaryCallSettings.Builder getModelEvaluationSettings() { diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json index f57af43be..dde8e00c2 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json @@ -445,6 +445,9 @@ "GetModelEvaluationSlice": { "methods": ["getModelEvaluationSlice", "getModelEvaluationSlice", "getModelEvaluationSlice", "getModelEvaluationSliceCallable"] }, + "ImportModelEvaluation": { + "methods": ["importModelEvaluation", "importModelEvaluation", "importModelEvaluation", "importModelEvaluationCallable"] + }, "ListModelEvaluationSlices": { "methods": ["listModelEvaluationSlices", "listModelEvaluationSlices", "listModelEvaluationSlices", "listModelEvaluationSlicesPagedCallable", "listModelEvaluationSlicesCallable"] }, diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java index 27be1e75d..cf4f63b76 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java @@ -35,6 +35,7 @@ import com.google.cloud.aiplatform.v1.GetModelEvaluationRequest; import com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest; import com.google.cloud.aiplatform.v1.GetModelRequest; +import com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest; import com.google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse; import com.google.cloud.aiplatform.v1.ListModelEvaluationsRequest; @@ -115,6 +116,16 @@ public class GrpcModelServiceStub extends ModelServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + importModelEvaluationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.ModelService/ImportModelEvaluation") + .setRequestMarshaller( + ProtoUtils.marshaller(ImportModelEvaluationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ModelEvaluation.getDefaultInstance())) + .build(); + private static final MethodDescriptor getModelEvaluationMethodDescriptor = MethodDescriptor.newBuilder() @@ -176,6 +187,8 @@ public class GrpcModelServiceStub extends ModelServiceStub { private final OperationCallable< ExportModelRequest, ExportModelResponse, ExportModelOperationMetadata> exportModelOperationCallable; + private final UnaryCallable + importModelEvaluationCallable; private final UnaryCallable getModelEvaluationCallable; private final UnaryCallable @@ -292,6 +305,17 @@ protected GrpcModelServiceStub( return params.build(); }) .build(); + GrpcCallSettings + importModelEvaluationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importModelEvaluationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); GrpcCallSettings getModelEvaluationTransportSettings = GrpcCallSettings.newBuilder() @@ -377,6 +401,11 @@ protected GrpcModelServiceStub( settings.exportModelOperationSettings(), clientContext, operationsStub); + this.importModelEvaluationCallable = + callableFactory.createUnaryCallable( + importModelEvaluationTransportSettings, + settings.importModelEvaluationSettings(), + clientContext); this.getModelEvaluationCallable = callableFactory.createUnaryCallable( getModelEvaluationTransportSettings, @@ -469,6 +498,12 @@ public UnaryCallable exportModelCallable() { return exportModelOperationCallable; } + @Override + public UnaryCallable + importModelEvaluationCallable() { + return importModelEvaluationCallable; + } + @Override public UnaryCallable getModelEvaluationCallable() { return getModelEvaluationCallable; diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java index 0b2a7a47c..455acd0bf 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java @@ -31,6 +31,7 @@ import com.google.cloud.aiplatform.v1.GetModelEvaluationRequest; import com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest; import com.google.cloud.aiplatform.v1.GetModelRequest; +import com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest; import com.google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse; import com.google.cloud.aiplatform.v1.ListModelEvaluationsRequest; @@ -105,6 +106,11 @@ public UnaryCallable exportModelCallable() { throw new UnsupportedOperationException("Not implemented: exportModelCallable()"); } + public UnaryCallable + importModelEvaluationCallable() { + throw new UnsupportedOperationException("Not implemented: importModelEvaluationCallable()"); + } + public UnaryCallable getModelEvaluationCallable() { throw new UnsupportedOperationException("Not implemented: getModelEvaluationCallable()"); } diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java index bae49ec83..aaca99c3d 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java @@ -54,6 +54,7 @@ import com.google.cloud.aiplatform.v1.GetModelEvaluationRequest; import com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest; import com.google.cloud.aiplatform.v1.GetModelRequest; +import com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest; import com.google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse; import com.google.cloud.aiplatform.v1.ListModelEvaluationsRequest; @@ -131,6 +132,8 @@ public class ModelServiceStubSettings extends StubSettings exportModelOperationSettings; + private final UnaryCallSettings + importModelEvaluationSettings; private final UnaryCallSettings getModelEvaluationSettings; private final PagedCallSettings< @@ -390,6 +393,12 @@ public UnaryCallSettings exportModelSettings() { return exportModelOperationSettings; } + /** Returns the object with the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings + importModelEvaluationSettings() { + return importModelEvaluationSettings; + } + /** Returns the object with the settings used for calls to getModelEvaluation. */ public UnaryCallSettings getModelEvaluationSettings() { @@ -505,6 +514,7 @@ protected ModelServiceStubSettings(Builder settingsBuilder) throws IOException { deleteModelOperationSettings = settingsBuilder.deleteModelOperationSettings().build(); exportModelSettings = settingsBuilder.exportModelSettings().build(); exportModelOperationSettings = settingsBuilder.exportModelOperationSettings().build(); + importModelEvaluationSettings = settingsBuilder.importModelEvaluationSettings().build(); getModelEvaluationSettings = settingsBuilder.getModelEvaluationSettings().build(); listModelEvaluationsSettings = settingsBuilder.listModelEvaluationsSettings().build(); getModelEvaluationSliceSettings = settingsBuilder.getModelEvaluationSliceSettings().build(); @@ -530,6 +540,8 @@ public static class Builder extends StubSettings.Builder exportModelOperationSettings; + private final UnaryCallSettings.Builder + importModelEvaluationSettings; private final UnaryCallSettings.Builder getModelEvaluationSettings; private final PagedCallSettings.Builder< @@ -580,6 +592,7 @@ protected Builder(ClientContext clientContext) { deleteModelOperationSettings = OperationCallSettings.newBuilder(); exportModelSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); exportModelOperationSettings = OperationCallSettings.newBuilder(); + importModelEvaluationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getModelEvaluationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listModelEvaluationsSettings = PagedCallSettings.newBuilder(LIST_MODEL_EVALUATIONS_PAGE_STR_FACT); @@ -595,6 +608,7 @@ protected Builder(ClientContext clientContext) { updateModelSettings, deleteModelSettings, exportModelSettings, + importModelEvaluationSettings, getModelEvaluationSettings, listModelEvaluationsSettings, getModelEvaluationSliceSettings, @@ -614,6 +628,7 @@ protected Builder(ModelServiceStubSettings settings) { deleteModelOperationSettings = settings.deleteModelOperationSettings.toBuilder(); exportModelSettings = settings.exportModelSettings.toBuilder(); exportModelOperationSettings = settings.exportModelOperationSettings.toBuilder(); + importModelEvaluationSettings = settings.importModelEvaluationSettings.toBuilder(); getModelEvaluationSettings = settings.getModelEvaluationSettings.toBuilder(); listModelEvaluationsSettings = settings.listModelEvaluationsSettings.toBuilder(); getModelEvaluationSliceSettings = settings.getModelEvaluationSliceSettings.toBuilder(); @@ -627,6 +642,7 @@ protected Builder(ModelServiceStubSettings settings) { updateModelSettings, deleteModelSettings, exportModelSettings, + importModelEvaluationSettings, getModelEvaluationSettings, listModelEvaluationsSettings, getModelEvaluationSliceSettings, @@ -677,6 +693,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .importModelEvaluationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .getModelEvaluationSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -843,6 +864,12 @@ public UnaryCallSettings.Builder exportModelSetti return exportModelOperationSettings; } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings.Builder + importModelEvaluationSettings() { + return importModelEvaluationSettings; + } + /** Returns the builder for the settings used for calls to getModelEvaluation. */ public UnaryCallSettings.Builder getModelEvaluationSettings() { diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java index f4ab4e395..438ad91fe 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClient.java @@ -1414,7 +1414,12 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest * overwritten. Set the update_mask to `*` to override all fields. *

Updatable fields: *

* `description` * `labels` * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` * + * `monitoring_config.snapshot_analysis.staleness_days` * + * `monitoring_config.import_features_analysis.state` * + * `monitoring_config.import_features_analysis.anomaly_detection_baseline` * + * `monitoring_config.numerical_threshold_config.value` * + * `monitoring_config.categorical_threshold_config.value` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntityType updateEntityType(EntityType entityType, FieldMask updateMask) { @@ -2324,8 +2329,7 @@ public final UnaryCallable listFeatur * user does not provide a mask then only the non-empty fields present in the request will be * overwritten. Set the update_mask to `*` to override all fields. *

Updatable fields: - *

* `description` * `labels` * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + *

* `description` * `labels` * `disable_monitoring` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Feature updateFeature(Feature feature, FieldMask updateMask) { @@ -2633,6 +2637,7 @@ public final UnaryCallable deleteFeatureCallabl * .addAllFeatureSpecs(new ArrayList()) * .setDisableOnlineServing(true) * .setWorkerCount(372044046) + * .setDisableIngestionAnalysis(true) * .build(); * ImportFeatureValuesResponse response = * featurestoreServiceClient.importFeatureValuesAsync(request).get(); @@ -2680,6 +2685,7 @@ public final UnaryCallable deleteFeatureCallabl * .addAllFeatureSpecs(new ArrayList()) * .setDisableOnlineServing(true) * .setWorkerCount(372044046) + * .setDisableIngestionAnalysis(true) * .build(); * OperationFuture future = * featurestoreServiceClient.importFeatureValuesOperationCallable().futureCall(request); @@ -2729,6 +2735,7 @@ public final UnaryCallable deleteFeatureCallabl * .addAllFeatureSpecs(new ArrayList()) * .setDisableOnlineServing(true) * .setWorkerCount(372044046) + * .setDisableIngestionAnalysis(true) * .build(); * ApiFuture future = * featurestoreServiceClient.importFeatureValuesCallable().futureCall(request); diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java index eb6f2b2a2..3764b7b65 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java @@ -869,6 +869,113 @@ public final UnaryCallable exportModelCallable() return stub.exportModelCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+   *   ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build();
+   *   ModelEvaluation response = modelServiceClient.importModelEvaluation(parent, modelEvaluation);
+   * }
+   * }
+ * + * @param parent Required. The name of the parent model resource. Format: + * `projects/{project}/locations/{location}/models/{model}` + * @param modelEvaluation Required. Model evaluation resource to be imported. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ModelEvaluation importModelEvaluation( + ModelName parent, ModelEvaluation modelEvaluation) { + ImportModelEvaluationRequest request = + ImportModelEvaluationRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setModelEvaluation(modelEvaluation) + .build(); + return importModelEvaluation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   String parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
+   *   ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build();
+   *   ModelEvaluation response = modelServiceClient.importModelEvaluation(parent, modelEvaluation);
+   * }
+   * }
+ * + * @param parent Required. The name of the parent model resource. Format: + * `projects/{project}/locations/{location}/models/{model}` + * @param modelEvaluation Required. Model evaluation resource to be imported. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ModelEvaluation importModelEvaluation( + String parent, ModelEvaluation modelEvaluation) { + ImportModelEvaluationRequest request = + ImportModelEvaluationRequest.newBuilder() + .setParent(parent) + .setModelEvaluation(modelEvaluation) + .build(); + return importModelEvaluation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   ImportModelEvaluationRequest request =
+   *       ImportModelEvaluationRequest.newBuilder()
+   *           .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setModelEvaluation(ModelEvaluation.newBuilder().build())
+   *           .build();
+   *   ModelEvaluation response = modelServiceClient.importModelEvaluation(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 ModelEvaluation importModelEvaluation(ImportModelEvaluationRequest request) { + return importModelEvaluationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports an externally generated ModelEvaluation. + * + *

Sample code: + * + *

{@code
+   * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   ImportModelEvaluationRequest request =
+   *       ImportModelEvaluationRequest.newBuilder()
+   *           .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setModelEvaluation(ModelEvaluation.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       modelServiceClient.importModelEvaluationCallable().futureCall(request);
+   *   // Do something.
+   *   ModelEvaluation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + importModelEvaluationCallable() { + return stub.importModelEvaluationCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Gets a ModelEvaluation. diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java index e7ff90a89..be025f6df 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java @@ -125,6 +125,12 @@ public UnaryCallSettings exportModelSettings() { return ((ModelServiceStubSettings) getStubSettings()).exportModelOperationSettings(); } + /** Returns the object with the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings + importModelEvaluationSettings() { + return ((ModelServiceStubSettings) getStubSettings()).importModelEvaluationSettings(); + } + /** Returns the object with the settings used for calls to getModelEvaluation. */ public UnaryCallSettings getModelEvaluationSettings() { @@ -303,6 +309,12 @@ public UnaryCallSettings.Builder exportModelSetti return getStubSettingsBuilder().exportModelOperationSettings(); } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings.Builder + importModelEvaluationSettings() { + return getStubSettingsBuilder().importModelEvaluationSettings(); + } + /** Returns the builder for the settings used for calls to getModelEvaluation. */ public UnaryCallSettings.Builder getModelEvaluationSettings() { diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json index b60d076fc..cd15467d6 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json @@ -445,6 +445,9 @@ "GetModelEvaluationSlice": { "methods": ["getModelEvaluationSlice", "getModelEvaluationSlice", "getModelEvaluationSlice", "getModelEvaluationSliceCallable"] }, + "ImportModelEvaluation": { + "methods": ["importModelEvaluation", "importModelEvaluation", "importModelEvaluation", "importModelEvaluationCallable"] + }, "ListModelEvaluationSlices": { "methods": ["listModelEvaluationSlices", "listModelEvaluationSlices", "listModelEvaluationSlices", "listModelEvaluationSlicesPagedCallable", "listModelEvaluationSlicesCallable"] }, diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java index 82082e5b9..693282768 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java @@ -36,6 +36,7 @@ import com.google.cloud.aiplatform.v1beta1.GetModelEvaluationRequest; import com.google.cloud.aiplatform.v1beta1.GetModelEvaluationSliceRequest; import com.google.cloud.aiplatform.v1beta1.GetModelRequest; +import com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationsRequest; @@ -117,6 +118,17 @@ public class GrpcModelServiceStub extends ModelServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + importModelEvaluationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.aiplatform.v1beta1.ModelService/ImportModelEvaluation") + .setRequestMarshaller( + ProtoUtils.marshaller(ImportModelEvaluationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ModelEvaluation.getDefaultInstance())) + .build(); + private static final MethodDescriptor getModelEvaluationMethodDescriptor = MethodDescriptor.newBuilder() @@ -180,6 +192,8 @@ public class GrpcModelServiceStub extends ModelServiceStub { private final OperationCallable< ExportModelRequest, ExportModelResponse, ExportModelOperationMetadata> exportModelOperationCallable; + private final UnaryCallable + importModelEvaluationCallable; private final UnaryCallable getModelEvaluationCallable; private final UnaryCallable @@ -296,6 +310,17 @@ protected GrpcModelServiceStub( return params.build(); }) .build(); + GrpcCallSettings + importModelEvaluationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importModelEvaluationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); GrpcCallSettings getModelEvaluationTransportSettings = GrpcCallSettings.newBuilder() @@ -381,6 +406,11 @@ protected GrpcModelServiceStub( settings.exportModelOperationSettings(), clientContext, operationsStub); + this.importModelEvaluationCallable = + callableFactory.createUnaryCallable( + importModelEvaluationTransportSettings, + settings.importModelEvaluationSettings(), + clientContext); this.getModelEvaluationCallable = callableFactory.createUnaryCallable( getModelEvaluationTransportSettings, @@ -473,6 +503,12 @@ public UnaryCallable exportModelCallable() { return exportModelOperationCallable; } + @Override + public UnaryCallable + importModelEvaluationCallable() { + return importModelEvaluationCallable; + } + @Override public UnaryCallable getModelEvaluationCallable() { return getModelEvaluationCallable; diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java index 644d8376b..33413c2cc 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java @@ -32,6 +32,7 @@ import com.google.cloud.aiplatform.v1beta1.GetModelEvaluationRequest; import com.google.cloud.aiplatform.v1beta1.GetModelEvaluationSliceRequest; import com.google.cloud.aiplatform.v1beta1.GetModelRequest; +import com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationsRequest; @@ -107,6 +108,11 @@ public UnaryCallable exportModelCallable() { throw new UnsupportedOperationException("Not implemented: exportModelCallable()"); } + public UnaryCallable + importModelEvaluationCallable() { + throw new UnsupportedOperationException("Not implemented: importModelEvaluationCallable()"); + } + public UnaryCallable getModelEvaluationCallable() { throw new UnsupportedOperationException("Not implemented: getModelEvaluationCallable()"); } diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java index 16ee59f9c..4cb0179c2 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java @@ -54,6 +54,7 @@ import com.google.cloud.aiplatform.v1beta1.GetModelEvaluationRequest; import com.google.cloud.aiplatform.v1beta1.GetModelEvaluationSliceRequest; import com.google.cloud.aiplatform.v1beta1.GetModelRequest; +import com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse; import com.google.cloud.aiplatform.v1beta1.ListModelEvaluationsRequest; @@ -132,6 +133,8 @@ public class ModelServiceStubSettings extends StubSettings exportModelOperationSettings; + private final UnaryCallSettings + importModelEvaluationSettings; private final UnaryCallSettings getModelEvaluationSettings; private final PagedCallSettings< @@ -391,6 +394,12 @@ public UnaryCallSettings exportModelSettings() { return exportModelOperationSettings; } + /** Returns the object with the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings + importModelEvaluationSettings() { + return importModelEvaluationSettings; + } + /** Returns the object with the settings used for calls to getModelEvaluation. */ public UnaryCallSettings getModelEvaluationSettings() { @@ -506,6 +515,7 @@ protected ModelServiceStubSettings(Builder settingsBuilder) throws IOException { deleteModelOperationSettings = settingsBuilder.deleteModelOperationSettings().build(); exportModelSettings = settingsBuilder.exportModelSettings().build(); exportModelOperationSettings = settingsBuilder.exportModelOperationSettings().build(); + importModelEvaluationSettings = settingsBuilder.importModelEvaluationSettings().build(); getModelEvaluationSettings = settingsBuilder.getModelEvaluationSettings().build(); listModelEvaluationsSettings = settingsBuilder.listModelEvaluationsSettings().build(); getModelEvaluationSliceSettings = settingsBuilder.getModelEvaluationSliceSettings().build(); @@ -531,6 +541,8 @@ public static class Builder extends StubSettings.Builder exportModelOperationSettings; + private final UnaryCallSettings.Builder + importModelEvaluationSettings; private final UnaryCallSettings.Builder getModelEvaluationSettings; private final PagedCallSettings.Builder< @@ -553,6 +565,7 @@ public static class Builder extends StubSettings.BuildernewArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -569,6 +582,8 @@ public static class Builder extends StubSettings.Builder exportModelSetti return exportModelOperationSettings; } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ + public UnaryCallSettings.Builder + importModelEvaluationSettings() { + return importModelEvaluationSettings; + } + /** Returns the builder for the settings used for calls to getModelEvaluation. */ public UnaryCallSettings.Builder getModelEvaluationSettings() { diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/EndpointServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/EndpointServiceClientTest.java index cab2c7fa4..b662a58c1 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/EndpointServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/EndpointServiceClientTest.java @@ -108,6 +108,8 @@ public void createEndpointTest() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -172,6 +174,8 @@ public void createEndpointTest2() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -236,6 +240,8 @@ public void createEndpointTest3() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -303,6 +309,8 @@ public void createEndpointTest4() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -370,6 +378,8 @@ public void getEndpointTest() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); mockEndpointService.addResponse(expectedResponse); @@ -423,6 +433,8 @@ public void getEndpointTest2() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); mockEndpointService.addResponse(expectedResponse); @@ -564,6 +576,8 @@ public void updateEndpointTest() throws Exception { ModelDeploymentMonitoringJobName.of( "[PROJECT]", "[LOCATION]", "[MODEL_DEPLOYMENT_MONITORING_JOB]") .toString()) + .setPredictRequestResponseLoggingConfig( + PredictRequestResponseLoggingConfig.newBuilder().build()) .build(); mockEndpointService.addResponse(expectedResponse); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java index 0db4d7fc1..df592b6c0 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java @@ -735,6 +735,7 @@ public void createEntityTypeTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -791,6 +792,7 @@ public void createEntityTypeTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -847,6 +849,7 @@ public void createEntityTypeTest3() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -907,6 +910,7 @@ public void createEntityTypeTest4() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -967,6 +971,7 @@ public void getEntityTypeTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1014,6 +1019,7 @@ public void getEntityTypeTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1147,6 +1153,7 @@ public void updateEntityTypeTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1374,6 +1381,8 @@ public void createFeatureTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1433,6 +1442,8 @@ public void createFeatureTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1490,6 +1501,8 @@ public void createFeatureTest3() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1552,6 +1565,8 @@ public void createFeatureTest4() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1710,6 +1725,8 @@ public void getFeatureTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1758,6 +1775,8 @@ public void getFeatureTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1894,6 +1913,8 @@ public void updateFeatureTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .putAllLabels(new HashMap()) .setEtag("etag3123477") + .setDisableMonitoring(true) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); mockFeaturestoreService.addResponse(expectedResponse); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java index 9232b21be..632c772de 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java @@ -180,6 +180,27 @@ public void exportModel(ExportModelRequest request, StreamObserver re } } + @Override + public void importModelEvaluation( + ImportModelEvaluationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ModelEvaluation) { + requests.add(request); + responseObserver.onNext(((ModelEvaluation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportModelEvaluation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ModelEvaluation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void getModelEvaluation( GetModelEvaluationRequest request, StreamObserver responseObserver) { diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java index 699aa9234..1326fad26 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java @@ -636,6 +636,110 @@ public void exportModelExceptionTest2() throws Exception { } } + @Test + public void importModelEvaluationTest() throws Exception { + ModelEvaluation expectedResponse = + ModelEvaluation.newBuilder() + .setName( + ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]") + .toString()) + .setMetricsSchemaUri("metricsSchemaUri-182209912") + .setMetrics(Value.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllSliceDimensions(new ArrayList()) + .setDataItemSchemaUri("dataItemSchemaUri-154921298") + .setAnnotationSchemaUri("annotationSchemaUri1480032668") + .setModelExplanation(ModelExplanation.newBuilder().build()) + .addAllExplanationSpecs(new ArrayList()) + .build(); + mockModelService.addResponse(expectedResponse); + + ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + + ModelEvaluation actualResponse = client.importModelEvaluation(parent, modelEvaluation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportModelEvaluationRequest actualRequest = + ((ImportModelEvaluationRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(modelEvaluation, actualRequest.getModelEvaluation()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importModelEvaluationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + client.importModelEvaluation(parent, modelEvaluation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importModelEvaluationTest2() throws Exception { + ModelEvaluation expectedResponse = + ModelEvaluation.newBuilder() + .setName( + ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]") + .toString()) + .setMetricsSchemaUri("metricsSchemaUri-182209912") + .setMetrics(Value.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllSliceDimensions(new ArrayList()) + .setDataItemSchemaUri("dataItemSchemaUri-154921298") + .setAnnotationSchemaUri("annotationSchemaUri1480032668") + .setModelExplanation(ModelExplanation.newBuilder().build()) + .addAllExplanationSpecs(new ArrayList()) + .build(); + mockModelService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + + ModelEvaluation actualResponse = client.importModelEvaluation(parent, modelEvaluation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportModelEvaluationRequest actualRequest = + ((ImportModelEvaluationRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(modelEvaluation, actualRequest.getModelEvaluation()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importModelEvaluationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + String parent = "parent-995424086"; + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + client.importModelEvaluation(parent, modelEvaluation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getModelEvaluationTest() throws Exception { ModelEvaluation expectedResponse = @@ -647,7 +751,10 @@ public void getModelEvaluationTest() throws Exception { .setMetrics(Value.newBuilder().build()) .setCreateTime(Timestamp.newBuilder().build()) .addAllSliceDimensions(new ArrayList()) + .setDataItemSchemaUri("dataItemSchemaUri-154921298") + .setAnnotationSchemaUri("annotationSchemaUri1480032668") .setModelExplanation(ModelExplanation.newBuilder().build()) + .addAllExplanationSpecs(new ArrayList()) .build(); mockModelService.addResponse(expectedResponse); @@ -694,7 +801,10 @@ public void getModelEvaluationTest2() throws Exception { .setMetrics(Value.newBuilder().build()) .setCreateTime(Timestamp.newBuilder().build()) .addAllSliceDimensions(new ArrayList()) + .setDataItemSchemaUri("dataItemSchemaUri-154921298") + .setAnnotationSchemaUri("annotationSchemaUri1480032668") .setModelExplanation(ModelExplanation.newBuilder().build()) + .addAllExplanationSpecs(new ArrayList()) .build(); mockModelService.addResponse(expectedResponse); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java index bc790d63b..212e1d6b9 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java @@ -1382,7 +1382,9 @@ public void createFeatureTest() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1443,7 +1445,9 @@ public void createFeatureTest2() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1502,7 +1506,9 @@ public void createFeatureTest3() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1566,7 +1572,9 @@ public void createFeatureTest4() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1726,7 +1734,9 @@ public void getFeatureTest() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1776,7 +1786,9 @@ public void getFeatureTest2() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); mockFeaturestoreService.addResponse(expectedResponse); @@ -1914,7 +1926,9 @@ public void updateFeatureTest() throws Exception { .putAllLabels(new HashMap()) .setEtag("etag3123477") .setMonitoringConfig(FeaturestoreMonitoringConfig.newBuilder().build()) + .setDisableMonitoring(true) .addAllMonitoringStats(new ArrayList()) + .addAllMonitoringStatsAnomalies(new ArrayList()) .build(); mockFeaturestoreService.addResponse(expectedResponse); diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java index 9a15ae9c7..c45f82a5d 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java @@ -1530,6 +1530,7 @@ public void createBatchPredictionJobTest() throws Exception { .setModelParameters(Value.newBuilder().build()) .setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build()) .setDedicatedResources(BatchDedicatedResources.newBuilder().build()) + .setServiceAccount("serviceAccount1079137720") .setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build()) .setGenerateExplanation(true) .setExplanationSpec(ExplanationSpec.newBuilder().build()) @@ -1596,6 +1597,7 @@ public void createBatchPredictionJobTest2() throws Exception { .setModelParameters(Value.newBuilder().build()) .setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build()) .setDedicatedResources(BatchDedicatedResources.newBuilder().build()) + .setServiceAccount("serviceAccount1079137720") .setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build()) .setGenerateExplanation(true) .setExplanationSpec(ExplanationSpec.newBuilder().build()) @@ -1662,6 +1664,7 @@ public void getBatchPredictionJobTest() throws Exception { .setModelParameters(Value.newBuilder().build()) .setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build()) .setDedicatedResources(BatchDedicatedResources.newBuilder().build()) + .setServiceAccount("serviceAccount1079137720") .setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build()) .setGenerateExplanation(true) .setExplanationSpec(ExplanationSpec.newBuilder().build()) @@ -1727,6 +1730,7 @@ public void getBatchPredictionJobTest2() throws Exception { .setModelParameters(Value.newBuilder().build()) .setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build()) .setDedicatedResources(BatchDedicatedResources.newBuilder().build()) + .setServiceAccount("serviceAccount1079137720") .setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build()) .setGenerateExplanation(true) .setExplanationSpec(ExplanationSpec.newBuilder().build()) diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java index 1961cf093..8da9eb3fd 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java @@ -180,6 +180,27 @@ public void exportModel(ExportModelRequest request, StreamObserver re } } + @Override + public void importModelEvaluation( + ImportModelEvaluationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ModelEvaluation) { + requests.add(request); + responseObserver.onNext(((ModelEvaluation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportModelEvaluation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ModelEvaluation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void getModelEvaluation( GetModelEvaluationRequest request, StreamObserver responseObserver) { diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java index 1499fcf39..882e801b2 100644 --- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java +++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java @@ -636,6 +636,106 @@ public void exportModelExceptionTest2() throws Exception { } } + @Test + public void importModelEvaluationTest() throws Exception { + ModelEvaluation expectedResponse = + ModelEvaluation.newBuilder() + .setName( + ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]") + .toString()) + .setMetricsSchemaUri("metricsSchemaUri-182209912") + .setMetrics(Value.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllSliceDimensions(new ArrayList()) + .setModelExplanation(ModelExplanation.newBuilder().build()) + .addAllExplanationSpecs(new ArrayList()) + .build(); + mockModelService.addResponse(expectedResponse); + + ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + + ModelEvaluation actualResponse = client.importModelEvaluation(parent, modelEvaluation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportModelEvaluationRequest actualRequest = + ((ImportModelEvaluationRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(modelEvaluation, actualRequest.getModelEvaluation()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importModelEvaluationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + ModelName parent = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + client.importModelEvaluation(parent, modelEvaluation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importModelEvaluationTest2() throws Exception { + ModelEvaluation expectedResponse = + ModelEvaluation.newBuilder() + .setName( + ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]") + .toString()) + .setMetricsSchemaUri("metricsSchemaUri-182209912") + .setMetrics(Value.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .addAllSliceDimensions(new ArrayList()) + .setModelExplanation(ModelExplanation.newBuilder().build()) + .addAllExplanationSpecs(new ArrayList()) + .build(); + mockModelService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + + ModelEvaluation actualResponse = client.importModelEvaluation(parent, modelEvaluation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportModelEvaluationRequest actualRequest = + ((ImportModelEvaluationRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(modelEvaluation, actualRequest.getModelEvaluation()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importModelEvaluationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + String parent = "parent-995424086"; + ModelEvaluation modelEvaluation = ModelEvaluation.newBuilder().build(); + client.importModelEvaluation(parent, modelEvaluation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getModelEvaluationTest() throws Exception { ModelEvaluation expectedResponse = diff --git a/grpc-google-cloud-aiplatform-v1/pom.xml b/grpc-google-cloud-aiplatform-v1/pom.xml index a5a55d2cb..7c7656c78 100644 --- a/grpc-google-cloud-aiplatform-v1/pom.xml +++ b/grpc-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 2.7.4 + 2.8.0 grpc-google-cloud-aiplatform-v1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 2.7.4 + 2.8.0 diff --git a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java index 48d11df7b..405933883 100644 --- a/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java +++ b/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java @@ -290,6 +290,55 @@ private ModelServiceGrpc() {} return getExportModelMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1.ModelEvaluation> + getImportModelEvaluationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportModelEvaluation", + requestType = com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.class, + responseType = com.google.cloud.aiplatform.v1.ModelEvaluation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1.ModelEvaluation> + getImportModelEvaluationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1.ModelEvaluation> + getImportModelEvaluationMethod; + if ((getImportModelEvaluationMethod = ModelServiceGrpc.getImportModelEvaluationMethod) + == null) { + synchronized (ModelServiceGrpc.class) { + if ((getImportModelEvaluationMethod = ModelServiceGrpc.getImportModelEvaluationMethod) + == null) { + ModelServiceGrpc.getImportModelEvaluationMethod = + getImportModelEvaluationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ImportModelEvaluation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance())) + .setSchemaDescriptor( + new ModelServiceMethodDescriptorSupplier("ImportModelEvaluation")) + .build(); + } + } + } + return getImportModelEvaluationMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetModelEvaluationRequest, com.google.cloud.aiplatform.v1.ModelEvaluation> @@ -624,6 +673,21 @@ public void exportModel( getExportModelMethod(), responseObserver); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public void importModelEvaluation( + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportModelEvaluationMethod(), responseObserver); + } + /** * * @@ -725,6 +789,13 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1.ExportModelRequest, com.google.longrunning.Operation>(this, METHODID_EXPORT_MODEL))) + .addMethod( + getImportModelEvaluationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1.ModelEvaluation>( + this, METHODID_IMPORT_MODEL_EVALUATION))) .addMethod( getGetModelEvaluationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -873,6 +944,23 @@ public void exportModel( responseObserver); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public void importModelEvaluation( + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportModelEvaluationMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -1045,6 +1133,19 @@ public com.google.longrunning.Operation exportModel( getChannel(), getExportModelMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.ModelEvaluation importModelEvaluation( + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportModelEvaluationMethod(), getCallOptions(), request); + } + /** * * @@ -1202,6 +1303,20 @@ protected ModelServiceFutureStub build( getChannel().newCall(getExportModelMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.ModelEvaluation> + importModelEvaluation(com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportModelEvaluationMethod(), getCallOptions()), request); + } + /** * * @@ -1267,10 +1382,11 @@ protected ModelServiceFutureStub build( private static final int METHODID_UPDATE_MODEL = 3; private static final int METHODID_DELETE_MODEL = 4; private static final int METHODID_EXPORT_MODEL = 5; - private static final int METHODID_GET_MODEL_EVALUATION = 6; - private static final int METHODID_LIST_MODEL_EVALUATIONS = 7; - private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 8; - private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 9; + private static final int METHODID_IMPORT_MODEL_EVALUATION = 6; + private static final int METHODID_GET_MODEL_EVALUATION = 7; + private static final int METHODID_LIST_MODEL_EVALUATIONS = 8; + private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 9; + private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 10; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1320,6 +1436,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1.ExportModelRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_IMPORT_MODEL_EVALUATION: + serviceImpl.importModelEvaluation( + (com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; case METHODID_GET_MODEL_EVALUATION: serviceImpl.getModelEvaluation( (com.google.cloud.aiplatform.v1.GetModelEvaluationRequest) request, @@ -1416,6 +1538,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateModelMethod()) .addMethod(getDeleteModelMethod()) .addMethod(getExportModelMethod()) + .addMethod(getImportModelEvaluationMethod()) .addMethod(getGetModelEvaluationMethod()) .addMethod(getListModelEvaluationsMethod()) .addMethod(getGetModelEvaluationSliceMethod()) diff --git a/grpc-google-cloud-aiplatform-v1beta1/pom.xml b/grpc-google-cloud-aiplatform-v1beta1/pom.xml index 9e2794670..c555812cf 100644 --- a/grpc-google-cloud-aiplatform-v1beta1/pom.xml +++ b/grpc-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.13.4 + 0.14.0 grpc-google-cloud-aiplatform-v1beta1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 2.7.4 + 2.8.0 diff --git a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java index b17eea452..58a5ded68 100644 --- a/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java +++ b/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java @@ -300,6 +300,56 @@ private ModelServiceGrpc() {} return getExportModelMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation> + getImportModelEvaluationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportModelEvaluation", + requestType = com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.ModelEvaluation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation> + getImportModelEvaluationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation> + getImportModelEvaluationMethod; + if ((getImportModelEvaluationMethod = ModelServiceGrpc.getImportModelEvaluationMethod) + == null) { + synchronized (ModelServiceGrpc.class) { + if ((getImportModelEvaluationMethod = ModelServiceGrpc.getImportModelEvaluationMethod) + == null) { + ModelServiceGrpc.getImportModelEvaluationMethod = + getImportModelEvaluationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ImportModelEvaluation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ModelEvaluation + .getDefaultInstance())) + .setSchemaDescriptor( + new ModelServiceMethodDescriptorSupplier("ImportModelEvaluation")) + .build(); + } + } + } + return getImportModelEvaluationMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1beta1.GetModelEvaluationRequest, com.google.cloud.aiplatform.v1beta1.ModelEvaluation> @@ -635,6 +685,21 @@ public void exportModel( getExportModelMethod(), responseObserver); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public void importModelEvaluation( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportModelEvaluationMethod(), responseObserver); + } + /** * * @@ -737,6 +802,13 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1beta1.ExportModelRequest, com.google.longrunning.Operation>(this, METHODID_EXPORT_MODEL))) + .addMethod( + getImportModelEvaluationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation>( + this, METHODID_IMPORT_MODEL_EVALUATION))) .addMethod( getGetModelEvaluationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -885,6 +957,23 @@ public void exportModel( responseObserver); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public void importModelEvaluation( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportModelEvaluationMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -1058,6 +1147,19 @@ public com.google.longrunning.Operation exportModel( getChannel(), getExportModelMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.ModelEvaluation importModelEvaluation( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportModelEvaluationMethod(), getCallOptions(), request); + } + /** * * @@ -1217,6 +1319,21 @@ protected ModelServiceFutureStub build( getChannel().newCall(getExportModelMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Imports an externally generated ModelEvaluation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.ModelEvaluation> + importModelEvaluation( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportModelEvaluationMethod(), getCallOptions()), request); + } + /** * * @@ -1283,10 +1400,11 @@ protected ModelServiceFutureStub build( private static final int METHODID_UPDATE_MODEL = 3; private static final int METHODID_DELETE_MODEL = 4; private static final int METHODID_EXPORT_MODEL = 5; - private static final int METHODID_GET_MODEL_EVALUATION = 6; - private static final int METHODID_LIST_MODEL_EVALUATIONS = 7; - private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 8; - private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 9; + private static final int METHODID_IMPORT_MODEL_EVALUATION = 6; + private static final int METHODID_GET_MODEL_EVALUATION = 7; + private static final int METHODID_LIST_MODEL_EVALUATIONS = 8; + private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 9; + private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 10; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1338,6 +1456,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1beta1.ExportModelRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_IMPORT_MODEL_EVALUATION: + serviceImpl.importModelEvaluation( + (com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; case METHODID_GET_MODEL_EVALUATION: serviceImpl.getModelEvaluation( (com.google.cloud.aiplatform.v1beta1.GetModelEvaluationRequest) request, @@ -1435,6 +1559,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getUpdateModelMethod()) .addMethod(getDeleteModelMethod()) .addMethod(getExportModelMethod()) + .addMethod(getImportModelEvaluationMethod()) .addMethod(getGetModelEvaluationMethod()) .addMethod(getListModelEvaluationsMethod()) .addMethod(getGetModelEvaluationSliceMethod()) diff --git a/pom.xml b/pom.xml index b6769e01b..c950bc030 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-aiplatform-parent pom - 2.7.4 + 2.8.0 Google Cloud Vertex AI Parent https://github.com/googleapis/java- @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 @@ -61,32 +61,32 @@ com.google.cloud google-cloud-aiplatform - 2.7.4 + 2.8.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 2.7.4 + 2.8.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.13.4 + 0.14.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 2.7.4 + 2.8.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.13.4 + 0.14.0 com.google.cloud google-cloud-shared-dependencies - 2.8.0 + 2.9.0 pom import diff --git a/proto-google-cloud-aiplatform-v1/pom.xml b/proto-google-cloud-aiplatform-v1/pom.xml index 5d951abbd..73378cde7 100644 --- a/proto-google-cloud-aiplatform-v1/pom.xml +++ b/proto-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 2.7.4 + 2.8.0 proto-google-cloud-aiplatform-v1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 2.7.4 + 2.8.0 diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java index b0107fe17..fe7bf0de2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java @@ -45,39 +45,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n+google/cloud/aiplatform/v1/annotation." - + "proto\022\032google.cloud.aiplatform.v1\032\034googl" - + "e/api/annotations.proto\032\037google/api/fiel" - + "d_behavior.proto\032\031google/api/resource.pr" - + "oto\0326google/cloud/aiplatform/v1/user_act" - + "ion_reference.proto\032\034google/protobuf/str" - + "uct.proto\032\037google/protobuf/timestamp.pro" - + "to\"\316\004\n\nAnnotation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\037\n\022" - + "payload_schema_uri\030\002 \001(\tB\003\340A\002\022,\n\007payload" - + "\030\003 \001(\0132\026.google.protobuf.ValueB\003\340A\002\0224\n\013c" - + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022\021\n\004etag\030\010 \001(\tB\003\340" - + "A\001\022O\n\021annotation_source\030\005 \001(\0132/.google.c" - + "loud.aiplatform.v1.UserActionReferenceB\003" - + "\340A\003\022G\n\006labels\030\006 \003(\01322.google.cloud.aipla" - + "tform.v1.Annotation.LabelsEntryB\003\340A\001\032-\n\013" - + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001:\225\001\352A\221\001\n$aiplatform.googleapis.com/An" - + "notation\022iprojects/{project}/locations/{" - + "location}/datasets/{dataset}/dataItems/{" - + "data_item}/annotations/{annotation}B\323\001\n\036" - + "com.google.cloud.aiplatform.v1B\017Annotati" - + "onProtoP\001ZDgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1;aiplatform\252" - + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" - + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" - + "tform::V1b\006proto3" + + "proto\022\032google.cloud.aiplatform.v1\032\037googl" + + "e/api/field_behavior.proto\032\031google/api/r" + + "esource.proto\0326google/cloud/aiplatform/v" + + "1/user_action_reference.proto\032\034google/pr" + + "otobuf/struct.proto\032\037google/protobuf/tim" + + "estamp.proto\"\316\004\n\nAnnotation\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022\037\n\022payload_schema_uri\030\002 \001(\tB\003\340A\002\022" + + ",\n\007payload\030\003 \001(\0132\026.google.protobuf.Value" + + "B\003\340A\002\0224\n\013create_time\030\004 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022\021\n\004eta" + + "g\030\010 \001(\tB\003\340A\001\022O\n\021annotation_source\030\005 \001(\0132" + + "/.google.cloud.aiplatform.v1.UserActionR" + + "eferenceB\003\340A\003\022G\n\006labels\030\006 \003(\01322.google.c" + + "loud.aiplatform.v1.Annotation.LabelsEntr" + + "yB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001:\225\001\352A\221\001\n$aiplatform.googlea" + + "pis.com/Annotation\022iprojects/{project}/l" + + "ocations/{location}/datasets/{dataset}/d" + + "ataItems/{data_item}/annotations/{annota" + + "tion}B\323\001\n\036com.google.cloud.aiplatform.v1" + + "B\017AnnotationProtoP\001ZDgoogle.golang.org/g" + + "enproto/googleapis/cloud/aiplatform/v1;a" + + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002" + + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" + + "oud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.UserActionReferenceProto.getDescriptor(), @@ -113,7 +111,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.UserActionReferenceProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java index d1bd74d26..87d07217b 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java @@ -41,31 +41,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n0google/cloud/aiplatform/v1/annotation_" - + "spec.proto\022\032google.cloud.aiplatform.v1\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\037google/protobuf/timestamp.prot" - + "o\"\314\002\n\016AnnotationSpec\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" - + "\031\n\014display_name\030\002 \001(\tB\003\340A\002\0224\n\013create_tim" - + "e\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\004 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022\021\n\004etag\030\005 \001(\tB\003\340A\001:\214\001\352A\210\001" - + "\n(aiplatform.googleapis.com/AnnotationSp" - + "ec\022\\projects/{project}/locations/{locati" - + "on}/datasets/{dataset}/annotationSpecs/{" - + "annotation_spec}B\327\001\n\036com.google.cloud.ai" - + "platform.v1B\023AnnotationSpecProtoP\001ZDgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "aiplatform/v1;aiplatform\252\002\032Google.Cloud." - + "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\" - + "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot" - + "o3" + + "spec.proto\022\032google.cloud.aiplatform.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032\037google/protobuf/time" + + "stamp.proto\"\314\002\n\016AnnotationSpec\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\0224\n\013" + + "create_time\030\003 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032.google" + + ".protobuf.TimestampB\003\340A\003\022\021\n\004etag\030\005 \001(\tB\003" + + "\340A\001:\214\001\352A\210\001\n(aiplatform.googleapis.com/An" + + "notationSpec\022\\projects/{project}/locatio" + + "ns/{location}/datasets/{dataset}/annotat" + + "ionSpecs/{annotation_spec}B\327\001\n\036com.googl" + + "e.cloud.aiplatform.v1B\023AnnotationSpecPro" + + "toP\001ZDgoogle.golang.org/genproto/googlea" + + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" + + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" + + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -84,7 +82,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java index 93ca83c25..dbe8e75ac 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java @@ -45,43 +45,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n)google/cloud/aiplatform/v1/artifact.pr" - + "oto\022\032google.cloud.aiplatform.v1\032\034google/" - + "api/annotations.proto\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\032&google/cloud/aiplatform/v1/value.prot" - + "o\032\034google/protobuf/struct.proto\032\037google/" - + "protobuf/timestamp.proto\"\224\005\n\010Artifact\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\013" - + "\n\003uri\030\006 \001(\t\022\014\n\004etag\030\t \001(\t\022@\n\006labels\030\n \003(" - + "\01320.google.cloud.aiplatform.v1.Artifact." - + "LabelsEntry\0224\n\013create_time\030\013 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" - + "\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "9\n\005state\030\r \001(\0162*.google.cloud.aiplatform" - + ".v1.Artifact.State\022\024\n\014schema_title\030\016 \001(\t" - + "\022\026\n\016schema_version\030\017 \001(\t\022)\n\010metadata\030\020 \001" - + "(\0132\027.google.protobuf.Struct\022\023\n\013descripti" - + "on\030\021 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\"5\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\013\n\007PENDING\020\001\022\010\n\004LIVE\020\002:\206\001\352A\202\001\n\"a" - + "iplatform.googleapis.com/Artifact\022\\proje" - + "cts/{project}/locations/{location}/metad" - + "ataStores/{metadata_store}/artifacts/{ar" - + "tifact}B\321\001\n\036com.google.cloud.aiplatform." - + "v1B\rArtifactProtoP\001ZDgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1;a" - + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002" - + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" - + "oud::AIPlatform::V1b\006proto3" + + "oto\022\032google.cloud.aiplatform.v1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\032\034google/protobuf/struct.prot" + + "o\032\037google/protobuf/timestamp.proto\"\224\005\n\010A" + + "rtifact\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_na" + + "me\030\002 \001(\t\022\013\n\003uri\030\006 \001(\t\022\014\n\004etag\030\t \001(\t\022@\n\006l" + + "abels\030\n \003(\01320.google.cloud.aiplatform.v1" + + ".Artifact.LabelsEntry\0224\n\013create_time\030\013 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + + "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\0229\n\005state\030\r \001(\0162*.google.cloud." + + "aiplatform.v1.Artifact.State\022\024\n\014schema_t" + + "itle\030\016 \001(\t\022\026\n\016schema_version\030\017 \001(\t\022)\n\010me" + + "tadata\030\020 \001(\0132\027.google.protobuf.Struct\022\023\n" + + "\013description\030\021 \001(\t\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\010\n\004LIVE\020\002" + + ":\206\001\352A\202\001\n\"aiplatform.googleapis.com/Artif" + + "act\022\\projects/{project}/locations/{locat" + + "ion}/metadataStores/{metadata_store}/art" + + "ifacts/{artifact}B\321\001\n\036com.google.cloud.a" + + "iplatform.v1B\rArtifactProtoP\001ZDgoogle.go" + + "lang.org/genproto/googleapis/cloud/aipla" + + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ValueProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -118,10 +114,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ValueProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java index 8893c6a18..0cf78fe78 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java @@ -58,89 +58,86 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n5google/cloud/aiplatform/v1/batch_predi" + "ction_job.proto\022\032google.cloud.aiplatform" - + ".v1\032\034google/api/annotations.proto\032\037googl" - + "e/api/field_behavior.proto\032\031google/api/r" - + "esource.proto\0321google/cloud/aiplatform/v" - + "1/completion_stats.proto\0320google/cloud/a" - + "iplatform/v1/encryption_spec.proto\032,goog" - + "le/cloud/aiplatform/v1/explanation.proto" - + "\032#google/cloud/aiplatform/v1/io.proto\032*g" - + "oogle/cloud/aiplatform/v1/job_state.prot" - + "o\0322google/cloud/aiplatform/v1/machine_re" - + "sources.proto\032?google/cloud/aiplatform/v" - + "1/manual_batch_tuning_parameters.proto\0321" - + "google/cloud/aiplatform/v1/model_monitor" - + "ing.proto\032:google/cloud/aiplatform/v1/un" - + "managed_container_model.proto\032\034google/pr" - + "otobuf/struct.proto\032\037google/protobuf/tim" - + "estamp.proto\032\027google/rpc/status.proto\"\232\021" - + "\n\022BatchPredictionJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" - + "\031\n\014display_name\030\002 \001(\tB\003\340A\002\0223\n\005model\030\003 \001(" - + "\tB$\372A!\n\037aiplatform.googleapis.com/Model\022" - + "V\n\031unmanaged_container_model\030\034 \001(\01323.goo" - + "gle.cloud.aiplatform.v1.UnmanagedContain" - + "erModel\022U\n\014input_config\030\004 \001(\0132:.google.c" - + "loud.aiplatform.v1.BatchPredictionJob.In" - + "putConfigB\003\340A\002\0220\n\020model_parameters\030\005 \001(\013" - + "2\026.google.protobuf.Value\022W\n\routput_confi" - + "g\030\006 \001(\0132;.google.cloud.aiplatform.v1.Bat" - + "chPredictionJob.OutputConfigB\003\340A\002\022P\n\023ded" - + "icated_resources\030\007 \001(\01323.google.cloud.ai" - + "platform.v1.BatchDedicatedResources\022d\n\036m" - + "anual_batch_tuning_parameters\030\010 \001(\01327.go" - + "ogle.cloud.aiplatform.v1.ManualBatchTuni" - + "ngParametersB\003\340A\005\022\034\n\024generate_explanatio" - + "n\030\027 \001(\010\022E\n\020explanation_spec\030\031 \001(\0132+.goog" - + "le.cloud.aiplatform.v1.ExplanationSpec\022S" - + "\n\013output_info\030\t \001(\01329.google.cloud.aipla" - + "tform.v1.BatchPredictionJob.OutputInfoB\003" - + "\340A\003\0228\n\005state\030\n \001(\0162$.google.cloud.aiplat" - + "form.v1.JobStateB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.g" - + "oogle.rpc.StatusB\003\340A\003\0221\n\020partial_failure" - + "s\030\014 \003(\0132\022.google.rpc.StatusB\003\340A\003\022N\n\022reso" - + "urces_consumed\030\r \001(\0132-.google.cloud.aipl" - + "atform.v1.ResourcesConsumedB\003\340A\003\022J\n\020comp" - + "letion_stats\030\016 \001(\0132+.google.cloud.aiplat" - + "form.v1.CompletionStatsB\003\340A\003\0224\n\013create_t" - + "ime\030\017 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\0223\n\nstart_time\030\020 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\021 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" - + "e\030\022 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022J\n\006labels\030\023 \003(\0132:.google.cloud.aiplatfo" - + "rm.v1.BatchPredictionJob.LabelsEntry\022C\n\017" - + "encryption_spec\030\030 \001(\0132*.google.cloud.aip" - + "latform.v1.EncryptionSpec\032\272\001\n\013InputConfi" - + "g\022;\n\ngcs_source\030\002 \001(\0132%.google.cloud.aip" - + "latform.v1.GcsSourceH\000\022E\n\017bigquery_sourc" - + "e\030\003 \001(\0132*.google.cloud.aiplatform.v1.Big" - + "QuerySourceH\000\022\035\n\020instances_format\030\001 \001(\tB" - + "\003\340A\002B\010\n\006source\032\326\001\n\014OutputConfig\022E\n\017gcs_d" - + "estination\030\002 \001(\0132*.google.cloud.aiplatfo" - + "rm.v1.GcsDestinationH\000\022O\n\024bigquery_desti" - + "nation\030\003 \001(\0132/.google.cloud.aiplatform.v" - + "1.BigQueryDestinationH\000\022\037\n\022predictions_f" - + "ormat\030\001 \001(\tB\003\340A\002B\r\n\013destination\032\220\001\n\nOutp" - + "utInfo\022#\n\024gcs_output_directory\030\001 \001(\tB\003\340A" - + "\003H\000\022&\n\027bigquery_output_dataset\030\002 \001(\tB\003\340A" - + "\003H\000\022\"\n\025bigquery_output_table\030\004 \001(\tB\003\340A\003B" - + "\021\n\017output_location\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A\202\001\n,aiplat" - + "form.googleapis.com/BatchPredictionJob\022R" - + "projects/{project}/locations/{location}/" - + "batchPredictionJobs/{batch_prediction_jo" - + "b}B\333\001\n\036com.google.cloud.aiplatform.v1B\027B" - + "atchPredictionJobProtoP\001ZDgoogle.golang." - + "org/genproto/googleapis/cloud/aiplatform" - + "/v1;aiplatform\252\002\032Google.Cloud.AIPlatform" - + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl" - + "e::Cloud::AIPlatform::V1b\006proto3" + + ".v1\032\037google/api/field_behavior.proto\032\031go" + + "ogle/api/resource.proto\0321google/cloud/ai" + + "platform/v1/completion_stats.proto\0320goog" + + "le/cloud/aiplatform/v1/encryption_spec.p" + + "roto\032,google/cloud/aiplatform/v1/explana" + + "tion.proto\032#google/cloud/aiplatform/v1/i" + + "o.proto\032*google/cloud/aiplatform/v1/job_" + + "state.proto\0322google/cloud/aiplatform/v1/" + + "machine_resources.proto\032?google/cloud/ai" + + "platform/v1/manual_batch_tuning_paramete" + + "rs.proto\032:google/cloud/aiplatform/v1/unm" + + "anaged_container_model.proto\032\034google/pro" + + "tobuf/struct.proto\032\037google/protobuf/time" + + "stamp.proto\032\027google/rpc/status.proto\"\232\021\n" + + "\022BatchPredictionJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031" + + "\n\014display_name\030\002 \001(\tB\003\340A\002\0223\n\005model\030\003 \001(\t" + + "B$\372A!\n\037aiplatform.googleapis.com/Model\022V" + + "\n\031unmanaged_container_model\030\034 \001(\01323.goog" + + "le.cloud.aiplatform.v1.UnmanagedContaine" + + "rModel\022U\n\014input_config\030\004 \001(\0132:.google.cl" + + "oud.aiplatform.v1.BatchPredictionJob.Inp" + + "utConfigB\003\340A\002\0220\n\020model_parameters\030\005 \001(\0132" + + "\026.google.protobuf.Value\022W\n\routput_config" + + "\030\006 \001(\0132;.google.cloud.aiplatform.v1.Batc" + + "hPredictionJob.OutputConfigB\003\340A\002\022P\n\023dedi" + + "cated_resources\030\007 \001(\01323.google.cloud.aip" + + "latform.v1.BatchDedicatedResources\022d\n\036ma" + + "nual_batch_tuning_parameters\030\010 \001(\01327.goo" + + "gle.cloud.aiplatform.v1.ManualBatchTunin" + + "gParametersB\003\340A\005\022\034\n\024generate_explanation" + + "\030\027 \001(\010\022E\n\020explanation_spec\030\031 \001(\0132+.googl" + + "e.cloud.aiplatform.v1.ExplanationSpec\022S\n" + + "\013output_info\030\t \001(\01329.google.cloud.aiplat" + + "form.v1.BatchPredictionJob.OutputInfoB\003\340" + + "A\003\0228\n\005state\030\n \001(\0162$.google.cloud.aiplatf" + + "orm.v1.JobStateB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.go" + + "ogle.rpc.StatusB\003\340A\003\0221\n\020partial_failures" + + "\030\014 \003(\0132\022.google.rpc.StatusB\003\340A\003\022N\n\022resou" + + "rces_consumed\030\r \001(\0132-.google.cloud.aipla" + + "tform.v1.ResourcesConsumedB\003\340A\003\022J\n\020compl" + + "etion_stats\030\016 \001(\0132+.google.cloud.aiplatf" + + "orm.v1.CompletionStatsB\003\340A\003\0224\n\013create_ti" + + "me\030\017 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0223\n\nstart_time\030\020 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\0221\n\010end_time\030\021 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + + "\030\022 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "J\n\006labels\030\023 \003(\0132:.google.cloud.aiplatfor" + + "m.v1.BatchPredictionJob.LabelsEntry\022C\n\017e" + + "ncryption_spec\030\030 \001(\0132*.google.cloud.aipl" + + "atform.v1.EncryptionSpec\032\272\001\n\013InputConfig" + + "\022;\n\ngcs_source\030\002 \001(\0132%.google.cloud.aipl" + + "atform.v1.GcsSourceH\000\022E\n\017bigquery_source" + + "\030\003 \001(\0132*.google.cloud.aiplatform.v1.BigQ" + + "uerySourceH\000\022\035\n\020instances_format\030\001 \001(\tB\003" + + "\340A\002B\010\n\006source\032\326\001\n\014OutputConfig\022E\n\017gcs_de" + + "stination\030\002 \001(\0132*.google.cloud.aiplatfor" + + "m.v1.GcsDestinationH\000\022O\n\024bigquery_destin" + + "ation\030\003 \001(\0132/.google.cloud.aiplatform.v1" + + ".BigQueryDestinationH\000\022\037\n\022predictions_fo" + + "rmat\030\001 \001(\tB\003\340A\002B\r\n\013destination\032\220\001\n\nOutpu" + + "tInfo\022#\n\024gcs_output_directory\030\001 \001(\tB\003\340A\003" + + "H\000\022&\n\027bigquery_output_dataset\030\002 \001(\tB\003\340A\003" + + "H\000\022\"\n\025bigquery_output_table\030\004 \001(\tB\003\340A\003B\021" + + "\n\017output_location\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A\202\001\n,aiplatf" + + "orm.googleapis.com/BatchPredictionJob\022Rp" + + "rojects/{project}/locations/{location}/b" + + "atchPredictionJobs/{batch_prediction_job" + + "}B\333\001\n\036com.google.cloud.aiplatform.v1B\027Ba" + + "tchPredictionJobProtoP\001ZDgoogle.golang.o" + + "rg/genproto/googleapis/cloud/aiplatform/" + + "v1;aiplatform\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.CompletionStatsProto.getDescriptor(), @@ -150,7 +147,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(), com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(), com.google.cloud.aiplatform.v1.ManualBatchTuningParametersProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ModelMonitoringProto.getDescriptor(), com.google.cloud.aiplatform.v1.UnmanagedContainerModelProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -236,7 +232,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.CompletionStatsProto.getDescriptor(); @@ -246,7 +241,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(); com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(); com.google.cloud.aiplatform.v1.ManualBatchTuningParametersProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ModelMonitoringProto.getDescriptor(); com.google.cloud.aiplatform.v1.UnmanagedContainerModelProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java index c1280bcbf..c9db404ad 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java @@ -42,25 +42,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/completion_" + "stats.proto\022\032google.cloud.aiplatform.v1\032" - + "\034google/api/annotations.proto\032\037google/ap" - + "i/field_behavior.proto\032\027google/rpc/statu" - + "s.proto\"j\n\017CompletionStats\022\035\n\020successful" - + "_count\030\001 \001(\003B\003\340A\003\022\031\n\014failed_count\030\002 \001(\003B" - + "\003\340A\003\022\035\n\020incomplete_count\030\003 \001(\003B\003\340A\003B\330\001\n\036" - + "com.google.cloud.aiplatform.v1B\024Completi" - + "onStatsProtoP\001ZDgoogle.golang.org/genpro" - + "to/googleapis/cloud/aiplatform/v1;aiplat" - + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" - + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" - + "AIPlatform::V1b\006proto3" + + "\037google/api/field_behavior.proto\"j\n\017Comp" + + "letionStats\022\035\n\020successful_count\030\001 \001(\003B\003\340" + + "A\003\022\031\n\014failed_count\030\002 \001(\003B\003\340A\003\022\035\n\020incompl" + + "ete_count\030\003 \001(\003B\003\340A\003B\330\001\n\036com.google.clou" + + "d.aiplatform.v1B\024CompletionStatsProtoP\001Z" + + "Dgoogle.golang.org/genproto/googleapis/c" + + "loud/aiplatform/v1;aiplatform\252\002\032Google.C" + + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" + + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_CompletionStats_descriptor = getDescriptor().getMessageTypes().get(0); @@ -75,9 +72,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java index 5b8134ec5..867086d93 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java @@ -45,41 +45,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n(google/cloud/aiplatform/v1/context.pro" - + "to\022\032google.cloud.aiplatform.v1\032\034google/a" - + "pi/annotations.proto\032\037google/api/field_b" - + "ehavior.proto\032\031google/api/resource.proto" - + "\032&google/cloud/aiplatform/v1/value.proto" - + "\032\034google/protobuf/struct.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\323\004\n\007Context\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\014\n\004" - + "etag\030\010 \001(\t\022?\n\006labels\030\t \003(\0132/.google.clou" - + "d.aiplatform.v1.Context.LabelsEntry\0224\n\013c" - + "reate_time\030\n \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022B\n\017parent_contex" - + "ts\030\014 \003(\tB)\340A\003\372A#\n!aiplatform.googleapis." - + "com/Context\022\024\n\014schema_title\030\r \001(\t\022\026\n\016sch" - + "ema_version\030\016 \001(\t\022)\n\010metadata\030\017 \001(\0132\027.go" - + "ogle.protobuf.Struct\022\023\n\013description\030\020 \001(" - + "\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001:\202\001\352A\177\n!aiplatform.googleapis.co" - + "m/Context\022Zprojects/{project}/locations/" - + "{location}/metadataStores/{metadata_stor" - + "e}/contexts/{context}B\320\001\n\036com.google.clo" - + "ud.aiplatform.v1B\014ContextProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" - + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" - + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "to\022\032google.cloud.aiplatform.v1\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\032\034google/protobuf/struct.proto" + + "\032\037google/protobuf/timestamp.proto\"\323\004\n\007Co" + + "ntext\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name" + + "\030\002 \001(\t\022\014\n\004etag\030\010 \001(\t\022?\n\006labels\030\t \003(\0132/.g" + + "oogle.cloud.aiplatform.v1.Context.Labels" + + "Entry\0224\n\013create_time\030\n \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\013 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022B\n\017par" + + "ent_contexts\030\014 \003(\tB)\340A\003\372A#\n!aiplatform.g" + + "oogleapis.com/Context\022\024\n\014schema_title\030\r " + + "\001(\t\022\026\n\016schema_version\030\016 \001(\t\022)\n\010metadata\030" + + "\017 \001(\0132\027.google.protobuf.Struct\022\023\n\013descri" + + "ption\030\020 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001:\202\001\352A\177\n!aiplatform.goo" + + "gleapis.com/Context\022Zprojects/{project}/" + + "locations/{location}/metadataStores/{met" + + "adata_store}/contexts/{context}B\320\001\n\036com." + + "google.cloud.aiplatform.v1B\014ContextProto" + + "P\001ZDgoogle.golang.org/genproto/googleapi" + + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" + + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" + + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ValueProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -116,10 +113,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ValueProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java index 178e3a371..72d48c083 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java @@ -69,79 +69,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n+google/cloud/aiplatform/v1/custom_job." - + "proto\022\032google.cloud.aiplatform.v1\032\034googl" - + "e/api/annotations.proto\032\037google/api/fiel" - + "d_behavior.proto\032\031google/api/resource.pr" - + "oto\0320google/cloud/aiplatform/v1/encrypti" - + "on_spec.proto\032(google/cloud/aiplatform/v" - + "1/env_var.proto\032#google/cloud/aiplatform" - + "/v1/io.proto\032*google/cloud/aiplatform/v1" - + "/job_state.proto\0322google/cloud/aiplatfor" - + "m/v1/machine_resources.proto\032\036google/pro" - + "tobuf/duration.proto\032\037google/protobuf/ti" - + "mestamp.proto\032\027google/rpc/status.proto\"\341" - + "\006\n\tCustomJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014displ" - + "ay_name\030\002 \001(\tB\003\340A\002\022@\n\010job_spec\030\004 \001(\0132).g" - + "oogle.cloud.aiplatform.v1.CustomJobSpecB" - + "\003\340A\002\0228\n\005state\030\005 \001(\0162$.google.cloud.aipla" - + "tform.v1.JobStateB\003\340A\003\0224\n\013create_time\030\006 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0223\n\n" - + "start_time\030\007 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\0221\n\010end_time\030\010 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\t \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n\005er" - + "ror\030\n \001(\0132\022.google.rpc.StatusB\003\340A\003\022A\n\006la" - + "bels\030\013 \003(\01321.google.cloud.aiplatform.v1." - + "CustomJob.LabelsEntry\022C\n\017encryption_spec" - + "\030\014 \001(\0132*.google.cloud.aiplatform.v1.Encr" - + "yptionSpec\022V\n\017web_access_uris\030\020 \003(\01328.go" - + "ogle.cloud.aiplatform.v1.CustomJob.WebAc" - + "cessUrisEntryB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n\022WebAccessUr" - + "isEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:" - + "i\352Af\n#aiplatform.googleapis.com/CustomJo" - + "b\022?projects/{project}/locations/{locatio" - + "n}/customJobs/{custom_job}\"\225\003\n\rCustomJob" - + "Spec\022J\n\021worker_pool_specs\030\001 \003(\0132*.google" - + ".cloud.aiplatform.v1.WorkerPoolSpecB\003\340A\002" - + "\022:\n\nscheduling\030\003 \001(\0132&.google.cloud.aipl" - + "atform.v1.Scheduling\022\027\n\017service_account\030" - + "\004 \001(\t\0224\n\007network\030\005 \001(\tB#\372A \n\036compute.goo" - + "gleapis.com/Network\022I\n\025base_output_direc" - + "tory\030\006 \001(\0132*.google.cloud.aiplatform.v1." - + "GcsDestination\022B\n\013tensorboard\030\007 \001(\tB-\340A\001" - + "\372A\'\n%aiplatform.googleapis.com/Tensorboa" - + "rd\022\036\n\021enable_web_access\030\n \001(\010B\003\340A\001\"\307\002\n\016W" - + "orkerPoolSpec\022C\n\016container_spec\030\006 \001(\0132)." - + "google.cloud.aiplatform.v1.ContainerSpec" - + "H\000\022L\n\023python_package_spec\030\007 \001(\0132-.google" - + ".cloud.aiplatform.v1.PythonPackageSpecH\000" - + "\022E\n\014machine_spec\030\001 \001(\0132\'.google.cloud.ai" - + "platform.v1.MachineSpecB\006\340A\001\340A\005\022\032\n\rrepli" - + "ca_count\030\002 \001(\003B\003\340A\001\0227\n\tdisk_spec\030\005 \001(\0132$" - + ".google.cloud.aiplatform.v1.DiskSpecB\006\n\004" - + "task\"w\n\rContainerSpec\022\026\n\timage_uri\030\001 \001(\t" - + "B\003\340A\002\022\017\n\007command\030\002 \003(\t\022\014\n\004args\030\003 \003(\t\022/\n\003" - + "env\030\004 \003(\0132\".google.cloud.aiplatform.v1.E" - + "nvVar\"\252\001\n\021PythonPackageSpec\022\037\n\022executor_" - + "image_uri\030\001 \001(\tB\003\340A\002\022\031\n\014package_uris\030\002 \003" - + "(\tB\003\340A\002\022\032\n\rpython_module\030\003 \001(\tB\003\340A\002\022\014\n\004a" - + "rgs\030\004 \003(\t\022/\n\003env\030\005 \003(\0132\".google.cloud.ai" - + "platform.v1.EnvVar\"_\n\nScheduling\022*\n\007time" - + "out\030\001 \001(\0132\031.google.protobuf.Duration\022%\n\035" - + "restart_job_on_worker_restart\030\003 \001(\010B\322\001\n\036" - + "com.google.cloud.aiplatform.v1B\016CustomJo" - + "bProtoP\001ZDgoogle.golang.org/genproto/goo" - + "gleapis/cloud/aiplatform/v1;aiplatform\252\002" - + "\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Clo" - + "ud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlat" - + "form::V1b\006proto3" + + "proto\022\032google.cloud.aiplatform.v1\032\037googl" + + "e/api/field_behavior.proto\032\031google/api/r" + + "esource.proto\0320google/cloud/aiplatform/v" + + "1/encryption_spec.proto\032(google/cloud/ai" + + "platform/v1/env_var.proto\032#google/cloud/" + + "aiplatform/v1/io.proto\032*google/cloud/aip" + + "latform/v1/job_state.proto\0322google/cloud" + + "/aiplatform/v1/machine_resources.proto\032\036" + + "google/protobuf/duration.proto\032\037google/p" + + "rotobuf/timestamp.proto\032\027google/rpc/stat" + + "us.proto\"\341\006\n\tCustomJob\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022@\n\010job_spec" + + "\030\004 \001(\0132).google.cloud.aiplatform.v1.Cust" + + "omJobSpecB\003\340A\002\0228\n\005state\030\005 \001(\0162$.google.c" + + "loud.aiplatform.v1.JobStateB\003\340A\003\0224\n\013crea" + + "te_time\030\006 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0223\n\nstart_time\030\007 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0221\n\010end_time\030\010 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + + "_time\030\t \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022&\n\005error\030\n \001(\0132\022.google.rpc.StatusB" + + "\003\340A\003\022A\n\006labels\030\013 \003(\01321.google.cloud.aipl" + + "atform.v1.CustomJob.LabelsEntry\022C\n\017encry" + + "ption_spec\030\014 \001(\0132*.google.cloud.aiplatfo" + + "rm.v1.EncryptionSpec\022V\n\017web_access_uris\030" + + "\020 \003(\01328.google.cloud.aiplatform.v1.Custo" + + "mJob.WebAccessUrisEntryB\003\340A\003\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n\022W" + + "ebAccessUrisEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001:i\352Af\n#aiplatform.googleapis.co" + + "m/CustomJob\022?projects/{project}/location" + + "s/{location}/customJobs/{custom_job}\"\225\003\n" + + "\rCustomJobSpec\022J\n\021worker_pool_specs\030\001 \003(" + + "\0132*.google.cloud.aiplatform.v1.WorkerPoo" + + "lSpecB\003\340A\002\022:\n\nscheduling\030\003 \001(\0132&.google." + + "cloud.aiplatform.v1.Scheduling\022\027\n\017servic" + + "e_account\030\004 \001(\t\0224\n\007network\030\005 \001(\tB#\372A \n\036c" + + "ompute.googleapis.com/Network\022I\n\025base_ou" + + "tput_directory\030\006 \001(\0132*.google.cloud.aipl" + + "atform.v1.GcsDestination\022B\n\013tensorboard\030" + + "\007 \001(\tB-\340A\001\372A\'\n%aiplatform.googleapis.com" + + "/Tensorboard\022\036\n\021enable_web_access\030\n \001(\010B" + + "\003\340A\001\"\307\002\n\016WorkerPoolSpec\022C\n\016container_spe" + + "c\030\006 \001(\0132).google.cloud.aiplatform.v1.Con" + + "tainerSpecH\000\022L\n\023python_package_spec\030\007 \001(" + + "\0132-.google.cloud.aiplatform.v1.PythonPac" + + "kageSpecH\000\022E\n\014machine_spec\030\001 \001(\0132\'.googl" + + "e.cloud.aiplatform.v1.MachineSpecB\006\340A\001\340A" + + "\005\022\032\n\rreplica_count\030\002 \001(\003B\003\340A\001\0227\n\tdisk_sp" + + "ec\030\005 \001(\0132$.google.cloud.aiplatform.v1.Di" + + "skSpecB\006\n\004task\"w\n\rContainerSpec\022\026\n\timage" + + "_uri\030\001 \001(\tB\003\340A\002\022\017\n\007command\030\002 \003(\t\022\014\n\004args" + + "\030\003 \003(\t\022/\n\003env\030\004 \003(\0132\".google.cloud.aipla" + + "tform.v1.EnvVar\"\252\001\n\021PythonPackageSpec\022\037\n" + + "\022executor_image_uri\030\001 \001(\tB\003\340A\002\022\031\n\014packag" + + "e_uris\030\002 \003(\tB\003\340A\002\022\032\n\rpython_module\030\003 \001(\t" + + "B\003\340A\002\022\014\n\004args\030\004 \003(\t\022/\n\003env\030\005 \003(\0132\".googl" + + "e.cloud.aiplatform.v1.EnvVar\"_\n\nScheduli" + + "ng\022*\n\007timeout\030\001 \001(\0132\031.google.protobuf.Du" + + "ration\022%\n\035restart_job_on_worker_restart\030" + + "\003 \001(\010B\322\001\n\036com.google.cloud.aiplatform.v1" + + "B\016CustomJobProtoP\001ZDgoogle.golang.org/ge" + + "nproto/googleapis/cloud/aiplatform/v1;ai" + + "platform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032" + + "Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Clo" + + "ud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), @@ -246,7 +244,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java index fa2b78d41..431d95f37 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java @@ -45,34 +45,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n*google/cloud/aiplatform/v1/data_item.p" - + "roto\022\032google.cloud.aiplatform.v1\032\034google" - + "/api/annotations.proto\032\037google/api/field" - + "_behavior.proto\032\031google/api/resource.pro" - + "to\032\034google/protobuf/struct.proto\032\037google" - + "/protobuf/timestamp.proto\"\273\003\n\010DataItem\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" - + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\022E\n\006labels\030\003 \003(\01320.google.cloud.aip" - + "latform.v1.DataItem.LabelsEntryB\003\340A\001\022,\n\007" - + "payload\030\004 \001(\0132\026.google.protobuf.ValueB\003\340" - + "A\002\022\021\n\004etag\030\007 \001(\tB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:y\352Av\n\"aipla" - + "tform.googleapis.com/DataItem\022Pprojects/" - + "{project}/locations/{location}/datasets/" - + "{dataset}/dataItems/{data_item}B\321\001\n\036com." - + "google.cloud.aiplatform.v1B\rDataItemProt" - + "oP\001ZDgoogle.golang.org/genproto/googleap" - + "is/cloud/aiplatform/v1;aiplatform\252\002\032Goog" - + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI" - + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:" - + ":V1b\006proto3" + + "roto\022\032google.cloud.aiplatform.v1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\034google/protobuf/struct.pro" + + "to\032\037google/protobuf/timestamp.proto\"\273\003\n\010" + + "DataItem\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_ti" + + "me\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0224\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022E\n\006labels\030\003 \003(\01320.google" + + ".cloud.aiplatform.v1.DataItem.LabelsEntr" + + "yB\003\340A\001\022,\n\007payload\030\004 \001(\0132\026.google.protobu" + + "f.ValueB\003\340A\002\022\021\n\004etag\030\007 \001(\tB\003\340A\001\032-\n\013Label" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:y" + + "\352Av\n\"aiplatform.googleapis.com/DataItem\022" + + "Pprojects/{project}/locations/{location}" + + "/datasets/{dataset}/dataItems/{data_item" + + "}B\321\001\n\036com.google.cloud.aiplatform.v1B\rDa" + + "taItemProtoP\001ZDgoogle.golang.org/genprot" + + "o/googleapis/cloud/aiplatform/v1;aiplatf" + + "orm\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( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), @@ -100,7 +98,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java index 538606351..ec0b0d514 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java @@ -62,78 +62,71 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n2google/cloud/aiplatform/v1/data_labeli" + "ng_job.proto\022\032google.cloud.aiplatform.v1" - + "\032\034google/api/annotations.proto\032\037google/a" - + "pi/field_behavior.proto\032\031google/api/reso" - + "urce.proto\0321google/cloud/aiplatform/v1/a" - + "ccelerator_type.proto\0320google/cloud/aipl" - + "atform/v1/encryption_spec.proto\032*google/" - + "cloud/aiplatform/v1/job_state.proto\0320goo" - + "gle/cloud/aiplatform/v1/specialist_pool." - + "proto\032\034google/protobuf/struct.proto\032\037goo" - + "gle/protobuf/timestamp.proto\032\027google/rpc" - + "/status.proto\032\027google/type/money.proto\"\337" - + "\010\n\017DataLabelingJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" - + "\014display_name\030\002 \001(\tB\003\340A\002\022;\n\010datasets\030\003 \003" - + "(\tB)\340A\002\372A#\n!aiplatform.googleapis.com/Da" - + "taset\022\\\n\021annotation_labels\030\014 \003(\0132A.googl" - + "e.cloud.aiplatform.v1.DataLabelingJob.An" - + "notationLabelsEntry\022\032\n\rlabeler_count\030\004 \001" - + "(\005B\003\340A\002\022\034\n\017instruction_uri\030\005 \001(\tB\003\340A\002\022\036\n" - + "\021inputs_schema_uri\030\006 \001(\tB\003\340A\002\022+\n\006inputs\030" - + "\007 \001(\0132\026.google.protobuf.ValueB\003\340A\002\0228\n\005st" - + "ate\030\010 \001(\0162$.google.cloud.aiplatform.v1.J" - + "obStateB\003\340A\003\022\036\n\021labeling_progress\030\r \001(\005B" - + "\003\340A\003\022.\n\rcurrent_spend\030\016 \001(\0132\022.google.typ" - + "e.MoneyB\003\340A\003\0224\n\013create_time\030\t \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" - + "e\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022&\n\005error\030\026 \001(\0132\022.google.rpc.StatusB\003\340A\003" - + "\022G\n\006labels\030\013 \003(\01327.google.cloud.aiplatfo" - + "rm.v1.DataLabelingJob.LabelsEntry\022\030\n\020spe" - + "cialist_pools\030\020 \003(\t\022C\n\017encryption_spec\030\024" - + " \001(\0132*.google.cloud.aiplatform.v1.Encryp" - + "tionSpec\022P\n\026active_learning_config\030\025 \001(\013" - + "20.google.cloud.aiplatform.v1.ActiveLear" - + "ningConfig\0327\n\025AnnotationLabelsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:|\352Ay\n" - + ")aiplatform.googleapis.com/DataLabelingJ" - + "ob\022Lprojects/{project}/locations/{locati" - + "on}/dataLabelingJobs/{data_labeling_job}" - + "\"\370\001\n\024ActiveLearningConfig\022\035\n\023max_data_it" - + "em_count\030\001 \001(\003H\000\022\"\n\030max_data_item_percen" - + "tage\030\002 \001(\005H\000\022?\n\rsample_config\030\003 \001(\0132(.go" - + "ogle.cloud.aiplatform.v1.SampleConfig\022C\n" - + "\017training_config\030\004 \001(\0132*.google.cloud.ai" - + "platform.v1.TrainingConfigB\027\n\025human_labe" - + "ling_budget\"\270\002\n\014SampleConfig\022)\n\037initial_" - + "batch_sample_percentage\030\001 \001(\005H\000\022+\n!follo" - + "wing_batch_sample_percentage\030\003 \001(\005H\001\022P\n\017" - + "sample_strategy\030\005 \001(\01627.google.cloud.aip" - + "latform.v1.SampleConfig.SampleStrategy\"B" - + "\n\016SampleStrategy\022\037\n\033SAMPLE_STRATEGY_UNSP" - + "ECIFIED\020\000\022\017\n\013UNCERTAINTY\020\001B\033\n\031initial_ba" - + "tch_sample_sizeB\035\n\033following_batch_sampl" - + "e_size\"6\n\016TrainingConfig\022$\n\034timeout_trai" - + "ning_milli_hours\030\001 \001(\003B\330\001\n\036com.google.cl" - + "oud.aiplatform.v1B\024DataLabelingJobProtoP" - + "\001ZDgoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1;aiplatform\252\002\032Google" - + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" - + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" - + "1b\006proto3" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\0320google/cloud/aipla" + + "tform/v1/encryption_spec.proto\032*google/c" + + "loud/aiplatform/v1/job_state.proto\032\034goog" + + "le/protobuf/struct.proto\032\037google/protobu" + + "f/timestamp.proto\032\027google/rpc/status.pro" + + "to\032\027google/type/money.proto\"\337\010\n\017DataLabe" + + "lingJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_na" + + "me\030\002 \001(\tB\003\340A\002\022;\n\010datasets\030\003 \003(\tB)\340A\002\372A#\n" + + "!aiplatform.googleapis.com/Dataset\022\\\n\021an" + + "notation_labels\030\014 \003(\0132A.google.cloud.aip" + + "latform.v1.DataLabelingJob.AnnotationLab" + + "elsEntry\022\032\n\rlabeler_count\030\004 \001(\005B\003\340A\002\022\034\n\017" + + "instruction_uri\030\005 \001(\tB\003\340A\002\022\036\n\021inputs_sch" + + "ema_uri\030\006 \001(\tB\003\340A\002\022+\n\006inputs\030\007 \001(\0132\026.goo" + + "gle.protobuf.ValueB\003\340A\002\0228\n\005state\030\010 \001(\0162$" + + ".google.cloud.aiplatform.v1.JobStateB\003\340A" + + "\003\022\036\n\021labeling_progress\030\r \001(\005B\003\340A\003\022.\n\rcur" + + "rent_spend\030\016 \001(\0132\022.google.type.MoneyB\003\340A" + + "\003\0224\n\013create_time\030\t \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\n \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022&\n\005error\030\026" + + " \001(\0132\022.google.rpc.StatusB\003\340A\003\022G\n\006labels\030" + + "\013 \003(\01327.google.cloud.aiplatform.v1.DataL" + + "abelingJob.LabelsEntry\022\030\n\020specialist_poo" + + "ls\030\020 \003(\t\022C\n\017encryption_spec\030\024 \001(\0132*.goog" + + "le.cloud.aiplatform.v1.EncryptionSpec\022P\n" + + "\026active_learning_config\030\025 \001(\01320.google.c" + + "loud.aiplatform.v1.ActiveLearningConfig\032" + + "7\n\025AnnotationLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:|\352Ay\n)aiplatform" + + ".googleapis.com/DataLabelingJob\022Lproject" + + "s/{project}/locations/{location}/dataLab" + + "elingJobs/{data_labeling_job}\"\370\001\n\024Active" + + "LearningConfig\022\035\n\023max_data_item_count\030\001 " + + "\001(\003H\000\022\"\n\030max_data_item_percentage\030\002 \001(\005H" + + "\000\022?\n\rsample_config\030\003 \001(\0132(.google.cloud." + + "aiplatform.v1.SampleConfig\022C\n\017training_c" + + "onfig\030\004 \001(\0132*.google.cloud.aiplatform.v1" + + ".TrainingConfigB\027\n\025human_labeling_budget" + + "\"\270\002\n\014SampleConfig\022)\n\037initial_batch_sampl" + + "e_percentage\030\001 \001(\005H\000\022+\n!following_batch_" + + "sample_percentage\030\003 \001(\005H\001\022P\n\017sample_stra" + + "tegy\030\005 \001(\01627.google.cloud.aiplatform.v1." + + "SampleConfig.SampleStrategy\"B\n\016SampleStr" + + "ategy\022\037\n\033SAMPLE_STRATEGY_UNSPECIFIED\020\000\022\017" + + "\n\013UNCERTAINTY\020\001B\033\n\031initial_batch_sample_" + + "sizeB\035\n\033following_batch_sample_size\"6\n\016T" + + "rainingConfig\022$\n\034timeout_training_milli_" + + "hours\030\001 \001(\003B\330\001\n\036com.google.cloud.aiplatf" + + "orm.v1B\024DataLabelingJobProtoP\001ZDgoogle.g" + + "olang.org/genproto/googleapis/cloud/aipl" + + "atform/v1;aiplatform\252\002\032Google.Cloud.AIPl" + + "atform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002" + + "\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.AcceleratorTypeProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(), - com.google.cloud.aiplatform.v1.SpecialistPoolProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), @@ -223,13 +216,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.AcceleratorTypeProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(); - com.google.cloud.aiplatform.v1.SpecialistPoolProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java index 22cf6f3ee..320386188 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java @@ -57,49 +57,47 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n(google/cloud/aiplatform/v1/dataset.pro" - + "to\022\032google.cloud.aiplatform.v1\032\034google/a" - + "pi/annotations.proto\032\037google/api/field_b" - + "ehavior.proto\032\031google/api/resource.proto" - + "\0320google/cloud/aiplatform/v1/encryption_" - + "spec.proto\032#google/cloud/aiplatform/v1/i" - + "o.proto\032\034google/protobuf/struct.proto\032\037g" - + "oogle/protobuf/timestamp.proto\"\265\004\n\007Datas" - + "et\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 " - + "\001(\tB\003\340A\002\022\030\n\013description\030\020 \001(\tB\003\340A\001\022 \n\023me" - + "tadata_schema_uri\030\003 \001(\tB\003\340A\002\022-\n\010metadata" - + "\030\010 \001(\0132\026.google.protobuf.ValueB\003\340A\002\0224\n\013c" - + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\006 \001(\t\022?\n" - + "\006labels\030\007 \003(\0132/.google.cloud.aiplatform." - + "v1.Dataset.LabelsEntry\022C\n\017encryption_spe" - + "c\030\013 \001(\0132*.google.cloud.aiplatform.v1.Enc" - + "ryptionSpec\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001:b\352A_\n!aiplatform.goog" - + "leapis.com/Dataset\022:projects/{project}/l" - + "ocations/{location}/datasets/{dataset}\"\214" - + "\002\n\020ImportDataConfig\022;\n\ngcs_source\030\001 \001(\0132" - + "%.google.cloud.aiplatform.v1.GcsSourceH\000" - + "\022Z\n\020data_item_labels\030\002 \003(\0132@.google.clou" - + "d.aiplatform.v1.ImportDataConfig.DataIte" - + "mLabelsEntry\022\036\n\021import_schema_uri\030\004 \001(\tB" - + "\003\340A\002\0325\n\023DataItemLabelsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001B\010\n\006source\"\204\001\n\020Export" - + "DataConfig\022E\n\017gcs_destination\030\001 \001(\0132*.go" - + "ogle.cloud.aiplatform.v1.GcsDestinationH" - + "\000\022\032\n\022annotations_filter\030\002 \001(\tB\r\n\013destina" - + "tionB\320\001\n\036com.google.cloud.aiplatform.v1B" - + "\014DatasetProtoP\001ZDgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1;aipla" - + "tform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goo" - + "gle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud:" - + ":AIPlatform::V1b\006proto3" + + "to\022\032google.cloud.aiplatform.v1\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\0320google/cloud/aiplatform/v1/e" + + "ncryption_spec.proto\032#google/cloud/aipla" + + "tform/v1/io.proto\032\034google/protobuf/struc" + + "t.proto\032\037google/protobuf/timestamp.proto" + + "\"\265\004\n\007Dataset\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014displ" + + "ay_name\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\020 \001(\tB" + + "\003\340A\001\022 \n\023metadata_schema_uri\030\003 \001(\tB\003\340A\002\022-" + + "\n\010metadata\030\010 \001(\0132\026.google.protobuf.Value" + + "B\003\340A\002\0224\n\013create_time\030\004 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022\014\n\004eta" + + "g\030\006 \001(\t\022?\n\006labels\030\007 \003(\0132/.google.cloud.a" + + "iplatform.v1.Dataset.LabelsEntry\022C\n\017encr" + + "yption_spec\030\013 \001(\0132*.google.cloud.aiplatf" + + "orm.v1.EncryptionSpec\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:b\352A_\n!aipla" + + "tform.googleapis.com/Dataset\022:projects/{" + + "project}/locations/{location}/datasets/{" + + "dataset}\"\214\002\n\020ImportDataConfig\022;\n\ngcs_sou" + + "rce\030\001 \001(\0132%.google.cloud.aiplatform.v1.G" + + "csSourceH\000\022Z\n\020data_item_labels\030\002 \003(\0132@.g" + + "oogle.cloud.aiplatform.v1.ImportDataConf" + + "ig.DataItemLabelsEntry\022\036\n\021import_schema_" + + "uri\030\004 \001(\tB\003\340A\002\0325\n\023DataItemLabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\010\n\006source\"" + + "\204\001\n\020ExportDataConfig\022E\n\017gcs_destination\030" + + "\001 \001(\0132*.google.cloud.aiplatform.v1.GcsDe" + + "stinationH\000\022\032\n\022annotations_filter\030\002 \001(\tB" + + "\r\n\013destinationB\320\001\n\036com.google.cloud.aipl" + + "atform.v1B\014DatasetProtoP\001ZDgoogle.golang" + + ".org/genproto/googleapis/cloud/aiplatfor" + + "m/v1;aiplatform\252\002\032Google.Cloud.AIPlatfor" + + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog" + + "le::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), @@ -164,7 +162,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java index 851264d91..4fb2eb4e7 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java @@ -118,127 +118,126 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ec.proto\032*google/cloud/aiplatform/v1/dat" + "a_item.proto\032(google/cloud/aiplatform/v1" + "/dataset.proto\032*google/cloud/aiplatform/" - + "v1/operation.proto\0322google/cloud/aiplatf" - + "orm/v1/training_pipeline.proto\032#google/l" - + "ongrunning/operations.proto\032 google/prot" - + "obuf/field_mask.proto\"\214\001\n\024CreateDatasetR" - + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" - + "s.googleapis.com/Location\0229\n\007dataset\030\002 \001" - + "(\0132#.google.cloud.aiplatform.v1.DatasetB" - + "\003\340A\002\"p\n\036CreateDatasetOperationMetadata\022N" - + "\n\020generic_metadata\030\001 \001(\01324.google.cloud." - + "aiplatform.v1.GenericOperationMetadata\"{" - + "\n\021GetDatasetRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" - + "#\n!aiplatform.googleapis.com/Dataset\022-\n\t" - + "read_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "ask\"\207\001\n\024UpdateDatasetRequest\0229\n\007dataset\030" - + "\001 \001(\0132#.google.cloud.aiplatform.v1.Datas" - + "etB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" - + "otobuf.FieldMaskB\003\340A\002\"\310\001\n\023ListDatasetsRe" - + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations" - + ".googleapis.com/Location\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.Fie" - + "ldMask\022\020\n\010order_by\030\006 \001(\t\"f\n\024ListDatasets" - + "Response\0225\n\010datasets\030\001 \003(\0132#.google.clou" - + "d.aiplatform.v1.Dataset\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"O\n\024DeleteDatasetRequest\0227\n\004name" - + "\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.co" - + "m/Dataset\"\227\001\n\021ImportDataRequest\0227\n\004name\030" - + "\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.com" - + "/Dataset\022I\n\016import_configs\030\002 \003(\0132,.googl" - + "e.cloud.aiplatform.v1.ImportDataConfigB\003" - + "\340A\002\"\024\n\022ImportDataResponse\"m\n\033ImportDataO" - + "perationMetadata\022N\n\020generic_metadata\030\001 \001" - + "(\01324.google.cloud.aiplatform.v1.GenericO" - + "perationMetadata\"\226\001\n\021ExportDataRequest\0227" - + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googlea" - + "pis.com/Dataset\022H\n\rexport_config\030\002 \001(\0132," - + ".google.cloud.aiplatform.v1.ExportDataCo" - + "nfigB\003\340A\002\",\n\022ExportDataResponse\022\026\n\016expor" - + "ted_files\030\001 \003(\t\"\213\001\n\033ExportDataOperationM" - + "etadata\022N\n\020generic_metadata\030\001 \001(\01324.goog" - + "le.cloud.aiplatform.v1.GenericOperationM" - + "etadata\022\034\n\024gcs_output_directory\030\002 \001(\t\"\311\001" - + "\n\024ListDataItemsRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\n!aiplatform.googleapis.com/Datase" - + "t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\n" - + "page_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.go" - + "ogle.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.Data" - + "Item\022\027\n\017next_page_token\030\002 \001(\t\"\211\001\n\030GetAnn" - + "otationSpecRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*" - + "\n(aiplatform.googleapis.com/AnnotationSp" - + "ec\022-\n\tread_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\"\314\001\n\026ListAnnotationsRequest\022:\n\006" - + "parent\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea" - + "pis.com/DataItem\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\027ListAnnotationsRespo" - + "nse\022;\n\013annotations\030\001 \003(\0132&.google.cloud." - + "aiplatform.v1.Annotation\022\027\n\017next_page_to" - + "ken\030\002 \001(\t2\330\020\n\016DatasetService\022\334\001\n\rCreateD" - + "ataset\0220.google.cloud.aiplatform.v1.Crea" - + "teDatasetRequest\032\035.google.longrunning.Op" - + "eration\"z\202\323\344\223\0027\",/v1/{parent=projects/*/" - + "locations/*}/datasets:\007dataset\332A\016parent," - + "dataset\312A)\n\007Dataset\022\036CreateDatasetOperat" - + "ionMetadata\022\235\001\n\nGetDataset\022-.google.clou" - + "d.aiplatform.v1.GetDatasetRequest\032#.goog" - + "le.cloud.aiplatform.v1.Dataset\";\202\323\344\223\002.\022," - + "/v1/{name=projects/*/locations/*/dataset" - + "s/*}\332A\004name\022\303\001\n\rUpdateDataset\0220.google.c" - + "loud.aiplatform.v1.UpdateDatasetRequest\032" - + "#.google.cloud.aiplatform.v1.Dataset\"[\202\323" - + "\344\223\002?24/v1/{dataset.name=projects/*/locat" - + "ions/*/datasets/*}:\007dataset\332A\023dataset,up" - + "date_mask\022\260\001\n\014ListDatasets\022/.google.clou" - + "d.aiplatform.v1.ListDatasetsRequest\0320.go" - + "ogle.cloud.aiplatform.v1.ListDatasetsRes" - + "ponse\"=\202\323\344\223\002.\022,/v1/{parent=projects/*/lo" - + "cations/*}/datasets\332A\006parent\022\320\001\n\rDeleteD" - + "ataset\0220.google.cloud.aiplatform.v1.Dele" - + "teDatasetRequest\032\035.google.longrunning.Op" - + "eration\"n\202\323\344\223\002.*,/v1/{name=projects/*/lo" - + "cations/*/datasets/*}\332A\004name\312A0\n\025google." - + "protobuf.Empty\022\027DeleteOperationMetadata\022" - + "\345\001\n\nImportData\022-.google.cloud.aiplatform" - + ".v1.ImportDataRequest\032\035.google.longrunni" - + "ng.Operation\"\210\001\202\323\344\223\0028\"3/v1/{name=project" - + "s/*/locations/*/datasets/*}:import:\001*\332A\023" - + "name,import_configs\312A1\n\022ImportDataRespon" - + "se\022\033ImportDataOperationMetadata\022\344\001\n\nExpo" - + "rtData\022-.google.cloud.aiplatform.v1.Expo" - + "rtDataRequest\032\035.google.longrunning.Opera" - + "tion\"\207\001\202\323\344\223\0028\"3/v1/{name=projects/*/loca" - + "tions/*/datasets/*}:export:\001*\332A\022name,exp" - + "ort_config\312A1\n\022ExportDataResponse\022\033Expor" - + "tDataOperationMetadata\022\277\001\n\rListDataItems" - + "\0220.google.cloud.aiplatform.v1.ListDataIt" - + "emsRequest\0321.google.cloud.aiplatform.v1." - + "ListDataItemsResponse\"I\202\323\344\223\002:\0228/v1/{pare" - + "nt=projects/*/locations/*/datasets/*}/da" - + "taItems\332A\006parent\022\304\001\n\021GetAnnotationSpec\0224" - + ".google.cloud.aiplatform.v1.GetAnnotatio" - + "nSpecRequest\032*.google.cloud.aiplatform.v" - + "1.AnnotationSpec\"M\202\323\344\223\002@\022>/v1/{name=proj" - + "ects/*/locations/*/datasets/*/annotation" - + "Specs/*}\332A\004name\022\323\001\n\017ListAnnotations\0222.go" + + "v1/operation.proto\032#google/longrunning/o" + + "perations.proto\032 google/protobuf/field_m" + + "ask.proto\"\214\001\n\024CreateDatasetRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis" + + ".com/Location\0229\n\007dataset\030\002 \001(\0132#.google." + + "cloud.aiplatform.v1.DatasetB\003\340A\002\"p\n\036Crea" + + "teDatasetOperationMetadata\022N\n\020generic_me" + + "tadata\030\001 \001(\01324.google.cloud.aiplatform.v" + + "1.GenericOperationMetadata\"{\n\021GetDataset" + + "Request\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatfor" + + "m.googleapis.com/Dataset\022-\n\tread_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMask\"\207\001\n\024Upda" + + "teDatasetRequest\0229\n\007dataset\030\001 \001(\0132#.goog" + + "le.cloud.aiplatform.v1.DatasetB\003\340A\002\0224\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002\"\310\001\n\023ListDatasetsRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_siz" + + "e\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\010or" + + "der_by\030\006 \001(\t\"f\n\024ListDatasetsResponse\0225\n\010" + + "datasets\030\001 \003(\0132#.google.cloud.aiplatform" + + ".v1.Dataset\022\027\n\017next_page_token\030\002 \001(\t\"O\n\024" + + "DeleteDatasetRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372" + + "A#\n!aiplatform.googleapis.com/Dataset\"\227\001" + + "\n\021ImportDataRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + + "#\n!aiplatform.googleapis.com/Dataset\022I\n\016" + + "import_configs\030\002 \003(\0132,.google.cloud.aipl" + + "atform.v1.ImportDataConfigB\003\340A\002\"\024\n\022Impor" + + "tDataResponse\"m\n\033ImportDataOperationMeta" + + "data\022N\n\020generic_metadata\030\001 \001(\01324.google." + + "cloud.aiplatform.v1.GenericOperationMeta" + + "data\"\226\001\n\021ExportDataRequest\0227\n\004name\030\001 \001(\t" + + "B)\340A\002\372A#\n!aiplatform.googleapis.com/Data" + + "set\022H\n\rexport_config\030\002 \001(\0132,.google.clou" + + "d.aiplatform.v1.ExportDataConfigB\003\340A\002\",\n" + + "\022ExportDataResponse\022\026\n\016exported_files\030\001 " + + "\003(\t\"\213\001\n\033ExportDataOperationMetadata\022N\n\020g" + + "eneric_metadata\030\001 \001(\01324.google.cloud.aip" + + "latform.v1.GenericOperationMetadata\022\034\n\024g" + + "cs_output_directory\030\002 \001(\t\"\311\001\n\024ListDataIt" + + "emsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!aipl" + + "atform.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.protobu" + + "f.FieldMask\022\020\n\010order_by\030\006 \001(\t\"j\n\025ListDat" + + "aItemsResponse\0228\n\ndata_items\030\001 \003(\0132$.goo" + + "gle.cloud.aiplatform.v1.DataItem\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\211\001\n\030GetAnnotationSpecR" + + "equest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(aiplatform" + + ".googleapis.com/AnnotationSpec\022-\n\tread_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\314\001" + + "\n\026ListAnnotationsRequest\022:\n\006parent\030\001 \001(\t" + + "B*\340A\002\372A$\n\"aiplatform.googleapis.com/Data" + + "Item\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\013annot" + + "ations\030\001 \003(\0132&.google.cloud.aiplatform.v" + + "1.Annotation\022\027\n\017next_page_token\030\002 \001(\t2\330\020" + + "\n\016DatasetService\022\334\001\n\rCreateDataset\0220.goo" + + "gle.cloud.aiplatform.v1.CreateDatasetReq" + + "uest\032\035.google.longrunning.Operation\"z\202\323\344" + + "\223\0027\",/v1/{parent=projects/*/locations/*}" + + "/datasets:\007dataset\332A\016parent,dataset\312A)\n\007" + + "Dataset\022\036CreateDatasetOperationMetadata\022" + + "\235\001\n\nGetDataset\022-.google.cloud.aiplatform" + + ".v1.GetDatasetRequest\032#.google.cloud.aip" + + "latform.v1.Dataset\";\202\323\344\223\002.\022,/v1/{name=pr" + + "ojects/*/locations/*/datasets/*}\332A\004name\022" + + "\303\001\n\rUpdateDataset\0220.google.cloud.aiplatf" + + "orm.v1.UpdateDatasetRequest\032#.google.clo" + + "ud.aiplatform.v1.Dataset\"[\202\323\344\223\002?24/v1/{d" + + "ataset.name=projects/*/locations/*/datas" + + "ets/*}:\007dataset\332A\023dataset,update_mask\022\260\001" + + "\n\014ListDatasets\022/.google.cloud.aiplatform" + + ".v1.ListDatasetsRequest\0320.google.cloud.a" + + "iplatform.v1.ListDatasetsResponse\"=\202\323\344\223\002" + + ".\022,/v1/{parent=projects/*/locations/*}/d" + + "atasets\332A\006parent\022\320\001\n\rDeleteDataset\0220.goo" + + "gle.cloud.aiplatform.v1.DeleteDatasetReq" + + "uest\032\035.google.longrunning.Operation\"n\202\323\344" + + "\223\002.*,/v1/{name=projects/*/locations/*/da" + + "tasets/*}\332A\004name\312A0\n\025google.protobuf.Emp" + + "ty\022\027DeleteOperationMetadata\022\345\001\n\nImportDa" + + "ta\022-.google.cloud.aiplatform.v1.ImportDa" + + "taRequest\032\035.google.longrunning.Operation" + + "\"\210\001\202\323\344\223\0028\"3/v1/{name=projects/*/location" + + "s/*/datasets/*}:import:\001*\332A\023name,import_" + + "configs\312A1\n\022ImportDataResponse\022\033ImportDa" + + "taOperationMetadata\022\344\001\n\nExportData\022-.goo" + + "gle.cloud.aiplatform.v1.ExportDataReques" + + "t\032\035.google.longrunning.Operation\"\207\001\202\323\344\223\002" + + "8\"3/v1/{name=projects/*/locations/*/data" + + "sets/*}:export:\001*\332A\022name,export_config\312A" + + "1\n\022ExportDataResponse\022\033ExportDataOperati" + + "onMetadata\022\277\001\n\rListDataItems\0220.google.cl" + + "oud.aiplatform.v1.ListDataItemsRequest\0321" + + ".google.cloud.aiplatform.v1.ListDataItem" + + "sResponse\"I\202\323\344\223\002:\0228/v1/{parent=projects/" + + "*/locations/*/datasets/*}/dataItems\332A\006pa" + + "rent\022\304\001\n\021GetAnnotationSpec\0224.google.clou" + + "d.aiplatform.v1.GetAnnotationSpecRequest" + + "\032*.google.cloud.aiplatform.v1.Annotation" + + "Spec\"M\202\323\344\223\002@\022>/v1/{name=projects/*/locat" + + "ions/*/datasets/*/annotationSpecs/*}\332A\004n" + + "ame\022\323\001\n\017ListAnnotations\0222.google.cloud.a" + + "iplatform.v1.ListAnnotationsRequest\0323.go" + "ogle.cloud.aiplatform.v1.ListAnnotations" - + "Request\0323.google.cloud.aiplatform.v1.Lis" - + "tAnnotationsResponse\"W\202\323\344\223\002H\022F/v1/{paren" - + "t=projects/*/locations/*/datasets/*/data" - + "Items/*}/annotations\332A\006parent\032M\312A\031aiplat" - + "form.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\327\001\n\036com.goo" - + "gle.cloud.aiplatform.v1B\023DatasetServiceP" - + "rotoP\001ZDgoogle.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1;aiplatform\252\002\032G" - + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" - + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" - + "rm::V1b\006proto3" + + "Response\"W\202\323\344\223\002H\022F/v1/{parent=projects/*" + + "/locations/*/datasets/*/dataItems/*}/ann" + + "otations\332A\006parent\032M\312A\031aiplatform.googlea" + + "pis.com\322A.https://www.googleapis.com/aut" + + "h/cloud-platformB\327\001\n\036com.google.cloud.ai" + + "platform.v1B\023DatasetServiceProtoP\001ZDgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "aiplatform/v1;aiplatform\252\002\032Google.Cloud." + + "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\" + + "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -253,7 +252,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1.DataItemProto.getDescriptor(), com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(), com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(), - com.google.cloud.aiplatform.v1.TrainingPipelineProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), }); @@ -419,7 +417,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1.DataItemProto.getDescriptor(); com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(); com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(); - com.google.cloud.aiplatform.v1.TrainingPipelineProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java index b06de8423..9dc17db88 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java @@ -42,24 +42,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n3google/cloud/aiplatform/v1/deployed_in" + "dex_ref.proto\022\032google.cloud.aiplatform.v" - + "1\032\034google/api/annotations.proto\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\"{\n\020DeployedIndexRef\022G\n\016index" - + "_endpoint\030\001 \001(\tB/\340A\005\372A)\n\'aiplatform.goog" - + "leapis.com/IndexEndpoint\022\036\n\021deployed_ind" - + "ex_id\030\002 \001(\tB\003\340A\005B\331\001\n\036com.google.cloud.ai" - + "platform.v1B\025DeployedIndexRefProtoP\001ZDgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1;aiplatform\252\002\032Google.Clou" - + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" - + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" - + "oto3" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\"{\n\020DeployedIndexRe" + + "f\022G\n\016index_endpoint\030\001 \001(\tB/\340A\005\372A)\n\'aipla" + + "tform.googleapis.com/IndexEndpoint\022\036\n\021de" + + "ployed_index_id\030\002 \001(\tB\003\340A\005B\331\001\n\036com.googl" + + "e.cloud.aiplatform.v1B\025DeployedIndexRefP" + + "rotoP\001ZDgoogle.golang.org/genproto/googl" + + "eapis/cloud/aiplatform/v1;aiplatform\252\002\032G" + + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" + + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" + + "rm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), }); @@ -77,7 +75,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java index 8b1a2f663..68f0b6eb8 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java @@ -42,23 +42,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n3google/cloud/aiplatform/v1/deployed_mo" + "del_ref.proto\022\032google.cloud.aiplatform.v" - + "1\032\034google/api/annotations.proto\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\"p\n\020DeployedModelRef\022<\n\010endpo" - + "int\030\001 \001(\tB*\340A\005\372A$\n\"aiplatform.googleapis" - + ".com/Endpoint\022\036\n\021deployed_model_id\030\002 \001(\t" - + "B\003\340A\005B\332\001\n\036com.google.cloud.aiplatform.v1" - + "B\026DeployedModelNameProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1;aiplatform\252\002\032Google.Cloud.AIPlatfo" - + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo" - + "gle::Cloud::AIPlatform::V1b\006proto3" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\"p\n\020DeployedModelRe" + + "f\022<\n\010endpoint\030\001 \001(\tB*\340A\005\372A$\n\"aiplatform." + + "googleapis.com/Endpoint\022\036\n\021deployed_mode" + + "l_id\030\002 \001(\tB\003\340A\005B\332\001\n\036com.google.cloud.aip" + + "latform.v1B\026DeployedModelNameProtoP\001ZDgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/aiplatform/v1;aiplatform\252\002\032Google.Clou" + + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" + + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), }); @@ -76,7 +75,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java index de80f1bcc..358dac4cb 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java @@ -41,22 +41,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n0google/cloud/aiplatform/v1/encryption_" - + "spec.proto\022\032google.cloud.aiplatform.v1\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\"+\n\016EncryptionSpec\022" - + "\031\n\014kms_key_name\030\001 \001(\tB\003\340A\002B\327\001\n\036com.googl" - + "e.cloud.aiplatform.v1B\023EncryptionSpecPro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" - + "::V1b\006proto3" + + "spec.proto\022\032google.cloud.aiplatform.v1\032\037" + + "google/api/field_behavior.proto\"+\n\016Encry" + + "ptionSpec\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\002B\327\001\n" + + "\036com.google.cloud.aiplatform.v1B\023Encrypt" + + "ionSpecProtoP\001ZDgoogle.golang.org/genpro" + + "to/googleapis/cloud/aiplatform/v1;aiplat" + + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_EncryptionSpec_descriptor = @@ -72,7 +70,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java index a71880293..1871cb66e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java @@ -209,6 +209,24 @@ private Endpoint( case 136: { enablePrivateServiceConnect_ = input.readBool(); + break; + } + case 146: + { + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder + subBuilder = null; + if (predictRequestResponseLoggingConfig_ != null) { + subBuilder = predictRequestResponseLoggingConfig_.toBuilder(); + } + predictRequestResponseLoggingConfig_ = + input.readMessage( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(predictRequestResponseLoggingConfig_); + predictRequestResponseLoggingConfig_ = subBuilder.buildPartial(); + } + break; } default: @@ -1022,11 +1040,12 @@ public com.google.protobuf.ByteString getNetworkBytes() { * can be set. * * - * bool enable_private_service_connect = 17; + * bool enable_private_service_connect = 17 [deprecated = true]; * * @return The enablePrivateServiceConnect. */ @java.lang.Override + @java.lang.Deprecated public boolean getEnablePrivateServiceConnect() { return enablePrivateServiceConnect_; } @@ -1090,6 +1109,63 @@ public com.google.protobuf.ByteString getModelDeploymentMonitoringJobBytes() { } } + public static final int PREDICT_REQUEST_RESPONSE_LOGGING_CONFIG_FIELD_NUMBER = 18; + private com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + predictRequestResponseLoggingConfig_; + /** + * + * + *
+   * Configures the request-response logging for online prediction.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + * + * @return Whether the predictRequestResponseLoggingConfig field is set. + */ + @java.lang.Override + public boolean hasPredictRequestResponseLoggingConfig() { + return predictRequestResponseLoggingConfig_ != null; + } + /** + * + * + *
+   * Configures the request-response logging for online prediction.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + * + * @return The predictRequestResponseLoggingConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + getPredictRequestResponseLoggingConfig() { + return predictRequestResponseLoggingConfig_ == null + ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.getDefaultInstance() + : predictRequestResponseLoggingConfig_; + } + /** + * + * + *
+   * Configures the request-response logging for online prediction.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder + getPredictRequestResponseLoggingConfigOrBuilder() { + return getPredictRequestResponseLoggingConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1141,6 +1217,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enablePrivateServiceConnect_ != false) { output.writeBool(17, enablePrivateServiceConnect_); } + if (predictRequestResponseLoggingConfig_ != null) { + output.writeMessage(18, getPredictRequestResponseLoggingConfig()); + } unknownFields.writeTo(output); } @@ -1206,6 +1285,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeBoolSize(17, enablePrivateServiceConnect_); } + if (predictRequestResponseLoggingConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 18, getPredictRequestResponseLoggingConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1244,6 +1328,12 @@ public boolean equals(final java.lang.Object obj) { if (getEnablePrivateServiceConnect() != other.getEnablePrivateServiceConnect()) return false; if (!getModelDeploymentMonitoringJob().equals(other.getModelDeploymentMonitoringJob())) return false; + if (hasPredictRequestResponseLoggingConfig() != other.hasPredictRequestResponseLoggingConfig()) + return false; + if (hasPredictRequestResponseLoggingConfig()) { + if (!getPredictRequestResponseLoggingConfig() + .equals(other.getPredictRequestResponseLoggingConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1293,6 +1383,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateServiceConnect()); hash = (37 * hash) + MODEL_DEPLOYMENT_MONITORING_JOB_FIELD_NUMBER; hash = (53 * hash) + getModelDeploymentMonitoringJob().hashCode(); + if (hasPredictRequestResponseLoggingConfig()) { + hash = (37 * hash) + PREDICT_REQUEST_RESPONSE_LOGGING_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getPredictRequestResponseLoggingConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1505,6 +1599,12 @@ public Builder clear() { modelDeploymentMonitoringJob_ = ""; + if (predictRequestResponseLoggingConfigBuilder_ == null) { + predictRequestResponseLoggingConfig_ = null; + } else { + predictRequestResponseLoggingConfig_ = null; + predictRequestResponseLoggingConfigBuilder_ = null; + } return this; } @@ -1568,6 +1668,12 @@ public com.google.cloud.aiplatform.v1.Endpoint buildPartial() { result.network_ = network_; result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_; result.modelDeploymentMonitoringJob_ = modelDeploymentMonitoringJob_; + if (predictRequestResponseLoggingConfigBuilder_ == null) { + result.predictRequestResponseLoggingConfig_ = predictRequestResponseLoggingConfig_; + } else { + result.predictRequestResponseLoggingConfig_ = + predictRequestResponseLoggingConfigBuilder_.build(); + } onBuilt(); return result; } @@ -1682,6 +1788,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) { modelDeploymentMonitoringJob_ = other.modelDeploymentMonitoringJob_; onChanged(); } + if (other.hasPredictRequestResponseLoggingConfig()) { + mergePredictRequestResponseLoggingConfig(other.getPredictRequestResponseLoggingConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3738,11 +3847,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * can be set. * * - * bool enable_private_service_connect = 17; + * bool enable_private_service_connect = 17 [deprecated = true]; * * @return The enablePrivateServiceConnect. */ @java.lang.Override + @java.lang.Deprecated public boolean getEnablePrivateServiceConnect() { return enablePrivateServiceConnect_; } @@ -3756,11 +3866,12 @@ public boolean getEnablePrivateServiceConnect() { * can be set. * * - * bool enable_private_service_connect = 17; + * bool enable_private_service_connect = 17 [deprecated = true]; * * @param value The enablePrivateServiceConnect to set. * @return This builder for chaining. */ + @java.lang.Deprecated public Builder setEnablePrivateServiceConnect(boolean value) { enablePrivateServiceConnect_ = value; @@ -3777,10 +3888,11 @@ public Builder setEnablePrivateServiceConnect(boolean value) { * can be set. * * - * bool enable_private_service_connect = 17; + * bool enable_private_service_connect = 17 [deprecated = true]; * * @return This builder for chaining. */ + @java.lang.Deprecated public Builder clearEnablePrivateServiceConnect() { enablePrivateServiceConnect_ = false; @@ -3919,6 +4031,221 @@ public Builder setModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteStri return this; } + private com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + predictRequestResponseLoggingConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder> + predictRequestResponseLoggingConfigBuilder_; + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + * + * @return Whether the predictRequestResponseLoggingConfig field is set. + */ + public boolean hasPredictRequestResponseLoggingConfig() { + return predictRequestResponseLoggingConfigBuilder_ != null + || predictRequestResponseLoggingConfig_ != null; + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + * + * @return The predictRequestResponseLoggingConfig. + */ + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + getPredictRequestResponseLoggingConfig() { + if (predictRequestResponseLoggingConfigBuilder_ == null) { + return predictRequestResponseLoggingConfig_ == null + ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + .getDefaultInstance() + : predictRequestResponseLoggingConfig_; + } else { + return predictRequestResponseLoggingConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + public Builder setPredictRequestResponseLoggingConfig( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig value) { + if (predictRequestResponseLoggingConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + predictRequestResponseLoggingConfig_ = value; + onChanged(); + } else { + predictRequestResponseLoggingConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + public Builder setPredictRequestResponseLoggingConfig( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder + builderForValue) { + if (predictRequestResponseLoggingConfigBuilder_ == null) { + predictRequestResponseLoggingConfig_ = builderForValue.build(); + onChanged(); + } else { + predictRequestResponseLoggingConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + public Builder mergePredictRequestResponseLoggingConfig( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig value) { + if (predictRequestResponseLoggingConfigBuilder_ == null) { + if (predictRequestResponseLoggingConfig_ != null) { + predictRequestResponseLoggingConfig_ = + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.newBuilder( + predictRequestResponseLoggingConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + predictRequestResponseLoggingConfig_ = value; + } + onChanged(); + } else { + predictRequestResponseLoggingConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + public Builder clearPredictRequestResponseLoggingConfig() { + if (predictRequestResponseLoggingConfigBuilder_ == null) { + predictRequestResponseLoggingConfig_ = null; + onChanged(); + } else { + predictRequestResponseLoggingConfig_ = null; + predictRequestResponseLoggingConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder + getPredictRequestResponseLoggingConfigBuilder() { + + onChanged(); + return getPredictRequestResponseLoggingConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder + getPredictRequestResponseLoggingConfigOrBuilder() { + if (predictRequestResponseLoggingConfigBuilder_ != null) { + return predictRequestResponseLoggingConfigBuilder_.getMessageOrBuilder(); + } else { + return predictRequestResponseLoggingConfig_ == null + ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + .getDefaultInstance() + : predictRequestResponseLoggingConfig_; + } + } + /** + * + * + *
+     * Configures the request-response logging for online prediction.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder> + getPredictRequestResponseLoggingConfigFieldBuilder() { + if (predictRequestResponseLoggingConfigBuilder_ == null) { + predictRequestResponseLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder>( + getPredictRequestResponseLoggingConfig(), getParentForChildren(), isClean()); + predictRequestResponseLoggingConfig_ = null; + } + return predictRequestResponseLoggingConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java index 7a5abbcec..5fd1c818d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java @@ -528,10 +528,11 @@ public interface EndpointOrBuilder * can be set. * * - * bool enable_private_service_connect = 17; + * bool enable_private_service_connect = 17 [deprecated = true]; * * @return The enablePrivateServiceConnect. */ + @java.lang.Deprecated boolean getEnablePrivateServiceConnect(); /** @@ -568,4 +569,47 @@ public interface EndpointOrBuilder * @return The bytes for modelDeploymentMonitoringJob. */ com.google.protobuf.ByteString getModelDeploymentMonitoringJobBytes(); + + /** + * + * + *
+   * Configures the request-response logging for online prediction.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + * + * @return Whether the predictRequestResponseLoggingConfig field is set. + */ + boolean hasPredictRequestResponseLoggingConfig(); + /** + * + * + *
+   * Configures the request-response logging for online prediction.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + * + * @return The predictRequestResponseLoggingConfig. + */ + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + getPredictRequestResponseLoggingConfig(); + /** + * + * + *
+   * Configures the request-response logging for online prediction.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; + * + */ + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder + getPredictRequestResponseLoggingConfigOrBuilder(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java index db4e989d2..a7659d473 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java @@ -47,6 +47,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_PrivateEndpoints_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_PrivateEndpoints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -57,78 +61,78 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n)google/cloud/aiplatform/v1/endpoint.pr" - + "oto\022\032google.cloud.aiplatform.v1\032\034google/" - + "api/annotations.proto\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\0320google/cloud/aiplatform/v1/encryption" - + "_spec.proto\032,google/cloud/aiplatform/v1/" - + "explanation.proto\032#google/cloud/aiplatfo" - + "rm/v1/io.proto\0322google/cloud/aiplatform/" - + "v1/machine_resources.proto\032@google/cloud" - + "/aiplatform/v1/model_deployment_monitori" - + "ng_job.proto\0321google/cloud/aiplatform/v1" - + "/model_monitoring.proto\032\037google/protobuf" - + "/timestamp.proto\"\370\006\n\010Endpoint\022\021\n\004name\030\001 " - + "\001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013d" - + "escription\030\003 \001(\t\022G\n\017deployed_models\030\004 \003(" - + "\0132).google.cloud.aiplatform.v1.DeployedM" - + "odelB\003\340A\003\022M\n\rtraffic_split\030\005 \003(\01326.googl" - + "e.cloud.aiplatform.v1.Endpoint.TrafficSp" - + "litEntry\022\014\n\004etag\030\006 \001(\t\022@\n\006labels\030\007 \003(\01320" - + ".google.cloud.aiplatform.v1.Endpoint.Lab" - + "elsEntry\0224\n\013create_time\030\010 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\t " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022C\n\017" - + "encryption_spec\030\n \001(\0132*.google.cloud.aip" - + "latform.v1.EncryptionSpec\0224\n\007network\030\r \001" - + "(\tB#\372A \n\036compute.googleapis.com/Network\022" - + "&\n\036enable_private_service_connect\030\021 \001(\010\022" - + "g\n\037model_deployment_monitoring_job\030\016 \001(\t" - + "B>\340A\003\372A8\n6aiplatform.googleapis.com/Mode" - + "lDeploymentMonitoringJob\0323\n\021TrafficSplit" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n" - + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001:e\352Ab\n\"aiplatform.googleapis.com/End" - + "point\022\340A\003\372A8\n6aiplatform.go" + + "ogleapis.com/ModelDeploymentMonitoringJo" + + "b\022p\n\'predict_request_response_logging_co" + + "nfig\030\022 \001(\0132?.google.cloud.aiplatform.v1." + + "PredictRequestResponseLoggingConfig\0323\n\021T" + + "rafficSplitEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\005:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001:e\352Ab\n\"aiplatform.googlea" + + "pis.com/Endpoint\022 + * Optional. The default monitoring configuration for all Features with value + * type + * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, + * STRING, DOUBLE or INT64 under this EntityType. + * If this is populated with + * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot + * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is + * disabled. + * + * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the monitoringConfig field is set. + */ + @java.lang.Override + public boolean hasMonitoringConfig() { + return monitoringConfig_ != null; + } + /** + * + * + *
+   * Optional. The default monitoring configuration for all Features with value
+   * type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 under this EntityType.
+   * If this is populated with
+   * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+   * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+   * disabled.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The monitoringConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoringConfig() { + return monitoringConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance() + : monitoringConfig_; + } + /** + * + * + *
+   * Optional. The default monitoring configuration for all Features with value
+   * type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 under this EntityType.
+   * If this is populated with
+   * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+   * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+   * disabled.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { + return getMonitoringConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -604,6 +697,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, etag_); } + if (monitoringConfig_ != null) { + output.writeMessage(8, getMonitoringConfig()); + } unknownFields.writeTo(output); } @@ -638,6 +734,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, etag_); } + if (monitoringConfig_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMonitoringConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -666,6 +765,10 @@ public boolean equals(final java.lang.Object obj) { } if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getEtag().equals(other.getEtag())) return false; + if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; + if (hasMonitoringConfig()) { + if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -695,6 +798,10 @@ public int hashCode() { } hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); + if (hasMonitoringConfig()) { + hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getMonitoringConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -881,6 +988,12 @@ public Builder clear() { internalGetMutableLabels().clear(); etag_ = ""; + if (monitoringConfigBuilder_ == null) { + monitoringConfig_ = null; + } else { + monitoringConfig_ = null; + monitoringConfigBuilder_ = null; + } return this; } @@ -924,6 +1037,11 @@ public com.google.cloud.aiplatform.v1.EntityType buildPartial() { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); result.etag_ = etag_; + if (monitoringConfigBuilder_ == null) { + result.monitoringConfig_ = monitoringConfig_; + } else { + result.monitoringConfig_ = monitoringConfigBuilder_.build(); + } onBuilt(); return result; } @@ -992,6 +1110,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EntityType other) { etag_ = other.etag_; onChanged(); } + if (other.hasMonitoringConfig()) { + mergeMonitoringConfig(other.getMonitoringConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1991,6 +2112,278 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoringConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder> + monitoringConfigBuilder_; + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the monitoringConfig field is set. + */ + public boolean hasMonitoringConfig() { + return monitoringConfigBuilder_ != null || monitoringConfig_ != null; + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The monitoringConfig. + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoringConfig() { + if (monitoringConfigBuilder_ == null) { + return monitoringConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance() + : monitoringConfig_; + } else { + return monitoringConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMonitoringConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig value) { + if (monitoringConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + monitoringConfig_ = value; + onChanged(); + } else { + monitoringConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setMonitoringConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder builderForValue) { + if (monitoringConfigBuilder_ == null) { + monitoringConfig_ = builderForValue.build(); + onChanged(); + } else { + monitoringConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeMonitoringConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig value) { + if (monitoringConfigBuilder_ == null) { + if (monitoringConfig_ != null) { + monitoringConfig_ = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.newBuilder( + monitoringConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + monitoringConfig_ = value; + } + onChanged(); + } else { + monitoringConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearMonitoringConfig() { + if (monitoringConfigBuilder_ == null) { + monitoringConfig_ = null; + onChanged(); + } else { + monitoringConfig_ = null; + monitoringConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder + getMonitoringConfigBuilder() { + + onChanged(); + return getMonitoringConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { + if (monitoringConfigBuilder_ != null) { + return monitoringConfigBuilder_.getMessageOrBuilder(); + } else { + return monitoringConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance() + : monitoringConfig_; + } + } + /** + * + * + *
+     * Optional. The default monitoring configuration for all Features with value
+     * type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 under this EntityType.
+     * If this is populated with
+     * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+     * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+     * disabled.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder> + getMonitoringConfigFieldBuilder() { + if (monitoringConfigBuilder_ == null) { + monitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder>( + getMonitoringConfig(), getParentForChildren(), isClean()); + monitoringConfig_ = null; + } + return monitoringConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java index eff9ecdae..16c30bd7a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java @@ -281,4 +281,67 @@ public interface EntityTypeOrBuilder * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
+   * Optional. The default monitoring configuration for all Features with value
+   * type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 under this EntityType.
+   * If this is populated with
+   * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+   * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+   * disabled.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the monitoringConfig field is set. + */ + boolean hasMonitoringConfig(); + /** + * + * + *
+   * Optional. The default monitoring configuration for all Features with value
+   * type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 under this EntityType.
+   * If this is populated with
+   * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+   * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+   * disabled.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The monitoringConfig. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoringConfig(); + /** + * + * + *
+   * Optional. The default monitoring configuration for all Features with value
+   * type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 under this EntityType.
+   * If this is populated with
+   * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+   * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+   * disabled.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder + getMonitoringConfigOrBuilder(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java index 7f1618cd2..b1971a065 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java @@ -45,37 +45,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/aiplatform/v1/entity_type" - + ".proto\022\032google.cloud.aiplatform.v1\032\034goog" - + "le/api/annotations.proto\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032(google/cloud/aiplatform/v1/feature" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\275\003\n\nEntityType\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\030\n\013des" - + "cription\030\002 \001(\tB\003\340A\001\0224\n\013create_time\030\003 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" - + "ate_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022G\n\006labels\030\006 \003(\01322.google.cloud.a" - + "iplatform.v1.EntityType.LabelsEntryB\003\340A\001" - + "\022\021\n\004etag\030\007 \001(\tB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\212\001\352A\206\001\n$aipla" - + "tform.googleapis.com/EntityType\022^project" - + "s/{project}/locations/{location}/feature" - + "stores/{featurestore}/entityTypes/{entit" - + "y_type}B\323\001\n\036com.google.cloud.aiplatform." - + "v1B\017EntityTypeProtoP\001ZDgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" - + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" - + "Cloud::AIPlatform::V1b\006proto3" + + ".proto\022\032google.cloud.aiplatform.v1\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\0328google/cloud/aiplatform/" + + "v1/featurestore_monitoring.proto\032\037google" + + "/protobuf/timestamp.proto\"\227\004\n\nEntityType" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\030\n\013description\030\002 \001(\t" + + "B\003\340A\001\0224\n\013create_time\030\003 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022G\n\006lab" + + "els\030\006 \003(\01322.google.cloud.aiplatform.v1.E" + + "ntityType.LabelsEntryB\003\340A\001\022\021\n\004etag\030\007 \001(\t" + + "B\003\340A\001\022X\n\021monitoring_config\030\010 \001(\01328.googl" + + "e.cloud.aiplatform.v1.FeaturestoreMonito" + + "ringConfigB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\212\001\352A\206\001\n$aiplatfor" + + "m.googleapis.com/EntityType\022^projects/{p" + + "roject}/locations/{location}/featurestor" + + "es/{featurestore}/entityTypes/{entity_ty" + + "pe}B\323\001\n\036com.google.cloud.aiplatform.v1B\017" + + "EntityTypeProtoP\001ZDgoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1;aip" + + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" + + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" + + "d::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.FeatureProto.getDescriptor(), + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_EntityType_descriptor = @@ -84,7 +85,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_EntityType_descriptor, new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "Labels", "Etag", + "Name", + "Description", + "CreateTime", + "UpdateTime", + "Labels", + "Etag", + "MonitoringConfig", }); internal_static_google_cloud_aiplatform_v1_EntityType_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1_EntityType_descriptor.getNestedTypes().get(0); @@ -100,10 +107,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.FeatureProto.getDescriptor(); + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java index a9b489e86..61670daed 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java @@ -41,21 +41,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n(google/cloud/aiplatform/v1/env_var.pro" - + "to\022\032google.cloud.aiplatform.v1\032\034google/a" - + "pi/annotations.proto\032\037google/api/field_b" - + "ehavior.proto\"/\n\006EnvVar\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002B\317\001\n\036com.google.cl" - + "oud.aiplatform.v1B\013EnvVarProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" - + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" - + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "to\022\032google.cloud.aiplatform.v1\032\037google/a" + + "pi/field_behavior.proto\"/\n\006EnvVar\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002B\317\001\n\036com" + + ".google.cloud.aiplatform.v1B\013EnvVarProto" + + "P\001ZDgoogle.golang.org/genproto/googleapi" + + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" + + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" + + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_EnvVar_descriptor = @@ -71,7 +70,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java index b500b269f..14a8f3a4c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java @@ -45,32 +45,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/aiplatform/v1/event.proto" - + "\022\032google.cloud.aiplatform.v1\032\034google/api" - + "/annotations.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032\037" - + "google/protobuf/timestamp.proto\"\230\003\n\005Even" - + "t\022<\n\010artifact\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform." - + "googleapis.com/Artifact\022>\n\texecution\030\002 \001" - + "(\tB+\340A\003\372A%\n#aiplatform.googleapis.com/Ex" - + "ecution\0223\n\nevent_time\030\003 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\0229\n\004type\030\004 \001(\0162&.goo" - + "gle.cloud.aiplatform.v1.Event.TypeB\003\340A\002\022" - + "=\n\006labels\030\005 \003(\0132-.google.cloud.aiplatfor" - + "m.v1.Event.LabelsEntry\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\004Type\022\024\n" - + "\020TYPE_UNSPECIFIED\020\000\022\t\n\005INPUT\020\001\022\n\n\006OUTPUT" - + "\020\002B\316\001\n\036com.google.cloud.aiplatform.v1B\nE" - + "ventProtoP\001ZDgoogle.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1;aiplatfor" - + "m\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\" - + "Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIP" - + "latform::V1b\006proto3" + + "\022\032google.cloud.aiplatform.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\037google/protobuf/timestamp.prot" + + "o\"\230\003\n\005Event\022<\n\010artifact\030\001 \001(\tB*\340A\002\372A$\n\"a" + + "iplatform.googleapis.com/Artifact\022>\n\texe" + + "cution\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.googlea" + + "pis.com/Execution\0223\n\nevent_time\030\003 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0229\n\004type\030\004" + + " \001(\0162&.google.cloud.aiplatform.v1.Event." + + "TypeB\003\340A\002\022=\n\006labels\030\005 \003(\0132-.google.cloud" + + ".aiplatform.v1.Event.LabelsEntry\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "3\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005INPUT\020\001" + + "\022\n\n\006OUTPUT\020\002B\316\001\n\036com.google.cloud.aiplat" + + "form.v1B\nEventProtoP\001ZDgoogle.golang.org" + + "/genproto/googleapis/cloud/aiplatform/v1" + + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" + + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" + + "Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -97,7 +95,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java index c42899758..58568218e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java @@ -45,44 +45,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n*google/cloud/aiplatform/v1/execution.p" - + "roto\022\032google.cloud.aiplatform.v1\032\034google" - + "/api/annotations.proto\032\037google/api/field" - + "_behavior.proto\032\031google/api/resource.pro" - + "to\032&google/cloud/aiplatform/v1/value.pro" - + "to\032\034google/protobuf/struct.proto\032\037google" - + "/protobuf/timestamp.proto\"\301\005\n\tExecution\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t" - + "\022:\n\005state\030\006 \001(\0162+.google.cloud.aiplatfor" - + "m.v1.Execution.State\022\014\n\004etag\030\t \001(\t\022A\n\006la" - + "bels\030\n \003(\01321.google.cloud.aiplatform.v1." - + "Execution.LabelsEntry\0224\n\013create_time\030\013 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" - + "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\024\n\014schema_title\030\r \001(\t\022\026\n\016schem" - + "a_version\030\016 \001(\t\022)\n\010metadata\030\017 \001(\0132\027.goog" - + "le.protobuf.Struct\022\023\n\013description\030\020 \001(\t\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"i\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\007" - + "\n\003NEW\020\001\022\013\n\007RUNNING\020\002\022\014\n\010COMPLETE\020\003\022\n\n\006FA" - + "ILED\020\004\022\n\n\006CACHED\020\005\022\r\n\tCANCELLED\020\006:\211\001\352A\205\001" - + "\n#aiplatform.googleapis.com/Execution\022^p" - + "rojects/{project}/locations/{location}/m" - + "etadataStores/{metadata_store}/execution" - + "s/{execution}B\322\001\n\036com.google.cloud.aipla" - + "tform.v1B\016ExecutionProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1;aiplatform\252\002\032Google.Cloud.AIPlatfo" - + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo" - + "gle::Cloud::AIPlatform::V1b\006proto3" + + "roto\022\032google.cloud.aiplatform.v1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032\034google/protobuf/struct.pro" + + "to\032\037google/protobuf/timestamp.proto\"\301\005\n\t" + + "Execution\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_" + + "name\030\002 \001(\t\022:\n\005state\030\006 \001(\0162+.google.cloud" + + ".aiplatform.v1.Execution.State\022\014\n\004etag\030\t" + + " \001(\t\022A\n\006labels\030\n \003(\01321.google.cloud.aipl" + + "atform.v1.Execution.LabelsEntry\0224\n\013creat" + + "e_time\030\013 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022\024\n\014schema_title\030\r \001(" + + "\t\022\026\n\016schema_version\030\016 \001(\t\022)\n\010metadata\030\017 " + + "\001(\0132\027.google.protobuf.Struct\022\023\n\013descript" + + "ion\030\020 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"i\n\005State\022\025\n\021STATE_UNSPE" + + "CIFIED\020\000\022\007\n\003NEW\020\001\022\013\n\007RUNNING\020\002\022\014\n\010COMPLE" + + "TE\020\003\022\n\n\006FAILED\020\004\022\n\n\006CACHED\020\005\022\r\n\tCANCELLE" + + "D\020\006:\211\001\352A\205\001\n#aiplatform.googleapis.com/Ex" + + "ecution\022^projects/{project}/locations/{l" + + "ocation}/metadataStores/{metadata_store}" + + "/executions/{execution}B\322\001\n\036com.google.c" + + "loud.aiplatform.v1B\016ExecutionProtoP\001ZDgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/aiplatform/v1;aiplatform\252\002\032Google.Clou" + + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" + + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ValueProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -118,10 +115,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ValueProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java index d18302b2a..2e616199f 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java @@ -66,80 +66,78 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n5google/cloud/aiplatform/v1/explanation" + "_metadata.proto\022\032google.cloud.aiplatform" - + ".v1\032\034google/api/annotations.proto\032\037googl" - + "e/api/field_behavior.proto\032\034google/proto" - + "buf/struct.proto\"\262\022\n\023ExplanationMetadata" - + "\022P\n\006inputs\030\001 \003(\0132;.google.cloud.aiplatfo" - + "rm.v1.ExplanationMetadata.InputsEntryB\003\340" - + "A\002\022R\n\007outputs\030\002 \003(\0132<.google.cloud.aipla" - + "tform.v1.ExplanationMetadata.OutputsEntr" - + "yB\003\340A\002\022\'\n\037feature_attributions_schema_ur" - + "i\030\003 \001(\t\032\304\r\n\rInputMetadata\022/\n\017input_basel" - + "ines\030\001 \003(\0132\026.google.protobuf.Value\022\031\n\021in" - + "put_tensor_name\030\002 \001(\t\022X\n\010encoding\030\003 \001(\0162" - + "F.google.cloud.aiplatform.v1.Explanation" - + "Metadata.InputMetadata.Encoding\022\020\n\010modal" - + "ity\030\004 \001(\t\022n\n\024feature_value_domain\030\005 \001(\0132" - + "P.google.cloud.aiplatform.v1.Explanation" - + "Metadata.InputMetadata.FeatureValueDomai" - + "n\022\033\n\023indices_tensor_name\030\006 \001(\t\022\037\n\027dense_" - + "shape_tensor_name\030\007 \001(\t\022\035\n\025index_feature" - + "_mapping\030\010 \003(\t\022\033\n\023encoded_tensor_name\030\t " - + "\001(\t\0221\n\021encoded_baselines\030\n \003(\0132\026.google." - + "protobuf.Value\022b\n\rvisualization\030\013 \001(\0132K." - + "google.cloud.aiplatform.v1.ExplanationMe" - + "tadata.InputMetadata.Visualization\022\022\n\ngr" - + "oup_name\030\014 \001(\t\032j\n\022FeatureValueDomain\022\021\n\t" - + "min_value\030\001 \001(\002\022\021\n\tmax_value\030\002 \001(\002\022\025\n\ror" - + "iginal_mean\030\003 \001(\002\022\027\n\017original_stddev\030\004 \001" - + "(\002\032\326\006\n\rVisualization\022^\n\004type\030\001 \001(\0162P.goo" - + "gle.cloud.aiplatform.v1.ExplanationMetad" - + "ata.InputMetadata.Visualization.Type\022f\n\010" - + "polarity\030\002 \001(\0162T.google.cloud.aiplatform" - + ".v1.ExplanationMetadata.InputMetadata.Vi" - + "sualization.Polarity\022g\n\tcolor_map\030\003 \001(\0162" - + "T.google.cloud.aiplatform.v1.Explanation" - + "Metadata.InputMetadata.Visualization.Col" - + "orMap\022\037\n\027clip_percent_upperbound\030\004 \001(\002\022\037" - + "\n\027clip_percent_lowerbound\030\005 \001(\002\022m\n\014overl" - + "ay_type\030\006 \001(\0162W.google.cloud.aiplatform." - + "v1.ExplanationMetadata.InputMetadata.Vis" - + "ualization.OverlayType\"6\n\004Type\022\024\n\020TYPE_U" - + "NSPECIFIED\020\000\022\n\n\006PIXELS\020\001\022\014\n\010OUTLINES\020\002\"J" - + "\n\010Polarity\022\030\n\024POLARITY_UNSPECIFIED\020\000\022\014\n\010" - + "POSITIVE\020\001\022\014\n\010NEGATIVE\020\002\022\010\n\004BOTH\020\003\"{\n\010Co" - + "lorMap\022\031\n\025COLOR_MAP_UNSPECIFIED\020\000\022\016\n\nPIN" - + "K_GREEN\020\001\022\013\n\007VIRIDIS\020\002\022\007\n\003RED\020\003\022\t\n\005GREEN" - + "\020\004\022\r\n\tRED_GREEN\020\006\022\024\n\020PINK_WHITE_GREEN\020\005\"" - + "b\n\013OverlayType\022\034\n\030OVERLAY_TYPE_UNSPECIFI" - + "ED\020\000\022\010\n\004NONE\020\001\022\014\n\010ORIGINAL\020\002\022\r\n\tGRAYSCAL" - + "E\020\003\022\016\n\nMASK_BLACK\020\004\"\240\001\n\010Encoding\022\030\n\024ENCO" - + "DING_UNSPECIFIED\020\000\022\014\n\010IDENTITY\020\001\022\023\n\017BAG_" - + "OF_FEATURES\020\002\022\032\n\026BAG_OF_FEATURES_SPARSE\020" - + "\003\022\r\n\tINDICATOR\020\004\022\026\n\022COMBINED_EMBEDDING\020\005" - + "\022\024\n\020CONCAT_EMBEDDING\020\006\032\246\001\n\016OutputMetadat" - + "a\022<\n\032index_display_name_mapping\030\001 \001(\0132\026." - + "google.protobuf.ValueH\000\022\"\n\030display_name_" - + "mapping_key\030\002 \001(\tH\000\022\032\n\022output_tensor_nam" - + "e\030\003 \001(\tB\026\n\024display_name_mapping\032l\n\013Input" - + "sEntry\022\013\n\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.goo" - + "gle.cloud.aiplatform.v1.ExplanationMetad" - + "ata.InputMetadata:\0028\001\032n\n\014OutputsEntry\022\013\n" - + "\003key\030\001 \001(\t\022M\n\005value\030\002 \001(\0132>.google.cloud" - + ".aiplatform.v1.ExplanationMetadata.Outpu" - + "tMetadata:\0028\001B\334\001\n\036com.google.cloud.aipla" - + "tform.v1B\030ExplanationMetadataProtoP\001ZDgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1;aiplatform\252\002\032Google.Clou" - + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" - + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" - + "oto3" + + ".v1\032\037google/api/field_behavior.proto\032\034go" + + "ogle/protobuf/struct.proto\"\262\022\n\023Explanati" + + "onMetadata\022P\n\006inputs\030\001 \003(\0132;.google.clou" + + "d.aiplatform.v1.ExplanationMetadata.Inpu" + + "tsEntryB\003\340A\002\022R\n\007outputs\030\002 \003(\0132<.google.c" + + "loud.aiplatform.v1.ExplanationMetadata.O" + + "utputsEntryB\003\340A\002\022\'\n\037feature_attributions" + + "_schema_uri\030\003 \001(\t\032\304\r\n\rInputMetadata\022/\n\017i" + + "nput_baselines\030\001 \003(\0132\026.google.protobuf.V" + + "alue\022\031\n\021input_tensor_name\030\002 \001(\t\022X\n\010encod" + + "ing\030\003 \001(\0162F.google.cloud.aiplatform.v1.E" + + "xplanationMetadata.InputMetadata.Encodin" + + "g\022\020\n\010modality\030\004 \001(\t\022n\n\024feature_value_dom" + + "ain\030\005 \001(\0132P.google.cloud.aiplatform.v1.E" + + "xplanationMetadata.InputMetadata.Feature" + + "ValueDomain\022\033\n\023indices_tensor_name\030\006 \001(\t" + + "\022\037\n\027dense_shape_tensor_name\030\007 \001(\t\022\035\n\025ind" + + "ex_feature_mapping\030\010 \003(\t\022\033\n\023encoded_tens" + + "or_name\030\t \001(\t\0221\n\021encoded_baselines\030\n \003(\013" + + "2\026.google.protobuf.Value\022b\n\rvisualizatio" + + "n\030\013 \001(\0132K.google.cloud.aiplatform.v1.Exp" + + "lanationMetadata.InputMetadata.Visualiza" + + "tion\022\022\n\ngroup_name\030\014 \001(\t\032j\n\022FeatureValue" + + "Domain\022\021\n\tmin_value\030\001 \001(\002\022\021\n\tmax_value\030\002" + + " \001(\002\022\025\n\roriginal_mean\030\003 \001(\002\022\027\n\017original_" + + "stddev\030\004 \001(\002\032\326\006\n\rVisualization\022^\n\004type\030\001" + + " \001(\0162P.google.cloud.aiplatform.v1.Explan" + + "ationMetadata.InputMetadata.Visualizatio" + + "n.Type\022f\n\010polarity\030\002 \001(\0162T.google.cloud." + + "aiplatform.v1.ExplanationMetadata.InputM" + + "etadata.Visualization.Polarity\022g\n\tcolor_" + + "map\030\003 \001(\0162T.google.cloud.aiplatform.v1.E" + + "xplanationMetadata.InputMetadata.Visuali" + + "zation.ColorMap\022\037\n\027clip_percent_upperbou" + + "nd\030\004 \001(\002\022\037\n\027clip_percent_lowerbound\030\005 \001(" + + "\002\022m\n\014overlay_type\030\006 \001(\0162W.google.cloud.a" + + "iplatform.v1.ExplanationMetadata.InputMe" + + "tadata.Visualization.OverlayType\"6\n\004Type" + + "\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006PIXELS\020\001\022\014\n\010OU" + + "TLINES\020\002\"J\n\010Polarity\022\030\n\024POLARITY_UNSPECI" + + "FIED\020\000\022\014\n\010POSITIVE\020\001\022\014\n\010NEGATIVE\020\002\022\010\n\004BO" + + "TH\020\003\"{\n\010ColorMap\022\031\n\025COLOR_MAP_UNSPECIFIE" + + "D\020\000\022\016\n\nPINK_GREEN\020\001\022\013\n\007VIRIDIS\020\002\022\007\n\003RED\020" + + "\003\022\t\n\005GREEN\020\004\022\r\n\tRED_GREEN\020\006\022\024\n\020PINK_WHIT" + + "E_GREEN\020\005\"b\n\013OverlayType\022\034\n\030OVERLAY_TYPE" + + "_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\014\n\010ORIGINAL\020\002\022\r" + + "\n\tGRAYSCALE\020\003\022\016\n\nMASK_BLACK\020\004\"\240\001\n\010Encodi" + + "ng\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\014\n\010IDENTITY" + + "\020\001\022\023\n\017BAG_OF_FEATURES\020\002\022\032\n\026BAG_OF_FEATUR" + + "ES_SPARSE\020\003\022\r\n\tINDICATOR\020\004\022\026\n\022COMBINED_E" + + "MBEDDING\020\005\022\024\n\020CONCAT_EMBEDDING\020\006\032\246\001\n\016Out" + + "putMetadata\022<\n\032index_display_name_mappin" + + "g\030\001 \001(\0132\026.google.protobuf.ValueH\000\022\"\n\030dis" + + "play_name_mapping_key\030\002 \001(\tH\000\022\032\n\022output_" + + "tensor_name\030\003 \001(\tB\026\n\024display_name_mappin" + + "g\032l\n\013InputsEntry\022\013\n\003key\030\001 \001(\t\022L\n\005value\030\002" + + " \001(\0132=.google.cloud.aiplatform.v1.Explan" + + "ationMetadata.InputMetadata:\0028\001\032n\n\014Outpu" + + "tsEntry\022\013\n\003key\030\001 \001(\t\022M\n\005value\030\002 \001(\0132>.go" + + "ogle.cloud.aiplatform.v1.ExplanationMeta" + + "data.OutputMetadata:\0028\001B\334\001\n\036com.google.c" + + "loud.aiplatform.v1B\030ExplanationMetadataP" + + "rotoP\001ZDgoogle.golang.org/genproto/googl" + + "eapis/cloud/aiplatform/v1;aiplatform\252\002\032G" + + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" + + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" + + "rm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), }); @@ -235,7 +233,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java index f3bdf221d..f8f9207ec 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java @@ -101,85 +101,81 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/aiplatform/v1/explanation" - + ".proto\022\032google.cloud.aiplatform.v1\032\034goog" - + "le/api/annotations.proto\032\037google/api/fie" - + "ld_behavior.proto\0325google/cloud/aiplatfo" - + "rm/v1/explanation_metadata.proto\032#google" - + "/cloud/aiplatform/v1/io.proto\032\034google/pr" - + "otobuf/struct.proto\"Q\n\013Explanation\022B\n\014at" - + "tributions\030\001 \003(\0132\'.google.cloud.aiplatfo" - + "rm.v1.AttributionB\003\340A\003\"[\n\020ModelExplanati" - + "on\022G\n\021mean_attributions\030\001 \003(\0132\'.google.c" - + "loud.aiplatform.v1.AttributionB\003\340A\003\"\211\002\n\013" - + "Attribution\022\"\n\025baseline_output_value\030\001 \001" - + "(\001B\003\340A\003\022\"\n\025instance_output_value\030\002 \001(\001B\003" - + "\340A\003\0229\n\024feature_attributions\030\003 \001(\0132\026.goog" - + "le.protobuf.ValueB\003\340A\003\022\031\n\014output_index\030\004" - + " \003(\005B\003\340A\003\022 \n\023output_display_name\030\005 \001(\tB\003" - + "\340A\003\022 \n\023approximation_error\030\006 \001(\001B\003\340A\003\022\030\n" - + "\013output_name\030\007 \001(\tB\003\340A\003\"\245\001\n\017ExplanationS" - + "pec\022J\n\nparameters\030\001 \001(\01321.google.cloud.a" - + "iplatform.v1.ExplanationParametersB\003\340A\002\022" - + "F\n\010metadata\030\002 \001(\0132/.google.cloud.aiplatf" - + "orm.v1.ExplanationMetadataB\003\340A\002\"\363\002\n\025Expl" - + "anationParameters\022\\\n\033sampled_shapley_att" - + "ribution\030\001 \001(\01325.google.cloud.aiplatform" - + ".v1.SampledShapleyAttributionH\000\022f\n integ" - + "rated_gradients_attribution\030\002 \001(\0132:.goog" - + "le.cloud.aiplatform.v1.IntegratedGradien" - + "tsAttributionH\000\022G\n\020xrai_attribution\030\003 \001(" - + "\0132+.google.cloud.aiplatform.v1.XraiAttri" - + "butionH\000\022\r\n\005top_k\030\004 \001(\005\0222\n\016output_indice" - + "s\030\005 \001(\0132\032.google.protobuf.ListValueB\010\n\006m" - + "ethod\"4\n\031SampledShapleyAttribution\022\027\n\npa" - + "th_count\030\001 \001(\005B\003\340A\002\"\321\001\n\036IntegratedGradie" - + "ntsAttribution\022\027\n\nstep_count\030\001 \001(\005B\003\340A\002\022" - + "H\n\022smooth_grad_config\030\002 \001(\0132,.google.clo" - + "ud.aiplatform.v1.SmoothGradConfig\022L\n\024blu" - + "r_baseline_config\030\003 \001(\0132..google.cloud.a" - + "iplatform.v1.BlurBaselineConfig\"\302\001\n\017Xrai" - + "Attribution\022\027\n\nstep_count\030\001 \001(\005B\003\340A\002\022H\n\022" - + "smooth_grad_config\030\002 \001(\0132,.google.cloud." - + "aiplatform.v1.SmoothGradConfig\022L\n\024blur_b" - + "aseline_config\030\003 \001(\0132..google.cloud.aipl" - + "atform.v1.BlurBaselineConfig\"\251\001\n\020SmoothG" - + "radConfig\022\025\n\013noise_sigma\030\001 \001(\002H\000\022L\n\023feat" - + "ure_noise_sigma\030\002 \001(\0132-.google.cloud.aip" - + "latform.v1.FeatureNoiseSigmaH\000\022\032\n\022noisy_" - + "sample_count\030\003 \001(\005B\024\n\022GradientNoiseSigma" - + "\"\241\001\n\021FeatureNoiseSigma\022W\n\013noise_sigma\030\001 " - + "\003(\0132B.google.cloud.aiplatform.v1.Feature" - + "NoiseSigma.NoiseSigmaForFeature\0323\n\024Noise" - + "SigmaForFeature\022\014\n\004name\030\001 \001(\t\022\r\n\005sigma\030\002" - + " \001(\002\",\n\022BlurBaselineConfig\022\026\n\016max_blur_s" - + "igma\030\001 \001(\002\"\253\001\n\027ExplanationSpecOverride\022E" - + "\n\nparameters\030\001 \001(\01321.google.cloud.aiplat" - + "form.v1.ExplanationParameters\022I\n\010metadat" - + "a\030\002 \001(\01327.google.cloud.aiplatform.v1.Exp" - + "lanationMetadataOverride\"\277\002\n\033Explanation" - + "MetadataOverride\022X\n\006inputs\030\001 \003(\0132C.googl" - + "e.cloud.aiplatform.v1.ExplanationMetadat" - + "aOverride.InputsEntryB\003\340A\002\032H\n\025InputMetad" - + "ataOverride\022/\n\017input_baselines\030\001 \003(\0132\026.g" - + "oogle.protobuf.Value\032|\n\013InputsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\\\n\005value\030\002 \001(\0132M.google.cloud.a" - + "iplatform.v1.ExplanationMetadataOverride" - + ".InputMetadataOverride:\0028\001B\324\001\n\036com.googl" - + "e.cloud.aiplatform.v1B\020ExplanationProtoP" - + "\001ZDgoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1;aiplatform\252\002\032Google" - + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" - + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" - + "1b\006proto3" + + ".proto\022\032google.cloud.aiplatform.v1\032\037goog" + + "le/api/field_behavior.proto\0325google/clou" + + "d/aiplatform/v1/explanation_metadata.pro" + + "to\032\034google/protobuf/struct.proto\"Q\n\013Expl" + + "anation\022B\n\014attributions\030\001 \003(\0132\'.google.c" + + "loud.aiplatform.v1.AttributionB\003\340A\003\"[\n\020M" + + "odelExplanation\022G\n\021mean_attributions\030\001 \003" + + "(\0132\'.google.cloud.aiplatform.v1.Attribut" + + "ionB\003\340A\003\"\211\002\n\013Attribution\022\"\n\025baseline_out" + + "put_value\030\001 \001(\001B\003\340A\003\022\"\n\025instance_output_" + + "value\030\002 \001(\001B\003\340A\003\0229\n\024feature_attributions" + + "\030\003 \001(\0132\026.google.protobuf.ValueB\003\340A\003\022\031\n\014o" + + "utput_index\030\004 \003(\005B\003\340A\003\022 \n\023output_display" + + "_name\030\005 \001(\tB\003\340A\003\022 \n\023approximation_error\030" + + "\006 \001(\001B\003\340A\003\022\030\n\013output_name\030\007 \001(\tB\003\340A\003\"\245\001\n" + + "\017ExplanationSpec\022J\n\nparameters\030\001 \001(\01321.g" + + "oogle.cloud.aiplatform.v1.ExplanationPar" + + "ametersB\003\340A\002\022F\n\010metadata\030\002 \001(\0132/.google." + + "cloud.aiplatform.v1.ExplanationMetadataB" + + "\003\340A\002\"\363\002\n\025ExplanationParameters\022\\\n\033sample" + + "d_shapley_attribution\030\001 \001(\01325.google.clo" + + "ud.aiplatform.v1.SampledShapleyAttributi" + + "onH\000\022f\n integrated_gradients_attribution" + + "\030\002 \001(\0132:.google.cloud.aiplatform.v1.Inte" + + "gratedGradientsAttributionH\000\022G\n\020xrai_att" + + "ribution\030\003 \001(\0132+.google.cloud.aiplatform" + + ".v1.XraiAttributionH\000\022\r\n\005top_k\030\004 \001(\005\0222\n\016" + + "output_indices\030\005 \001(\0132\032.google.protobuf.L" + + "istValueB\010\n\006method\"4\n\031SampledShapleyAttr" + + "ibution\022\027\n\npath_count\030\001 \001(\005B\003\340A\002\"\321\001\n\036Int" + + "egratedGradientsAttribution\022\027\n\nstep_coun" + + "t\030\001 \001(\005B\003\340A\002\022H\n\022smooth_grad_config\030\002 \001(\013" + + "2,.google.cloud.aiplatform.v1.SmoothGrad" + + "Config\022L\n\024blur_baseline_config\030\003 \001(\0132..g" + + "oogle.cloud.aiplatform.v1.BlurBaselineCo" + + "nfig\"\302\001\n\017XraiAttribution\022\027\n\nstep_count\030\001" + + " \001(\005B\003\340A\002\022H\n\022smooth_grad_config\030\002 \001(\0132,." + + "google.cloud.aiplatform.v1.SmoothGradCon" + + "fig\022L\n\024blur_baseline_config\030\003 \001(\0132..goog" + + "le.cloud.aiplatform.v1.BlurBaselineConfi" + + "g\"\251\001\n\020SmoothGradConfig\022\025\n\013noise_sigma\030\001 " + + "\001(\002H\000\022L\n\023feature_noise_sigma\030\002 \001(\0132-.goo" + + "gle.cloud.aiplatform.v1.FeatureNoiseSigm" + + "aH\000\022\032\n\022noisy_sample_count\030\003 \001(\005B\024\n\022Gradi" + + "entNoiseSigma\"\241\001\n\021FeatureNoiseSigma\022W\n\013n" + + "oise_sigma\030\001 \003(\0132B.google.cloud.aiplatfo" + + "rm.v1.FeatureNoiseSigma.NoiseSigmaForFea" + + "ture\0323\n\024NoiseSigmaForFeature\022\014\n\004name\030\001 \001" + + "(\t\022\r\n\005sigma\030\002 \001(\002\",\n\022BlurBaselineConfig\022" + + "\026\n\016max_blur_sigma\030\001 \001(\002\"\253\001\n\027ExplanationS" + + "pecOverride\022E\n\nparameters\030\001 \001(\01321.google" + + ".cloud.aiplatform.v1.ExplanationParamete" + + "rs\022I\n\010metadata\030\002 \001(\01327.google.cloud.aipl" + + "atform.v1.ExplanationMetadataOverride\"\277\002" + + "\n\033ExplanationMetadataOverride\022X\n\006inputs\030" + + "\001 \003(\0132C.google.cloud.aiplatform.v1.Expla" + + "nationMetadataOverride.InputsEntryB\003\340A\002\032" + + "H\n\025InputMetadataOverride\022/\n\017input_baseli" + + "nes\030\001 \003(\0132\026.google.protobuf.Value\032|\n\013Inp" + + "utsEntry\022\013\n\003key\030\001 \001(\t\022\\\n\005value\030\002 \001(\0132M.g" + + "oogle.cloud.aiplatform.v1.ExplanationMet" + + "adataOverride.InputMetadataOverride:\0028\001B" + + "\324\001\n\036com.google.cloud.aiplatform.v1B\020Expl" + + "anationProtoP\001ZDgoogle.golang.org/genpro" + + "to/googleapis/cloud/aiplatform/v1;aiplat" + + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.aiplatform.v1.ExplanationMetadataProto.getDescriptor(), - com.google.cloud.aiplatform.v1.IoProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_Explanation_descriptor = @@ -332,10 +328,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.aiplatform.v1.ExplanationMetadataProto.getDescriptor(); - com.google.cloud.aiplatform.v1.IoProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java index 42a0de4b0..1b10bffe5 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java @@ -44,6 +44,7 @@ private Feature() { description_ = ""; valueType_ = 0; etag_ = ""; + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -147,6 +148,25 @@ private Feature( etag_ = s; break; } + case 90: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + monitoringStatsAnomalies_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly>(); + mutable_bitField0_ |= 0x00000002; + } + monitoringStatsAnomalies_.add( + input.readMessage( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.parser(), + extensionRegistry)); + break; + } + case 96: + { + disableMonitoring_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -161,6 +181,10 @@ private Feature( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + monitoringStatsAnomalies_ = + java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -503,206 +527,1391 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.Feature.ValueType) } - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Immutable. Name of the Feature.
-   * Format:
-   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-   * The last part feature is assigned by the client. The feature can be up to
-   * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-   * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-   * be unique given an entity type.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } + public interface MonitoringStatsAnomalyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for objective. + */ + int getObjectiveValue(); + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The objective. + */ + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective getObjective(); + + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the featureStatsAnomaly field is set. + */ + boolean hasFeatureStatsAnomaly(); + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The featureStatsAnomaly. + */ + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly getFeatureStatsAnomaly(); + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder getFeatureStatsAnomalyOrBuilder(); } /** * * *
-   * Immutable. Name of the Feature.
-   * Format:
-   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-   * The last part feature is assigned by the client. The feature can be up to
-   * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-   * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-   * be unique given an entity type.
+   * A list of historical [Snapshot
+   * Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+   * Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+   * requested by user, sorted by
+   * [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time]
+   * descending.
    * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. + * Protobuf type {@code google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public static final class MonitoringStatsAnomaly extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) + MonitoringStatsAnomalyOrBuilder { + private static final long serialVersionUID = 0L; + // Use MonitoringStatsAnomaly.newBuilder() to construct. + private MonitoringStatsAnomaly(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - } - public static final int DESCRIPTION_FIELD_NUMBER = 2; - private volatile java.lang.Object description_; - /** - * - * - *
-   * Description of the Feature.
-   * 
- * - * string description = 2; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - 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(); - description_ = s; - return s; + private MonitoringStatsAnomaly() { + objective_ = 0; } - } - /** - * - * - *
-   * Description of the Feature.
-   * 
- * - * string description = 2; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MonitoringStatsAnomaly(); } - } - public static final int VALUE_TYPE_FIELD_NUMBER = 3; - private int valueType_; - /** - * - * - *
-   * Required. Immutable. Type of Feature value.
-   * 
- * - * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The enum numeric value on the wire for valueType. - */ - @java.lang.Override - public int getValueTypeValue() { - return valueType_; - } - /** - * - * - *
-   * Required. Immutable. Type of Feature value.
-   * 
- * - * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The valueType. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1.Feature.ValueType getValueType() { - @SuppressWarnings("deprecation") - com.google.cloud.aiplatform.v1.Feature.ValueType result = - com.google.cloud.aiplatform.v1.Feature.ValueType.valueOf(valueType_); - return result == null ? com.google.cloud.aiplatform.v1.Feature.ValueType.UNRECOGNIZED : result; - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - public static final int CREATE_TIME_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
-   * Output only. Timestamp when this EntityType was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
-   * Output only. Timestamp when this EntityType was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
-   * Output only. Timestamp when this EntityType was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } + private MonitoringStatsAnomaly( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); - public static final int UPDATE_TIME_FIELD_NUMBER = 5; + objective_ = rawValue; + break; + } + case 18: + { + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder subBuilder = null; + if (featureStatsAnomaly_ != null) { + subBuilder = featureStatsAnomaly_.toBuilder(); + } + featureStatsAnomaly_ = + input.readMessage( + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(featureStatsAnomaly_); + featureStatsAnomaly_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.class, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder.class); + } + + /** + * + * + *
+     * If the objective in the request is both
+     * Import Feature Analysis and Snapshot Analysis, this objective could be
+     * one of them. Otherwise, this objective should be the same as the
+     * objective in the request.
+     * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective} + */ + public enum Objective implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+       * 
+ * + * OBJECTIVE_UNSPECIFIED = 0; + */ + OBJECTIVE_UNSPECIFIED(0), + /** + * + * + *
+       * Stats are generated by Import Feature Analysis.
+       * 
+ * + * IMPORT_FEATURE_ANALYSIS = 1; + */ + IMPORT_FEATURE_ANALYSIS(1), + /** + * + * + *
+       * Stats are generated by Snapshot Analysis.
+       * 
+ * + * SNAPSHOT_ANALYSIS = 2; + */ + SNAPSHOT_ANALYSIS(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+       * 
+ * + * OBJECTIVE_UNSPECIFIED = 0; + */ + public static final int OBJECTIVE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Stats are generated by Import Feature Analysis.
+       * 
+ * + * IMPORT_FEATURE_ANALYSIS = 1; + */ + public static final int IMPORT_FEATURE_ANALYSIS_VALUE = 1; + /** + * + * + *
+       * Stats are generated by Snapshot Analysis.
+       * 
+ * + * SNAPSHOT_ANALYSIS = 2; + */ + public static final int SNAPSHOT_ANALYSIS_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Objective valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Objective forNumber(int value) { + switch (value) { + case 0: + return OBJECTIVE_UNSPECIFIED; + case 1: + return IMPORT_FEATURE_ANALYSIS; + case 2: + return SNAPSHOT_ANALYSIS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Objective findValueByNumber(int number) { + return Objective.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Objective[] VALUES = values(); + + public static Objective valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Objective(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective) + } + + public static final int OBJECTIVE_FIELD_NUMBER = 1; + private int objective_; + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for objective. + */ + @java.lang.Override + public int getObjectiveValue() { + return objective_; + } + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The objective. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective getObjective() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective result = + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.valueOf( + objective_); + return result == null + ? com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.UNRECOGNIZED + : result; + } + + public static final int FEATURE_STATS_ANOMALY_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1.FeatureStatsAnomaly featureStatsAnomaly_; + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the featureStatsAnomaly field is set. + */ + @java.lang.Override + public boolean hasFeatureStatsAnomaly() { + return featureStatsAnomaly_ != null; + } + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The featureStatsAnomaly. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly getFeatureStatsAnomaly() { + return featureStatsAnomaly_ == null + ? com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.getDefaultInstance() + : featureStatsAnomaly_; + } + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder + getFeatureStatsAnomalyOrBuilder() { + return getFeatureStatsAnomaly(); + } + + 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 (objective_ + != com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective + .OBJECTIVE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, objective_); + } + if (featureStatsAnomaly_ != null) { + output.writeMessage(2, getFeatureStatsAnomaly()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (objective_ + != com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective + .OBJECTIVE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, objective_); + } + if (featureStatsAnomaly_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFeatureStatsAnomaly()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly other = + (com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) obj; + + if (objective_ != other.objective_) return false; + if (hasFeatureStatsAnomaly() != other.hasFeatureStatsAnomaly()) return false; + if (hasFeatureStatsAnomaly()) { + if (!getFeatureStatsAnomaly().equals(other.getFeatureStatsAnomaly())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OBJECTIVE_FIELD_NUMBER; + hash = (53 * hash) + objective_; + if (hasFeatureStatsAnomaly()) { + hash = (37 * hash) + FEATURE_STATS_ANOMALY_FIELD_NUMBER; + hash = (53 * hash) + getFeatureStatsAnomaly().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A list of historical [Snapshot
+     * Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+     * Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+     * requested by user, sorted by
+     * [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time]
+     * descending.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.class, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + objective_ = 0; + + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomaly_ = null; + } else { + featureStatsAnomaly_ = null; + featureStatsAnomalyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly build() { + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly buildPartial() { + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly result = + new com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly(this); + result.objective_ = objective_; + if (featureStatsAnomalyBuilder_ == null) { + result.featureStatsAnomaly_ = featureStatsAnomaly_; + } else { + result.featureStatsAnomaly_ = featureStatsAnomalyBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) { + return mergeFrom((com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly other) { + if (other + == com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.getDefaultInstance()) + return this; + if (other.objective_ != 0) { + setObjectiveValue(other.getObjectiveValue()); + } + if (other.hasFeatureStatsAnomaly()) { + mergeFeatureStatsAnomaly(other.getFeatureStatsAnomaly()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int objective_ = 0; + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for objective. + */ + @java.lang.Override + public int getObjectiveValue() { + return objective_; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for objective to set. + * @return This builder for chaining. + */ + public Builder setObjectiveValue(int value) { + + objective_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The objective. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective + getObjective() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective result = + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.valueOf( + objective_); + return result == null + ? com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The objective to set. + * @return This builder for chaining. + */ + public Builder setObjective( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective value) { + if (value == null) { + throw new NullPointerException(); + } + + objective_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearObjective() { + + objective_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.FeatureStatsAnomaly featureStatsAnomaly_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly, + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder> + featureStatsAnomalyBuilder_; + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the featureStatsAnomaly field is set. + */ + public boolean hasFeatureStatsAnomaly() { + return featureStatsAnomalyBuilder_ != null || featureStatsAnomaly_ != null; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The featureStatsAnomaly. + */ + public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly getFeatureStatsAnomaly() { + if (featureStatsAnomalyBuilder_ == null) { + return featureStatsAnomaly_ == null + ? com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.getDefaultInstance() + : featureStatsAnomaly_; + } else { + return featureStatsAnomalyBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFeatureStatsAnomaly( + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly value) { + if (featureStatsAnomalyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + featureStatsAnomaly_ = value; + onChanged(); + } else { + featureStatsAnomalyBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFeatureStatsAnomaly( + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder builderForValue) { + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomaly_ = builderForValue.build(); + onChanged(); + } else { + featureStatsAnomalyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeFeatureStatsAnomaly( + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly value) { + if (featureStatsAnomalyBuilder_ == null) { + if (featureStatsAnomaly_ != null) { + featureStatsAnomaly_ = + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.newBuilder(featureStatsAnomaly_) + .mergeFrom(value) + .buildPartial(); + } else { + featureStatsAnomaly_ = value; + } + onChanged(); + } else { + featureStatsAnomalyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearFeatureStatsAnomaly() { + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomaly_ = null; + onChanged(); + } else { + featureStatsAnomaly_ = null; + featureStatsAnomalyBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder + getFeatureStatsAnomalyBuilder() { + + onChanged(); + return getFeatureStatsAnomalyFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder + getFeatureStatsAnomalyOrBuilder() { + if (featureStatsAnomalyBuilder_ != null) { + return featureStatsAnomalyBuilder_.getMessageOrBuilder(); + } else { + return featureStatsAnomaly_ == null + ? com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.getDefaultInstance() + : featureStatsAnomaly_; + } + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly, + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder> + getFeatureStatsAnomalyFieldBuilder() { + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomalyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly, + com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder>( + getFeatureStatsAnomaly(), getParentForChildren(), isClean()); + featureStatsAnomaly_ = null; + } + return featureStatsAnomalyBuilder_; + } + + @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.Feature.MonitoringStatsAnomaly) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) + private static final com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly(); + } + + public static com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringStatsAnomaly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MonitoringStatsAnomaly(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Immutable. Name of the Feature.
+   * Format:
+   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+   * The last part feature is assigned by the client. The feature can be up to
+   * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+   * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+   * be unique given an entity type.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Immutable. Name of the Feature.
+   * Format:
+   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+   * The last part feature is assigned by the client. The feature can be up to
+   * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+   * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+   * be unique given an entity type.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private volatile java.lang.Object description_; + /** + * + * + *
+   * Description of the Feature.
+   * 
+ * + * string description = 2; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * Description of the Feature.
+   * 
+ * + * string description = 2; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_TYPE_FIELD_NUMBER = 3; + private int valueType_; + /** + * + * + *
+   * Required. Immutable. Type of Feature value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for valueType. + */ + @java.lang.Override + public int getValueTypeValue() { + return valueType_; + } + /** + * + * + *
+   * Required. Immutable. Type of Feature value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The valueType. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.ValueType getValueType() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.Feature.ValueType result = + com.google.cloud.aiplatform.v1.Feature.ValueType.valueOf(valueType_); + return result == null ? com.google.cloud.aiplatform.v1.Feature.ValueType.UNRECOGNIZED : result; + } + + public static final int CREATE_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. Timestamp when this EntityType was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. Timestamp when this EntityType was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. Timestamp when this EntityType was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** * @@ -932,6 +2141,118 @@ public com.google.protobuf.ByteString getEtagBytes() { } } + public static final int DISABLE_MONITORING_FIELD_NUMBER = 12; + private boolean disableMonitoring_; + /** + * + * + *
+   * Optional. If not set, use the monitoring_config defined for the EntityType
+   * this Feature belongs to. Only Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 can enable monitoring.
+   * If set to true, all types of data monitoring are disabled despite the
+   * config on EntityType.
+   * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disableMonitoring. + */ + @java.lang.Override + public boolean getDisableMonitoring() { + return disableMonitoring_; + } + + public static final int MONITORING_STATS_ANOMALIES_FIELD_NUMBER = 11; + private java.util.List + monitoringStatsAnomalies_; + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getMonitoringStatsAnomaliesList() { + return monitoringStatsAnomalies_; + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesOrBuilderList() { + return monitoringStatsAnomalies_; + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getMonitoringStatsAnomaliesCount() { + return monitoringStatsAnomalies_.size(); + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly getMonitoringStatsAnomalies( + int index) { + return monitoringStatsAnomalies_.get(index); + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder + getMonitoringStatsAnomaliesOrBuilder(int index) { + return monitoringStatsAnomalies_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -967,6 +2288,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, etag_); } + for (int i = 0; i < monitoringStatsAnomalies_.size(); i++) { + output.writeMessage(11, monitoringStatsAnomalies_.get(i)); + } + if (disableMonitoring_ != false) { + output.writeBool(12, disableMonitoring_); + } unknownFields.writeTo(output); } @@ -1005,6 +2332,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, etag_); } + for (int i = 0; i < monitoringStatsAnomalies_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, monitoringStatsAnomalies_.get(i)); + } + if (disableMonitoring_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableMonitoring_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1033,6 +2368,9 @@ public boolean equals(final java.lang.Object obj) { } if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getEtag().equals(other.getEtag())) return false; + if (getDisableMonitoring() != other.getDisableMonitoring()) return false; + if (!getMonitoringStatsAnomaliesList().equals(other.getMonitoringStatsAnomaliesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1064,6 +2402,12 @@ public int hashCode() { } hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); + hash = (37 * hash) + DISABLE_MONITORING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableMonitoring()); + if (getMonitoringStatsAnomaliesCount() > 0) { + hash = (37 * hash) + MONITORING_STATS_ANOMALIES_FIELD_NUMBER; + hash = (53 * hash) + getMonitoringStatsAnomaliesList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1150,1323 +2494,1866 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.aiplatform.v1.Feature prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + public static Builder newBuilder(com.google.cloud.aiplatform.v1.Feature 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; + } + /** + * + * + *
+   * Feature Metadata information that describes an attribute of an entity type.
+   * For example, apple is an entity type, and color is a feature that describes
+   * apple.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.Feature} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.Feature) + com.google.cloud.aiplatform.v1.FeatureOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 6: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 6: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.Feature.class, + com.google.cloud.aiplatform.v1.Feature.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.Feature.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMonitoringStatsAnomaliesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + description_ = ""; + + valueType_ = 0; + + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + internalGetMutableLabels().clear(); + etag_ = ""; + + disableMonitoring_ = false; + + if (monitoringStatsAnomaliesBuilder_ == null) { + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + monitoringStatsAnomaliesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.FeatureProto + .internal_static_google_cloud_aiplatform_v1_Feature_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.Feature.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature build() { + com.google.cloud.aiplatform.v1.Feature result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Feature buildPartial() { + com.google.cloud.aiplatform.v1.Feature result = + new com.google.cloud.aiplatform.v1.Feature(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + result.description_ = description_; + result.valueType_ = valueType_; + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + result.etag_ = etag_; + result.disableMonitoring_ = disableMonitoring_; + if (monitoringStatsAnomaliesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + monitoringStatsAnomalies_ = + java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.monitoringStatsAnomalies_ = monitoringStatsAnomalies_; + } else { + result.monitoringStatsAnomalies_ = monitoringStatsAnomaliesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Feature Metadata information that describes an attribute of an entity type.
-   * For example, apple is an entity type, and color is a feature that describes
-   * apple.
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1.Feature} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.Feature) - com.google.cloud.aiplatform.v1.FeatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1.FeatureProto - .internal_static_google_cloud_aiplatform_v1_Feature_descriptor; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 6: - return internalGetLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.Feature) { + return mergeFrom((com.google.cloud.aiplatform.v1.Feature) other); + } else { + super.mergeFrom(other); + return this; } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { - switch (number) { - case 6: - return internalGetMutableLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); + public Builder mergeFrom(com.google.cloud.aiplatform.v1.Feature other) { + if (other == com.google.cloud.aiplatform.v1.Feature.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (other.valueType_ != 0) { + setValueTypeValue(other.getValueTypeValue()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + if (!other.getEtag().isEmpty()) { + etag_ = other.etag_; + onChanged(); + } + if (other.getDisableMonitoring() != false) { + setDisableMonitoring(other.getDisableMonitoring()); + } + if (monitoringStatsAnomaliesBuilder_ == null) { + if (!other.monitoringStatsAnomalies_.isEmpty()) { + if (monitoringStatsAnomalies_.isEmpty()) { + monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.addAll(other.monitoringStatsAnomalies_); + } + onChanged(); + } + } else { + if (!other.monitoringStatsAnomalies_.isEmpty()) { + if (monitoringStatsAnomaliesBuilder_.isEmpty()) { + monitoringStatsAnomaliesBuilder_.dispose(); + monitoringStatsAnomaliesBuilder_ = null; + monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_; + bitField0_ = (bitField0_ & ~0x00000002); + monitoringStatsAnomaliesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMonitoringStatsAnomaliesFieldBuilder() + : null; + } else { + monitoringStatsAnomaliesBuilder_.addAllMessages(other.monitoringStatsAnomalies_); + } + } } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1.FeatureProto - .internal_static_google_cloud_aiplatform_v1_Feature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1.Feature.class, - com.google.cloud.aiplatform.v1.Feature.Builder.class); + public final boolean isInitialized() { + return true; } - // Construct using com.google.cloud.aiplatform.v1.Feature.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.Feature parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.aiplatform.v1.Feature) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Immutable. Name of the Feature.
+     * Format:
+     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+     * The last part feature is assigned by the client. The feature can be up to
+     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+     * be unique given an entity type.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Immutable. Name of the Feature.
+     * Format:
+     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+     * The last part feature is assigned by the client. The feature can be up to
+     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+     * be unique given an entity type.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Immutable. Name of the Feature.
+     * Format:
+     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+     * The last part feature is assigned by the client. The feature can be up to
+     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+     * be unique given an entity type.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Immutable. Name of the Feature.
+     * Format:
+     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+     * The last part feature is assigned by the client. The feature can be up to
+     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+     * be unique given an entity type.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; } + /** + * + * + *
+     * Immutable. Name of the Feature.
+     * Format:
+     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
+     * The last part feature is assigned by the client. The feature can be up to
+     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
+     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
+     * be unique given an entity type.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + name_ = value; + onChanged(); + return this; } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - description_ = ""; - - valueType_ = 0; - - if (createTimeBuilder_ == null) { - createTime_ = null; + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Description of the Feature.
+     * 
+ * + * string description = 2; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; } else { - createTime_ = null; - createTimeBuilder_ = null; + return (java.lang.String) ref; } - if (updateTimeBuilder_ == null) { - updateTime_ = null; + } + /** + * + * + *
+     * Description of the Feature.
+     * 
+ * + * string description = 2; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; } else { - updateTime_ = null; - updateTimeBuilder_ = null; + return (com.google.protobuf.ByteString) ref; } - internalGetMutableLabels().clear(); - etag_ = ""; - - return this; } + /** + * + * + *
+     * Description of the Feature.
+     * 
+ * + * string description = 2; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.aiplatform.v1.FeatureProto - .internal_static_google_cloud_aiplatform_v1_Feature_descriptor; + description_ = value; + onChanged(); + return this; } + /** + * + * + *
+     * Description of the Feature.
+     * 
+ * + * string description = 2; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { - @java.lang.Override - public com.google.cloud.aiplatform.v1.Feature getDefaultInstanceForType() { - return com.google.cloud.aiplatform.v1.Feature.getDefaultInstance(); + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; } - - @java.lang.Override - public com.google.cloud.aiplatform.v1.Feature build() { - com.google.cloud.aiplatform.v1.Feature result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + /** + * + * + *
+     * Description of the Feature.
+     * 
+ * + * string description = 2; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - return result; - } + checkByteStringIsUtf8(value); - @java.lang.Override - public com.google.cloud.aiplatform.v1.Feature buildPartial() { - com.google.cloud.aiplatform.v1.Feature result = - new com.google.cloud.aiplatform.v1.Feature(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - result.description_ = description_; - result.valueType_ = valueType_; - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; - } else { - result.createTime_ = createTimeBuilder_.build(); - } - if (updateTimeBuilder_ == null) { - result.updateTime_ = updateTime_; - } else { - result.updateTime_ = updateTimeBuilder_.build(); - } - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - result.etag_ = etag_; - onBuilt(); - return result; + description_ = value; + onChanged(); + return this; } + private int valueType_ = 0; + /** + * + * + *
+     * Required. Immutable. Type of Feature value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The enum numeric value on the wire for valueType. + */ @java.lang.Override - public Builder clone() { - return super.clone(); + public int getValueTypeValue() { + return valueType_; } + /** + * + * + *
+     * Required. Immutable. Type of Feature value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The enum numeric value on the wire for valueType to set. + * @return This builder for chaining. + */ + public Builder setValueTypeValue(int value) { - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + valueType_ = value; + onChanged(); + return this; } - + /** + * + * + *
+     * Required. Immutable. Type of Feature value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return The valueType. + */ @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + public com.google.cloud.aiplatform.v1.Feature.ValueType getValueType() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.Feature.ValueType result = + com.google.cloud.aiplatform.v1.Feature.ValueType.valueOf(valueType_); + return result == null + ? com.google.cloud.aiplatform.v1.Feature.ValueType.UNRECOGNIZED + : result; } + /** + * + * + *
+     * Required. Immutable. Type of Feature value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @param value The valueType to set. + * @return This builder for chaining. + */ + public Builder setValueType(com.google.cloud.aiplatform.v1.Feature.ValueType value) { + if (value == null) { + throw new NullPointerException(); + } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + valueType_ = value.getNumber(); + onChanged(); + return this; } + /** + * + * + *
+     * Required. Immutable. Type of Feature value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * + * @return This builder for chaining. + */ + public Builder clearValueType() { - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + valueType_ = 0; + onChanged(); + return this; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. Timestamp when this EntityType was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.aiplatform.v1.Feature) { - return mergeFrom((com.google.cloud.aiplatform.v1.Feature) other); + /** + * + * + *
+     * Output only. Timestamp when this EntityType was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { - super.mergeFrom(other); - return this; + return createTimeBuilder_.getMessage(); } } - - public Builder mergeFrom(com.google.cloud.aiplatform.v1.Feature other) { - if (other == com.google.cloud.aiplatform.v1.Feature.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - if (other.valueType_ != 0) { - setValueTypeValue(other.getValueTypeValue()); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasUpdateTime()) { - mergeUpdateTime(other.getUpdateTime()); - } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - if (!other.getEtag().isEmpty()) { - etag_ = other.etag_; + /** + * + * + *
+     * Output only. Timestamp when this EntityType was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; onChanged(); + } else { + createTimeBuilder_.setMessage(value); } - this.mergeUnknownFields(other.unknownFields); - onChanged(); + return this; } + /** + * + * + *
+     * Output only. Timestamp when this EntityType was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } - @java.lang.Override - public final boolean isInitialized() { - return true; + return this; } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.aiplatform.v1.Feature parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.aiplatform.v1.Feature) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + /** + * + * + *
+     * Output only. Timestamp when this EntityType was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); } + return this; } - - private int bitField0_; - - private java.lang.Object name_ = ""; /** * * *
-     * Immutable. Name of the Feature.
-     * Format:
-     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-     * The last part feature is assigned by the client. The feature can be up to
-     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-     * be unique given an entity type.
+     * Output only. Timestamp when this EntityType was created.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); } else { - return (java.lang.String) ref; + createTime_ = null; + createTimeBuilder_ = null; } + + return this; } /** * * *
-     * Immutable. Name of the Feature.
-     * Format:
-     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-     * The last part feature is assigned by the client. The feature can be up to
-     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-     * be unique given an entity type.
+     * Output only. Timestamp when this EntityType was created.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** * - * @return The bytes for name. + * + *
+     * Output only. Timestamp when this EntityType was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); } else { - return (com.google.protobuf.ByteString) ref; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** * * *
-     * Immutable. Name of the Feature.
-     * Format:
-     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-     * The last part feature is assigned by the client. The feature can be up to
-     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-     * be unique given an entity type.
+     * Output only. Timestamp when this EntityType was created.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The name to set. - * @return This builder for chaining. + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; } - - name_ = value; - onChanged(); - return this; + return createTimeBuilder_; } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** * * *
-     * Immutable. Name of the Feature.
-     * Format:
-     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-     * The last part feature is assigned by the client. The feature can be up to
-     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-     * be unique given an entity type.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * - * @return This builder for chaining. + * @return Whether the updateTime field is set. */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; } /** * * *
-     * Immutable. Name of the Feature.
-     * Format:
-     * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
-     * The last part feature is assigned by the client. The feature can be up to
-     * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z,
-     * underscore(_), and ASCII digits 0-9 starting with a letter. The value will
-     * be unique given an entity type.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * - * @param value The bytes for name to set. - * @return This builder for chaining. + * @return The updateTime. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; } - - private java.lang.Object description_ = ""; /** * * *
-     * Description of the Feature.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string description = 2; - * - * @return The description. + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); } else { - return (java.lang.String) ref; + updateTimeBuilder_.setMessage(value); } + + return this; } /** * * *
-     * Description of the Feature.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string description = 2; - * - * @return The bytes for description. + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + updateTimeBuilder_.setMessage(builderForValue.build()); } + + return this; } /** * * *
-     * Description of the Feature.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string description = 2; - * - * @param value The description to set. - * @return This builder for chaining. + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); } - description_ = value; - onChanged(); return this; } /** * * *
-     * Description of the Feature.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string description = 2; - * - * @return This builder for chaining. + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder clearDescription() { + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } - description_ = getDefaultInstance().getDescription(); - onChanged(); return this; } /** * * *
-     * Description of the Feature.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* - * string description = 2; - * - * @param value The bytes for description to set. - * @return This builder for chaining. + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - description_ = value; onChanged(); - return this; + return getUpdateTimeFieldBuilder().getBuilder(); } - - private int valueType_ = 0; /** * * *
-     * Required. Immutable. Type of Feature value.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * - * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { - return valueType_; + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } } /** * * *
-     * Required. Immutable. Type of Feature value.
+     * Output only. Timestamp when this EntityType was most recently updated.
      * 
* * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * - * @param value The enum numeric value on the wire for valueType to set. - * @return This builder for chaining. */ - public Builder setValueTypeValue(int value) { + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } - valueType_ = value; - onChanged(); - return this; + public int getLabelsCount() { + return internalGetLabels().getMap().size(); } /** * * *
-     * Required. Immutable. Type of Feature value.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return The valueType. + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.aiplatform.v1.Feature.ValueType getValueType() { - @SuppressWarnings("deprecation") - com.google.cloud.aiplatform.v1.Feature.ValueType result = - com.google.cloud.aiplatform.v1.Feature.ValueType.valueOf(valueType_); - return result == null - ? com.google.cloud.aiplatform.v1.Feature.ValueType.UNRECOGNIZED - : result; + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); } /** * * *
-     * Required. Immutable. Type of Feature value.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @param value The valueType to set. - * @return This builder for chaining. + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setValueType(com.google.cloud.aiplatform.v1.Feature.ValueType value) { - if (value == null) { - throw new NullPointerException(); - } - - valueType_ = value.getNumber(); - onChanged(); - return this; + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); } /** * * *
-     * Required. Immutable. Type of Feature value.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * - * - * @return This builder for chaining. + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder clearValueType() { - - valueType_ = 0; - onChanged(); - return this; + @java.lang.Override + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - onChanged(); - } else { - createTimeBuilder_.setMessage(value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); } - + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Optional. The labels with user-defined metadata to organize your Features.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information on and examples of labels.
+     * No more than 64 user labels can be associated with one Feature (System
+     * labels are excluded)."
+     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
+     * and are immutable.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - onChanged(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } + + private java.lang.Object etag_ = ""; /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Used to perform a consistent read-modify-write updates. If not set, a blind
+     * "overwrite" update happens.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * string etag = 7; + * + * @return The etag. */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); - } else { - createTime_ = value; - } - onChanged(); + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; } else { - createTimeBuilder_.mergeFrom(value); + return (java.lang.String) ref; } - - return this; } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Used to perform a consistent read-modify-write updates. If not set, a blind
+     * "overwrite" update happens.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * string etag = 7; + * + * @return The bytes for etag. */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; - onChanged(); + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; } else { - createTime_ = null; - createTimeBuilder_ = null; + return (com.google.protobuf.ByteString) ref; } - - return this; } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Used to perform a consistent read-modify-write updates. If not set, a blind
+     * "overwrite" update happens.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * string etag = 7; + * + * @param value The etag to set. + * @return This builder for chaining. */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + etag_ = value; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return this; } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Used to perform a consistent read-modify-write updates. If not set, a blind
+     * "overwrite" update happens.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * string etag = 7; + * + * @return This builder for chaining. */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; } /** * * *
-     * Output only. Timestamp when this EntityType was created.
+     * Used to perform a consistent read-modify-write updates. If not set, a blind
+     * "overwrite" update happens.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * string etag = 7; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - return createTimeBuilder_; + checkByteStringIsUtf8(value); + + etag_ = value; + onChanged(); + return this; } - private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + private boolean disableMonitoring_; /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Optional. If not set, use the monitoring_config defined for the EntityType
+     * this Feature belongs to. Only Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 can enable monitoring.
+     * If set to true, all types of data monitoring are disabled despite the
+     * config on EntityType.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; * - * @return Whether the updateTime field is set. + * @return The disableMonitoring. */ - public boolean hasUpdateTime() { - return updateTimeBuilder_ != null || updateTime_ != null; + @java.lang.Override + public boolean getDisableMonitoring() { + return disableMonitoring_; } /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Optional. If not set, use the monitoring_config defined for the EntityType
+     * this Feature belongs to. Only Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 can enable monitoring.
+     * If set to true, all types of data monitoring are disabled despite the
+     * config on EntityType.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - public com.google.protobuf.Timestamp getUpdateTime() { - if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; - } else { - return updateTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. Timestamp when this EntityType was most recently updated.
-     * 
+ * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; * - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * @param value The disableMonitoring to set. + * @return This builder for chaining. */ - public Builder setUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateTime_ = value; - onChanged(); - } else { - updateTimeBuilder_.setMessage(value); - } + public Builder setDisableMonitoring(boolean value) { + disableMonitoring_ = value; + onChanged(); return this; } /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Optional. If not set, use the monitoring_config defined for the EntityType
+     * this Feature belongs to. Only Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+     * STRING, DOUBLE or INT64 can enable monitoring.
+     * If set to true, all types of data monitoring are disabled despite the
+     * config on EntityType.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (updateTimeBuilder_ == null) { - updateTime_ = builderForValue.build(); - onChanged(); - } else { - updateTimeBuilder_.setMessage(builderForValue.build()); - } + public Builder clearDisableMonitoring() { + disableMonitoring_ = false; + onChanged(); return this; } + + private java.util.List + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); + + private void ensureMonitoringStatsAnomaliesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + monitoringStatsAnomalies_ = + new java.util.ArrayList( + monitoringStatsAnomalies_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder> + monitoringStatsAnomaliesBuilder_; + /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (updateTime_ != null) { - updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); - } else { - updateTime_ = value; - } - onChanged(); + public java.util.List + getMonitoringStatsAnomaliesList() { + if (monitoringStatsAnomaliesBuilder_ == null) { + return java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); } else { - updateTimeBuilder_.mergeFrom(value); + return monitoringStatsAnomaliesBuilder_.getMessageList(); } - - return this; } /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public Builder clearUpdateTime() { - if (updateTimeBuilder_ == null) { - updateTime_ = null; - onChanged(); + public int getMonitoringStatsAnomaliesCount() { + if (monitoringStatsAnomaliesBuilder_ == null) { + return monitoringStatsAnomalies_.size(); } else { - updateTime_ = null; - updateTimeBuilder_ = null; + return monitoringStatsAnomaliesBuilder_.getCount(); } - - return this; } /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - - onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + getMonitoringStatsAnomalies(int index) { + if (monitoringStatsAnomaliesBuilder_ == null) { + return monitoringStatsAnomalies_.get(index); + } else { + return monitoringStatsAnomaliesBuilder_.getMessage(index); + } } /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - if (updateTimeBuilder_ != null) { - return updateTimeBuilder_.getMessageOrBuilder(); + public Builder setMonitoringStatsAnomalies( + int index, com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly value) { + if (monitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.set(index, value); + onChanged(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + monitoringStatsAnomaliesBuilder_.setMessage(index, value); } + return this; } /** * * *
-     * Output only. Timestamp when this EntityType was most recently updated.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { - if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); - updateTime_ = null; - } - return updateTimeBuilder_; - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { - if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); - } - return labels_; - } - - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; - if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - } - if (!labels_.isMutable()) { - labels_ = labels_.copy(); + */ + public Builder setMonitoringStatsAnomalies( + int index, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder builderForValue) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.set(index, builderForValue.build()); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.setMessage(index, builderForValue.build()); } - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); + return this; } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); + public Builder addMonitoringStatsAnomalies( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly value) { + if (monitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(value); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(value); } - return internalGetLabels().getMap().containsKey(key); - } - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getLabels() { - return getLabelsMap(); + return this; } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); + public Builder addMonitoringStatsAnomalies( + int index, com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly value) { + if (monitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(index, value); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(index, value); + } + return this; } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new java.lang.NullPointerException(); + public Builder addMonitoringStatsAnomalies( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder builderForValue) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(builderForValue.build()); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(builderForValue.build()); } - java.util.Map map = internalGetLabels().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + return this; } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public Builder addMonitoringStatsAnomalies( + int index, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder builderForValue) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(index, builderForValue.build()); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(index, builderForValue.build()); } - return map.get(key); - } - - public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); return this; } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new java.lang.NullPointerException(); + public Builder addAllMonitoringStatsAnomalies( + java.lang.Iterable + values) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, monitoringStatsAnomalies_); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addAllMessages(values); } - internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableLabels() { - return internalGetMutableLabels().getMutableMap(); - } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); + public Builder clearMonitoringStatsAnomalies() { + if (monitoringStatsAnomaliesBuilder_ == null) { + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.clear(); } - internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** * * *
-     * Optional. The labels with user-defined metadata to organize your Features.
-     * Label keys and values can be no longer than 64 characters
-     * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
-     * See https://goo.gl/xmQnxf for more information on and examples of labels.
-     * No more than 64 user labels can be associated with one Feature (System
-     * labels are excluded)."
-     * System reserved label keys are prefixed with "aiplatform.googleapis.com/"
-     * and are immutable.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder removeMonitoringStatsAnomalies(int index) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.remove(index); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.remove(index); + } return this; } - - private java.lang.Object etag_ = ""; /** * * *
-     * Used to perform a consistent read-modify-write updates. If not set, a blind
-     * "overwrite" update happens.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * string etag = 7; + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder + getMonitoringStatsAnomaliesBuilder(int index) { + return getMonitoringStatsAnomaliesFieldBuilder().getBuilder(index); + } + /** * - * @return The etag. + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder + getMonitoringStatsAnomaliesOrBuilder(int index) { + if (monitoringStatsAnomaliesBuilder_ == null) { + return monitoringStatsAnomalies_.get(index); } else { - return (java.lang.String) ref; + return monitoringStatsAnomaliesBuilder_.getMessageOrBuilder(index); } } /** * * *
-     * Used to perform a consistent read-modify-write updates. If not set, a blind
-     * "overwrite" update happens.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * string etag = 7; - * - * @return The bytes for etag. + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; + public java.util.List< + ? extends com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesOrBuilderList() { + if (monitoringStatsAnomaliesBuilder_ != null) { + return monitoringStatsAnomaliesBuilder_.getMessageOrBuilderList(); } else { - return (com.google.protobuf.ByteString) ref; + return java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); } } /** * * *
-     * Used to perform a consistent read-modify-write updates. If not set, a blind
-     * "overwrite" update happens.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * string etag = 7; - * - * @param value The etag to set. - * @return This builder for chaining. + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - etag_ = value; - onChanged(); - return this; + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder + addMonitoringStatsAnomaliesBuilder() { + return getMonitoringStatsAnomaliesFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.getDefaultInstance()); } /** * * *
-     * Used to perform a consistent read-modify-write updates. If not set, a blind
-     * "overwrite" update happens.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * string etag = 7; - * - * @return This builder for chaining. + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder clearEtag() { - - etag_ = getDefaultInstance().getEtag(); - onChanged(); - return this; + public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder + addMonitoringStatsAnomaliesBuilder(int index) { + return getMonitoringStatsAnomaliesFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.getDefaultInstance()); } /** * * *
-     * Used to perform a consistent read-modify-write updates. If not set, a blind
-     * "overwrite" update happens.
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
      * 
* - * string etag = 7; - * - * @param value The bytes for etag to set. - * @return This builder for chaining. + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + public java.util.List + getMonitoringStatsAnomaliesBuilderList() { + return getMonitoringStatsAnomaliesFieldBuilder().getBuilderList(); + } - etag_ = value; - onChanged(); - return this; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesFieldBuilder() { + if (monitoringStatsAnomaliesBuilder_ == null) { + monitoringStatsAnomaliesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder>( + monitoringStatsAnomalies_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + monitoringStatsAnomalies_ = null; + } + return monitoringStatsAnomaliesBuilder_; } @java.lang.Override diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java index d8bc7039f..c5cb532e2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java @@ -42,26 +42,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n9google/cloud/aiplatform/v1/feature_mon" + "itoring_stats.proto\022\032google.cloud.aiplat" - + "form.v1\032\034google/api/annotations.proto\032\037g" - + "oogle/protobuf/timestamp.proto\"\357\001\n\023Featu" - + "reStatsAnomaly\022\r\n\005score\030\001 \001(\001\022\021\n\tstats_u" - + "ri\030\003 \001(\t\022\023\n\013anomaly_uri\030\004 \001(\t\022\036\n\026distrib" - + "ution_deviation\030\005 \001(\001\022#\n\033anomaly_detecti" - + "on_threshold\030\t \001(\001\022.\n\nstart_time\030\007 \001(\0132\032" - + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" - + " \001(\0132\032.google.protobuf.TimestampB\337\001\n\036com" - + ".google.cloud.aiplatform.v1B\033FeatureMoni" - + "toringStatsProtoP\001ZDgoogle.golang.org/ge" - + "nproto/googleapis/cloud/aiplatform/v1;ai" - + "platform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032" - + "Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Clo" - + "ud::AIPlatform::V1b\006proto3" + + "form.v1\032\037google/protobuf/timestamp.proto" + + "\"\357\001\n\023FeatureStatsAnomaly\022\r\n\005score\030\001 \001(\001\022" + + "\021\n\tstats_uri\030\003 \001(\t\022\023\n\013anomaly_uri\030\004 \001(\t\022" + + "\036\n\026distribution_deviation\030\005 \001(\001\022#\n\033anoma" + + "ly_detection_threshold\030\t \001(\001\022.\n\nstart_ti" + + "me\030\007 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" + + "end_time\030\010 \001(\0132\032.google.protobuf.Timesta" + + "mpB\337\001\n\036com.google.cloud.aiplatform.v1B\033F" + + "eatureMonitoringStatsProtoP\001ZDgoogle.gol" + + "ang.org/genproto/googleapis/cloud/aiplat" + + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat" + + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" + + "oogle::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_FeatureStatsAnomaly_descriptor = @@ -78,7 +76,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StartTime", "EndTime", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java index d8c61e56b..4af416bd1 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java @@ -310,4 +310,92 @@ public interface FeatureOrBuilder * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
+   * Optional. If not set, use the monitoring_config defined for the EntityType
+   * this Feature belongs to. Only Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+   * STRING, DOUBLE or INT64 can enable monitoring.
+   * If set to true, all types of data monitoring are disabled despite the
+   * config on EntityType.
+   * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disableMonitoring. + */ + boolean getDisableMonitoring(); + + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getMonitoringStatsAnomaliesList(); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly getMonitoringStatsAnomalies( + int index); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getMonitoringStatsAnomaliesCount(); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getMonitoringStatsAnomaliesOrBuilderList(); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder + getMonitoringStatsAnomaliesOrBuilder(int index); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java index 7666e0bf0..d93d5374e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java @@ -31,6 +31,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_Feature_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_Feature_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_Feature_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -45,41 +49,50 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n(google/cloud/aiplatform/v1/feature.pro" - + "to\022\032google.cloud.aiplatform.v1\032\034google/a" - + "pi/annotations.proto\032\037google/api/field_b" - + "ehavior.proto\032\031google/api/resource.proto" - + "\0329google/cloud/aiplatform/v1/feature_mon" - + "itoring_stats.proto\032\037google/protobuf/tim" - + "estamp.proto\"\257\005\n\007Feature\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\005\022\023\n\013description\030\002 \001(\t\022I\n\nvalue_type\030\003" - + " \001(\0162-.google.cloud.aiplatform.v1.Featur" - + "e.ValueTypeB\006\340A\002\340A\005\0224\n\013create_time\030\004 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" - + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022D\n\006labels\030\006 \003(\0132/.google.cloud.a" - + "iplatform.v1.Feature.LabelsEntryB\003\340A\001\022\014\n" - + "\004etag\030\007 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\"\244\001\n\tValueType\022\032\n\026VALU" - + "E_TYPE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\016\n\nBOOL_A" - + "RRAY\020\002\022\n\n\006DOUBLE\020\003\022\020\n\014DOUBLE_ARRAY\020\004\022\t\n\005" - + "INT64\020\t\022\017\n\013INT64_ARRAY\020\n\022\n\n\006STRING\020\013\022\020\n\014" - + "STRING_ARRAY\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aiplat" - + "form.googleapis.com/Feature\022qprojects/{p" - + "roject}/locations/{location}/featurestor" - + "es/{featurestore}/entityTypes/{entity_ty" - + "pe}/features/{feature}B\320\001\n\036com.google.cl" - + "oud.aiplatform.v1B\014FeatureProtoP\001ZDgoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1;aiplatform\252\002\032Google.Cloud.A" - + "IPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\V" - + "1\352\002\035Google::Cloud::AIPlatform::V1b\006proto" - + "3" + + "to\022\032google.cloud.aiplatform.v1\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\0329google/cloud/aiplatform/v1/f" + + "eature_monitoring_stats.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\337\010\n\007Feature\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\005\022\023\n\013description\030\002 \001(\t\022I\n\nva" + + "lue_type\030\003 \001(\0162-.google.cloud.aiplatform" + + ".v1.Feature.ValueTypeB\006\340A\002\340A\005\0224\n\013create_" + + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0224\n\013update_time\030\005 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022D\n\006labels\030\006 \003(\0132/.goog" + + "le.cloud.aiplatform.v1.Feature.LabelsEnt" + + "ryB\003\340A\001\022\014\n\004etag\030\007 \001(\t\022\037\n\022disable_monitor" + + "ing\030\014 \001(\010B\003\340A\001\022c\n\032monitoring_stats_anoma" + + "lies\030\013 \003(\0132:.google.cloud.aiplatform.v1." + + "Feature.MonitoringStatsAnomalyB\003\340A\003\032\247\002\n\026" + + "MonitoringStatsAnomaly\022\\\n\tobjective\030\001 \001(" + + "\0162D.google.cloud.aiplatform.v1.Feature.M" + + "onitoringStatsAnomaly.ObjectiveB\003\340A\003\022S\n\025" + + "feature_stats_anomaly\030\002 \001(\0132/.google.clo" + + "ud.aiplatform.v1.FeatureStatsAnomalyB\003\340A" + + "\003\"Z\n\tObjective\022\031\n\025OBJECTIVE_UNSPECIFIED\020" + + "\000\022\033\n\027IMPORT_FEATURE_ANALYSIS\020\001\022\025\n\021SNAPSH" + + "OT_ANALYSIS\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\244\001\n\tValueType\022\032\n\026VA" + + "LUE_TYPE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\016\n\nBOOL" + + "_ARRAY\020\002\022\n\n\006DOUBLE\020\003\022\020\n\014DOUBLE_ARRAY\020\004\022\t" + + "\n\005INT64\020\t\022\017\n\013INT64_ARRAY\020\n\022\n\n\006STRING\020\013\022\020" + + "\n\014STRING_ARRAY\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aipl" + + "atform.googleapis.com/Feature\022qprojects/" + + "{project}/locations/{location}/featurest" + + "ores/{featurestore}/entityTypes/{entity_" + + "type}/features/{feature}B\320\001\n\036com.google." + + "cloud.aiplatform.v1B\014FeatureProtoP\001ZDgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/aiplatform/v1;aiplatform\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( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.FeatureMonitoringStatsProto.getDescriptor(), @@ -91,10 +104,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_Feature_descriptor, new java.lang.String[] { - "Name", "Description", "ValueType", "CreateTime", "UpdateTime", "Labels", "Etag", + "Name", + "Description", + "ValueType", + "CreateTime", + "UpdateTime", + "Labels", + "Etag", + "DisableMonitoring", + "MonitoringStatsAnomalies", }); - internal_static_google_cloud_aiplatform_v1_Feature_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_descriptor = internal_static_google_cloud_aiplatform_v1_Feature_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_Feature_MonitoringStatsAnomaly_descriptor, + new java.lang.String[] { + "Objective", "FeatureStatsAnomaly", + }); + internal_static_google_cloud_aiplatform_v1_Feature_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_Feature_descriptor.getNestedTypes().get(1); internal_static_google_cloud_aiplatform_v1_Feature_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_Feature_LabelsEntry_descriptor, @@ -107,7 +136,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.FeatureMonitoringStatsProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java index 8c033aeed..5b9dd9c49 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java @@ -46,23 +46,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/feature_sel" + "ector.proto\022\032google.cloud.aiplatform.v1\032" - + "\034google/api/annotations.proto\032\037google/ap" - + "i/field_behavior.proto\"\035\n\tIdMatcher\022\020\n\003i" - + "ds\030\001 \003(\tB\003\340A\002\"Q\n\017FeatureSelector\022>\n\nid_m" - + "atcher\030\001 \001(\0132%.google.cloud.aiplatform.v" - + "1.IdMatcherB\003\340A\002B\330\001\n\036com.google.cloud.ai" - + "platform.v1B\024FeatureSelectorProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + "\037google/api/field_behavior.proto\"\035\n\tIdMa" + + "tcher\022\020\n\003ids\030\001 \003(\tB\003\340A\002\"Q\n\017FeatureSelect" + + "or\022>\n\nid_matcher\030\001 \001(\0132%.google.cloud.ai" + + "platform.v1.IdMatcherB\003\340A\002B\330\001\n\036com.googl" + + "e.cloud.aiplatform.v1B\024FeatureSelectorPr" + + "otoP\001ZDgoogle.golang.org/genproto/google" + + "apis/cloud/aiplatform/v1;aiplatform\252\002\032Go" + + "ogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\" + + "AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfor" + + "m::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_IdMatcher_descriptor = @@ -86,7 +84,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java new file mode 100644 index 000000000..4169e76e8 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java @@ -0,0 +1,4829 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/featurestore_monitoring.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Configuration of how features in Featurestore are monitored.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} + */ +public final class FeaturestoreMonitoringConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) + FeaturestoreMonitoringConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use FeaturestoreMonitoringConfig.newBuilder() to construct. + private FeaturestoreMonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FeaturestoreMonitoringConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new FeaturestoreMonitoringConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private FeaturestoreMonitoringConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + subBuilder = null; + if (snapshotAnalysis_ != null) { + subBuilder = snapshotAnalysis_.toBuilder(); + } + snapshotAnalysis_ = + input.readMessage( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotAnalysis_); + snapshotAnalysis_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder + subBuilder = null; + if (importFeaturesAnalysis_ != null) { + subBuilder = importFeaturesAnalysis_.toBuilder(); + } + importFeaturesAnalysis_ = + input.readMessage( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(importFeaturesAnalysis_); + importFeaturesAnalysis_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + subBuilder = null; + if (numericalThresholdConfig_ != null) { + subBuilder = numericalThresholdConfig_.toBuilder(); + } + numericalThresholdConfig_ = + input.readMessage( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(numericalThresholdConfig_); + numericalThresholdConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + subBuilder = null; + if (categoricalThresholdConfig_ != null) { + subBuilder = categoricalThresholdConfig_.toBuilder(); + } + categoricalThresholdConfig_ = + input.readMessage( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(categoricalThresholdConfig_); + categoricalThresholdConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder.class); + } + + public interface SnapshotAnalysisOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The monitoring schedule for snapshot analysis.
+     * For EntityType-level config:
+     *   unset / disabled = true indicates disabled by
+     *   default for Features under it; otherwise by default enable snapshot
+     *   analysis monitoring with monitoring_interval for Features under it.
+     * Feature-level config:
+     *   disabled = true indicates disabled regardless of the EntityType-level
+     *   config; unset monitoring_interval indicates going with EntityType-level
+     *   config; otherwise run snapshot analysis monitoring with
+     *   monitoring_interval regardless of the EntityType-level config.
+     * Explicitly Disable the snapshot analysis based monitoring.
+     * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); + + /** + * + * + *
+     * Configuration of the snapshot analysis based monitoring pipeline
+     * running interval. The value indicates number of days.
+     * If both
+     * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+     * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
+     * are set when creating/updating EntityTypes/Features,
+     * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+     * will be used.
+     * 
+ * + * int32 monitoring_interval_days = 3; + * + * @return The monitoringIntervalDays. + */ + int getMonitoringIntervalDays(); + + /** + * + * + *
+     * Customized export features time window for snapshot analysis. Unit is one
+     * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+     * 4000 days.
+     * 
+ * + * int32 staleness_days = 4; + * + * @return The stalenessDays. + */ + int getStalenessDays(); + } + /** + * + * + *
+   * Configuration of the Featurestore's Snapshot Analysis Based Monitoring.
+   * This type of analysis generates statistics for each Feature based on a
+   * snapshot of the latest feature value of each entities every
+   * monitoring_interval.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} + */ + public static final class SnapshotAnalysis extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + SnapshotAnalysisOrBuilder { + private static final long serialVersionUID = 0L; + // Use SnapshotAnalysis.newBuilder() to construct. + private SnapshotAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SnapshotAnalysis() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SnapshotAnalysis(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SnapshotAnalysis( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + disabled_ = input.readBool(); + break; + } + case 24: + { + monitoringIntervalDays_ = input.readInt32(); + break; + } + case 32: + { + stalenessDays_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + .class); + } + + public static final int DISABLED_FIELD_NUMBER = 1; + private boolean disabled_; + /** + * + * + *
+     * The monitoring schedule for snapshot analysis.
+     * For EntityType-level config:
+     *   unset / disabled = true indicates disabled by
+     *   default for Features under it; otherwise by default enable snapshot
+     *   analysis monitoring with monitoring_interval for Features under it.
+     * Feature-level config:
+     *   disabled = true indicates disabled regardless of the EntityType-level
+     *   config; unset monitoring_interval indicates going with EntityType-level
+     *   config; otherwise run snapshot analysis monitoring with
+     *   monitoring_interval regardless of the EntityType-level config.
+     * Explicitly Disable the snapshot analysis based monitoring.
+     * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + public static final int MONITORING_INTERVAL_DAYS_FIELD_NUMBER = 3; + private int monitoringIntervalDays_; + /** + * + * + *
+     * Configuration of the snapshot analysis based monitoring pipeline
+     * running interval. The value indicates number of days.
+     * If both
+     * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+     * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
+     * are set when creating/updating EntityTypes/Features,
+     * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+     * will be used.
+     * 
+ * + * int32 monitoring_interval_days = 3; + * + * @return The monitoringIntervalDays. + */ + @java.lang.Override + public int getMonitoringIntervalDays() { + return monitoringIntervalDays_; + } + + public static final int STALENESS_DAYS_FIELD_NUMBER = 4; + private int stalenessDays_; + /** + * + * + *
+     * Customized export features time window for snapshot analysis. Unit is one
+     * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+     * 4000 days.
+     * 
+ * + * int32 staleness_days = 4; + * + * @return The stalenessDays. + */ + @java.lang.Override + public int getStalenessDays() { + return stalenessDays_; + } + + 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 (disabled_ != false) { + output.writeBool(1, disabled_); + } + if (monitoringIntervalDays_ != 0) { + output.writeInt32(3, monitoringIntervalDays_); + } + if (stalenessDays_ != 0) { + output.writeInt32(4, stalenessDays_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (disabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + } + if (monitoringIntervalDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, monitoringIntervalDays_); + } + if (stalenessDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, stalenessDays_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis other = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) obj; + + if (getDisabled() != other.getDisabled()) return false; + if (getMonitoringIntervalDays() != other.getMonitoringIntervalDays()) return false; + if (getStalenessDays() != other.getStalenessDays()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (37 * hash) + MONITORING_INTERVAL_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getMonitoringIntervalDays(); + hash = (37 * hash) + STALENESS_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getStalenessDays(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis + 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.FeaturestoreMonitoringConfig.SnapshotAnalysis 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; + } + /** + * + * + *
+     * Configuration of the Featurestore's Snapshot Analysis Based Monitoring.
+     * This type of analysis generates statistics for each Feature based on a
+     * snapshot of the latest feature value of each entities every
+     * monitoring_interval.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + disabled_ = false; + + monitoringIntervalDays_ = 0; + + stalenessDays_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis build() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + buildPartial() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis result = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis(this); + result.disabled_ = disabled_; + result.monitoringIntervalDays_ = monitoringIntervalDays_; + result.stalenessDays_ = stalenessDays_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis other) { + if (other + == com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance()) return this; + if (other.getDisabled() != false) { + setDisabled(other.getDisabled()); + } + if (other.getMonitoringIntervalDays() != 0) { + setMonitoringIntervalDays(other.getMonitoringIntervalDays()); + } + if (other.getStalenessDays() != 0) { + setStalenessDays(other.getStalenessDays()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean disabled_; + /** + * + * + *
+       * The monitoring schedule for snapshot analysis.
+       * For EntityType-level config:
+       *   unset / disabled = true indicates disabled by
+       *   default for Features under it; otherwise by default enable snapshot
+       *   analysis monitoring with monitoring_interval for Features under it.
+       * Feature-level config:
+       *   disabled = true indicates disabled regardless of the EntityType-level
+       *   config; unset monitoring_interval indicates going with EntityType-level
+       *   config; otherwise run snapshot analysis monitoring with
+       *   monitoring_interval regardless of the EntityType-level config.
+       * Explicitly Disable the snapshot analysis based monitoring.
+       * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + /** + * + * + *
+       * The monitoring schedule for snapshot analysis.
+       * For EntityType-level config:
+       *   unset / disabled = true indicates disabled by
+       *   default for Features under it; otherwise by default enable snapshot
+       *   analysis monitoring with monitoring_interval for Features under it.
+       * Feature-level config:
+       *   disabled = true indicates disabled regardless of the EntityType-level
+       *   config; unset monitoring_interval indicates going with EntityType-level
+       *   config; otherwise run snapshot analysis monitoring with
+       *   monitoring_interval regardless of the EntityType-level config.
+       * Explicitly Disable the snapshot analysis based monitoring.
+       * 
+ * + * bool disabled = 1; + * + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The monitoring schedule for snapshot analysis.
+       * For EntityType-level config:
+       *   unset / disabled = true indicates disabled by
+       *   default for Features under it; otherwise by default enable snapshot
+       *   analysis monitoring with monitoring_interval for Features under it.
+       * Feature-level config:
+       *   disabled = true indicates disabled regardless of the EntityType-level
+       *   config; unset monitoring_interval indicates going with EntityType-level
+       *   config; otherwise run snapshot analysis monitoring with
+       *   monitoring_interval regardless of the EntityType-level config.
+       * Explicitly Disable the snapshot analysis based monitoring.
+       * 
+ * + * bool disabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearDisabled() { + + disabled_ = false; + onChanged(); + return this; + } + + private int monitoringIntervalDays_; + /** + * + * + *
+       * Configuration of the snapshot analysis based monitoring pipeline
+       * running interval. The value indicates number of days.
+       * If both
+       * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+       * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
+       * are set when creating/updating EntityTypes/Features,
+       * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+       * will be used.
+       * 
+ * + * int32 monitoring_interval_days = 3; + * + * @return The monitoringIntervalDays. + */ + @java.lang.Override + public int getMonitoringIntervalDays() { + return monitoringIntervalDays_; + } + /** + * + * + *
+       * Configuration of the snapshot analysis based monitoring pipeline
+       * running interval. The value indicates number of days.
+       * If both
+       * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+       * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
+       * are set when creating/updating EntityTypes/Features,
+       * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+       * will be used.
+       * 
+ * + * int32 monitoring_interval_days = 3; + * + * @param value The monitoringIntervalDays to set. + * @return This builder for chaining. + */ + public Builder setMonitoringIntervalDays(int value) { + + monitoringIntervalDays_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Configuration of the snapshot analysis based monitoring pipeline
+       * running interval. The value indicates number of days.
+       * If both
+       * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+       * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
+       * are set when creating/updating EntityTypes/Features,
+       * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+       * will be used.
+       * 
+ * + * int32 monitoring_interval_days = 3; + * + * @return This builder for chaining. + */ + public Builder clearMonitoringIntervalDays() { + + monitoringIntervalDays_ = 0; + onChanged(); + return this; + } + + private int stalenessDays_; + /** + * + * + *
+       * Customized export features time window for snapshot analysis. Unit is one
+       * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+       * 4000 days.
+       * 
+ * + * int32 staleness_days = 4; + * + * @return The stalenessDays. + */ + @java.lang.Override + public int getStalenessDays() { + return stalenessDays_; + } + /** + * + * + *
+       * Customized export features time window for snapshot analysis. Unit is one
+       * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+       * 4000 days.
+       * 
+ * + * int32 staleness_days = 4; + * + * @param value The stalenessDays to set. + * @return This builder for chaining. + */ + public Builder setStalenessDays(int value) { + + stalenessDays_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Customized export features time window for snapshot analysis. Unit is one
+       * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+       * 4000 days.
+       * 
+ * + * int32 staleness_days = 4; + * + * @return This builder for chaining. + */ + public Builder clearStalenessDays() { + + stalenessDays_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + private static final com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .SnapshotAnalysis + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis(); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SnapshotAnalysis(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ImportFeaturesAnalysisOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The state. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + getState(); + + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The enum numeric value on the wire for anomalyDetectionBaseline. + */ + int getAnomalyDetectionBaselineValue(); + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The anomalyDetectionBaseline. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline + getAnomalyDetectionBaseline(); + } + /** + * + * + *
+   * Configuration of the Featurestore's ImportFeature Analysis Based
+   * Monitoring. This type of analysis generates statistics for values of each
+   * Feature imported by every [ImportFeatureValues][] operation.
+   * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} + */ + public static final class ImportFeaturesAnalysis extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + ImportFeaturesAnalysisOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportFeaturesAnalysis.newBuilder() to construct. + private ImportFeaturesAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportFeaturesAnalysis() { + state_ = 0; + anomalyDetectionBaseline_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportFeaturesAnalysis(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportFeaturesAnalysis( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); + + anomalyDetectionBaseline_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder.class); + } + + /** + * + * + *
+     * The state defines whether to enable ImportFeature analysis.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+       * The default behavior of whether to enable the monitoring.
+       * EntityType-level config: disabled.
+       * Feature-level config: inherited from the configuration of EntityType
+       * this Feature belongs to.
+       * 
+ * + * DEFAULT = 1; + */ + DEFAULT(1), + /** + * + * + *
+       * Explicitly enables import features analysis.
+       * EntityType-level config: by default enables import features analysis
+       * for all Features under it. Feature-level config: enables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * ENABLED = 2; + */ + ENABLED(2), + /** + * + * + *
+       * Explicitly disables import features analysis.
+       * EntityType-level config: by default disables import features analysis
+       * for all Features under it. Feature-level config: disables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * DISABLED = 3; + */ + DISABLED(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The default behavior of whether to enable the monitoring.
+       * EntityType-level config: disabled.
+       * Feature-level config: inherited from the configuration of EntityType
+       * this Feature belongs to.
+       * 
+ * + * DEFAULT = 1; + */ + public static final int DEFAULT_VALUE = 1; + /** + * + * + *
+       * Explicitly enables import features analysis.
+       * EntityType-level config: by default enables import features analysis
+       * for all Features under it. Feature-level config: enables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * ENABLED = 2; + */ + public static final int ENABLED_VALUE = 2; + /** + * + * + *
+       * Explicitly disables import features analysis.
+       * EntityType-level config: by default disables import features analysis
+       * for all Features under it. Feature-level config: disables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * DISABLED = 3; + */ + public static final int DISABLED_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return ENABLED; + case 3: + return DISABLED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State) + } + + /** + * + * + *
+     * Defines the baseline to do anomaly detection for feature values imported
+     * by each [ImportFeatureValues][] operation.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline} + */ + public enum Baseline implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * BASELINE_UNSPECIFIED = 0; + */ + BASELINE_UNSPECIFIED(0), + /** + * + * + *
+       * Choose the later one statistics generated by either most recent
+       * snapshot analysis or previous import features analysis. If non of them
+       * exists, skip anomaly detection and only generate a statistics.
+       * 
+ * + * LATEST_STATS = 1; + */ + LATEST_STATS(1), + /** + * + * + *
+       * Use the statistics generated by the most recent snapshot analysis if
+       * exists.
+       * 
+ * + * MOST_RECENT_SNAPSHOT_STATS = 2; + */ + MOST_RECENT_SNAPSHOT_STATS(2), + /** + * + * + *
+       * Use the statistics generated by the previous import features analysis
+       * if exists.
+       * 
+ * + * PREVIOUS_IMPORT_FEATURES_STATS = 3; + */ + PREVIOUS_IMPORT_FEATURES_STATS(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * BASELINE_UNSPECIFIED = 0; + */ + public static final int BASELINE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Choose the later one statistics generated by either most recent
+       * snapshot analysis or previous import features analysis. If non of them
+       * exists, skip anomaly detection and only generate a statistics.
+       * 
+ * + * LATEST_STATS = 1; + */ + public static final int LATEST_STATS_VALUE = 1; + /** + * + * + *
+       * Use the statistics generated by the most recent snapshot analysis if
+       * exists.
+       * 
+ * + * MOST_RECENT_SNAPSHOT_STATS = 2; + */ + public static final int MOST_RECENT_SNAPSHOT_STATS_VALUE = 2; + /** + * + * + *
+       * Use the statistics generated by the previous import features analysis
+       * if exists.
+       * 
+ * + * PREVIOUS_IMPORT_FEATURES_STATS = 3; + */ + public static final int PREVIOUS_IMPORT_FEATURES_STATS_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Baseline valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Baseline forNumber(int value) { + switch (value) { + case 0: + return BASELINE_UNSPECIFIED; + case 1: + return LATEST_STATS; + case 2: + return MOST_RECENT_SNAPSHOT_STATS; + case 3: + return PREVIOUS_IMPORT_FEATURES_STATS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Baseline findValueByNumber(int number) { + return Baseline.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final Baseline[] VALUES = values(); + + public static Baseline valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Baseline(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline) + } + + public static final int STATE_FIELD_NUMBER = 1; + private int state_; + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + getState() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + result = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.valueOf(state_); + return result == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + .UNRECOGNIZED + : result; + } + + public static final int ANOMALY_DETECTION_BASELINE_FIELD_NUMBER = 2; + private int anomalyDetectionBaseline_; + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The enum numeric value on the wire for anomalyDetectionBaseline. + */ + @java.lang.Override + public int getAnomalyDetectionBaselineValue() { + return anomalyDetectionBaseline_; + } + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The anomalyDetectionBaseline. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + getAnomalyDetectionBaseline() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline + result = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.valueOf(anomalyDetectionBaseline_); + return result == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.UNRECOGNIZED + : result; + } + + 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 (state_ + != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.STATE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, state_); + } + if (anomalyDetectionBaseline_ + != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.BASELINE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, anomalyDetectionBaseline_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (state_ + != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + } + if (anomalyDetectionBaseline_ + != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.BASELINE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, anomalyDetectionBaseline_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis other = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) obj; + + if (state_ != other.state_) return false; + if (anomalyDetectionBaseline_ != other.anomalyDetectionBaseline_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + ANOMALY_DETECTION_BASELINE_FIELD_NUMBER; + hash = (53 * hash) + anomalyDetectionBaseline_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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; + } + /** + * + * + *
+     * Configuration of the Featurestore's ImportFeature Analysis Based
+     * Monitoring. This type of analysis generates statistics for values of each
+     * Feature imported by every [ImportFeatureValues][] operation.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + state_ = 0; + + anomalyDetectionBaseline_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + build() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + buildPartial() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis result = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis( + this); + result.state_ = state_; + result.anomalyDetectionBaseline_ = anomalyDetectionBaseline_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + other) { + if (other + == com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDefaultInstance()) return this; + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.anomalyDetectionBaseline_ != 0) { + setAnomalyDetectionBaselineValue(other.getAnomalyDetectionBaselineValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int state_ = 0; + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State + getState() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + result = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.valueOf(state_); + return result == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private int anomalyDetectionBaseline_ = 0; + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The enum numeric value on the wire for anomalyDetectionBaseline. + */ + @java.lang.Override + public int getAnomalyDetectionBaselineValue() { + return anomalyDetectionBaseline_; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @param value The enum numeric value on the wire for anomalyDetectionBaseline to set. + * @return This builder for chaining. + */ + public Builder setAnomalyDetectionBaselineValue(int value) { + + anomalyDetectionBaseline_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The anomalyDetectionBaseline. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + getAnomalyDetectionBaseline() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline + result = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.valueOf(anomalyDetectionBaseline_); + return result == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @param value The anomalyDetectionBaseline to set. + * @return This builder for chaining. + */ + public Builder setAnomalyDetectionBaseline( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + value) { + if (value == null) { + throw new NullPointerException(); + } + + anomalyDetectionBaseline_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearAnomalyDetectionBaseline() { + + anomalyDetectionBaseline_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + private static final com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis(); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportFeaturesAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportFeaturesAnalysis(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ThresholdConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return The value. + */ + double getValue(); + + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.ThresholdCase + getThresholdCase(); + } + /** + * + * + *
+   * The config for Featurestore Monitoring threshold.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} + */ + public static final class ThresholdConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) + ThresholdConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ThresholdConfig.newBuilder() to construct. + private ThresholdConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ThresholdConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ThresholdConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ThresholdConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 9: + { + thresholdCase_ = 1; + threshold_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + .class); + } + + private int thresholdCase_ = 0; + private java.lang.Object threshold_; + + public enum ThresholdCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + VALUE(1), + THRESHOLD_NOT_SET(0); + private final int value; + + private ThresholdCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ThresholdCase valueOf(int value) { + return forNumber(value); + } + + public static ThresholdCase forNumber(int value) { + switch (value) { + case 1: + return VALUE; + case 0: + return THRESHOLD_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ThresholdCase getThresholdCase() { + return ThresholdCase.forNumber(thresholdCase_); + } + + public static final int VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return thresholdCase_ == 1; + } + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return The value. + */ + @java.lang.Override + public double getValue() { + if (thresholdCase_ == 1) { + return (java.lang.Double) threshold_; + } + return 0D; + } + + 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 (thresholdCase_ == 1) { + output.writeDouble(1, (double) ((java.lang.Double) threshold_)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (thresholdCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 1, (double) ((java.lang.Double) threshold_)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig other = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) obj; + + if (!getThresholdCase().equals(other.getThresholdCase())) return false; + switch (thresholdCase_) { + case 1: + if (java.lang.Double.doubleToLongBits(getValue()) + != java.lang.Double.doubleToLongBits(other.getValue())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (thresholdCase_) { + case 1: + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getValue())); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig 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 config for Featurestore Monitoring threshold.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + thresholdCase_ = 0; + threshold_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig build() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + buildPartial() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig result = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig(this); + if (thresholdCase_ == 1) { + result.threshold_ = threshold_; + } + result.thresholdCase_ = thresholdCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig other) { + if (other + == com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance()) return this; + switch (other.getThresholdCase()) { + case VALUE: + { + setValue(other.getValue()); + break; + } + case THRESHOLD_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int thresholdCase_ = 0; + private java.lang.Object threshold_; + + public ThresholdCase getThresholdCase() { + return ThresholdCase.forNumber(thresholdCase_); + } + + public Builder clearThreshold() { + thresholdCase_ = 0; + threshold_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @return Whether the value field is set. + */ + public boolean hasValue() { + return thresholdCase_ == 1; + } + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @return The value. + */ + public double getValue() { + if (thresholdCase_ == 1) { + return (java.lang.Double) threshold_; + } + return 0D; + } + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(double value) { + thresholdCase_ = 1; + threshold_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + if (thresholdCase_ == 1) { + thresholdCase_ = 0; + threshold_ = null; + 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.FeaturestoreMonitoringConfig.ThresholdConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) + private static final com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig(); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThresholdConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ThresholdConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int SNAPSHOT_ANALYSIS_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + snapshotAnalysis_; + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return Whether the snapshotAnalysis field is set. + */ + @java.lang.Override + public boolean hasSnapshotAnalysis() { + return snapshotAnalysis_ != null; + } + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return The snapshotAnalysis. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getSnapshotAnalysis() { + return snapshotAnalysis_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance() + : snapshotAnalysis_; + } + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder + getSnapshotAnalysisOrBuilder() { + return getSnapshotAnalysis(); + } + + public static final int IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + importFeaturesAnalysis_; + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return Whether the importFeaturesAnalysis field is set. + */ + @java.lang.Override + public boolean hasImportFeaturesAnalysis() { + return importFeaturesAnalysis_ != null; + } + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return The importFeaturesAnalysis. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getImportFeaturesAnalysis() { + return importFeaturesAnalysis_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDefaultInstance() + : importFeaturesAnalysis_; + } + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysisOrBuilder + getImportFeaturesAnalysisOrBuilder() { + return getImportFeaturesAnalysis(); + } + + public static final int NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + numericalThresholdConfig_; + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+   * or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return Whether the numericalThresholdConfig field is set. + */ + @java.lang.Override + public boolean hasNumericalThresholdConfig() { + return numericalThresholdConfig_ != null; + } + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+   * or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return The numericalThresholdConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getNumericalThresholdConfig() { + return numericalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : numericalThresholdConfig_; + } + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+   * or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getNumericalThresholdConfigOrBuilder() { + return getNumericalThresholdConfig(); + } + + public static final int CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + categoricalThresholdConfig_; + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+   * STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return Whether the categoricalThresholdConfig field is set. + */ + @java.lang.Override + public boolean hasCategoricalThresholdConfig() { + return categoricalThresholdConfig_ != null; + } + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+   * STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return The categoricalThresholdConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getCategoricalThresholdConfig() { + return categoricalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : categoricalThresholdConfig_; + } + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+   * STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getCategoricalThresholdConfigOrBuilder() { + return getCategoricalThresholdConfig(); + } + + 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 (snapshotAnalysis_ != null) { + output.writeMessage(1, getSnapshotAnalysis()); + } + if (importFeaturesAnalysis_ != null) { + output.writeMessage(2, getImportFeaturesAnalysis()); + } + if (numericalThresholdConfig_ != null) { + output.writeMessage(3, getNumericalThresholdConfig()); + } + if (categoricalThresholdConfig_ != null) { + output.writeMessage(4, getCategoricalThresholdConfig()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (snapshotAnalysis_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotAnalysis()); + } + if (importFeaturesAnalysis_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getImportFeaturesAnalysis()); + } + if (numericalThresholdConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getNumericalThresholdConfig()); + } + if (categoricalThresholdConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getCategoricalThresholdConfig()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig other = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) obj; + + if (hasSnapshotAnalysis() != other.hasSnapshotAnalysis()) return false; + if (hasSnapshotAnalysis()) { + if (!getSnapshotAnalysis().equals(other.getSnapshotAnalysis())) return false; + } + if (hasImportFeaturesAnalysis() != other.hasImportFeaturesAnalysis()) return false; + if (hasImportFeaturesAnalysis()) { + if (!getImportFeaturesAnalysis().equals(other.getImportFeaturesAnalysis())) return false; + } + if (hasNumericalThresholdConfig() != other.hasNumericalThresholdConfig()) return false; + if (hasNumericalThresholdConfig()) { + if (!getNumericalThresholdConfig().equals(other.getNumericalThresholdConfig())) return false; + } + if (hasCategoricalThresholdConfig() != other.hasCategoricalThresholdConfig()) return false; + if (hasCategoricalThresholdConfig()) { + if (!getCategoricalThresholdConfig().equals(other.getCategoricalThresholdConfig())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSnapshotAnalysis()) { + hash = (37 * hash) + SNAPSHOT_ANALYSIS_FIELD_NUMBER; + hash = (53 * hash) + getSnapshotAnalysis().hashCode(); + } + if (hasImportFeaturesAnalysis()) { + hash = (37 * hash) + IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER; + hash = (53 * hash) + getImportFeaturesAnalysis().hashCode(); + } + if (hasNumericalThresholdConfig()) { + hash = (37 * hash) + NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNumericalThresholdConfig().hashCode(); + } + if (hasCategoricalThresholdConfig()) { + hash = (37 * hash) + CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getCategoricalThresholdConfig().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig 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; + } + /** + * + * + *
+   * Configuration of how features in Featurestore are monitored.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.class, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysis_ = null; + } else { + snapshotAnalysis_ = null; + snapshotAnalysisBuilder_ = null; + } + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysis_ = null; + } else { + importFeaturesAnalysis_ = null; + importFeaturesAnalysisBuilder_ = null; + } + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfig_ = null; + } else { + numericalThresholdConfig_ = null; + numericalThresholdConfigBuilder_ = null; + } + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfig_ = null; + } else { + categoricalThresholdConfig_ = null; + categoricalThresholdConfigBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig build() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig buildPartial() { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig result = + new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig(this); + if (snapshotAnalysisBuilder_ == null) { + result.snapshotAnalysis_ = snapshotAnalysis_; + } else { + result.snapshotAnalysis_ = snapshotAnalysisBuilder_.build(); + } + if (importFeaturesAnalysisBuilder_ == null) { + result.importFeaturesAnalysis_ = importFeaturesAnalysis_; + } else { + result.importFeaturesAnalysis_ = importFeaturesAnalysisBuilder_.build(); + } + if (numericalThresholdConfigBuilder_ == null) { + result.numericalThresholdConfig_ = numericalThresholdConfig_; + } else { + result.numericalThresholdConfig_ = numericalThresholdConfigBuilder_.build(); + } + if (categoricalThresholdConfigBuilder_ == null) { + result.categoricalThresholdConfig_ = categoricalThresholdConfig_; + } else { + result.categoricalThresholdConfig_ = categoricalThresholdConfigBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig other) { + if (other == com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance()) + return this; + if (other.hasSnapshotAnalysis()) { + mergeSnapshotAnalysis(other.getSnapshotAnalysis()); + } + if (other.hasImportFeaturesAnalysis()) { + mergeImportFeaturesAnalysis(other.getImportFeaturesAnalysis()); + } + if (other.hasNumericalThresholdConfig()) { + mergeNumericalThresholdConfig(other.getNumericalThresholdConfig()); + } + if (other.hasCategoricalThresholdConfig()) { + mergeCategoricalThresholdConfig(other.getCategoricalThresholdConfig()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + snapshotAnalysis_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder> + snapshotAnalysisBuilder_; + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return Whether the snapshotAnalysis field is set. + */ + public boolean hasSnapshotAnalysis() { + return snapshotAnalysisBuilder_ != null || snapshotAnalysis_ != null; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return The snapshotAnalysis. + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getSnapshotAnalysis() { + if (snapshotAnalysisBuilder_ == null) { + return snapshotAnalysis_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance() + : snapshotAnalysis_; + } else { + return snapshotAnalysisBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder setSnapshotAnalysis( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) { + if (snapshotAnalysisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + snapshotAnalysis_ = value; + onChanged(); + } else { + snapshotAnalysisBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder setSnapshotAnalysis( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + builderForValue) { + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysis_ = builderForValue.build(); + onChanged(); + } else { + snapshotAnalysisBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder mergeSnapshotAnalysis( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) { + if (snapshotAnalysisBuilder_ == null) { + if (snapshotAnalysis_ != null) { + snapshotAnalysis_ = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .newBuilder(snapshotAnalysis_) + .mergeFrom(value) + .buildPartial(); + } else { + snapshotAnalysis_ = value; + } + onChanged(); + } else { + snapshotAnalysisBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder clearSnapshotAnalysis() { + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysis_ = null; + onChanged(); + } else { + snapshotAnalysis_ = null; + snapshotAnalysisBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + getSnapshotAnalysisBuilder() { + + onChanged(); + return getSnapshotAnalysisFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder + getSnapshotAnalysisOrBuilder() { + if (snapshotAnalysisBuilder_ != null) { + return snapshotAnalysisBuilder_.getMessageOrBuilder(); + } else { + return snapshotAnalysis_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance() + : snapshotAnalysis_; + } + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder> + getSnapshotAnalysisFieldBuilder() { + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .SnapshotAnalysisOrBuilder>( + getSnapshotAnalysis(), getParentForChildren(), isClean()); + snapshotAnalysis_ = null; + } + return snapshotAnalysisBuilder_; + } + + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + importFeaturesAnalysis_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder> + importFeaturesAnalysisBuilder_; + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return Whether the importFeaturesAnalysis field is set. + */ + public boolean hasImportFeaturesAnalysis() { + return importFeaturesAnalysisBuilder_ != null || importFeaturesAnalysis_ != null; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return The importFeaturesAnalysis. + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getImportFeaturesAnalysis() { + if (importFeaturesAnalysisBuilder_ == null) { + return importFeaturesAnalysis_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDefaultInstance() + : importFeaturesAnalysis_; + } else { + return importFeaturesAnalysisBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder setImportFeaturesAnalysis( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis value) { + if (importFeaturesAnalysisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + importFeaturesAnalysis_ = value; + onChanged(); + } else { + importFeaturesAnalysisBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder setImportFeaturesAnalysis( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Builder + builderForValue) { + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysis_ = builderForValue.build(); + onChanged(); + } else { + importFeaturesAnalysisBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder mergeImportFeaturesAnalysis( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis value) { + if (importFeaturesAnalysisBuilder_ == null) { + if (importFeaturesAnalysis_ != null) { + importFeaturesAnalysis_ = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .newBuilder(importFeaturesAnalysis_) + .mergeFrom(value) + .buildPartial(); + } else { + importFeaturesAnalysis_ = value; + } + onChanged(); + } else { + importFeaturesAnalysisBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder clearImportFeaturesAnalysis() { + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysis_ = null; + onChanged(); + } else { + importFeaturesAnalysis_ = null; + importFeaturesAnalysisBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder + getImportFeaturesAnalysisBuilder() { + + onChanged(); + return getImportFeaturesAnalysisFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder + getImportFeaturesAnalysisOrBuilder() { + if (importFeaturesAnalysisBuilder_ != null) { + return importFeaturesAnalysisBuilder_.getMessageOrBuilder(); + } else { + return importFeaturesAnalysis_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDefaultInstance() + : importFeaturesAnalysis_; + } + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder> + getImportFeaturesAnalysisFieldBuilder() { + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder>( + getImportFeaturesAnalysis(), getParentForChildren(), isClean()); + importFeaturesAnalysis_ = null; + } + return importFeaturesAnalysisBuilder_; + } + + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + numericalThresholdConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder> + numericalThresholdConfigBuilder_; + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return Whether the numericalThresholdConfig field is set. + */ + public boolean hasNumericalThresholdConfig() { + return numericalThresholdConfigBuilder_ != null || numericalThresholdConfig_ != null; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return The numericalThresholdConfig. + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getNumericalThresholdConfig() { + if (numericalThresholdConfigBuilder_ == null) { + return numericalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : numericalThresholdConfig_; + } else { + return numericalThresholdConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder setNumericalThresholdConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (numericalThresholdConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + numericalThresholdConfig_ = value; + onChanged(); + } else { + numericalThresholdConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder setNumericalThresholdConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + builderForValue) { + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfig_ = builderForValue.build(); + onChanged(); + } else { + numericalThresholdConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder mergeNumericalThresholdConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (numericalThresholdConfigBuilder_ == null) { + if (numericalThresholdConfig_ != null) { + numericalThresholdConfig_ = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .newBuilder(numericalThresholdConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + numericalThresholdConfig_ = value; + } + onChanged(); + } else { + numericalThresholdConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder clearNumericalThresholdConfig() { + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfig_ = null; + onChanged(); + } else { + numericalThresholdConfig_ = null; + numericalThresholdConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + getNumericalThresholdConfigBuilder() { + + onChanged(); + return getNumericalThresholdConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getNumericalThresholdConfigOrBuilder() { + if (numericalThresholdConfigBuilder_ != null) { + return numericalThresholdConfigBuilder_.getMessageOrBuilder(); + } else { + return numericalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : numericalThresholdConfig_; + } + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+     * or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder> + getNumericalThresholdConfigFieldBuilder() { + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ThresholdConfigOrBuilder>( + getNumericalThresholdConfig(), getParentForChildren(), isClean()); + numericalThresholdConfig_ = null; + } + return numericalThresholdConfigBuilder_; + } + + private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + categoricalThresholdConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder> + categoricalThresholdConfigBuilder_; + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return Whether the categoricalThresholdConfig field is set. + */ + public boolean hasCategoricalThresholdConfig() { + return categoricalThresholdConfigBuilder_ != null || categoricalThresholdConfig_ != null; + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return The categoricalThresholdConfig. + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getCategoricalThresholdConfig() { + if (categoricalThresholdConfigBuilder_ == null) { + return categoricalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : categoricalThresholdConfig_; + } else { + return categoricalThresholdConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + public Builder setCategoricalThresholdConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (categoricalThresholdConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + categoricalThresholdConfig_ = value; + onChanged(); + } else { + categoricalThresholdConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + public Builder setCategoricalThresholdConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + builderForValue) { + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfig_ = builderForValue.build(); + onChanged(); + } else { + categoricalThresholdConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + public Builder mergeCategoricalThresholdConfig( + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (categoricalThresholdConfigBuilder_ == null) { + if (categoricalThresholdConfig_ != null) { + categoricalThresholdConfig_ = + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .newBuilder(categoricalThresholdConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + categoricalThresholdConfig_ = value; + } + onChanged(); + } else { + categoricalThresholdConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + public Builder clearCategoricalThresholdConfig() { + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfig_ = null; + onChanged(); + } else { + categoricalThresholdConfig_ = null; + categoricalThresholdConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + getCategoricalThresholdConfigBuilder() { + + onChanged(); + return getCategoricalThresholdConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getCategoricalThresholdConfigOrBuilder() { + if (categoricalThresholdConfigBuilder_ != null) { + return categoricalThresholdConfigBuilder_.getMessageOrBuilder(); + } else { + return categoricalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : categoricalThresholdConfig_; + } + } + /** + * + * + *
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+     * STRING).
+     * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder> + getCategoricalThresholdConfigFieldBuilder() { + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder, + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + .ThresholdConfigOrBuilder>( + getCategoricalThresholdConfig(), getParentForChildren(), isClean()); + categoricalThresholdConfig_ = null; + } + return categoricalThresholdConfigBuilder_; + } + + @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.FeaturestoreMonitoringConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) + private static final com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig(); + } + + public static com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeaturestoreMonitoringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FeaturestoreMonitoringConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfigOrBuilder.java new file mode 100644 index 000000000..212617051 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfigOrBuilder.java @@ -0,0 +1,221 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/featurestore_monitoring.proto + +package com.google.cloud.aiplatform.v1; + +public interface FeaturestoreMonitoringConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return Whether the snapshotAnalysis field is set. + */ + boolean hasSnapshotAnalysis(); + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return The snapshotAnalysis. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getSnapshotAnalysis(); + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder + getSnapshotAnalysisOrBuilder(); + + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return Whether the importFeaturesAnalysis field is set. + */ + boolean hasImportFeaturesAnalysis(); + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return The importFeaturesAnalysis. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getImportFeaturesAnalysis(); + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysisOrBuilder + getImportFeaturesAnalysisOrBuilder(); + + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+   * or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return Whether the numericalThresholdConfig field is set. + */ + boolean hasNumericalThresholdConfig(); + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+   * or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return The numericalThresholdConfig. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getNumericalThresholdConfig(); + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+   * or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getNumericalThresholdConfigOrBuilder(); + + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+   * STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return Whether the categoricalThresholdConfig field is set. + */ + boolean hasCategoricalThresholdConfig(); + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+   * STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return The categoricalThresholdConfig. + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + getCategoricalThresholdConfig(); + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+   * STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getCategoricalThresholdConfigOrBuilder(); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java new file mode 100644 index 000000000..5266f6fe2 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java @@ -0,0 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/featurestore_monitoring.proto + +package com.google.cloud.aiplatform.v1; + +public final class FeaturestoreMonitoringProto { + private FeaturestoreMonitoringProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/aiplatform/v1/featurestor" + + "e_monitoring.proto\022\032google.cloud.aiplatf" + + "orm.v1\"\251\010\n\034FeaturestoreMonitoringConfig\022" + + "d\n\021snapshot_analysis\030\001 \001(\0132I.google.clou" + + "d.aiplatform.v1.FeaturestoreMonitoringCo" + + "nfig.SnapshotAnalysis\022q\n\030import_features" + + "_analysis\030\002 \001(\0132O.google.cloud.aiplatfor" + + "m.v1.FeaturestoreMonitoringConfig.Import" + + "FeaturesAnalysis\022l\n\032numerical_threshold_" + + "config\030\003 \001(\0132H.google.cloud.aiplatform.v" + + "1.FeaturestoreMonitoringConfig.Threshold" + + "Config\022n\n\034categorical_threshold_config\030\004" + + " \001(\0132H.google.cloud.aiplatform.v1.Featur" + + "estoreMonitoringConfig.ThresholdConfig\032^" + + "\n\020SnapshotAnalysis\022\020\n\010disabled\030\001 \001(\010\022 \n\030" + + "monitoring_interval_days\030\003 \001(\005\022\026\n\016stalen" + + "ess_days\030\004 \001(\005\032\300\003\n\026ImportFeaturesAnalysi" + + "s\022d\n\005state\030\001 \001(\0162U.google.cloud.aiplatfo" + + "rm.v1.FeaturestoreMonitoringConfig.Impor" + + "tFeaturesAnalysis.State\022|\n\032anomaly_detec" + + "tion_baseline\030\002 \001(\0162X.google.cloud.aipla" + + "tform.v1.FeaturestoreMonitoringConfig.Im" + + "portFeaturesAnalysis.Baseline\"F\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\013\n\007EN" + + "ABLED\020\002\022\014\n\010DISABLED\020\003\"z\n\010Baseline\022\030\n\024BAS" + + "ELINE_UNSPECIFIED\020\000\022\020\n\014LATEST_STATS\020\001\022\036\n" + + "\032MOST_RECENT_SNAPSHOT_STATS\020\002\022\"\n\036PREVIOU" + + "S_IMPORT_FEATURES_STATS\020\003\032/\n\017ThresholdCo" + + "nfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthresholdB\337\001\n\036c" + + "om.google.cloud.aiplatform.v1B\033Featurest" + + "oreMonitoringProtoP\001ZDgoogle.golang.org/" + + "genproto/googleapis/cloud/aiplatform/v1;" + + "aiplatform\252\002\032Google.Cloud.AIPlatform.V1\312" + + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C" + + "loud::AIPlatform::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor, + new java.lang.String[] { + "SnapshotAnalysis", + "ImportFeaturesAnalysis", + "NumericalThresholdConfig", + "CategoricalThresholdConfig", + }); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor = + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor, + new java.lang.String[] { + "Disabled", "MonitoringIntervalDays", "StalenessDays", + }); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor = + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor, + new java.lang.String[] { + "State", "AnomalyDetectionBaseline", + }); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor = + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor, + new java.lang.String[] { + "Value", "Threshold", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java index dc810d983..d5b4d499e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java @@ -49,42 +49,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n-google/cloud/aiplatform/v1/featurestor" - + "e.proto\022\032google.cloud.aiplatform.v1\032\034goo" - + "gle/api/annotations.proto\032\037google/api/fi" - + "eld_behavior.proto\032\031google/api/resource." - + "proto\0320google/cloud/aiplatform/v1/encryp" - + "tion_spec.proto\032\037google/protobuf/timesta" - + "mp.proto\"\350\005\n\014Featurestore\022\021\n\004name\030\001 \001(\tB" - + "\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022\021\n\004etag" - + "\030\005 \001(\tB\003\340A\001\022I\n\006labels\030\006 \003(\01324.google.clo" - + "ud.aiplatform.v1.Featurestore.LabelsEntr" - + "yB\003\340A\001\022`\n\025online_serving_config\030\007 \001(\0132<." + + "e.proto\022\032google.cloud.aiplatform.v1\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\0320google/cloud/aiplatform" + + "/v1/encryption_spec.proto\032\037google/protob" + + "uf/timestamp.proto\"\350\005\n\014Featurestore\022\021\n\004n" + + "ame\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" + + "ime\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022\021\n\004etag\030\005 \001(\tB\003\340A\001\022I\n\006labels\030\006 \003(\01324." + "google.cloud.aiplatform.v1.Featurestore." - + "OnlineServingConfigB\003\340A\002\022B\n\005state\030\010 \001(\0162" - + "..google.cloud.aiplatform.v1.Featurestor" - + "e.StateB\003\340A\003\022H\n\017encryption_spec\030\n \001(\0132*." - + "google.cloud.aiplatform.v1.EncryptionSpe" - + "cB\003\340A\001\032/\n\023OnlineServingConfig\022\030\n\020fixed_n" - + "ode_count\030\002 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"8\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\n\n\006STABLE\020\001\022\014\n\010UPDATING\020\002" - + ":q\352An\n&aiplatform.googleapis.com/Feature" - + "store\022Dprojects/{project}/locations/{loc" - + "ation}/featurestores/{featurestore}B\325\001\n\036" - + "com.google.cloud.aiplatform.v1B\021Features" - + "toreProtoP\001ZDgoogle.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1;aiplatfor" - + "m\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\" - + "Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIP" - + "latform::V1b\006proto3" + + "LabelsEntryB\003\340A\001\022`\n\025online_serving_confi" + + "g\030\007 \001(\0132<.google.cloud.aiplatform.v1.Fea" + + "turestore.OnlineServingConfigB\003\340A\002\022B\n\005st" + + "ate\030\010 \001(\0162..google.cloud.aiplatform.v1.F" + + "eaturestore.StateB\003\340A\003\022H\n\017encryption_spe" + + "c\030\n \001(\0132*.google.cloud.aiplatform.v1.Enc" + + "ryptionSpecB\003\340A\001\032/\n\023OnlineServingConfig\022" + + "\030\n\020fixed_node_count\030\002 \001(\005\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"8\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006STABLE\020\001\022\014\n\010" + + "UPDATING\020\002:q\352An\n&aiplatform.googleapis.c" + + "om/Featurestore\022Dprojects/{project}/loca" + + "tions/{location}/featurestores/{features" + + "tore}B\325\001\n\036com.google.cloud.aiplatform.v1" + + "B\021FeaturestoreProtoP\001ZDgoogle.golang.org" + + "/genproto/googleapis/cloud/aiplatform/v1" + + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" + + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" + + "Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), @@ -127,7 +125,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java index 8da4ae116..116e0b3e2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java @@ -215,318 +215,316 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "avior.proto\032\031google/api/resource.proto\032," + "google/cloud/aiplatform/v1/entity_type.p" + "roto\032(google/cloud/aiplatform/v1/feature" - + ".proto\0329google/cloud/aiplatform/v1/featu" - + "re_monitoring_stats.proto\0321google/cloud/" - + "aiplatform/v1/feature_selector.proto\032-go" - + "ogle/cloud/aiplatform/v1/featurestore.pr" - + "oto\032\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&aiplatform.goo" - + "gleapis.com/Featurestore\022C\n\014featurestore" - + "\030\002 \001(\0132(.google.cloud.aiplatform.v1.Feat" - + "urestoreB\003\340A\002\022\034\n\017featurestore_id\030\003 \001(\tB\003" - + "\340A\002\"V\n\026GetFeaturestoreRequest\022<\n\004name\030\001 " - + "\001(\tB.\340A\002\372A(\n&aiplatform.googleapis.com/F" - + "eaturestore\"\322\001\n\030ListFeaturestoresRequest" - + "\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&aiplatform.goo" - + "gleapis.com/Featurestore\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(\0132\032.g" - + "oogle.protobuf.FieldMask\"u\n\031ListFeatures" - + "toresResponse\022?\n\rfeaturestores\030\001 \003(\0132(.g" - + "oogle.cloud.aiplatform.v1.Featurestore\022\027" - + "\n\017next_page_token\030\002 \001(\t\"\221\001\n\031UpdateFeatur" - + "estoreRequest\022C\n\014featurestore\030\001 \001(\0132(.go" - + "ogle.cloud.aiplatform.v1.FeaturestoreB\003\340" - + "A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" - + "f.FieldMask\"h\n\031DeleteFeaturestoreRequest" - + "\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googl" - + "eapis.com/Featurestore\022\r\n\005force\030\002 \001(\010\"\372\004" - + "\n\032ImportFeatureValuesRequest\022=\n\013avro_sou" - + "rce\030\002 \001(\0132&.google.cloud.aiplatform.v1.A" - + "vroSourceH\000\022E\n\017bigquery_source\030\003 \001(\0132*.g" - + "oogle.cloud.aiplatform.v1.BigQuerySource" - + "H\000\022;\n\ncsv_source\030\004 \001(\0132%.google.cloud.ai" - + "platform.v1.CsvSourceH\000\022\034\n\022feature_time_" - + "field\030\006 \001(\tH\001\0222\n\014feature_time\030\007 \001(\0132\032.go" - + "ogle.protobuf.TimestampH\001\022A\n\013entity_type" - + "\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.co" - + "m/EntityType\022\027\n\017entity_id_field\030\005 \001(\t\022^\n" - + "\rfeature_specs\030\010 \003(\0132B.google.cloud.aipl" - + "atform.v1.ImportFeatureValuesRequest.Fea" - + "tureSpecB\003\340A\002\022\036\n\026disable_online_serving\030" - + "\t \001(\010\022\024\n\014worker_count\030\013 \001(\005\0324\n\013FeatureSp" - + "ec\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001(" - + "\tB\010\n\006sourceB\025\n\023feature_time_source\"}\n\033Im" - + "portFeatureValuesResponse\022\035\n\025imported_en" - + "tity_count\030\001 \001(\003\022$\n\034imported_feature_val" - + "ue_count\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001(" - + "\003\"\234\006\n\035BatchReadFeatureValuesRequest\022C\n\022c" - + "sv_read_instances\030\003 \001(\0132%.google.cloud.a" - + "iplatform.v1.CsvSourceH\000\022M\n\027bigquery_rea" - + "d_instances\030\005 \001(\0132*.google.cloud.aiplatf" - + "orm.v1.BigQuerySourceH\000\022D\n\014featurestore\030" - + "\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis.com" - + "/Featurestore\022M\n\013destination\030\004 \001(\01323.goo" - + "gle.cloud.aiplatform.v1.FeatureValueDest" - + "inationB\003\340A\002\022g\n\023pass_through_fields\030\010 \003(" - + "\0132J.google.cloud.aiplatform.v1.BatchRead" - + "FeatureValuesRequest.PassThroughField\022h\n" - + "\021entity_type_specs\030\007 \003(\0132H.google.cloud." - + "aiplatform.v1.BatchReadFeatureValuesRequ" - + "est.EntityTypeSpecB\003\340A\002\032+\n\020PassThroughFi" - + "eld\022\027\n\nfield_name\030\001 \001(\tB\003\340A\002\032\302\001\n\016EntityT" - + "ypeSpec\022\033\n\016entity_type_id\030\001 \001(\tB\003\340A\002\022J\n\020" - + "feature_selector\030\002 \001(\0132+.google.cloud.ai" - + "platform.v1.FeatureSelectorB\003\340A\002\022G\n\010sett" - + "ings\030\003 \003(\01325.google.cloud.aiplatform.v1." - + "DestinationFeatureSettingB\r\n\013read_option" - + "\"\350\005\n\032ExportFeatureValuesRequest\022`\n\017snaps" - + "hot_export\030\003 \001(\0132E.google.cloud.aiplatfo" - + "rm.v1.ExportFeatureValuesRequest.Snapsho" - + "tExportH\000\022X\n\013full_export\030\007 \001(\0132A.google." - + "cloud.aiplatform.v1.ExportFeatureValuesR" - + "equest.FullExportH\000\022A\n\013entity_type\030\001 \001(\t" - + "B,\340A\002\372A&\n$aiplatform.googleapis.com/Enti" - + "tyType\022M\n\013destination\030\004 \001(\01323.google.clo" - + "ud.aiplatform.v1.FeatureValueDestination" - + "B\003\340A\002\022J\n\020feature_selector\030\005 \001(\0132+.google" - + ".cloud.aiplatform.v1.FeatureSelectorB\003\340A" - + "\002\022G\n\010settings\030\006 \003(\01325.google.cloud.aipla" - + "tform.v1.DestinationFeatureSetting\032s\n\016Sn" - + "apshotExport\0221\n\rsnapshot_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022.\n\nstart_time\030\002 " - + "\001(\0132\032.google.protobuf.Timestamp\032j\n\nFullE" - + "xport\022.\n\nstart_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\022,\n\010end_time\030\001 \001(\0132\032.google" - + ".protobuf.TimestampB\006\n\004mode\"O\n\031Destinati" - + "onFeatureSetting\022\027\n\nfeature_id\030\001 \001(\tB\003\340A" - + "\002\022\031\n\021destination_field\030\002 \001(\t\"\221\002\n\027Feature" - + "ValueDestination\022O\n\024bigquery_destination" - + "\030\001 \001(\0132/.google.cloud.aiplatform.v1.BigQ" - + "ueryDestinationH\000\022O\n\024tfrecord_destinatio" - + "n\030\002 \001(\0132/.google.cloud.aiplatform.v1.TFR" - + "ecordDestinationH\000\022E\n\017csv_destination\030\003 " - + "\001(\0132*.google.cloud.aiplatform.v1.CsvDest" - + "inationH\000B\r\n\013destination\"\035\n\033ExportFeatur" - + "eValuesResponse\" \n\036BatchReadFeatureValue" - + "sResponse\"\263\001\n\027CreateEntityTypeRequest\022>\n" - + "\006parent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.google" - + "apis.com/Featurestore\022;\n\013entity_type\030\002 \001" + + ".proto\0321google/cloud/aiplatform/v1/featu" + + "re_selector.proto\032-google/cloud/aiplatfo" + + "rm/v1/featurestore.proto\032#google/cloud/a" + + "iplatform/v1/io.proto\032*google/cloud/aipl" + + "atform/v1/operation.proto\032#google/longru" + + "nning/operations.proto\032 google/protobuf/" + + "field_mask.proto\032\037google/protobuf/timest" + + "amp.proto\"\276\001\n\031CreateFeaturestoreRequest\022" + + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&aiplatform.goog" + + "leapis.com/Featurestore\022C\n\014featurestore\030" + + "\002 \001(\0132(.google.cloud.aiplatform.v1.Featu" + + "restoreB\003\340A\002\022\034\n\017featurestore_id\030\003 \001(\tB\003\340" + + "A\002\"V\n\026GetFeaturestoreRequest\022<\n\004name\030\001 \001" + + "(\tB.\340A\002\372A(\n&aiplatform.googleapis.com/Fe" + + "aturestore\"\322\001\n\030ListFeaturestoresRequest\022" + + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&aiplatform.goog" + + "leapis.com/Featurestore\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(\0132\032.go" + + "ogle.protobuf.FieldMask\"u\n\031ListFeaturest" + + "oresResponse\022?\n\rfeaturestores\030\001 \003(\0132(.go" + + "ogle.cloud.aiplatform.v1.Featurestore\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\221\001\n\031UpdateFeature" + + "storeRequest\022C\n\014featurestore\030\001 \001(\0132(.goo" + + "gle.cloud.aiplatform.v1.FeaturestoreB\003\340A" + + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\"h\n\031DeleteFeaturestoreRequest\022" + + "<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.google" + + "apis.com/Featurestore\022\r\n\005force\030\002 \001(\010\"\236\005\n" + + "\032ImportFeatureValuesRequest\022=\n\013avro_sour" + + "ce\030\002 \001(\0132&.google.cloud.aiplatform.v1.Av" + + "roSourceH\000\022E\n\017bigquery_source\030\003 \001(\0132*.go" + + "ogle.cloud.aiplatform.v1.BigQuerySourceH" + + "\000\022;\n\ncsv_source\030\004 \001(\0132%.google.cloud.aip" + + "latform.v1.CsvSourceH\000\022\034\n\022feature_time_f" + + "ield\030\006 \001(\tH\001\0222\n\014feature_time\030\007 \001(\0132\032.goo" + + "gle.protobuf.TimestampH\001\022A\n\013entity_type\030" + + "\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.com" + + "/EntityType\022\027\n\017entity_id_field\030\005 \001(\t\022^\n\r" + + "feature_specs\030\010 \003(\0132B.google.cloud.aipla" + + "tform.v1.ImportFeatureValuesRequest.Feat" + + "ureSpecB\003\340A\002\022\036\n\026disable_online_serving\030\t" + + " \001(\010\022\024\n\014worker_count\030\013 \001(\005\022\"\n\032disable_in" + + "gestion_analysis\030\014 \001(\010\0324\n\013FeatureSpec\022\017\n" + + "\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001(\tB\010\n\006" + + "sourceB\025\n\023feature_time_source\"}\n\033ImportF" + + "eatureValuesResponse\022\035\n\025imported_entity_" + + "count\030\001 \001(\003\022$\n\034imported_feature_value_co" + + "unt\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"\234\006\n" + + "\035BatchReadFeatureValuesRequest\022C\n\022csv_re" + + "ad_instances\030\003 \001(\0132%.google.cloud.aiplat" + + "form.v1.CsvSourceH\000\022M\n\027bigquery_read_ins" + + "tances\030\005 \001(\0132*.google.cloud.aiplatform.v" + + "1.BigQuerySourceH\000\022D\n\014featurestore\030\001 \001(\t" + + "B.\340A\002\372A(\n&aiplatform.googleapis.com/Feat" + + "urestore\022M\n\013destination\030\004 \001(\01323.google.c" + + "loud.aiplatform.v1.FeatureValueDestinati" + + "onB\003\340A\002\022g\n\023pass_through_fields\030\010 \003(\0132J.g" + + "oogle.cloud.aiplatform.v1.BatchReadFeatu" + + "reValuesRequest.PassThroughField\022h\n\021enti" + + "ty_type_specs\030\007 \003(\0132H.google.cloud.aipla" + + "tform.v1.BatchReadFeatureValuesRequest.E" + + "ntityTypeSpecB\003\340A\002\032+\n\020PassThroughField\022\027" + + "\n\nfield_name\030\001 \001(\tB\003\340A\002\032\302\001\n\016EntityTypeSp" + + "ec\022\033\n\016entity_type_id\030\001 \001(\tB\003\340A\002\022J\n\020featu" + + "re_selector\030\002 \001(\0132+.google.cloud.aiplatf" + + "orm.v1.FeatureSelectorB\003\340A\002\022G\n\010settings\030" + + "\003 \003(\01325.google.cloud.aiplatform.v1.Desti" + + "nationFeatureSettingB\r\n\013read_option\"\350\005\n\032" + + "ExportFeatureValuesRequest\022`\n\017snapshot_e" + + "xport\030\003 \001(\0132E.google.cloud.aiplatform.v1" + + ".ExportFeatureValuesRequest.SnapshotExpo" + + "rtH\000\022X\n\013full_export\030\007 \001(\0132A.google.cloud" + + ".aiplatform.v1.ExportFeatureValuesReques" + + "t.FullExportH\000\022A\n\013entity_type\030\001 \001(\tB,\340A\002" + + "\372A&\n$aiplatform.googleapis.com/EntityTyp" + + "e\022M\n\013destination\030\004 \001(\01323.google.cloud.ai" + + "platform.v1.FeatureValueDestinationB\003\340A\002" + + "\022J\n\020feature_selector\030\005 \001(\0132+.google.clou" + + "d.aiplatform.v1.FeatureSelectorB\003\340A\002\022G\n\010" + + "settings\030\006 \003(\01325.google.cloud.aiplatform" + + ".v1.DestinationFeatureSetting\032s\n\016Snapsho" + + "tExport\0221\n\rsnapshot_time\030\001 \001(\0132\032.google." + + "protobuf.Timestamp\022.\n\nstart_time\030\002 \001(\0132\032" + + ".google.protobuf.Timestamp\032j\n\nFullExport" + + "\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf.T" + + "imestamp\022,\n\010end_time\030\001 \001(\0132\032.google.prot" + + "obuf.TimestampB\006\n\004mode\"O\n\031DestinationFea" + + "tureSetting\022\027\n\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021" + + "destination_field\030\002 \001(\t\"\221\002\n\027FeatureValue" + + "Destination\022O\n\024bigquery_destination\030\001 \001(" + + "\0132/.google.cloud.aiplatform.v1.BigQueryD" + + "estinationH\000\022O\n\024tfrecord_destination\030\002 \001" + + "(\0132/.google.cloud.aiplatform.v1.TFRecord" + + "DestinationH\000\022E\n\017csv_destination\030\003 \001(\0132*" + + ".google.cloud.aiplatform.v1.CsvDestinati" + + "onH\000B\r\n\013destination\"\035\n\033ExportFeatureValu" + + "esResponse\" \n\036BatchReadFeatureValuesResp" + + "onse\"\263\001\n\027CreateEntityTypeRequest\022>\n\006pare" + + "nt\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis." + + "com/Featurestore\022;\n\013entity_type\030\002 \001(\0132&." + + "google.cloud.aiplatform.v1.EntityType\022\033\n" + + "\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEntityT" + + "ypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplat" + + "form.googleapis.com/EntityType\"\316\001\n\026ListE" + + "ntityTypesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A" + + "&\022$aiplatform.googleapis.com/EntityType\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\"" + + "p\n\027ListEntityTypesResponse\022<\n\014entity_typ" + + "es\030\001 \003(\0132&.google.cloud.aiplatform.v1.En" + + "tityType\022\027\n\017next_page_token\030\002 \001(\t\"\214\001\n\027Up" + + "dateEntityTypeRequest\022@\n\013entity_type\030\001 \001" + "(\0132&.google.cloud.aiplatform.v1.EntityTy" - + "pe\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEn" - + "tityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$a" - + "iplatform.googleapis.com/EntityType\"\316\001\n\026" - + "ListEntityTypesRequest\022<\n\006parent\030\001 \001(\tB," - + "\340A\002\372A&\022$aiplatform.googleapis.com/Entity" - + "Type\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(\0132\032.google.protobuf.Field" - + "Mask\"p\n\027ListEntityTypesResponse\022<\n\014entit" - + "y_types\030\001 \003(\0132&.google.cloud.aiplatform." - + "v1.EntityType\022\027\n\017next_page_token\030\002 \001(\t\"\214" - + "\001\n\027UpdateEntityTypeRequest\022@\n\013entity_typ" - + "e\030\001 \001(\0132&.google.cloud.aiplatform.v1.Ent" - + "ityTypeB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"d\n\027DeleteEntityTyp" - + "eRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatfo" - + "rm.googleapis.com/EntityType\022\r\n\005force\030\002 " - + "\001(\010\"\250\001\n\024CreateFeatureRequest\022<\n\006parent\030\001" - + " \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.com/" - + "EntityType\0229\n\007feature\030\002 \001(\0132#.google.clo" - + "ud.aiplatform.v1.FeatureB\003\340A\002\022\027\n\nfeature" - + "_id\030\003 \001(\tB\003\340A\002\"\243\001\n\032BatchCreateFeaturesRe" - + "quest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatfor" - + "m.googleapis.com/EntityType\022G\n\010requests\030" - + "\002 \003(\01320.google.cloud.aiplatform.v1.Creat" - + "eFeatureRequestB\003\340A\002\"T\n\033BatchCreateFeatu" - + "resResponse\0225\n\010features\030\001 \003(\0132#.google.c" - + "loud.aiplatform.v1.Feature\"L\n\021GetFeature" - + "Request\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatfor" - + "m.googleapis.com/Feature\"\344\001\n\023ListFeature" - + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplat" - + "form.googleapis.com/Feature\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(\0132" - + "\032.google.protobuf.FieldMask\022\032\n\022latest_st" - + "ats_count\030\007 \001(\005\"f\n\024ListFeaturesResponse\022" - + "5\n\010features\030\001 \003(\0132#.google.cloud.aiplatf" - + "orm.v1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"" - + "\212\001\n\025SearchFeaturesRequest\022;\n\010location\030\001 " - + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" - + "cation\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005" - + "\022\022\n\npage_token\030\005 \001(\t\"h\n\026SearchFeaturesRe" + + "peB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMask\"d\n\027DeleteEntityTypeRequ" + + "est\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.go" + + "ogleapis.com/EntityType\022\r\n\005force\030\002 \001(\010\"\250" + + "\001\n\024CreateFeatureRequest\022<\n\006parent\030\001 \001(\tB" + + ",\340A\002\372A&\n$aiplatform.googleapis.com/Entit" + + "yType\0229\n\007feature\030\002 \001(\0132#.google.cloud.ai" + + "platform.v1.FeatureB\003\340A\002\022\027\n\nfeature_id\030\003" + + " \001(\tB\003\340A\002\"\243\001\n\032BatchCreateFeaturesRequest" + + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goo" + + "gleapis.com/EntityType\022G\n\010requests\030\002 \003(\013" + + "20.google.cloud.aiplatform.v1.CreateFeat" + + "ureRequestB\003\340A\002\"T\n\033BatchCreateFeaturesRe" + "sponse\0225\n\010features\030\001 \003(\0132#.google.cloud." - + "aiplatform.v1.Feature\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\202\001\n\024UpdateFeatureRequest\0229\n\007featu" - + "re\030\001 \001(\0132#.google.cloud.aiplatform.v1.Fe" - + "atureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google" - + ".protobuf.FieldMask\"O\n\024DeleteFeatureRequ" - + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.go" - + "ogleapis.com/Feature\"u\n#CreateFeaturesto" - + "reOperationMetadata\022N\n\020generic_metadata\030" - + "\001 \001(\01324.google.cloud.aiplatform.v1.Gener" - + "icOperationMetadata\"u\n#UpdateFeaturestor" - + "eOperationMetadata\022N\n\020generic_metadata\030\001" - + " \001(\01324.google.cloud.aiplatform.v1.Generi" - + "cOperationMetadata\"\326\001\n$ImportFeatureValu" - + "esOperationMetadata\022N\n\020generic_metadata\030" - + "\001 \001(\01324.google.cloud.aiplatform.v1.Gener" - + "icOperationMetadata\022\035\n\025imported_entity_c" - + "ount\030\002 \001(\003\022$\n\034imported_feature_value_cou" - + "nt\030\003 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"v\n$E" - + "xportFeatureValuesOperationMetadata\022N\n\020g" - + "eneric_metadata\030\001 \001(\01324.google.cloud.aip" - + "latform.v1.GenericOperationMetadata\"y\n\'B" - + "atchReadFeatureValuesOperationMetadata\022N" - + "\n\020generic_metadata\030\001 \001(\01324.google.cloud." - + "aiplatform.v1.GenericOperationMetadata\"s" - + "\n!CreateEntityTypeOperationMetadata\022N\n\020g" - + "eneric_metadata\030\001 \001(\01324.google.cloud.aip" - + "latform.v1.GenericOperationMetadata\"p\n\036C" - + "reateFeatureOperationMetadata\022N\n\020generic" - + "_metadata\030\001 \001(\01324.google.cloud.aiplatfor" - + "m.v1.GenericOperationMetadata\"v\n$BatchCr" - + "eateFeaturesOperationMetadata\022N\n\020generic" - + "_metadata\030\001 \001(\01324.google.cloud.aiplatfor" - + "m.v1.GenericOperationMetadata2\273\'\n\023Featur" - + "estoreService\022\246\002\n\022CreateFeaturestore\0225.g" - + "oogle.cloud.aiplatform.v1.CreateFeatures" - + "toreRequest\032\035.google.longrunning.Operati" - + "on\"\271\001\202\323\344\223\002A\"1/v1/{parent=projects/*/loca" - + "tions/*}/featurestores:\014featurestore\332A\023p" - + "arent,featurestore\332A#parent,featurestore" - + ",featurestore_id\312A3\n\014Featurestore\022#Creat" - + "eFeaturestoreOperationMetadata\022\261\001\n\017GetFe" - + "aturestore\0222.google.cloud.aiplatform.v1." - + "GetFeaturestoreRequest\032(.google.cloud.ai" - + "platform.v1.Featurestore\"@\202\323\344\223\0023\0221/v1/{n" - + "ame=projects/*/locations/*/featurestores" - + "/*}\332A\004name\022\304\001\n\021ListFeaturestores\0224.googl" - + "e.cloud.aiplatform.v1.ListFeaturestoresR" - + "equest\0325.google.cloud.aiplatform.v1.List" - + "FeaturestoresResponse\"B\202\323\344\223\0023\0221/v1/{pare" - + "nt=projects/*/locations/*}/featurestores" - + "\332A\006parent\022\222\002\n\022UpdateFeaturestore\0225.googl" - + "e.cloud.aiplatform.v1.UpdateFeaturestore" - + "Request\032\035.google.longrunning.Operation\"\245" - + "\001\202\323\344\223\002N2>/v1/{featurestore.name=projects" - + "/*/locations/*/featurestores/*}:\014feature" - + "store\332A\030featurestore,update_mask\312A3\n\014Fea" - + "turestore\022#UpdateFeaturestoreOperationMe" - + "tadata\022\355\001\n\022DeleteFeaturestore\0225.google.c" - + "loud.aiplatform.v1.DeleteFeaturestoreReq" - + "uest\032\035.google.longrunning.Operation\"\200\001\202\323" - + "\344\223\0023*1/v1/{name=projects/*/locations/*/f" - + "eaturestores/*}\332A\004name\332A\nname,force\312A0\n\025" - + "google.protobuf.Empty\022\027DeleteOperationMe" - + "tadata\022\250\002\n\020CreateEntityType\0223.google.clo" - + "ud.aiplatform.v1.CreateEntityTypeRequest" - + "\032\035.google.longrunning.Operation\"\277\001\202\323\344\223\002N" - + "\"?/v1/{parent=projects/*/locations/*/fea" - + "turestores/*}/entityTypes:\013entity_type\332A" - + "\022parent,entity_type\332A!parent,entity_type" - + ",entity_type_id\312A/\n\nEntityType\022!CreateEn" - + "tityTypeOperationMetadata\022\271\001\n\rGetEntityT" - + "ype\0220.google.cloud.aiplatform.v1.GetEnti" - + "tyTypeRequest\032&.google.cloud.aiplatform." - + "v1.EntityType\"N\202\323\344\223\002A\022?/v1/{name=project" - + "s/*/locations/*/featurestores/*/entityTy" - + "pes/*}\332A\004name\022\314\001\n\017ListEntityTypes\0222.goog" - + "le.cloud.aiplatform.v1.ListEntityTypesRe" - + "quest\0323.google.cloud.aiplatform.v1.ListE" - + "ntityTypesResponse\"P\202\323\344\223\002A\022?/v1/{parent=" - + "projects/*/locations/*/featurestores/*}/" - + "entityTypes\332A\006parent\022\353\001\n\020UpdateEntityTyp" - + "e\0223.google.cloud.aiplatform.v1.UpdateEnt" - + "ityTypeRequest\032&.google.cloud.aiplatform" - + ".v1.EntityType\"z\202\323\344\223\002Z2K/v1/{entity_type" - + ".name=projects/*/locations/*/featurestor" - + "es/*/entityTypes/*}:\013entity_type\332A\027entit" - + "y_type,update_mask\022\367\001\n\020DeleteEntityType\022" - + "3.google.cloud.aiplatform.v1.DeleteEntit" - + "yTypeRequest\032\035.google.longrunning.Operat" - + "ion\"\216\001\202\323\344\223\002A*?/v1/{name=projects/*/locat" - + "ions/*/featurestores/*/entityTypes/*}\332A\004" - + "name\332A\nname,force\312A0\n\025google.protobuf.Em" - + "pty\022\027DeleteOperationMetadata\022\227\002\n\rCreateF" - + "eature\0220.google.cloud.aiplatform.v1.Crea" - + "teFeatureRequest\032\035.google.longrunning.Op" - + "eration\"\264\001\202\323\344\223\002U\"J/v1/{parent=projects/*" - + "/locations/*/featurestores/*/entityTypes" - + "/*}/features:\007feature\332A\016parent,feature\332A" - + "\031parent,feature,feature_id\312A)\n\007Feature\022\036" - + "CreateFeatureOperationMetadata\022\250\002\n\023Batch" - + "CreateFeatures\0226.google.cloud.aiplatform" - + ".v1.BatchCreateFeaturesRequest\032\035.google." - + "longrunning.Operation\"\271\001\202\323\344\223\002[\"V/v1/{par" - + "ent=projects/*/locations/*/featurestores" - + "/*/entityTypes/*}/features:batchCreate:\001" - + "*\332A\017parent,requests\312AC\n\033BatchCreateFeatu" - + "resResponse\022$BatchCreateFeaturesOperatio" - + "nMetadata\022\273\001\n\nGetFeature\022-.google.cloud." - + "aiplatform.v1.GetFeatureRequest\032#.google" - + ".cloud.aiplatform.v1.Feature\"Y\202\323\344\223\002L\022J/v" - + "1/{name=projects/*/locations/*/featurest" - + "ores/*/entityTypes/*/features/*}\332A\004name\022" - + "\316\001\n\014ListFeatures\022/.google.cloud.aiplatfo" - + "rm.v1.ListFeaturesRequest\0320.google.cloud" - + ".aiplatform.v1.ListFeaturesResponse\"[\202\323\344" - + "\223\002L\022J/v1/{parent=projects/*/locations/*/" - + "featurestores/*/entityTypes/*}/features\332" - + "A\006parent\022\341\001\n\rUpdateFeature\0220.google.clou" - + "d.aiplatform.v1.UpdateFeatureRequest\032#.g" - + "oogle.cloud.aiplatform.v1.Feature\"y\202\323\344\223\002" - + "]2R/v1/{feature.name=projects/*/location" - + "s/*/featurestores/*/entityTypes/*/featur" - + "es/*}:\007feature\332A\023feature,update_mask\022\357\001\n" - + "\rDeleteFeature\0220.google.cloud.aiplatform" - + ".v1.DeleteFeatureRequest\032\035.google.longru" - + "nning.Operation\"\214\001\202\323\344\223\002L*J/v1/{name=proj" - + "ects/*/locations/*/featurestores/*/entit" - + "yTypes/*/features/*}\332A\004name\312A0\n\025google.p" - + "rotobuf.Empty\022\027DeleteOperationMetadata\022\250" - + "\002\n\023ImportFeatureValues\0226.google.cloud.ai" - + "platform.v1.ImportFeatureValuesRequest\032\035" - + ".google.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z" - + "/v1/{entity_type=projects/*/locations/*/" - + "featurestores/*/entityTypes/*}:importFea" - + "tureValues:\001*\332A\013entity_type\312AC\n\033ImportFe" - + "atureValuesResponse\022$ImportFeatureValues" - + "OperationMetadata\022\253\002\n\026BatchReadFeatureVa" - + "lues\0229.google.cloud.aiplatform.v1.BatchR" - + "eadFeatureValuesRequest\032\035.google.longrun" - + "ning.Operation\"\266\001\202\323\344\223\002U\"P/v1/{featuresto" - + "re=projects/*/locations/*/featurestores/" - + "*}:batchReadFeatureValues:\001*\332A\014featurest" - + "ore\312AI\n\036BatchReadFeatureValuesResponse\022\'" - + "BatchReadFeatureValuesOperationMetadata\022" - + "\250\002\n\023ExportFeatureValues\0226.google.cloud.a" - + "iplatform.v1.ExportFeatureValuesRequest\032" - + "\035.google.longrunning.Operation\"\271\001\202\323\344\223\002_\"" - + "Z/v1/{entity_type=projects/*/locations/*" - + "/featurestores/*/entityTypes/*}:exportFe" - + "atureValues:\001*\332A\013entity_type\312AC\n\033ExportF" - + "eatureValuesResponse\022$ExportFeatureValue" - + "sOperationMetadata\022\337\001\n\016SearchFeatures\0221." - + "google.cloud.aiplatform.v1.SearchFeature" - + "sRequest\0322.google.cloud.aiplatform.v1.Se" - + "archFeaturesResponse\"f\202\323\344\223\002D\022B/v1/{locat" - + "ion=projects/*/locations/*}/featurestore" - + "s:searchFeatures\332A\010location\332A\016location,q" - + "uery\032M\312A\031aiplatform.googleapis.com\322A.htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\334\001\n\036com.google.cloud.aiplatform.v1B\030" - + "FeaturestoreServiceProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1;aiplatform\252\002\032Google.Cloud.AIPlatfo" - + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo" - + "gle::Cloud::AIPlatform::V1b\006proto3" + + "aiplatform.v1.Feature\"L\n\021GetFeatureReque" + + "st\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.goo" + + "gleapis.com/Feature\"\344\001\n\023ListFeaturesRequ" + + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform." + + "googleapis.com/Feature\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(\0132\032.goo" + + "gle.protobuf.FieldMask\022\032\n\022latest_stats_c" + + "ount\030\007 \001(\005\"f\n\024ListFeaturesResponse\0225\n\010fe" + + "atures\030\001 \003(\0132#.google.cloud.aiplatform.v" + + "1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025S" + + "earchFeaturesRequest\022;\n\010location\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\np" + + "age_token\030\005 \001(\t\"h\n\026SearchFeaturesRespons" + + "e\0225\n\010features\030\001 \003(\0132#.google.cloud.aipla" + + "tform.v1.Feature\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\202\001\n\024UpdateFeatureRequest\0229\n\007feature\030\001 " + + "\001(\0132#.google.cloud.aiplatform.v1.Feature" + + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMask\"O\n\024DeleteFeatureRequest\0227" + + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googlea" + + "pis.com/Feature\"u\n#CreateFeaturestoreOpe" + + "rationMetadata\022N\n\020generic_metadata\030\001 \001(\013" + + "24.google.cloud.aiplatform.v1.GenericOpe" + + "rationMetadata\"u\n#UpdateFeaturestoreOper" + + "ationMetadata\022N\n\020generic_metadata\030\001 \001(\0132" + + "4.google.cloud.aiplatform.v1.GenericOper" + + "ationMetadata\"\326\001\n$ImportFeatureValuesOpe" + + "rationMetadata\022N\n\020generic_metadata\030\001 \001(\013" + + "24.google.cloud.aiplatform.v1.GenericOpe" + + "rationMetadata\022\035\n\025imported_entity_count\030" + + "\002 \001(\003\022$\n\034imported_feature_value_count\030\003 " + + "\001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"v\n$Export" + + "FeatureValuesOperationMetadata\022N\n\020generi" + + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo" + + "rm.v1.GenericOperationMetadata\"y\n\'BatchR" + + "eadFeatureValuesOperationMetadata\022N\n\020gen" + + "eric_metadata\030\001 \001(\01324.google.cloud.aipla" + + "tform.v1.GenericOperationMetadata\"s\n!Cre" + + "ateEntityTypeOperationMetadata\022N\n\020generi" + + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo" + + "rm.v1.GenericOperationMetadata\"p\n\036Create" + + "FeatureOperationMetadata\022N\n\020generic_meta" + + "data\030\001 \001(\01324.google.cloud.aiplatform.v1." + + "GenericOperationMetadata\"v\n$BatchCreateF" + + "eaturesOperationMetadata\022N\n\020generic_meta" + + "data\030\001 \001(\01324.google.cloud.aiplatform.v1." + + "GenericOperationMetadata2\273\'\n\023Featurestor" + + "eService\022\246\002\n\022CreateFeaturestore\0225.google" + + ".cloud.aiplatform.v1.CreateFeaturestoreR" + + "equest\032\035.google.longrunning.Operation\"\271\001" + + "\202\323\344\223\002A\"1/v1/{parent=projects/*/locations" + + "/*}/featurestores:\014featurestore\332A\023parent" + + ",featurestore\332A#parent,featurestore,feat" + + "urestore_id\312A3\n\014Featurestore\022#CreateFeat" + + "urestoreOperationMetadata\022\261\001\n\017GetFeature" + + "store\0222.google.cloud.aiplatform.v1.GetFe" + + "aturestoreRequest\032(.google.cloud.aiplatf" + + "orm.v1.Featurestore\"@\202\323\344\223\0023\0221/v1/{name=p" + + "rojects/*/locations/*/featurestores/*}\332A" + + "\004name\022\304\001\n\021ListFeaturestores\0224.google.clo" + + "ud.aiplatform.v1.ListFeaturestoresReques" + + "t\0325.google.cloud.aiplatform.v1.ListFeatu" + + "restoresResponse\"B\202\323\344\223\0023\0221/v1/{parent=pr" + + "ojects/*/locations/*}/featurestores\332A\006pa" + + "rent\022\222\002\n\022UpdateFeaturestore\0225.google.clo" + + "ud.aiplatform.v1.UpdateFeaturestoreReque" + + "st\032\035.google.longrunning.Operation\"\245\001\202\323\344\223" + + "\002N2>/v1/{featurestore.name=projects/*/lo" + + "cations/*/featurestores/*}:\014featurestore" + + "\332A\030featurestore,update_mask\312A3\n\014Features" + + "tore\022#UpdateFeaturestoreOperationMetadat" + + "a\022\355\001\n\022DeleteFeaturestore\0225.google.cloud." + + "aiplatform.v1.DeleteFeaturestoreRequest\032" + + "\035.google.longrunning.Operation\"\200\001\202\323\344\223\0023*" + + "1/v1/{name=projects/*/locations/*/featur" + + "estores/*}\332A\004name\332A\nname,force\312A0\n\025googl" + + "e.protobuf.Empty\022\027DeleteOperationMetadat" + + "a\022\250\002\n\020CreateEntityType\0223.google.cloud.ai" + + "platform.v1.CreateEntityTypeRequest\032\035.go" + + "ogle.longrunning.Operation\"\277\001\202\323\344\223\002N\"?/v1" + + "/{parent=projects/*/locations/*/features" + + "tores/*}/entityTypes:\013entity_type\332A\022pare" + + "nt,entity_type\332A!parent,entity_type,enti" + + "ty_type_id\312A/\n\nEntityType\022!CreateEntityT" + + "ypeOperationMetadata\022\271\001\n\rGetEntityType\0220" + + ".google.cloud.aiplatform.v1.GetEntityTyp" + + "eRequest\032&.google.cloud.aiplatform.v1.En" + + "tityType\"N\202\323\344\223\002A\022?/v1/{name=projects/*/l" + + "ocations/*/featurestores/*/entityTypes/*" + + "}\332A\004name\022\314\001\n\017ListEntityTypes\0222.google.cl" + + "oud.aiplatform.v1.ListEntityTypesRequest" + + "\0323.google.cloud.aiplatform.v1.ListEntity" + + "TypesResponse\"P\202\323\344\223\002A\022?/v1/{parent=proje" + + "cts/*/locations/*/featurestores/*}/entit" + + "yTypes\332A\006parent\022\353\001\n\020UpdateEntityType\0223.g" + + "oogle.cloud.aiplatform.v1.UpdateEntityTy" + + "peRequest\032&.google.cloud.aiplatform.v1.E" + + "ntityType\"z\202\323\344\223\002Z2K/v1/{entity_type.name" + + "=projects/*/locations/*/featurestores/*/" + + "entityTypes/*}:\013entity_type\332A\027entity_typ" + + "e,update_mask\022\367\001\n\020DeleteEntityType\0223.goo" + + "gle.cloud.aiplatform.v1.DeleteEntityType" + + "Request\032\035.google.longrunning.Operation\"\216" + + "\001\202\323\344\223\002A*?/v1/{name=projects/*/locations/" + + "*/featurestores/*/entityTypes/*}\332A\004name\332" + + "A\nname,force\312A0\n\025google.protobuf.Empty\022\027" + + "DeleteOperationMetadata\022\227\002\n\rCreateFeatur" + + "e\0220.google.cloud.aiplatform.v1.CreateFea" + + "tureRequest\032\035.google.longrunning.Operati" + + "on\"\264\001\202\323\344\223\002U\"J/v1/{parent=projects/*/loca" + + "tions/*/featurestores/*/entityTypes/*}/f" + + "eatures:\007feature\332A\016parent,feature\332A\031pare" + + "nt,feature,feature_id\312A)\n\007Feature\022\036Creat" + + "eFeatureOperationMetadata\022\250\002\n\023BatchCreat" + + "eFeatures\0226.google.cloud.aiplatform.v1.B" + + "atchCreateFeaturesRequest\032\035.google.longr" + + "unning.Operation\"\271\001\202\323\344\223\002[\"V/v1/{parent=p" + + "rojects/*/locations/*/featurestores/*/en" + + "tityTypes/*}/features:batchCreate:\001*\332A\017p" + + "arent,requests\312AC\n\033BatchCreateFeaturesRe" + + "sponse\022$BatchCreateFeaturesOperationMeta" + + "data\022\273\001\n\nGetFeature\022-.google.cloud.aipla" + + "tform.v1.GetFeatureRequest\032#.google.clou" + + "d.aiplatform.v1.Feature\"Y\202\323\344\223\002L\022J/v1/{na" + + "me=projects/*/locations/*/featurestores/" + + "*/entityTypes/*/features/*}\332A\004name\022\316\001\n\014L" + + "istFeatures\022/.google.cloud.aiplatform.v1" + + ".ListFeaturesRequest\0320.google.cloud.aipl" + + "atform.v1.ListFeaturesResponse\"[\202\323\344\223\002L\022J" + + "/v1/{parent=projects/*/locations/*/featu" + + "restores/*/entityTypes/*}/features\332A\006par" + + "ent\022\341\001\n\rUpdateFeature\0220.google.cloud.aip" + + "latform.v1.UpdateFeatureRequest\032#.google" + + ".cloud.aiplatform.v1.Feature\"y\202\323\344\223\002]2R/v" + + "1/{feature.name=projects/*/locations/*/f" + + "eaturestores/*/entityTypes/*/features/*}" + + ":\007feature\332A\023feature,update_mask\022\357\001\n\rDele" + + "teFeature\0220.google.cloud.aiplatform.v1.D" + + "eleteFeatureRequest\032\035.google.longrunning" + + ".Operation\"\214\001\202\323\344\223\002L*J/v1/{name=projects/" + + "*/locations/*/featurestores/*/entityType" + + "s/*/features/*}\332A\004name\312A0\n\025google.protob" + + "uf.Empty\022\027DeleteOperationMetadata\022\250\002\n\023Im" + + "portFeatureValues\0226.google.cloud.aiplatf" + + "orm.v1.ImportFeatureValuesRequest\032\035.goog" + + "le.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/v1/{" + + "entity_type=projects/*/locations/*/featu" + + "restores/*/entityTypes/*}:importFeatureV" + + "alues:\001*\332A\013entity_type\312AC\n\033ImportFeature" + + "ValuesResponse\022$ImportFeatureValuesOpera" + + "tionMetadata\022\253\002\n\026BatchReadFeatureValues\022" + + "9.google.cloud.aiplatform.v1.BatchReadFe" + + "atureValuesRequest\032\035.google.longrunning." + + "Operation\"\266\001\202\323\344\223\002U\"P/v1/{featurestore=pr" + + "ojects/*/locations/*/featurestores/*}:ba" + + "tchReadFeatureValues:\001*\332A\014featurestore\312A" + + "I\n\036BatchReadFeatureValuesResponse\022\'Batch" + + "ReadFeatureValuesOperationMetadata\022\250\002\n\023E" + + "xportFeatureValues\0226.google.cloud.aiplat" + + "form.v1.ExportFeatureValuesRequest\032\035.goo" + + "gle.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/v1/" + + "{entity_type=projects/*/locations/*/feat" + + "urestores/*/entityTypes/*}:exportFeature" + + "Values:\001*\332A\013entity_type\312AC\n\033ExportFeatur" + + "eValuesResponse\022$ExportFeatureValuesOper" + + "ationMetadata\022\337\001\n\016SearchFeatures\0221.googl" + + "e.cloud.aiplatform.v1.SearchFeaturesRequ" + + "est\0322.google.cloud.aiplatform.v1.SearchF" + + "eaturesResponse\"f\202\323\344\223\002D\022B/v1/{location=p" + + "rojects/*/locations/*}/featurestores:sea" + + "rchFeatures\332A\010location\332A\016location,query\032" + + "M\312A\031aiplatform.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB\334" + + "\001\n\036com.google.cloud.aiplatform.v1B\030Featu" + + "restoreServiceProtoP\001ZDgoogle.golang.org" + + "/genproto/googleapis/cloud/aiplatform/v1" + + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" + + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" + + "Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -538,10 +536,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EntityTypeProto.getDescriptor(), com.google.cloud.aiplatform.v1.FeatureProto.getDescriptor(), - com.google.cloud.aiplatform.v1.FeatureMonitoringStatsProto.getDescriptor(), com.google.cloud.aiplatform.v1.FeatureSelectorProto.getDescriptor(), com.google.cloud.aiplatform.v1.FeaturestoreProto.getDescriptor(), - com.google.cloud.aiplatform.v1.FeaturestoreOnlineServiceProto.getDescriptor(), com.google.cloud.aiplatform.v1.IoProto.getDescriptor(), com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), @@ -612,6 +608,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FeatureSpecs", "DisableOnlineServing", "WorkerCount", + "DisableIngestionAnalysis", "Source", "FeatureTimeSource", }); @@ -947,10 +944,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EntityTypeProto.getDescriptor(); com.google.cloud.aiplatform.v1.FeatureProto.getDescriptor(); - com.google.cloud.aiplatform.v1.FeatureMonitoringStatsProto.getDescriptor(); com.google.cloud.aiplatform.v1.FeatureSelectorProto.getDescriptor(); com.google.cloud.aiplatform.v1.FeaturestoreProto.getDescriptor(); - com.google.cloud.aiplatform.v1.FeaturestoreOnlineServiceProto.getDescriptor(); com.google.cloud.aiplatform.v1.IoProto.getDescriptor(); com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java index 883b95625..40933ee60 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java @@ -46,52 +46,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n:google/cloud/aiplatform/v1/hyperparame" + "ter_tuning_job.proto\022\032google.cloud.aipla" - + "tform.v1\032\034google/api/annotations.proto\032\037" - + "google/api/field_behavior.proto\032\031google/" - + "api/resource.proto\032+google/cloud/aiplatf" - + "orm/v1/custom_job.proto\0320google/cloud/ai" - + "platform/v1/encryption_spec.proto\032*googl" - + "e/cloud/aiplatform/v1/job_state.proto\032&g" - + "oogle/cloud/aiplatform/v1/study.proto\032\037g" - + "oogle/protobuf/timestamp.proto\032\027google/r" - + "pc/status.proto\"\373\007\n\027HyperparameterTuning" - + "Job\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002" - + " \001(\tB\003\340A\002\022>\n\nstudy_spec\030\004 \001(\0132%.google.c" - + "loud.aiplatform.v1.StudySpecB\003\340A\002\022\034\n\017max" - + "_trial_count\030\005 \001(\005B\003\340A\002\022!\n\024parallel_tria" - + "l_count\030\006 \001(\005B\003\340A\002\022\036\n\026max_failed_trial_c" - + "ount\030\007 \001(\005\022F\n\016trial_job_spec\030\010 \001(\0132).goo" - + "gle.cloud.aiplatform.v1.CustomJobSpecB\003\340" - + "A\002\0226\n\006trials\030\t \003(\0132!.google.cloud.aiplat" - + "form.v1.TrialB\003\340A\003\0228\n\005state\030\n \001(\0162$.goog" - + "le.cloud.aiplatform.v1.JobStateB\003\340A\003\0224\n\013" - + "create_time\030\013 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0223\n\nstart_time\030\014 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\r \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013up" - + "date_time\030\016 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022&\n\005error\030\017 \001(\0132\022.google.rpc.Sta" - + "tusB\003\340A\003\022O\n\006labels\030\020 \003(\0132?.google.cloud." - + "aiplatform.v1.HyperparameterTuningJob.La" - + "belsEntry\022C\n\017encryption_spec\030\021 \001(\0132*.goo" - + "gle.cloud.aiplatform.v1.EncryptionSpec\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001:\225\001\352A\221\001\n1aiplatform.googleapis.com/" - + "HyperparameterTuningJob\022\\projects/{proje" - + "ct}/locations/{location}/hyperparameterT" - + "uningJobs/{hyperparameter_tuning_job}B\340\001" - + "\n\036com.google.cloud.aiplatform.v1B\034Hyperp" - + "arameterTuningJobProtoP\001ZDgoogle.golang." - + "org/genproto/googleapis/cloud/aiplatform" - + "/v1;aiplatform\252\002\032Google.Cloud.AIPlatform" - + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl" - + "e::Cloud::AIPlatform::V1b\006proto3" + + "tform.v1\032\037google/api/field_behavior.prot" + + "o\032\031google/api/resource.proto\032+google/clo" + + "ud/aiplatform/v1/custom_job.proto\0320googl" + + "e/cloud/aiplatform/v1/encryption_spec.pr" + + "oto\032*google/cloud/aiplatform/v1/job_stat" + + "e.proto\032&google/cloud/aiplatform/v1/stud" + + "y.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\"\373\007\n\027Hyperparam" + + "eterTuningJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014disp" + + "lay_name\030\002 \001(\tB\003\340A\002\022>\n\nstudy_spec\030\004 \001(\0132" + + "%.google.cloud.aiplatform.v1.StudySpecB\003" + + "\340A\002\022\034\n\017max_trial_count\030\005 \001(\005B\003\340A\002\022!\n\024par" + + "allel_trial_count\030\006 \001(\005B\003\340A\002\022\036\n\026max_fail" + + "ed_trial_count\030\007 \001(\005\022F\n\016trial_job_spec\030\010" + + " \001(\0132).google.cloud.aiplatform.v1.Custom" + + "JobSpecB\003\340A\002\0226\n\006trials\030\t \003(\0132!.google.cl" + + "oud.aiplatform.v1.TrialB\003\340A\003\0228\n\005state\030\n " + + "\001(\0162$.google.cloud.aiplatform.v1.JobStat" + + "eB\003\340A\003\0224\n\013create_time\030\013 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0223\n\nstart_time\030\014 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end" + + "_time\030\r \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022&\n\005error\030\017 \001(\0132\022.goog" + + "le.rpc.StatusB\003\340A\003\022O\n\006labels\030\020 \003(\0132?.goo" + + "gle.cloud.aiplatform.v1.HyperparameterTu" + + "ningJob.LabelsEntry\022C\n\017encryption_spec\030\021" + + " \001(\0132*.google.cloud.aiplatform.v1.Encryp" + + "tionSpec\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001:\225\001\352A\221\001\n1aiplatform.googl" + + "eapis.com/HyperparameterTuningJob\022\\proje" + + "cts/{project}/locations/{location}/hyper" + + "parameterTuningJobs/{hyperparameter_tuni" + + "ng_job}B\340\001\n\036com.google.cloud.aiplatform." + + "v1B\034HyperparameterTuningJobProtoP\001ZDgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "aiplatform/v1;aiplatform\252\002\032Google.Cloud." + + "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\" + + "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.CustomJobProto.getDescriptor(), @@ -140,7 +139,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.CustomJobProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java index d156e8343..a9ce02c89 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java @@ -182,6 +182,11 @@ private ImportFeatureValuesRequest( workerCount_ = input.readInt32(); break; } + case 96: + { + disableIngestionAnalysis_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -1671,6 +1676,24 @@ public int getWorkerCount() { return workerCount_; } + public static final int DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER = 12; + private boolean disableIngestionAnalysis_; + /** + * + * + *
+   * If true, API doesn't start ingestion analysis pipeline.
+   * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return The disableIngestionAnalysis. + */ + @java.lang.Override + public boolean getDisableIngestionAnalysis() { + return disableIngestionAnalysis_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1715,6 +1738,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (workerCount_ != 0) { output.writeInt32(11, workerCount_); } + if (disableIngestionAnalysis_ != false) { + output.writeBool(12, disableIngestionAnalysis_); + } unknownFields.writeTo(output); } @@ -1762,6 +1788,9 @@ public int getSerializedSize() { if (workerCount_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, workerCount_); } + if (disableIngestionAnalysis_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableIngestionAnalysis_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1783,6 +1812,7 @@ public boolean equals(final java.lang.Object obj) { if (!getFeatureSpecsList().equals(other.getFeatureSpecsList())) return false; if (getDisableOnlineServing() != other.getDisableOnlineServing()) return false; if (getWorkerCount() != other.getWorkerCount()) return false; + if (getDisableIngestionAnalysis() != other.getDisableIngestionAnalysis()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: @@ -1831,6 +1861,8 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableOnlineServing()); hash = (37 * hash) + WORKER_COUNT_FIELD_NUMBER; hash = (53 * hash) + getWorkerCount(); + hash = (37 * hash) + DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableIngestionAnalysis()); switch (sourceCase_) { case 2: hash = (37 * hash) + AVRO_SOURCE_FIELD_NUMBER; @@ -2021,6 +2053,8 @@ public Builder clear() { workerCount_ = 0; + disableIngestionAnalysis_ = false; + sourceCase_ = 0; source_ = null; featureTimeSourceCase_ = 0; @@ -2097,6 +2131,7 @@ public com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest buildPartial() } result.disableOnlineServing_ = disableOnlineServing_; result.workerCount_ = workerCount_; + result.disableIngestionAnalysis_ = disableIngestionAnalysis_; result.sourceCase_ = sourceCase_; result.featureTimeSourceCase_ = featureTimeSourceCase_; onBuilt(); @@ -2190,6 +2225,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ImportFeatureValuesReque if (other.getWorkerCount() != 0) { setWorkerCount(other.getWorkerCount()); } + if (other.getDisableIngestionAnalysis() != false) { + setDisableIngestionAnalysis(other.getDisableIngestionAnalysis()); + } switch (other.getSourceCase()) { case AVRO_SOURCE: { @@ -3879,6 +3917,58 @@ public Builder clearWorkerCount() { return this; } + private boolean disableIngestionAnalysis_; + /** + * + * + *
+     * If true, API doesn't start ingestion analysis pipeline.
+     * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return The disableIngestionAnalysis. + */ + @java.lang.Override + public boolean getDisableIngestionAnalysis() { + return disableIngestionAnalysis_; + } + /** + * + * + *
+     * If true, API doesn't start ingestion analysis pipeline.
+     * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @param value The disableIngestionAnalysis to set. + * @return This builder for chaining. + */ + public Builder setDisableIngestionAnalysis(boolean value) { + + disableIngestionAnalysis_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If true, API doesn't start ingestion analysis pipeline.
+     * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return This builder for chaining. + */ + public Builder clearDisableIngestionAnalysis() { + + disableIngestionAnalysis_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java index 783ce05d3..dac490207 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java @@ -314,6 +314,19 @@ public interface ImportFeatureValuesRequestOrBuilder */ int getWorkerCount(); + /** + * + * + *
+   * If true, API doesn't start ingestion analysis pipeline.
+   * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return The disableIngestionAnalysis. + */ + boolean getDisableIngestionAnalysis(); + public com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest.SourceCase getSourceCase(); public com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureTimeSourceCase diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportModelEvaluationRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportModelEvaluationRequest.java new file mode 100644 index 000000000..9ab2722e3 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportModelEvaluationRequest.java @@ -0,0 +1,960 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ImportModelEvaluationRequest} + */ +public final class ImportModelEvaluationRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ImportModelEvaluationRequest) + ImportModelEvaluationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportModelEvaluationRequest.newBuilder() to construct. + private ImportModelEvaluationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportModelEvaluationRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportModelEvaluationRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportModelEvaluationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + com.google.cloud.aiplatform.v1.ModelEvaluation.Builder subBuilder = null; + if (modelEvaluation_ != null) { + subBuilder = modelEvaluation_.toBuilder(); + } + modelEvaluation_ = + input.readMessage( + com.google.cloud.aiplatform.v1.ModelEvaluation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelEvaluation_); + modelEvaluation_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.class, + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODEL_EVALUATION_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1.ModelEvaluation modelEvaluation_; + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the modelEvaluation field is set. + */ + @java.lang.Override + public boolean hasModelEvaluation() { + return modelEvaluation_ != null; + } + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The modelEvaluation. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation getModelEvaluation() { + return modelEvaluation_ == null + ? com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance() + : modelEvaluation_; + } + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder getModelEvaluationOrBuilder() { + return getModelEvaluation(); + } + + 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(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (modelEvaluation_ != null) { + output.writeMessage(2, getModelEvaluation()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (modelEvaluation_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getModelEvaluation()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest other = + (com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasModelEvaluation() != other.hasModelEvaluation()) return false; + if (hasModelEvaluation()) { + if (!getModelEvaluation().equals(other.getModelEvaluation())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasModelEvaluation()) { + hash = (37 * hash) + MODEL_EVALUATION_FIELD_NUMBER; + hash = (53 * hash) + getModelEvaluation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest 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 [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ImportModelEvaluationRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ImportModelEvaluationRequest) + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.class, + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (modelEvaluationBuilder_ == null) { + modelEvaluation_ = null; + } else { + modelEvaluation_ = null; + modelEvaluationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest build() { + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest buildPartial() { + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest result = + new com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest(this); + result.parent_ = parent_; + if (modelEvaluationBuilder_ == null) { + result.modelEvaluation_ = modelEvaluation_; + } else { + result.modelEvaluation_ = modelEvaluationBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest other) { + if (other == com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasModelEvaluation()) { + mergeModelEvaluation(other.getModelEvaluation()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.ModelEvaluation modelEvaluation_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelEvaluation, + com.google.cloud.aiplatform.v1.ModelEvaluation.Builder, + com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder> + modelEvaluationBuilder_; + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the modelEvaluation field is set. + */ + public boolean hasModelEvaluation() { + return modelEvaluationBuilder_ != null || modelEvaluation_ != null; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The modelEvaluation. + */ + public com.google.cloud.aiplatform.v1.ModelEvaluation getModelEvaluation() { + if (modelEvaluationBuilder_ == null) { + return modelEvaluation_ == null + ? com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance() + : modelEvaluation_; + } else { + return modelEvaluationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setModelEvaluation(com.google.cloud.aiplatform.v1.ModelEvaluation value) { + if (modelEvaluationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + modelEvaluation_ = value; + onChanged(); + } else { + modelEvaluationBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setModelEvaluation( + com.google.cloud.aiplatform.v1.ModelEvaluation.Builder builderForValue) { + if (modelEvaluationBuilder_ == null) { + modelEvaluation_ = builderForValue.build(); + onChanged(); + } else { + modelEvaluationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeModelEvaluation(com.google.cloud.aiplatform.v1.ModelEvaluation value) { + if (modelEvaluationBuilder_ == null) { + if (modelEvaluation_ != null) { + modelEvaluation_ = + com.google.cloud.aiplatform.v1.ModelEvaluation.newBuilder(modelEvaluation_) + .mergeFrom(value) + .buildPartial(); + } else { + modelEvaluation_ = value; + } + onChanged(); + } else { + modelEvaluationBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearModelEvaluation() { + if (modelEvaluationBuilder_ == null) { + modelEvaluation_ = null; + onChanged(); + } else { + modelEvaluation_ = null; + modelEvaluationBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.ModelEvaluation.Builder getModelEvaluationBuilder() { + + onChanged(); + return getModelEvaluationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder getModelEvaluationOrBuilder() { + if (modelEvaluationBuilder_ != null) { + return modelEvaluationBuilder_.getMessageOrBuilder(); + } else { + return modelEvaluation_ == null + ? com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance() + : modelEvaluation_; + } + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelEvaluation, + com.google.cloud.aiplatform.v1.ModelEvaluation.Builder, + com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder> + getModelEvaluationFieldBuilder() { + if (modelEvaluationBuilder_ == null) { + modelEvaluationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelEvaluation, + com.google.cloud.aiplatform.v1.ModelEvaluation.Builder, + com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder>( + getModelEvaluation(), getParentForChildren(), isClean()); + modelEvaluation_ = null; + } + return modelEvaluationBuilder_; + } + + @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.ImportModelEvaluationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ImportModelEvaluationRequest) + private static final com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest(); + } + + public static com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportModelEvaluationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportModelEvaluationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportModelEvaluationRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportModelEvaluationRequestOrBuilder.java new file mode 100644 index 000000000..16d735861 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportModelEvaluationRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface ImportModelEvaluationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ImportModelEvaluationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the modelEvaluation field is set. + */ + boolean hasModelEvaluation(); + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The modelEvaluation. + */ + com.google.cloud.aiplatform.v1.ModelEvaluation getModelEvaluation(); + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder getModelEvaluationOrBuilder(); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java index 1ad2b24cb..cd4954f58 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java @@ -61,65 +61,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n/google/cloud/aiplatform/v1/index_endpo" - + "int.proto\022\032google.cloud.aiplatform.v1\032\034g" - + "oogle/api/annotations.proto\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\032&google/cloud/aiplatform/v1/inde" - + "x.proto\0322google/cloud/aiplatform/v1/mach" - + "ine_resources.proto\032\037google/protobuf/tim" - + "estamp.proto\"\306\004\n\rIndexEndpoint\022\021\n\004name\030\001" - + " \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" - + "description\030\003 \001(\t\022H\n\020deployed_indexes\030\004 " - + "\003(\0132).google.cloud.aiplatform.v1.Deploye" - + "dIndexB\003\340A\003\022\014\n\004etag\030\005 \001(\t\022E\n\006labels\030\006 \003(" - + "\01325.google.cloud.aiplatform.v1.IndexEndp" - + "oint.LabelsEntry\0224\n\013create_time\030\007 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" - + "_time\030\010 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022\024\n\007network\030\t \001(\tB\003\340A\001\022+\n\036enable_pri" - + "vate_service_connect\030\n \001(\010B\003\340A\001\032-\n\013Label" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:u" - + "\352Ar\n\'aiplatform.googleapis.com/IndexEndp" - + "oint\022Gprojects/{project}/locations/{loca" - + "tion}/indexEndpoints/{index_endpoint}\"\227\005" - + "\n\rDeployedIndex\022\017\n\002id\030\001 \001(\tB\003\340A\002\0226\n\005inde" - + "x\030\002 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis.c" - + "om/Index\022\024\n\014display_name\030\003 \001(\t\0224\n\013create" - + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022Q\n\021private_endpoints\030\005 \001(\01321.google" - + ".cloud.aiplatform.v1.IndexPrivateEndpoin" - + "tsB\003\340A\003\0228\n\017index_sync_time\030\006 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022P\n\023automatic_r" - + "esources\030\007 \001(\0132..google.cloud.aiplatform" - + ".v1.AutomaticResourcesB\003\340A\001\022P\n\023dedicated" - + "_resources\030\020 \001(\0132..google.cloud.aiplatfo" - + "rm.v1.DedicatedResourcesB\003\340A\001\022\"\n\025enable_" - + "access_logging\030\010 \001(\010B\003\340A\001\022\\\n\032deployed_in" - + "dex_auth_config\030\t \001(\01323.google.cloud.aip" - + "latform.v1.DeployedIndexAuthConfigB\003\340A\001\022" - + "\037\n\022reserved_ip_ranges\030\n \003(\tB\003\340A\001\022\035\n\020depl" - + "oyment_group\030\013 \001(\tB\003\340A\001\"\256\001\n\027DeployedInde" - + "xAuthConfig\022W\n\rauth_provider\030\001 \001(\0132@.goo" - + "gle.cloud.aiplatform.v1.DeployedIndexAut" - + "hConfig.AuthProvider\032:\n\014AuthProvider\022\021\n\t" - + "audiences\030\001 \003(\t\022\027\n\017allowed_issuers\030\002 \003(\t" - + "\"Y\n\025IndexPrivateEndpoints\022\037\n\022match_grpc_" - + "address\030\001 \001(\tB\003\340A\003\022\037\n\022service_attachment" - + "\030\002 \001(\tB\003\340A\003B\326\001\n\036com.google.cloud.aiplatf" - + "orm.v1B\022IndexEndpointProtoP\001ZDgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat" - + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" - + "oogle::Cloud::AIPlatform::V1b\006proto3" + + "int.proto\022\032google.cloud.aiplatform.v1\032\037g" + + "oogle/api/field_behavior.proto\032\031google/a" + + "pi/resource.proto\0322google/cloud/aiplatfo" + + "rm/v1/machine_resources.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\306\004\n\rIndexEndpoint" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(" + + "\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022H\n\020deployed_" + + "indexes\030\004 \003(\0132).google.cloud.aiplatform." + + "v1.DeployedIndexB\003\340A\003\022\014\n\004etag\030\005 \001(\t\022E\n\006l" + + "abels\030\006 \003(\01325.google.cloud.aiplatform.v1" + + ".IndexEndpoint.LabelsEntry\0224\n\013create_tim" + + "e\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\010 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\024\n\007network\030\t \001(\tB\003\340A\001\022+\n\036" + + "enable_private_service_connect\030\n \001(\010B\003\340A" + + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001:u\352Ar\n\'aiplatform.googleapis.com" + + "/IndexEndpoint\022Gprojects/{project}/locat" + + "ions/{location}/indexEndpoints/{index_en" + + "dpoint}\"\227\005\n\rDeployedIndex\022\017\n\002id\030\001 \001(\tB\003\340" + + "A\002\0226\n\005index\030\002 \001(\tB\'\340A\002\372A!\n\037aiplatform.go" + + "ogleapis.com/Index\022\024\n\014display_name\030\003 \001(\t" + + "\0224\n\013create_time\030\004 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022Q\n\021private_endpoints\030\005 \001(" + + "\01321.google.cloud.aiplatform.v1.IndexPriv" + + "ateEndpointsB\003\340A\003\0228\n\017index_sync_time\030\006 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022P\n\023a" + + "utomatic_resources\030\007 \001(\0132..google.cloud." + + "aiplatform.v1.AutomaticResourcesB\003\340A\001\022P\n" + + "\023dedicated_resources\030\020 \001(\0132..google.clou" + + "d.aiplatform.v1.DedicatedResourcesB\003\340A\001\022" + + "\"\n\025enable_access_logging\030\010 \001(\010B\003\340A\001\022\\\n\032d" + + "eployed_index_auth_config\030\t \001(\01323.google" + + ".cloud.aiplatform.v1.DeployedIndexAuthCo" + + "nfigB\003\340A\001\022\037\n\022reserved_ip_ranges\030\n \003(\tB\003\340" + + "A\001\022\035\n\020deployment_group\030\013 \001(\tB\003\340A\001\"\256\001\n\027De" + + "ployedIndexAuthConfig\022W\n\rauth_provider\030\001" + + " \001(\0132@.google.cloud.aiplatform.v1.Deploy" + + "edIndexAuthConfig.AuthProvider\032:\n\014AuthPr" + + "ovider\022\021\n\taudiences\030\001 \003(\t\022\027\n\017allowed_iss" + + "uers\030\002 \003(\t\"Y\n\025IndexPrivateEndpoints\022\037\n\022m" + + "atch_grpc_address\030\001 \001(\tB\003\340A\003\022\037\n\022service_" + + "attachment\030\002 \001(\tB\003\340A\003B\326\001\n\036com.google.clo" + + "ud.aiplatform.v1B\022IndexEndpointProtoP\001ZD" + + "google.golang.org/genproto/googleapis/cl" + + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.IndexProto.getDescriptor(), com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -200,10 +197,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.IndexProto.getDescriptor(); com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java index 6e2a9577b..cf17b72bf 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java @@ -45,42 +45,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/aiplatform/v1/index.proto" - + "\022\032google.cloud.aiplatform.v1\032\034google/api" - + "/annotations.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\0323" - + "google/cloud/aiplatform/v1/deployed_inde" - + "x_ref.proto\032\036google/protobuf/duration.pr" - + "oto\032\034google/protobuf/struct.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\252\004\n\005Index\022\021\n\004" - + "name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340" - + "A\002\022\023\n\013description\030\003 \001(\t\022 \n\023metadata_sche" - + "ma_uri\030\004 \001(\tB\003\340A\005\022(\n\010metadata\030\006 \001(\0132\026.go" - + "ogle.protobuf.Value\022K\n\020deployed_indexes\030" - + "\007 \003(\0132,.google.cloud.aiplatform.v1.Deplo" - + "yedIndexRefB\003\340A\003\022\014\n\004etag\030\010 \001(\t\022=\n\006labels" - + "\030\t \003(\0132-.google.cloud.aiplatform.v1.Inde" - + "x.LabelsEntry\0224\n\013create_time\030\n \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti" - + "me\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001:]\352AZ\n\037aiplatform.googleapis.com" - + "/Index\0227projects/{project}/locations/{lo" - + "cation}/indexes/{index}B\316\001\n\036com.google.c" - + "loud.aiplatform.v1B\nIndexProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" - + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" - + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "\022\032google.cloud.aiplatform.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\0323google/cloud/aiplatform/v1/dep" + + "loyed_index_ref.proto\032\034google/protobuf/s" + + "truct.proto\032\037google/protobuf/timestamp.p" + + "roto\"\252\004\n\005Index\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014dis" + + "play_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(" + + "\t\022 \n\023metadata_schema_uri\030\004 \001(\tB\003\340A\005\022(\n\010m" + + "etadata\030\006 \001(\0132\026.google.protobuf.Value\022K\n" + + "\020deployed_indexes\030\007 \003(\0132,.google.cloud.a" + + "iplatform.v1.DeployedIndexRefB\003\340A\003\022\014\n\004et" + + "ag\030\010 \001(\t\022=\n\006labels\030\t \003(\0132-.google.cloud." + + "aiplatform.v1.Index.LabelsEntry\0224\n\013creat" + + "e_time\030\n \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0224\n\013update_time\030\013 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:]\352AZ\n\037aiplatf" + + "orm.googleapis.com/Index\0227projects/{proj" + + "ect}/locations/{location}/indexes/{index" + + "}B\316\001\n\036com.google.cloud.aiplatform.v1B\nIn" + + "dexProtoP\001ZDgoogle.golang.org/genproto/g" + + "oogleapis/cloud/aiplatform/v1;aiplatform" + + "\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\C" + + "loud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPl" + + "atform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.DeployedIndexRefProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); @@ -115,11 +112,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.DeployedIndexRefProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java index d85d9860e..17c4d7698 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java @@ -73,34 +73,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n#google/cloud/aiplatform/v1/io.proto\022\032g" - + "oogle.cloud.aiplatform.v1\032\034google/api/an" - + "notations.proto\032\037google/api/field_behavi" - + "or.proto\"L\n\nAvroSource\022>\n\ngcs_source\030\001 \001" - + "(\0132%.google.cloud.aiplatform.v1.GcsSourc" - + "eB\003\340A\002\"K\n\tCsvSource\022>\n\ngcs_source\030\001 \001(\0132" - + "%.google.cloud.aiplatform.v1.GcsSourceB\003" - + "\340A\002\"\036\n\tGcsSource\022\021\n\004uris\030\001 \003(\tB\003\340A\002\"0\n\016G" - + "csDestination\022\036\n\021output_uri_prefix\030\001 \001(\t" - + "B\003\340A\002\"(\n\016BigQuerySource\022\026\n\tinput_uri\030\001 \001" - + "(\tB\003\340A\002\".\n\023BigQueryDestination\022\027\n\noutput" - + "_uri\030\001 \001(\tB\003\340A\002\"Z\n\016CsvDestination\022H\n\017gcs" - + "_destination\030\001 \001(\0132*.google.cloud.aiplat" - + "form.v1.GcsDestinationB\003\340A\002\"_\n\023TFRecordD" - + "estination\022H\n\017gcs_destination\030\001 \001(\0132*.go" - + "ogle.cloud.aiplatform.v1.GcsDestinationB" - + "\003\340A\002\"7\n\034ContainerRegistryDestination\022\027\n\n" - + "output_uri\030\001 \001(\tB\003\340A\002B\313\001\n\036com.google.clo" - + "ud.aiplatform.v1B\007IoProtoP\001ZDgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1;aiplatform\252\002\032Google.Cloud.AIPlatf" - + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go" - + "ogle::Cloud::AIPlatform::V1b\006proto3" + + "oogle.cloud.aiplatform.v1\032\037google/api/fi" + + "eld_behavior.proto\"L\n\nAvroSource\022>\n\ngcs_" + + "source\030\001 \001(\0132%.google.cloud.aiplatform.v" + + "1.GcsSourceB\003\340A\002\"K\n\tCsvSource\022>\n\ngcs_sou" + + "rce\030\001 \001(\0132%.google.cloud.aiplatform.v1.G" + + "csSourceB\003\340A\002\"\036\n\tGcsSource\022\021\n\004uris\030\001 \003(\t" + + "B\003\340A\002\"0\n\016GcsDestination\022\036\n\021output_uri_pr" + + "efix\030\001 \001(\tB\003\340A\002\"(\n\016BigQuerySource\022\026\n\tinp" + + "ut_uri\030\001 \001(\tB\003\340A\002\".\n\023BigQueryDestination" + + "\022\027\n\noutput_uri\030\001 \001(\tB\003\340A\002\"Z\n\016CsvDestinat" + + "ion\022H\n\017gcs_destination\030\001 \001(\0132*.google.cl" + + "oud.aiplatform.v1.GcsDestinationB\003\340A\002\"_\n" + + "\023TFRecordDestination\022H\n\017gcs_destination\030" + + "\001 \001(\0132*.google.cloud.aiplatform.v1.GcsDe" + + "stinationB\003\340A\002\"7\n\034ContainerRegistryDesti" + + "nation\022\027\n\noutput_uri\030\001 \001(\tB\003\340A\002B\313\001\n\036com." + + "google.cloud.aiplatform.v1B\007IoProtoP\001ZDg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" + + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" + + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_AvroSource_descriptor = @@ -180,7 +179,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java index 1804cd9dc..cc6bb84a1 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java @@ -36,28 +36,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n*google/cloud/aiplatform/v1/job_state.p" - + "roto\022\032google.cloud.aiplatform.v1\032\034google" - + "/api/annotations.proto*\370\001\n\010JobState\022\031\n\025J" - + "OB_STATE_UNSPECIFIED\020\000\022\024\n\020JOB_STATE_QUEU" - + "ED\020\001\022\025\n\021JOB_STATE_PENDING\020\002\022\025\n\021JOB_STATE" - + "_RUNNING\020\003\022\027\n\023JOB_STATE_SUCCEEDED\020\004\022\024\n\020J" - + "OB_STATE_FAILED\020\005\022\030\n\024JOB_STATE_CANCELLIN" - + "G\020\006\022\027\n\023JOB_STATE_CANCELLED\020\007\022\024\n\020JOB_STAT" - + "E_PAUSED\020\010\022\025\n\021JOB_STATE_EXPIRED\020\tB\321\001\n\036co" - + "m.google.cloud.aiplatform.v1B\rJobStatePr" - + "otoP\001ZDgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1;aiplatform\252\002\032Go" - + "ogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\" - + "AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfor" - + "m::V1b\006proto3" + + "roto\022\032google.cloud.aiplatform.v1*\370\001\n\010Job" + + "State\022\031\n\025JOB_STATE_UNSPECIFIED\020\000\022\024\n\020JOB_" + + "STATE_QUEUED\020\001\022\025\n\021JOB_STATE_PENDING\020\002\022\025\n" + + "\021JOB_STATE_RUNNING\020\003\022\027\n\023JOB_STATE_SUCCEE" + + "DED\020\004\022\024\n\020JOB_STATE_FAILED\020\005\022\030\n\024JOB_STATE" + + "_CANCELLING\020\006\022\027\n\023JOB_STATE_CANCELLED\020\007\022\024" + + "\n\020JOB_STATE_PAUSED\020\010\022\025\n\021JOB_STATE_EXPIRE" + + "D\020\tB\321\001\n\036com.google.cloud.aiplatform.v1B\r" + + "JobStateProtoP\001ZDgoogle.golang.org/genpr" + + "oto/googleapis/cloud/aiplatform/v1;aipla" + + "tform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goo" + + "gle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud:" + + ":AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - com.google.api.AnnotationsProto.getDescriptor(); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java index 8580049e9..c2d9c6a06 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java @@ -42,27 +42,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/lineage_sub" + "graph.proto\022\032google.cloud.aiplatform.v1\032" - + "\034google/api/annotations.proto\032)google/cl" - + "oud/aiplatform/v1/artifact.proto\032&google" - + "/cloud/aiplatform/v1/event.proto\032*google" - + "/cloud/aiplatform/v1/execution.proto\"\270\001\n" - + "\017LineageSubgraph\0227\n\tartifacts\030\001 \003(\0132$.go" - + "ogle.cloud.aiplatform.v1.Artifact\0229\n\nexe" - + "cutions\030\002 \003(\0132%.google.cloud.aiplatform." - + "v1.Execution\0221\n\006events\030\003 \003(\0132!.google.cl" - + "oud.aiplatform.v1.EventB\330\001\n\036com.google.c" - + "loud.aiplatform.v1B\024LineageSubgraphProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" - + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" - + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" - + "V1b\006proto3" + + ")google/cloud/aiplatform/v1/artifact.pro" + + "to\032&google/cloud/aiplatform/v1/event.pro" + + "to\032*google/cloud/aiplatform/v1/execution" + + ".proto\"\270\001\n\017LineageSubgraph\0227\n\tartifacts\030" + + "\001 \003(\0132$.google.cloud.aiplatform.v1.Artif" + + "act\0229\n\nexecutions\030\002 \003(\0132%.google.cloud.a" + + "iplatform.v1.Execution\0221\n\006events\030\003 \003(\0132!" + + ".google.cloud.aiplatform.v1.EventB\330\001\n\036co" + + "m.google.cloud.aiplatform.v1B\024LineageSub" + + "graphProtoP\001ZDgoogle.golang.org/genproto" + + "/googleapis/cloud/aiplatform/v1;aiplatfo" + + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" + + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" + + "Platform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.aiplatform.v1.ArtifactProto.getDescriptor(), com.google.cloud.aiplatform.v1.EventProto.getDescriptor(), com.google.cloud.aiplatform.v1.ExecutionProto.getDescriptor(), @@ -75,7 +73,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Artifacts", "Executions", "Events", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.aiplatform.v1.ArtifactProto.getDescriptor(); com.google.cloud.aiplatform.v1.EventProto.getDescriptor(); com.google.cloud.aiplatform.v1.ExecutionProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java index 1e230a93f..d661d3016 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java @@ -66,42 +66,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n2google/cloud/aiplatform/v1/machine_res" + "ources.proto\022\032google.cloud.aiplatform.v1" - + "\032\034google/api/annotations.proto\032\037google/a" - + "pi/field_behavior.proto\0321google/cloud/ai" - + "platform/v1/accelerator_type.proto\"\217\001\n\013M" - + "achineSpec\022\031\n\014machine_type\030\001 \001(\tB\003\340A\005\022J\n" - + "\020accelerator_type\030\002 \001(\0162+.google.cloud.a" - + "iplatform.v1.AcceleratorTypeB\003\340A\005\022\031\n\021acc" - + "elerator_count\030\003 \001(\005\"\370\001\n\022DedicatedResour" - + "ces\022E\n\014machine_spec\030\001 \001(\0132\'.google.cloud" - + ".aiplatform.v1.MachineSpecB\006\340A\002\340A\005\022!\n\021mi" - + "n_replica_count\030\002 \001(\005B\006\340A\002\340A\005\022\036\n\021max_rep" - + "lica_count\030\003 \001(\005B\003\340A\005\022X\n\030autoscaling_met" - + "ric_specs\030\004 \003(\01321.google.cloud.aiplatfor" - + "m.v1.AutoscalingMetricSpecB\003\340A\005\"T\n\022Autom" - + "aticResources\022\036\n\021min_replica_count\030\001 \001(\005" - + "B\003\340A\005\022\036\n\021max_replica_count\030\002 \001(\005B\003\340A\005\"\245\001" - + "\n\027BatchDedicatedResources\022E\n\014machine_spe" - + "c\030\001 \001(\0132\'.google.cloud.aiplatform.v1.Mac" - + "hineSpecB\006\340A\002\340A\005\022#\n\026starting_replica_cou" - + "nt\030\002 \001(\005B\003\340A\005\022\036\n\021max_replica_count\030\003 \001(\005" - + "B\003\340A\005\"/\n\021ResourcesConsumed\022\032\n\rreplica_ho" - + "urs\030\001 \001(\001B\003\340A\003\"=\n\010DiskSpec\022\026\n\016boot_disk_" - + "type\030\001 \001(\t\022\031\n\021boot_disk_size_gb\030\002 \001(\005\"A\n" - + "\025AutoscalingMetricSpec\022\030\n\013metric_name\030\001 " - + "\001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\331\001\n\036com.google." - + "cloud.aiplatform.v1B\025MachineResourcesPro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" - + "::V1b\006proto3" + + "\032\037google/api/field_behavior.proto\0321googl" + + "e/cloud/aiplatform/v1/accelerator_type.p" + + "roto\"\217\001\n\013MachineSpec\022\031\n\014machine_type\030\001 \001" + + "(\tB\003\340A\005\022J\n\020accelerator_type\030\002 \001(\0162+.goog" + + "le.cloud.aiplatform.v1.AcceleratorTypeB\003" + + "\340A\005\022\031\n\021accelerator_count\030\003 \001(\005\"\370\001\n\022Dedic" + + "atedResources\022E\n\014machine_spec\030\001 \001(\0132\'.go" + + "ogle.cloud.aiplatform.v1.MachineSpecB\006\340A" + + "\002\340A\005\022!\n\021min_replica_count\030\002 \001(\005B\006\340A\002\340A\005\022" + + "\036\n\021max_replica_count\030\003 \001(\005B\003\340A\005\022X\n\030autos" + + "caling_metric_specs\030\004 \003(\01321.google.cloud" + + ".aiplatform.v1.AutoscalingMetricSpecB\003\340A" + + "\005\"T\n\022AutomaticResources\022\036\n\021min_replica_c" + + "ount\030\001 \001(\005B\003\340A\005\022\036\n\021max_replica_count\030\002 \001" + + "(\005B\003\340A\005\"\245\001\n\027BatchDedicatedResources\022E\n\014m" + + "achine_spec\030\001 \001(\0132\'.google.cloud.aiplatf" + + "orm.v1.MachineSpecB\006\340A\002\340A\005\022#\n\026starting_r" + + "eplica_count\030\002 \001(\005B\003\340A\005\022\036\n\021max_replica_c" + + "ount\030\003 \001(\005B\003\340A\005\"/\n\021ResourcesConsumed\022\032\n\r" + + "replica_hours\030\001 \001(\001B\003\340A\003\"=\n\010DiskSpec\022\026\n\016" + + "boot_disk_type\030\001 \001(\t\022\031\n\021boot_disk_size_g" + + "b\030\002 \001(\005\"A\n\025AutoscalingMetricSpec\022\030\n\013metr" + + "ic_name\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\331\001\n\036c" + + "om.google.cloud.aiplatform.v1B\025MachineRe" + + "sourcesProtoP\001ZDgoogle.golang.org/genpro" + + "to/googleapis/cloud/aiplatform/v1;aiplat" + + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.aiplatform.v1.AcceleratorTypeProto.getDescriptor(), }); @@ -166,7 +164,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.aiplatform.v1.AcceleratorTypeProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java index 4a23024d8..7db591435 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java @@ -42,22 +42,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n?google/cloud/aiplatform/v1/manual_batc" + "h_tuning_parameters.proto\022\032google.cloud." - + "aiplatform.v1\032\034google/api/annotations.pr" - + "oto\032\037google/api/field_behavior.proto\"6\n\033" - + "ManualBatchTuningParameters\022\027\n\nbatch_siz" - + "e\030\001 \001(\005B\003\340A\005B\344\001\n\036com.google.cloud.aiplat" - + "form.v1B ManualBatchTuningParametersProt" - + "oP\001ZDgoogle.golang.org/genproto/googleap" - + "is/cloud/aiplatform/v1;aiplatform\252\002\032Goog" - + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI" - + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:" - + ":V1b\006proto3" + + "aiplatform.v1\032\037google/api/field_behavior" + + ".proto\"6\n\033ManualBatchTuningParameters\022\027\n" + + "\nbatch_size\030\001 \001(\005B\003\340A\005B\344\001\n\036com.google.cl" + + "oud.aiplatform.v1B ManualBatchTuningPara" + + "metersProtoP\001ZDgoogle.golang.org/genprot" + + "o/googleapis/cloud/aiplatform/v1;aiplatf" + + "orm\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( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_ManualBatchTuningParameters_descriptor = @@ -73,7 +71,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java index 8460000f7..fb87fa9d1 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java @@ -45,35 +45,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n/google/cloud/aiplatform/v1/metadata_st" - + "ore.proto\022\032google.cloud.aiplatform.v1\032\034g" - + "oogle/api/annotations.proto\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\0320google/cloud/aiplatform/v1/encr" - + "yption_spec.proto\032\037google/protobuf/times" - + "tamp.proto\"\347\003\n\rMetadataStore\022\021\n\004name\030\001 \001" - + "(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022C\n\017e" - + "ncryption_spec\030\005 \001(\0132*.google.cloud.aipl" - + "atform.v1.EncryptionSpec\022\023\n\013description\030" - + "\006 \001(\t\022P\n\005state\030\007 \001(\0132<.google.cloud.aipl" - + "atform.v1.MetadataStore.MetadataStoreSta" - + "teB\003\340A\003\0324\n\022MetadataStoreState\022\036\n\026disk_ut" - + "ilization_bytes\030\001 \001(\003:u\352Ar\n\'aiplatform.g" - + "oogleapis.com/MetadataStore\022Gprojects/{p" - + "roject}/locations/{location}/metadataSto" - + "res/{metadata_store}B\321\001\n\036com.google.clou" - + "d.aiplatform.v1B\rMetadataProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" - + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" - + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "ore.proto\022\032google.cloud.aiplatform.v1\032\037g" + + "oogle/api/field_behavior.proto\032\031google/a" + + "pi/resource.proto\0320google/cloud/aiplatfo" + + "rm/v1/encryption_spec.proto\032\037google/prot" + + "obuf/timestamp.proto\"\347\003\n\rMetadataStore\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\003 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022C\n\017encryption_spec\030\005 \001(\0132*.google." + + "cloud.aiplatform.v1.EncryptionSpec\022\023\n\013de" + + "scription\030\006 \001(\t\022P\n\005state\030\007 \001(\0132<.google." + + "cloud.aiplatform.v1.MetadataStore.Metada" + + "taStoreStateB\003\340A\003\0324\n\022MetadataStoreState\022" + + "\036\n\026disk_utilization_bytes\030\001 \001(\003:u\352Ar\n\'ai" + + "platform.googleapis.com/MetadataStore\022Gp" + + "rojects/{project}/locations/{location}/m" + + "etadataStores/{metadata_store}B\321\001\n\036com.g" + + "oogle.cloud.aiplatform.v1B\rMetadataProto" + + "P\001ZDgoogle.golang.org/genproto/googleapi" + + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" + + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" + + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), @@ -101,7 +100,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java index 02314f1af..74a80ac4d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java @@ -41,35 +41,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n0google/cloud/aiplatform/v1/metadata_sc" - + "hema.proto\022\032google.cloud.aiplatform.v1\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\037google/protobuf/timestamp.prot" - + "o\"\200\004\n\016MetadataSchema\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" - + "\026\n\016schema_version\030\002 \001(\t\022\023\n\006schema\030\003 \001(\tB" - + "\003\340A\002\022R\n\013schema_type\030\004 \001(\0162=.google.cloud" - + ".aiplatform.v1.MetadataSchema.MetadataSc" - + "hemaType\0224\n\013create_time\030\005 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022\023\n\013description\030\006 " - + "\001(\t\"s\n\022MetadataSchemaType\022$\n METADATA_SC" - + "HEMA_TYPE_UNSPECIFIED\020\000\022\021\n\rARTIFACT_TYPE" - + "\020\001\022\022\n\016EXECUTION_TYPE\020\002\022\020\n\014CONTEXT_TYPE\020\003" - + ":\231\001\352A\225\001\n(aiplatform.googleapis.com/Metad" - + "ataSchema\022iprojects/{project}/locations/" - + "{location}/metadataStores/{metadata_stor" - + "e}/metadataSchemas/{metadata_schema}B\327\001\n" - + "\036com.google.cloud.aiplatform.v1B\023Metadat" - + "aSchemaProtoP\001ZDgoogle.golang.org/genpro" - + "to/googleapis/cloud/aiplatform/v1;aiplat" - + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" - + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" - + "AIPlatform::V1b\006proto3" + + "hema.proto\022\032google.cloud.aiplatform.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032\037google/protobuf/time" + + "stamp.proto\"\200\004\n\016MetadataSchema\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\026\n\016schema_version\030\002 \001(\t\022\023\n\006sch" + + "ema\030\003 \001(\tB\003\340A\002\022R\n\013schema_type\030\004 \001(\0162=.go" + + "ogle.cloud.aiplatform.v1.MetadataSchema." + + "MetadataSchemaType\0224\n\013create_time\030\005 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022\023\n\013desc" + + "ription\030\006 \001(\t\"s\n\022MetadataSchemaType\022$\n M" + + "ETADATA_SCHEMA_TYPE_UNSPECIFIED\020\000\022\021\n\rART" + + "IFACT_TYPE\020\001\022\022\n\016EXECUTION_TYPE\020\002\022\020\n\014CONT" + + "EXT_TYPE\020\003:\231\001\352A\225\001\n(aiplatform.googleapis" + + ".com/MetadataSchema\022iprojects/{project}/" + + "locations/{location}/metadataStores/{met" + + "adata_store}/metadataSchemas/{metadata_s" + + "chema}B\327\001\n\036com.google.cloud.aiplatform.v" + + "1B\023MetadataSchemaProtoP\001ZDgoogle.golang." + + "org/genproto/googleapis/cloud/aiplatform" + + "/v1;aiplatform\252\002\032Google.Cloud.AIPlatform" + + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl" + + "e::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -88,7 +86,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java index 0a6ca3174..3e43b3256 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java @@ -62,64 +62,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n4google/cloud/aiplatform/v1/migratable_" + "resource.proto\022\032google.cloud.aiplatform." - + "v1\032\034google/api/annotations.proto\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032\037google/protobuf/timestamp." - + "proto\"\323\t\n\022MigratableResource\022k\n\027ml_engin" - + "e_model_version\030\001 \001(\0132C.google.cloud.aip" - + "latform.v1.MigratableResource.MlEngineMo" - + "delVersionB\003\340A\003H\000\022W\n\014automl_model\030\002 \001(\0132" - + ":.google.cloud.aiplatform.v1.MigratableR" - + "esource.AutomlModelB\003\340A\003H\000\022[\n\016automl_dat" - + "aset\030\003 \001(\0132<.google.cloud.aiplatform.v1." - + "MigratableResource.AutomlDatasetB\003\340A\003H\000\022" - + "h\n\025data_labeling_dataset\030\004 \001(\0132B.google." - + "cloud.aiplatform.v1.MigratableResource.D" - + "ataLabelingDatasetB\003\340A\003H\000\022:\n\021last_migrat" - + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0229\n\020last_update_time\030\006 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\032Y\n\024MlEngineMode" - + "lVersion\022\020\n\010endpoint\030\001 \001(\t\022/\n\007version\030\002 " - + "\001(\tB\036\372A\033\n\031ml.googleapis.com/Version\032Z\n\013A" - + "utomlModel\022/\n\005model\030\001 \001(\tB \372A\035\n\033automl.g" - + "oogleapis.com/Model\022\032\n\022model_display_nam" - + "e\030\003 \001(\t\032b\n\rAutomlDataset\0223\n\007dataset\030\001 \001(" - + "\tB\"\372A\037\n\035automl.googleapis.com/Dataset\022\034\n" - + "\024dataset_display_name\030\004 \001(\t\032\221\003\n\023DataLabe" - + "lingDataset\0229\n\007dataset\030\001 \001(\tB(\372A%\n#datal" - + "abeling.googleapis.com/Dataset\022\034\n\024datase" - + "t_display_name\030\004 \001(\t\022\211\001\n data_labeling_a" - + "nnotated_datasets\030\003 \003(\0132_.google.cloud.a" - + "iplatform.v1.MigratableResource.DataLabe" - + "lingDataset.DataLabelingAnnotatedDataset" - + "\032\224\001\n\034DataLabelingAnnotatedDataset\022L\n\021ann" - + "otated_dataset\030\001 \001(\tB1\372A.\n,datalabeling." - + "googleapis.com/AnnotatedDataset\022&\n\036annot" - + "ated_dataset_display_name\030\003 \001(\tB\n\n\010resou" - + "rceB\262\005\n\036com.google.cloud.aiplatform.v1B\027" - + "MigratableResourceProtoP\001ZDgoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1;aiplatform\252\002\032Google.Cloud.AIPlatfor" - + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog" - + "le::Cloud::AIPlatform::V1\352AQ\n\031ml.googlea" - + "pis.com/Version\0224projects/{project}/mode" - + "ls/{model}/versions/{version}\352AU\n\033automl" - + ".googleapis.com/Model\0226projects/{project" - + "}/locations/{location}/models/{model}\352A[" - + "\n\035automl.googleapis.com/Dataset\022:project" - + "s/{project}/locations/{location}/dataset" - + "s/{dataset}\352AL\n#datalabeling.googleapis." - + "com/Dataset\022%projects/{project}/datasets" - + "/{dataset}\352A{\n,datalabeling.googleapis.c" - + "om/AnnotatedDataset\022Kprojects/{project}/" - + "datasets/{dataset}/annotatedDatasets/{an" - + "notated_dataset}b\006proto3" + + "v1\032\037google/api/field_behavior.proto\032\031goo" + + "gle/api/resource.proto\032\037google/protobuf/" + + "timestamp.proto\"\323\t\n\022MigratableResource\022k" + + "\n\027ml_engine_model_version\030\001 \001(\0132C.google" + + ".cloud.aiplatform.v1.MigratableResource." + + "MlEngineModelVersionB\003\340A\003H\000\022W\n\014automl_mo" + + "del\030\002 \001(\0132:.google.cloud.aiplatform.v1.M" + + "igratableResource.AutomlModelB\003\340A\003H\000\022[\n\016" + + "automl_dataset\030\003 \001(\0132<.google.cloud.aipl" + + "atform.v1.MigratableResource.AutomlDatas" + + "etB\003\340A\003H\000\022h\n\025data_labeling_dataset\030\004 \001(\013" + + "2B.google.cloud.aiplatform.v1.Migratable" + + "Resource.DataLabelingDatasetB\003\340A\003H\000\022:\n\021l" + + "ast_migrate_time\030\005 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0229\n\020last_update_time\030\006 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\032Y\n\024Ml" + + "EngineModelVersion\022\020\n\010endpoint\030\001 \001(\t\022/\n\007" + + "version\030\002 \001(\tB\036\372A\033\n\031ml.googleapis.com/Ve" + + "rsion\032Z\n\013AutomlModel\022/\n\005model\030\001 \001(\tB \372A\035" + + "\n\033automl.googleapis.com/Model\022\032\n\022model_d" + + "isplay_name\030\003 \001(\t\032b\n\rAutomlDataset\0223\n\007da" + + "taset\030\001 \001(\tB\"\372A\037\n\035automl.googleapis.com/" + + "Dataset\022\034\n\024dataset_display_name\030\004 \001(\t\032\221\003" + + "\n\023DataLabelingDataset\0229\n\007dataset\030\001 \001(\tB(" + + "\372A%\n#datalabeling.googleapis.com/Dataset" + + "\022\034\n\024dataset_display_name\030\004 \001(\t\022\211\001\n data_" + + "labeling_annotated_datasets\030\003 \003(\0132_.goog" + + "le.cloud.aiplatform.v1.MigratableResourc" + + "e.DataLabelingDataset.DataLabelingAnnota" + + "tedDataset\032\224\001\n\034DataLabelingAnnotatedData" + + "set\022L\n\021annotated_dataset\030\001 \001(\tB1\372A.\n,dat" + + "alabeling.googleapis.com/AnnotatedDatase" + + "t\022&\n\036annotated_dataset_display_name\030\003 \001(" + + "\tB\n\n\010resourceB\262\005\n\036com.google.cloud.aipla" + + "tform.v1B\027MigratableResourceProtoP\001ZDgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" + + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" + + "\\V1\352\002\035Google::Cloud::AIPlatform::V1\352AQ\n\031" + + "ml.googleapis.com/Version\0224projects/{pro" + + "ject}/models/{model}/versions/{version}\352" + + "AU\n\033automl.googleapis.com/Model\0226project" + + "s/{project}/locations/{location}/models/" + + "{model}\352A[\n\035automl.googleapis.com/Datase" + + "t\022:projects/{project}/locations/{locatio" + + "n}/datasets/{dataset}\352AL\n#datalabeling.g" + + "oogleapis.com/Dataset\022%projects/{project" + + "}/datasets/{dataset}\352A{\n,datalabeling.go" + + "ogleapis.com/AnnotatedDataset\022Kprojects/" + + "{project}/datasets/{dataset}/annotatedDa" + + "tasets/{annotated_dataset}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -195,7 +193,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java index 5ea9299ff..7d06fd0b9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java @@ -92,103 +92,101 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ervice.proto\022\032google.cloud.aiplatform.v1" + "\032\034google/api/annotations.proto\032\027google/a" + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032(goo" - + "gle/cloud/aiplatform/v1/dataset.proto\0324g" - + "oogle/cloud/aiplatform/v1/migratable_res" - + "ource.proto\032&google/cloud/aiplatform/v1/" - + "model.proto\032*google/cloud/aiplatform/v1/" - + "operation.proto\032#google/longrunning/oper" - + "ations.proto\032\027google/rpc/status.proto\"\224\001" - + "\n SearchMigratableResourcesRequest\0229\n\006pa" - + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis" - + ".com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\212\001\n!SearchM" - + "igratableResourcesResponse\022L\n\024migratable" - + "_resources\030\001 \003(\0132..google.cloud.aiplatfo" - + "rm.v1.MigratableResource\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\265\001\n\034BatchMigrateResourcesReque" - + "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.go" - + "ogleapis.com/Location\022Z\n\031migrate_resourc" - + "e_requests\030\002 \003(\01322.google.cloud.aiplatfo" - + "rm.v1.MigrateResourceRequestB\003\340A\002\"\342\n\n\026Mi" - + "grateResourceRequest\022\206\001\n&migrate_ml_engi" - + "ne_model_version_config\030\001 \001(\0132T.google.c" - + "loud.aiplatform.v1.MigrateResourceReques" - + "t.MigrateMlEngineModelVersionConfigH\000\022r\n" - + "\033migrate_automl_model_config\030\002 \001(\0132K.goo" - + "gle.cloud.aiplatform.v1.MigrateResourceR" - + "equest.MigrateAutomlModelConfigH\000\022v\n\035mig" - + "rate_automl_dataset_config\030\003 \001(\0132M.googl" + + "or.proto\032\031google/api/resource.proto\0324goo" + + "gle/cloud/aiplatform/v1/migratable_resou" + + "rce.proto\032*google/cloud/aiplatform/v1/op" + + "eration.proto\032#google/longrunning/operat" + + "ions.proto\032\027google/rpc/status.proto\"\224\001\n " + + "SearchMigratableResourcesRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c" + + "om/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\212\001\n!SearchMig" + + "ratableResourcesResponse\022L\n\024migratable_r" + + "esources\030\001 \003(\0132..google.cloud.aiplatform" + + ".v1.MigratableResource\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"\265\001\n\034BatchMigrateResourcesRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022Z\n\031migrate_resource_" + + "requests\030\002 \003(\01322.google.cloud.aiplatform" + + ".v1.MigrateResourceRequestB\003\340A\002\"\342\n\n\026Migr" + + "ateResourceRequest\022\206\001\n&migrate_ml_engine" + + "_model_version_config\030\001 \001(\0132T.google.clo" + + "ud.aiplatform.v1.MigrateResourceRequest." + + "MigrateMlEngineModelVersionConfigH\000\022r\n\033m" + + "igrate_automl_model_config\030\002 \001(\0132K.googl" + "e.cloud.aiplatform.v1.MigrateResourceReq" - + "uest.MigrateAutomlDatasetConfigH\000\022\203\001\n$mi" - + "grate_data_labeling_dataset_config\030\004 \001(\013" - + "2S.google.cloud.aiplatform.v1.MigrateRes" - + "ourceRequest.MigrateDataLabelingDatasetC" - + "onfigH\000\032\225\001\n!MigrateMlEngineModelVersionC" - + "onfig\022\025\n\010endpoint\030\001 \001(\tB\003\340A\002\0228\n\rmodel_ve" - + "rsion\030\002 \001(\tB!\340A\002\372A\033\n\031ml.googleapis.com/V" - + "ersion\022\037\n\022model_display_name\030\003 \001(\tB\003\340A\002\032" - + "o\n\030MigrateAutomlModelConfig\0222\n\005model\030\001 \001" - + "(\tB#\340A\002\372A\035\n\033automl.googleapis.com/Model\022" - + "\037\n\022model_display_name\030\002 \001(\tB\003\340A\001\032w\n\032Migr" - + "ateAutomlDatasetConfig\0226\n\007dataset\030\001 \001(\tB" - + "%\340A\002\372A\037\n\035automl.googleapis.com/Dataset\022!" - + "\n\024dataset_display_name\030\002 \001(\tB\003\340A\002\032\277\003\n Mi" - + "grateDataLabelingDatasetConfig\022<\n\007datase" - + "t\030\001 \001(\tB+\340A\002\372A%\n#datalabeling.googleapis" - + ".com/Dataset\022!\n\024dataset_display_name\030\002 \001" - + "(\tB\003\340A\001\022\273\001\n/migrate_data_labeling_annota" - + "ted_dataset_configs\030\003 \003(\0132}.google.cloud" - + ".aiplatform.v1.MigrateResourceRequest.Mi" - + "grateDataLabelingDatasetConfig.MigrateDa" - + "taLabelingAnnotatedDatasetConfigB\003\340A\001\032|\n" - + ")MigrateDataLabelingAnnotatedDatasetConf" - + "ig\022O\n\021annotated_dataset\030\001 \001(\tB4\340A\002\372A.\n,d" - + "atalabeling.googleapis.com/AnnotatedData" - + "setB\t\n\007request\"x\n\035BatchMigrateResourcesR" - + "esponse\022W\n\032migrate_resource_responses\030\001 " - + "\003(\01323.google.cloud.aiplatform.v1.Migrate" - + "ResourceResponse\"\355\001\n\027MigrateResourceResp" - + "onse\0229\n\007dataset\030\001 \001(\tB&\372A#\n!aiplatform.g" - + "oogleapis.com/DatasetH\000\0225\n\005model\030\002 \001(\tB$" - + "\372A!\n\037aiplatform.googleapis.com/ModelH\000\022K" - + "\n\023migratable_resource\030\003 \001(\0132..google.clo" - + "ud.aiplatform.v1.MigratableResourceB\023\n\021m" - + "igrated_resource\"\333\003\n&BatchMigrateResourc" - + "esOperationMetadata\022N\n\020generic_metadata\030" - + "\001 \001(\01324.google.cloud.aiplatform.v1.Gener" - + "icOperationMetadata\022i\n\017partial_results\030\002" - + " \003(\0132P.google.cloud.aiplatform.v1.BatchM" - + "igrateResourcesOperationMetadata.Partial" - + "Result\032\365\001\n\rPartialResult\022#\n\005error\030\002 \001(\0132" - + "\022.google.rpc.StatusH\000\0225\n\005model\030\003 \001(\tB$\372A" - + "!\n\037aiplatform.googleapis.com/ModelH\000\0229\n\007" - + "dataset\030\004 \001(\tB&\372A#\n!aiplatform.googleapi" - + "s.com/DatasetH\000\022C\n\007request\030\001 \001(\01322.googl" - + "e.cloud.aiplatform.v1.MigrateResourceReq" - + "uestB\010\n\006result2\202\005\n\020MigrationService\022\354\001\n\031" - + "SearchMigratableResources\022<.google.cloud" - + ".aiplatform.v1.SearchMigratableResources" - + "Request\032=.google.cloud.aiplatform.v1.Sea" - + "rchMigratableResourcesResponse\"R\202\323\344\223\002C\">" - + "/v1/{parent=projects/*/locations/*}/migr" - + "atableResources:search:\001*\332A\006parent\022\257\002\n\025B" - + "atchMigrateResources\0228.google.cloud.aipl" - + "atform.v1.BatchMigrateResourcesRequest\032\035" - + ".google.longrunning.Operation\"\274\001\202\323\344\223\002I\"D" - + "/v1/{parent=projects/*/locations/*}/migr" - + "atableResources:batchMigrate:\001*\332A parent" - + ",migrate_resource_requests\312AG\n\035BatchMigr" - + "ateResourcesResponse\022&BatchMigrateResour" - + "cesOperationMetadata\032M\312A\031aiplatform.goog" - + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\331\001\n\036com.google.cloud" - + ".aiplatform.v1B\025MigrationServiceProtoP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1;aiplatform\252\002\032Google.C" - + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" - + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b" - + "\006proto3" + + "uest.MigrateAutomlModelConfigH\000\022v\n\035migra" + + "te_automl_dataset_config\030\003 \001(\0132M.google." + + "cloud.aiplatform.v1.MigrateResourceReque" + + "st.MigrateAutomlDatasetConfigH\000\022\203\001\n$migr" + + "ate_data_labeling_dataset_config\030\004 \001(\0132S" + + ".google.cloud.aiplatform.v1.MigrateResou" + + "rceRequest.MigrateDataLabelingDatasetCon" + + "figH\000\032\225\001\n!MigrateMlEngineModelVersionCon" + + "fig\022\025\n\010endpoint\030\001 \001(\tB\003\340A\002\0228\n\rmodel_vers" + + "ion\030\002 \001(\tB!\340A\002\372A\033\n\031ml.googleapis.com/Ver" + + "sion\022\037\n\022model_display_name\030\003 \001(\tB\003\340A\002\032o\n" + + "\030MigrateAutomlModelConfig\0222\n\005model\030\001 \001(\t" + + "B#\340A\002\372A\035\n\033automl.googleapis.com/Model\022\037\n" + + "\022model_display_name\030\002 \001(\tB\003\340A\001\032w\n\032Migrat" + + "eAutomlDatasetConfig\0226\n\007dataset\030\001 \001(\tB%\340" + + "A\002\372A\037\n\035automl.googleapis.com/Dataset\022!\n\024" + + "dataset_display_name\030\002 \001(\tB\003\340A\002\032\277\003\n Migr" + + "ateDataLabelingDatasetConfig\022<\n\007dataset\030" + + "\001 \001(\tB+\340A\002\372A%\n#datalabeling.googleapis.c" + + "om/Dataset\022!\n\024dataset_display_name\030\002 \001(\t" + + "B\003\340A\001\022\273\001\n/migrate_data_labeling_annotate" + + "d_dataset_configs\030\003 \003(\0132}.google.cloud.a" + + "iplatform.v1.MigrateResourceRequest.Migr" + + "ateDataLabelingDatasetConfig.MigrateData" + + "LabelingAnnotatedDatasetConfigB\003\340A\001\032|\n)M" + + "igrateDataLabelingAnnotatedDatasetConfig" + + "\022O\n\021annotated_dataset\030\001 \001(\tB4\340A\002\372A.\n,dat" + + "alabeling.googleapis.com/AnnotatedDatase" + + "tB\t\n\007request\"x\n\035BatchMigrateResourcesRes" + + "ponse\022W\n\032migrate_resource_responses\030\001 \003(" + + "\01323.google.cloud.aiplatform.v1.MigrateRe" + + "sourceResponse\"\355\001\n\027MigrateResourceRespon" + + "se\0229\n\007dataset\030\001 \001(\tB&\372A#\n!aiplatform.goo" + + "gleapis.com/DatasetH\000\0225\n\005model\030\002 \001(\tB$\372A" + + "!\n\037aiplatform.googleapis.com/ModelH\000\022K\n\023" + + "migratable_resource\030\003 \001(\0132..google.cloud" + + ".aiplatform.v1.MigratableResourceB\023\n\021mig" + + "rated_resource\"\333\003\n&BatchMigrateResources" + + "OperationMetadata\022N\n\020generic_metadata\030\001 " + + "\001(\01324.google.cloud.aiplatform.v1.Generic" + + "OperationMetadata\022i\n\017partial_results\030\002 \003" + + "(\0132P.google.cloud.aiplatform.v1.BatchMig" + + "rateResourcesOperationMetadata.PartialRe" + + "sult\032\365\001\n\rPartialResult\022#\n\005error\030\002 \001(\0132\022." + + "google.rpc.StatusH\000\0225\n\005model\030\003 \001(\tB$\372A!\n" + + "\037aiplatform.googleapis.com/ModelH\000\0229\n\007da" + + "taset\030\004 \001(\tB&\372A#\n!aiplatform.googleapis." + + "com/DatasetH\000\022C\n\007request\030\001 \001(\01322.google." + + "cloud.aiplatform.v1.MigrateResourceReque" + + "stB\010\n\006result2\202\005\n\020MigrationService\022\354\001\n\031Se" + + "archMigratableResources\022<.google.cloud.a" + + "iplatform.v1.SearchMigratableResourcesRe" + + "quest\032=.google.cloud.aiplatform.v1.Searc" + + "hMigratableResourcesResponse\"R\202\323\344\223\002C\">/v" + + "1/{parent=projects/*/locations/*}/migrat" + + "ableResources:search:\001*\332A\006parent\022\257\002\n\025Bat" + + "chMigrateResources\0228.google.cloud.aiplat" + + "form.v1.BatchMigrateResourcesRequest\032\035.g" + + "oogle.longrunning.Operation\"\274\001\202\323\344\223\002I\"D/v" + + "1/{parent=projects/*/locations/*}/migrat" + + "ableResources:batchMigrate:\001*\332A parent,m" + + "igrate_resource_requests\312AG\n\035BatchMigrat" + + "eResourcesResponse\022&BatchMigrateResource" + + "sOperationMetadata\032M\312A\031aiplatform.google" + + "apis.com\322A.https://www.googleapis.com/au" + + "th/cloud-platformB\331\001\n\036com.google.cloud.a" + + "iplatform.v1B\025MigrationServiceProtoP\001ZDg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" + + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" + + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -198,9 +196,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(), com.google.cloud.aiplatform.v1.MigratableResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(), com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), @@ -340,9 +336,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(); com.google.cloud.aiplatform.v1.MigratableResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(); com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java index bc1b22ddd..3508b81fb 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java @@ -66,112 +66,110 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n@google/cloud/aiplatform/v1/model_deplo" + "yment_monitoring_job.proto\022\032google.cloud" - + ".aiplatform.v1\032\034google/api/annotations.p" - + "roto\032\037google/api/field_behavior.proto\032\031g" - + "oogle/api/resource.proto\0320google/cloud/a" - + "iplatform/v1/encryption_spec.proto\0329goog" - + "le/cloud/aiplatform/v1/feature_monitorin" - + "g_stats.proto\032#google/cloud/aiplatform/v" - + "1/io.proto\032*google/cloud/aiplatform/v1/j" - + "ob_state.proto\0321google/cloud/aiplatform/" - + "v1/model_monitoring.proto\032\036google/protob" - + "uf/duration.proto\032\034google/protobuf/struc" - + "t.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\"\251\016\n\034ModelDeplo" - + "ymentMonitoringJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" - + "\014display_name\030\002 \001(\tB\003\340A\002\022<\n\010endpoint\030\003 \001" - + "(\tB*\340A\002\372A$\n\"aiplatform.googleapis.com/En" - + "dpoint\0228\n\005state\030\004 \001(\0162$.google.cloud.aip" - + "latform.v1.JobStateB\003\340A\003\022m\n\016schedule_sta" - + "te\030\005 \001(\0162P.google.cloud.aiplatform.v1.Mo" - + "delDeploymentMonitoringJob.MonitoringSch" - + "eduleStateB\003\340A\003\022\200\001\n-model_deployment_mon" - + "itoring_objective_configs\030\006 \003(\0132D.google" - + ".cloud.aiplatform.v1.ModelDeploymentMoni" - + "toringObjectiveConfigB\003\340A\002\022}\n+model_depl" - + "oyment_monitoring_schedule_config\030\007 \001(\0132" - + "C.google.cloud.aiplatform.v1.ModelDeploy" - + "mentMonitoringScheduleConfigB\003\340A\002\022T\n\031log" - + "ging_sampling_strategy\030\010 \001(\0132,.google.cl" - + "oud.aiplatform.v1.SamplingStrategyB\003\340A\002\022" - + "]\n\035model_monitoring_alert_config\030\017 \001(\01326" - + ".google.cloud.aiplatform.v1.ModelMonitor" - + "ingAlertConfig\022#\n\033predict_instance_schem" - + "a_uri\030\t \001(\t\0227\n\027sample_predict_instance\030\023" - + " \001(\0132\026.google.protobuf.Value\022$\n\034analysis" - + "_instance_schema_uri\030\020 \001(\t\022`\n\017bigquery_t" - + "ables\030\n \003(\0132B.google.cloud.aiplatform.v1" - + ".ModelDeploymentMonitoringBigQueryTableB" - + "\003\340A\003\022*\n\007log_ttl\030\021 \001(\0132\031.google.protobuf." - + "Duration\022T\n\006labels\030\013 \003(\0132D.google.cloud." - + "aiplatform.v1.ModelDeploymentMonitoringJ" - + "ob.LabelsEntry\0224\n\013create_time\030\014 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" - + "ime\030\r \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\022;\n\022next_schedule_time\030\016 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022R\n\036stats_anomali" - + "es_base_directory\030\024 \001(\0132*.google.cloud.a" - + "iplatform.v1.GcsDestination\022C\n\017encryptio" - + "n_spec\030\025 \001(\0132*.google.cloud.aiplatform.v" - + "1.EncryptionSpec\022\'\n\037enable_monitoring_pi" - + "peline_logs\030\026 \001(\010\022&\n\005error\030\027 \001(\0132\022.googl" - + "e.rpc.StatusB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"k\n\027MonitoringSc" - + "heduleState\022)\n%MONITORING_SCHEDULE_STATE" - + "_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007OFFLINE\020\002" - + "\022\013\n\007RUNNING\020\003:\245\001\352A\241\001\n6aiplatform.googlea" - + "pis.com/ModelDeploymentMonitoringJob\022gpr" - + "ojects/{project}/locations/{location}/mo" - + "delDeploymentMonitoringJobs/{model_deplo" - + "yment_monitoring_job}\"\210\003\n&ModelDeploymen" - + "tMonitoringBigQueryTable\022`\n\nlog_source\030\001" - + " \001(\0162L.google.cloud.aiplatform.v1.ModelD" - + "eploymentMonitoringBigQueryTable.LogSour" - + "ce\022\\\n\010log_type\030\002 \001(\0162J.google.cloud.aipl" - + "atform.v1.ModelDeploymentMonitoringBigQu" - + "eryTable.LogType\022\033\n\023bigquery_table_path\030" - + "\003 \001(\t\"B\n\tLogSource\022\032\n\026LOG_SOURCE_UNSPECI" - + "FIED\020\000\022\014\n\010TRAINING\020\001\022\013\n\007SERVING\020\002\"=\n\007Log" - + "Type\022\030\n\024LOG_TYPE_UNSPECIFIED\020\000\022\013\n\007PREDIC" - + "T\020\001\022\013\n\007EXPLAIN\020\002\"\233\001\n(ModelDeploymentMoni" - + "toringObjectiveConfig\022\031\n\021deployed_model_" - + "id\030\001 \001(\t\022T\n\020objective_config\030\002 \001(\0132:.goo" - + "gle.cloud.aiplatform.v1.ModelMonitoringO" - + "bjectiveConfig\"c\n\'ModelDeploymentMonitor" - + "ingScheduleConfig\0228\n\020monitor_interval\030\001 " - + "\001(\0132\031.google.protobuf.DurationB\003\340A\002\"\254\004\n\035" - + "ModelMonitoringStatsAnomalies\022U\n\tobjecti" - + "ve\030\001 \001(\0162B.google.cloud.aiplatform.v1.Mo" - + "delDeploymentMonitoringObjectiveType\022\031\n\021" - + "deployed_model_id\030\002 \001(\t\022\025\n\ranomaly_count" - + "\030\003 \001(\005\022n\n\rfeature_stats\030\004 \003(\0132W.google.c" - + "loud.aiplatform.v1.ModelMonitoringStatsA" - + "nomalies.FeatureHistoricStatsAnomalies\032\221" - + "\002\n\035FeatureHistoricStatsAnomalies\022\034\n\024feat" - + "ure_display_name\030\001 \001(\t\022>\n\tthreshold\030\003 \001(" - + "\0132+.google.cloud.aiplatform.v1.Threshold" - + "Config\022G\n\016training_stats\030\004 \001(\0132/.google." - + "cloud.aiplatform.v1.FeatureStatsAnomaly\022" - + "I\n\020prediction_stats\030\005 \003(\0132/.google.cloud" - + ".aiplatform.v1.FeatureStatsAnomaly*\316\001\n&M" - + "odelDeploymentMonitoringObjectiveType\022:\n" - + "6MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_T" - + "YPE_UNSPECIFIED\020\000\022\024\n\020RAW_FEATURE_SKEW\020\001\022" - + "\025\n\021RAW_FEATURE_DRIFT\020\002\022\034\n\030FEATURE_ATTRIB" - + "UTION_SKEW\020\003\022\035\n\031FEATURE_ATTRIBUTION_DRIF" - + "T\020\004B\345\001\n\036com.google.cloud.aiplatform.v1B!" - + "ModelDeploymentMonitoringJobProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + ".aiplatform.v1\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\0320goog" + + "le/cloud/aiplatform/v1/encryption_spec.p" + + "roto\0329google/cloud/aiplatform/v1/feature" + + "_monitoring_stats.proto\032#google/cloud/ai" + + "platform/v1/io.proto\032*google/cloud/aipla" + + "tform/v1/job_state.proto\0321google/cloud/a" + + "iplatform/v1/model_monitoring.proto\032\036goo" + + "gle/protobuf/duration.proto\032\034google/prot" + + "obuf/struct.proto\032\037google/protobuf/times" + + "tamp.proto\032\027google/rpc/status.proto\"\251\016\n\034" + + "ModelDeploymentMonitoringJob\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022<\n\010en" + + "dpoint\030\003 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea" + + "pis.com/Endpoint\0228\n\005state\030\004 \001(\0162$.google" + + ".cloud.aiplatform.v1.JobStateB\003\340A\003\022m\n\016sc" + + "hedule_state\030\005 \001(\0162P.google.cloud.aiplat" + + "form.v1.ModelDeploymentMonitoringJob.Mon" + + "itoringScheduleStateB\003\340A\003\022\200\001\n-model_depl" + + "oyment_monitoring_objective_configs\030\006 \003(" + + "\0132D.google.cloud.aiplatform.v1.ModelDepl" + + "oymentMonitoringObjectiveConfigB\003\340A\002\022}\n+" + + "model_deployment_monitoring_schedule_con" + + "fig\030\007 \001(\0132C.google.cloud.aiplatform.v1.M" + + "odelDeploymentMonitoringScheduleConfigB\003" + + "\340A\002\022T\n\031logging_sampling_strategy\030\010 \001(\0132," + + ".google.cloud.aiplatform.v1.SamplingStra" + + "tegyB\003\340A\002\022]\n\035model_monitoring_alert_conf" + + "ig\030\017 \001(\01326.google.cloud.aiplatform.v1.Mo" + + "delMonitoringAlertConfig\022#\n\033predict_inst" + + "ance_schema_uri\030\t \001(\t\0227\n\027sample_predict_" + + "instance\030\023 \001(\0132\026.google.protobuf.Value\022$" + + "\n\034analysis_instance_schema_uri\030\020 \001(\t\022`\n\017" + + "bigquery_tables\030\n \003(\0132B.google.cloud.aip" + + "latform.v1.ModelDeploymentMonitoringBigQ" + + "ueryTableB\003\340A\003\022*\n\007log_ttl\030\021 \001(\0132\031.google" + + ".protobuf.Duration\022T\n\006labels\030\013 \003(\0132D.goo" + + "gle.cloud.aiplatform.v1.ModelDeploymentM" + + "onitoringJob.LabelsEntry\0224\n\013create_time\030" + + "\014 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224" + + "\n\013update_time\030\r \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\022;\n\022next_schedule_time\030\016 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022R\n\036sta" + + "ts_anomalies_base_directory\030\024 \001(\0132*.goog" + + "le.cloud.aiplatform.v1.GcsDestination\022C\n" + + "\017encryption_spec\030\025 \001(\0132*.google.cloud.ai" + + "platform.v1.EncryptionSpec\022\'\n\037enable_mon" + + "itoring_pipeline_logs\030\026 \001(\010\022&\n\005error\030\027 \001" + + "(\0132\022.google.rpc.StatusB\003\340A\003\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"k\n\027Mo" + + "nitoringScheduleState\022)\n%MONITORING_SCHE" + + "DULE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n" + + "\007OFFLINE\020\002\022\013\n\007RUNNING\020\003:\245\001\352A\241\001\n6aiplatfo" + + "rm.googleapis.com/ModelDeploymentMonitor" + + "ingJob\022gprojects/{project}/locations/{lo" + + "cation}/modelDeploymentMonitoringJobs/{m" + + "odel_deployment_monitoring_job}\"\210\003\n&Mode" + + "lDeploymentMonitoringBigQueryTable\022`\n\nlo" + + "g_source\030\001 \001(\0162L.google.cloud.aiplatform" + + ".v1.ModelDeploymentMonitoringBigQueryTab" + + "le.LogSource\022\\\n\010log_type\030\002 \001(\0162J.google." + + "cloud.aiplatform.v1.ModelDeploymentMonit" + + "oringBigQueryTable.LogType\022\033\n\023bigquery_t" + + "able_path\030\003 \001(\t\"B\n\tLogSource\022\032\n\026LOG_SOUR" + + "CE_UNSPECIFIED\020\000\022\014\n\010TRAINING\020\001\022\013\n\007SERVIN" + + "G\020\002\"=\n\007LogType\022\030\n\024LOG_TYPE_UNSPECIFIED\020\000" + + "\022\013\n\007PREDICT\020\001\022\013\n\007EXPLAIN\020\002\"\233\001\n(ModelDepl" + + "oymentMonitoringObjectiveConfig\022\031\n\021deplo" + + "yed_model_id\030\001 \001(\t\022T\n\020objective_config\030\002" + + " \001(\0132:.google.cloud.aiplatform.v1.ModelM" + + "onitoringObjectiveConfig\"c\n\'ModelDeploym" + + "entMonitoringScheduleConfig\0228\n\020monitor_i" + + "nterval\030\001 \001(\0132\031.google.protobuf.Duration" + + "B\003\340A\002\"\254\004\n\035ModelMonitoringStatsAnomalies\022" + + "U\n\tobjective\030\001 \001(\0162B.google.cloud.aiplat" + + "form.v1.ModelDeploymentMonitoringObjecti" + + "veType\022\031\n\021deployed_model_id\030\002 \001(\t\022\025\n\rano" + + "maly_count\030\003 \001(\005\022n\n\rfeature_stats\030\004 \003(\0132" + + "W.google.cloud.aiplatform.v1.ModelMonito" + + "ringStatsAnomalies.FeatureHistoricStatsA" + + "nomalies\032\221\002\n\035FeatureHistoricStatsAnomali" + + "es\022\034\n\024feature_display_name\030\001 \001(\t\022>\n\tthre" + + "shold\030\003 \001(\0132+.google.cloud.aiplatform.v1" + + ".ThresholdConfig\022G\n\016training_stats\030\004 \001(\013" + + "2/.google.cloud.aiplatform.v1.FeatureSta" + + "tsAnomaly\022I\n\020prediction_stats\030\005 \003(\0132/.go" + + "ogle.cloud.aiplatform.v1.FeatureStatsAno" + + "maly*\316\001\n&ModelDeploymentMonitoringObject" + + "iveType\022:\n6MODEL_DEPLOYMENT_MONITORING_O" + + "BJECTIVE_TYPE_UNSPECIFIED\020\000\022\024\n\020RAW_FEATU" + + "RE_SKEW\020\001\022\025\n\021RAW_FEATURE_DRIFT\020\002\022\034\n\030FEAT" + + "URE_ATTRIBUTION_SKEW\020\003\022\035\n\031FEATURE_ATTRIB" + + "UTION_DRIFT\020\004B\345\001\n\036com.google.cloud.aipla" + + "tform.v1B!ModelDeploymentMonitoringJobPr" + + "otoP\001ZDgoogle.golang.org/genproto/google" + + "apis/cloud/aiplatform/v1;aiplatform\252\002\032Go" + + "ogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\" + + "AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfor" + + "m::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), @@ -272,7 +270,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluation.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluation.java index ffd0d34a6..e42d0c6e2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluation.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluation.java @@ -42,6 +42,9 @@ private ModelEvaluation() { name_ = ""; metricsSchemaUri_ = ""; sliceDimensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + dataItemSchemaUri_ = ""; + annotationSchemaUri_ = ""; + explanationSpecs_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -127,6 +130,20 @@ private ModelEvaluation( sliceDimensions_.add(s); break; } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + dataItemSchemaUri_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + + annotationSchemaUri_ = s; + break; + } case 66: { com.google.cloud.aiplatform.v1.ModelExplanation.Builder subBuilder = null; @@ -143,6 +160,22 @@ private ModelEvaluation( break; } + case 74: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + explanationSpecs_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1.ModelEvaluation + .ModelEvaluationExplanationSpec>(); + mutable_bitField0_ |= 0x00000002; + } + explanationSpecs_.add( + input.readMessage( + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .parser(), + extensionRegistry)); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -160,6 +193,9 @@ private ModelEvaluation( if (((mutable_bitField0_ & 0x00000001) != 0)) { sliceDimensions_ = sliceDimensions_.getUnmodifiableView(); } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + explanationSpecs_ = java.util.Collections.unmodifiableList(explanationSpecs_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -180,339 +216,1564 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.aiplatform.v1.ModelEvaluation.Builder.class); } - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
-   * Output only. The resource name of the ModelEvaluation.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - 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(); - name_ = s; - return s; - } + public interface ModelEvaluationExplanationSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Explanation type.
+     * For AutoML Image Classification models, possible values are:
+     *   * `image-integrated-gradients`
+     *   * `image-xrai`
+     * 
+ * + * string explanation_type = 1; + * + * @return The explanationType. + */ + java.lang.String getExplanationType(); + /** + * + * + *
+     * Explanation type.
+     * For AutoML Image Classification models, possible values are:
+     *   * `image-integrated-gradients`
+     *   * `image-xrai`
+     * 
+ * + * string explanation_type = 1; + * + * @return The bytes for explanationType. + */ + com.google.protobuf.ByteString getExplanationTypeBytes(); + + /** + * + * + *
+     * Explanation spec details.
+     * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + * + * @return Whether the explanationSpec field is set. + */ + boolean hasExplanationSpec(); + /** + * + * + *
+     * Explanation spec details.
+     * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + * + * @return The explanationSpec. + */ + com.google.cloud.aiplatform.v1.ExplanationSpec getExplanationSpec(); + /** + * + * + *
+     * Explanation spec details.
+     * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder getExplanationSpecOrBuilder(); } /** - * - * - *
-   * Output only. The resource name of the ModelEvaluation.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. + * Protobuf type {@code google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec} */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public static final class ModelEvaluationExplanationSpec + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) + ModelEvaluationExplanationSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use ModelEvaluationExplanationSpec.newBuilder() to construct. + private ModelEvaluationExplanationSpec( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - } - public static final int METRICS_SCHEMA_URI_FIELD_NUMBER = 2; - private volatile java.lang.Object metricsSchemaUri_; - /** - * - * - *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-   * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-   * defined as an OpenAPI 3.0.2 [Schema
-   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
-   * 
- * - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The metricsSchemaUri. - */ - @java.lang.Override - public java.lang.String getMetricsSchemaUri() { - java.lang.Object ref = metricsSchemaUri_; - 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(); - metricsSchemaUri_ = s; - return s; + private ModelEvaluationExplanationSpec() { + explanationType_ = ""; } - } - /** - * - * - *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-   * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-   * defined as an OpenAPI 3.0.2 [Schema
-   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
-   * 
- * - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for metricsSchemaUri. - */ - @java.lang.Override - public com.google.protobuf.ByteString getMetricsSchemaUriBytes() { - java.lang.Object ref = metricsSchemaUri_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - metricsSchemaUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ModelEvaluationExplanationSpec(); } - } - public static final int METRICS_FIELD_NUMBER = 3; - private com.google.protobuf.Value metrics_; - /** - * - * - *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-   * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
-   * 
- * - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return Whether the metrics field is set. - */ - @java.lang.Override - public boolean hasMetrics() { - return metrics_ != null; - } - /** - * - * - *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-   * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
-   * 
- * - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The metrics. - */ - @java.lang.Override - public com.google.protobuf.Value getMetrics() { - return metrics_ == null ? com.google.protobuf.Value.getDefaultInstance() : metrics_; - } - /** - * - * - *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-   * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
-   * 
- * - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - @java.lang.Override - public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { - return getMetrics(); - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - public static final int CREATE_TIME_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
-   * Output only. Timestamp when this ModelEvaluation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
-   * Output only. Timestamp when this ModelEvaluation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
-   * Output only. Timestamp when this ModelEvaluation was created.
-   * 
- * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } + private ModelEvaluationExplanationSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - public static final int SLICE_DIMENSIONS_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList sliceDimensions_; - /** - * - * - *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-   * ModelEvaluationSlices. The dimensions can be used as the filter of the
+                explanationType_ = s;
+                break;
+              }
+            case 18:
+              {
+                com.google.cloud.aiplatform.v1.ExplanationSpec.Builder subBuilder = null;
+                if (explanationSpec_ != null) {
+                  subBuilder = explanationSpec_.toBuilder();
+                }
+                explanationSpec_ =
+                    input.readMessage(
+                        com.google.cloud.aiplatform.v1.ExplanationSpec.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(explanationSpec_);
+                  explanationSpec_ = subBuilder.buildPartial();
+                }
+
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
+              }
+          }
+        }
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(this);
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      } finally {
+        this.unknownFields = unknownFields.build();
+        makeExtensionsImmutable();
+      }
+    }
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.aiplatform.v1.ModelEvaluationProto
+          .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_descriptor;
+    }
+
+    @java.lang.Override
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return com.google.cloud.aiplatform.v1.ModelEvaluationProto
+          .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.class,
+              com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder
+                  .class);
+    }
+
+    public static final int EXPLANATION_TYPE_FIELD_NUMBER = 1;
+    private volatile java.lang.Object explanationType_;
+    /**
+     *
+     *
+     * 
+     * Explanation type.
+     * For AutoML Image Classification models, possible values are:
+     *   * `image-integrated-gradients`
+     *   * `image-xrai`
+     * 
+ * + * string explanation_type = 1; + * + * @return The explanationType. + */ + @java.lang.Override + public java.lang.String getExplanationType() { + java.lang.Object ref = explanationType_; + 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(); + explanationType_ = s; + return s; + } + } + /** + * + * + *
+     * Explanation type.
+     * For AutoML Image Classification models, possible values are:
+     *   * `image-integrated-gradients`
+     *   * `image-xrai`
+     * 
+ * + * string explanation_type = 1; + * + * @return The bytes for explanationType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getExplanationTypeBytes() { + java.lang.Object ref = explanationType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + explanationType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPLANATION_SPEC_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1.ExplanationSpec explanationSpec_; + /** + * + * + *
+     * Explanation spec details.
+     * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + * + * @return Whether the explanationSpec field is set. + */ + @java.lang.Override + public boolean hasExplanationSpec() { + return explanationSpec_ != null; + } + /** + * + * + *
+     * Explanation spec details.
+     * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + * + * @return The explanationSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ExplanationSpec getExplanationSpec() { + return explanationSpec_ == null + ? com.google.cloud.aiplatform.v1.ExplanationSpec.getDefaultInstance() + : explanationSpec_; + } + /** + * + * + *
+     * Explanation spec details.
+     * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder getExplanationSpecOrBuilder() { + return getExplanationSpec(); + } + + 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(explanationType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, explanationType_); + } + if (explanationSpec_ != null) { + output.writeMessage(2, getExplanationSpec()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(explanationType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, explanationType_); + } + if (explanationSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExplanationSpec()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec other = + (com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) obj; + + if (!getExplanationType().equals(other.getExplanationType())) return false; + if (hasExplanationSpec() != other.hasExplanationSpec()) return false; + if (hasExplanationSpec()) { + if (!getExplanationSpec().equals(other.getExplanationSpec())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + EXPLANATION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getExplanationType().hashCode(); + if (hasExplanationSpec()) { + hash = (37 * hash) + EXPLANATION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getExplanationSpec().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec + 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.ModelEvaluation.ModelEvaluationExplanationSpec 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; + } + /** + * Protobuf type {@code + * google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelEvaluationProto + .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelEvaluationProto + .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.class, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + explanationType_ = ""; + + if (explanationSpecBuilder_ == null) { + explanationSpec_ = null; + } else { + explanationSpec_ = null; + explanationSpecBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelEvaluationProto + .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec build() { + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + buildPartial() { + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec result = + new com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec(this); + result.explanationType_ = explanationType_; + if (explanationSpecBuilder_ == null) { + result.explanationSpec_ = explanationSpec_; + } else { + result.explanationSpec_ = explanationSpecBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec other) { + if (other + == com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .getDefaultInstance()) return this; + if (!other.getExplanationType().isEmpty()) { + explanationType_ = other.explanationType_; + onChanged(); + } + if (other.hasExplanationSpec()) { + mergeExplanationSpec(other.getExplanationSpec()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object explanationType_ = ""; + /** + * + * + *
+       * Explanation type.
+       * For AutoML Image Classification models, possible values are:
+       *   * `image-integrated-gradients`
+       *   * `image-xrai`
+       * 
+ * + * string explanation_type = 1; + * + * @return The explanationType. + */ + public java.lang.String getExplanationType() { + java.lang.Object ref = explanationType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + explanationType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Explanation type.
+       * For AutoML Image Classification models, possible values are:
+       *   * `image-integrated-gradients`
+       *   * `image-xrai`
+       * 
+ * + * string explanation_type = 1; + * + * @return The bytes for explanationType. + */ + public com.google.protobuf.ByteString getExplanationTypeBytes() { + java.lang.Object ref = explanationType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + explanationType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Explanation type.
+       * For AutoML Image Classification models, possible values are:
+       *   * `image-integrated-gradients`
+       *   * `image-xrai`
+       * 
+ * + * string explanation_type = 1; + * + * @param value The explanationType to set. + * @return This builder for chaining. + */ + public Builder setExplanationType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + explanationType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Explanation type.
+       * For AutoML Image Classification models, possible values are:
+       *   * `image-integrated-gradients`
+       *   * `image-xrai`
+       * 
+ * + * string explanation_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearExplanationType() { + + explanationType_ = getDefaultInstance().getExplanationType(); + onChanged(); + return this; + } + /** + * + * + *
+       * Explanation type.
+       * For AutoML Image Classification models, possible values are:
+       *   * `image-integrated-gradients`
+       *   * `image-xrai`
+       * 
+ * + * string explanation_type = 1; + * + * @param value The bytes for explanationType to set. + * @return This builder for chaining. + */ + public Builder setExplanationTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + explanationType_ = value; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.ExplanationSpec explanationSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ExplanationSpec, + com.google.cloud.aiplatform.v1.ExplanationSpec.Builder, + com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder> + explanationSpecBuilder_; + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + * + * @return Whether the explanationSpec field is set. + */ + public boolean hasExplanationSpec() { + return explanationSpecBuilder_ != null || explanationSpec_ != null; + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + * + * @return The explanationSpec. + */ + public com.google.cloud.aiplatform.v1.ExplanationSpec getExplanationSpec() { + if (explanationSpecBuilder_ == null) { + return explanationSpec_ == null + ? com.google.cloud.aiplatform.v1.ExplanationSpec.getDefaultInstance() + : explanationSpec_; + } else { + return explanationSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + public Builder setExplanationSpec(com.google.cloud.aiplatform.v1.ExplanationSpec value) { + if (explanationSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + explanationSpec_ = value; + onChanged(); + } else { + explanationSpecBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + public Builder setExplanationSpec( + com.google.cloud.aiplatform.v1.ExplanationSpec.Builder builderForValue) { + if (explanationSpecBuilder_ == null) { + explanationSpec_ = builderForValue.build(); + onChanged(); + } else { + explanationSpecBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + public Builder mergeExplanationSpec(com.google.cloud.aiplatform.v1.ExplanationSpec value) { + if (explanationSpecBuilder_ == null) { + if (explanationSpec_ != null) { + explanationSpec_ = + com.google.cloud.aiplatform.v1.ExplanationSpec.newBuilder(explanationSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + explanationSpec_ = value; + } + onChanged(); + } else { + explanationSpecBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + public Builder clearExplanationSpec() { + if (explanationSpecBuilder_ == null) { + explanationSpec_ = null; + onChanged(); + } else { + explanationSpec_ = null; + explanationSpecBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + public com.google.cloud.aiplatform.v1.ExplanationSpec.Builder getExplanationSpecBuilder() { + + onChanged(); + return getExplanationSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + public com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder getExplanationSpecOrBuilder() { + if (explanationSpecBuilder_ != null) { + return explanationSpecBuilder_.getMessageOrBuilder(); + } else { + return explanationSpec_ == null + ? com.google.cloud.aiplatform.v1.ExplanationSpec.getDefaultInstance() + : explanationSpec_; + } + } + /** + * + * + *
+       * Explanation spec details.
+       * 
+ * + * .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ExplanationSpec, + com.google.cloud.aiplatform.v1.ExplanationSpec.Builder, + com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder> + getExplanationSpecFieldBuilder() { + if (explanationSpecBuilder_ == null) { + explanationSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ExplanationSpec, + com.google.cloud.aiplatform.v1.ExplanationSpec.Builder, + com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder>( + getExplanationSpec(), getParentForChildren(), isClean()); + explanationSpec_ = null; + } + return explanationSpecBuilder_; + } + + @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.ModelEvaluation.ModelEvaluationExplanationSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec) + private static final com.google.cloud.aiplatform.v1.ModelEvaluation + .ModelEvaluationExplanationSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec(); + } + + public static com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModelEvaluationExplanationSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ModelEvaluationExplanationSpec(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Output only. The resource name of the ModelEvaluation.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The resource name of the ModelEvaluation.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int METRICS_SCHEMA_URI_FIELD_NUMBER = 2; + private volatile java.lang.Object metricsSchemaUri_; + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing the
+   * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+   * defined as an OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * 
+ * + * string metrics_schema_uri = 2; + * + * @return The metricsSchemaUri. + */ + @java.lang.Override + public java.lang.String getMetricsSchemaUri() { + java.lang.Object ref = metricsSchemaUri_; + 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(); + metricsSchemaUri_ = s; + return s; + } + } + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing the
+   * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+   * defined as an OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * 
+ * + * string metrics_schema_uri = 2; + * + * @return The bytes for metricsSchemaUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMetricsSchemaUriBytes() { + java.lang.Object ref = metricsSchemaUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + metricsSchemaUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int METRICS_FIELD_NUMBER = 3; + private com.google.protobuf.Value metrics_; + /** + * + * + *
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
+   * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+   * 
+ * + * .google.protobuf.Value metrics = 3; + * + * @return Whether the metrics field is set. + */ + @java.lang.Override + public boolean hasMetrics() { + return metrics_ != null; + } + /** + * + * + *
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
+   * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+   * 
+ * + * .google.protobuf.Value metrics = 3; + * + * @return The metrics. + */ + @java.lang.Override + public com.google.protobuf.Value getMetrics() { + return metrics_ == null ? com.google.protobuf.Value.getDefaultInstance() : metrics_; + } + /** + * + * + *
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
+   * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+   * 
+ * + * .google.protobuf.Value metrics = 3; + */ + @java.lang.Override + public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { + return getMetrics(); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. Timestamp when this ModelEvaluation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. Timestamp when this ModelEvaluation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. Timestamp when this ModelEvaluation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int SLICE_DIMENSIONS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList sliceDimensions_; + /** + * + * + *
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * ModelEvaluationSlices. The dimensions can be used as the filter of the
+   * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+   * `slice.dimension = <dimension>`.
+   * 
+ * + * repeated string slice_dimensions = 5; + * + * @return A list containing the sliceDimensions. + */ + public com.google.protobuf.ProtocolStringList getSliceDimensionsList() { + return sliceDimensions_; + } + /** + * + * + *
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * ModelEvaluationSlices. The dimensions can be used as the filter of the
+   * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+   * `slice.dimension = <dimension>`.
+   * 
+ * + * repeated string slice_dimensions = 5; + * + * @return The count of sliceDimensions. + */ + public int getSliceDimensionsCount() { + return sliceDimensions_.size(); + } + /** + * + * + *
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * ModelEvaluationSlices. The dimensions can be used as the filter of the
+   * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+   * `slice.dimension = <dimension>`.
+   * 
+ * + * repeated string slice_dimensions = 5; + * + * @param index The index of the element to return. + * @return The sliceDimensions at the given index. + */ + public java.lang.String getSliceDimensions(int index) { + return sliceDimensions_.get(index); + } + /** + * + * + *
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; + * + * @param index The index of the value to return. + * @return The bytes of the sliceDimensions at the given index. + */ + public com.google.protobuf.ByteString getSliceDimensionsBytes(int index) { + return sliceDimensions_.getByteString(index); + } + + public static final int DATA_ITEM_SCHEMA_URI_FIELD_NUMBER = 6; + private volatile java.lang.Object dataItemSchemaUri_; + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.data_item_payload][] and
+   * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string data_item_schema_uri = 6; + * + * @return The dataItemSchemaUri. + */ + @java.lang.Override + public java.lang.String getDataItemSchemaUri() { + java.lang.Object ref = dataItemSchemaUri_; + 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(); + dataItemSchemaUri_ = s; + return s; + } + } + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.data_item_payload][] and
+   * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string data_item_schema_uri = 6; + * + * @return The bytes for dataItemSchemaUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDataItemSchemaUriBytes() { + java.lang.Object ref = dataItemSchemaUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dataItemSchemaUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ANNOTATION_SCHEMA_URI_FIELD_NUMBER = 7; + private volatile java.lang.Object annotationSchemaUri_; + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.predictions][],
+   * [EvaluatedDataItemView.ground_truths][],
+   * [EvaluatedAnnotation.predictions][], and
+   * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string annotation_schema_uri = 7; + * + * @return The annotationSchemaUri. + */ + @java.lang.Override + public java.lang.String getAnnotationSchemaUri() { + java.lang.Object ref = annotationSchemaUri_; + 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(); + annotationSchemaUri_ = s; + return s; + } + } + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.predictions][],
+   * [EvaluatedDataItemView.ground_truths][],
+   * [EvaluatedAnnotation.predictions][], and
+   * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string annotation_schema_uri = 7; + * + * @return The bytes for annotationSchemaUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAnnotationSchemaUriBytes() { + java.lang.Object ref = annotationSchemaUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + annotationSchemaUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODEL_EXPLANATION_FIELD_NUMBER = 8; + private com.google.cloud.aiplatform.v1.ModelExplanation modelExplanation_; + /** + * + * + *
+   * Aggregated explanation metrics for the Model's prediction output over the
+   * data this ModelEvaluation uses. This field is populated only if the Model
+   * is evaluated with explanations, and only for AutoML tabular Models.
+   * 
+ * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; * - * @return A list containing the sliceDimensions. + * @return Whether the modelExplanation field is set. */ - public com.google.protobuf.ProtocolStringList getSliceDimensionsList() { - return sliceDimensions_; + @java.lang.Override + public boolean hasModelExplanation() { + return modelExplanation_ != null; } /** * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-   * ModelEvaluationSlices. The dimensions can be used as the filter of the
-   * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-   * `slice.dimension = <dimension>`.
+   * Aggregated explanation metrics for the Model's prediction output over the
+   * data this ModelEvaluation uses. This field is populated only if the Model
+   * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; * - * @return The count of sliceDimensions. + * @return The modelExplanation. */ - public int getSliceDimensionsCount() { - return sliceDimensions_.size(); + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelExplanation getModelExplanation() { + return modelExplanation_ == null + ? com.google.cloud.aiplatform.v1.ModelExplanation.getDefaultInstance() + : modelExplanation_; } /** * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-   * ModelEvaluationSlices. The dimensions can be used as the filter of the
-   * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-   * `slice.dimension = <dimension>`.
+   * Aggregated explanation metrics for the Model's prediction output over the
+   * data this ModelEvaluation uses. This field is populated only if the Model
+   * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param index The index of the element to return. - * @return The sliceDimensions at the given index. + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public java.lang.String getSliceDimensions(int index) { - return sliceDimensions_.get(index); + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder getModelExplanationOrBuilder() { + return getModelExplanation(); } + + public static final int EXPLANATION_SPECS_FIELD_NUMBER = 9; + private java.util.List< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec> + explanationSpecs_; /** * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-   * ModelEvaluationSlices. The dimensions can be used as the filter of the
-   * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-   * `slice.dimension = <dimension>`.
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param index The index of the value to return. - * @return The bytes of the sliceDimensions at the given index. + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; + * */ - public com.google.protobuf.ByteString getSliceDimensionsBytes(int index) { - return sliceDimensions_.getByteString(index); + @java.lang.Override + public java.util.List< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec> + getExplanationSpecsList() { + return explanationSpecs_; } - - public static final int MODEL_EXPLANATION_FIELD_NUMBER = 8; - private com.google.cloud.aiplatform.v1.ModelExplanation modelExplanation_; /** * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
-   * data this ModelEvaluation uses. This field is populated only if the Model
-   * is evaluated with explanations, and only for AutoML tabular Models.
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
    * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @return Whether the modelExplanation field is set. */ @java.lang.Override - public boolean hasModelExplanation() { - return modelExplanation_ != null; + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1.ModelEvaluation + .ModelEvaluationExplanationSpecOrBuilder> + getExplanationSpecsOrBuilderList() { + return explanationSpecs_; } /** * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
-   * data this ModelEvaluation uses. This field is populated only if the Model
-   * is evaluated with explanations, and only for AutoML tabular Models.
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
    * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * + */ + @java.lang.Override + public int getExplanationSpecsCount() { + return explanationSpecs_.size(); + } + /** * - * @return The modelExplanation. + * + *
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; + * */ @java.lang.Override - public com.google.cloud.aiplatform.v1.ModelExplanation getModelExplanation() { - return modelExplanation_ == null - ? com.google.cloud.aiplatform.v1.ModelExplanation.getDefaultInstance() - : modelExplanation_; + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + getExplanationSpecs(int index) { + return explanationSpecs_.get(index); } /** * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
-   * data this ModelEvaluation uses. This field is populated only if the Model
-   * is evaluated with explanations, and only for AutoML tabular Models.
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
    * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ @java.lang.Override - public com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder getModelExplanationOrBuilder() { - return getModelExplanation(); + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder + getExplanationSpecsOrBuilder(int index) { + return explanationSpecs_.get(index); } private byte memoizedIsInitialized = -1; @@ -544,9 +1805,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < sliceDimensions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sliceDimensions_.getRaw(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataItemSchemaUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, dataItemSchemaUri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationSchemaUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, annotationSchemaUri_); + } if (modelExplanation_ != null) { output.writeMessage(8, getModelExplanation()); } + for (int i = 0; i < explanationSpecs_.size(); i++) { + output.writeMessage(9, explanationSpecs_.get(i)); + } unknownFields.writeTo(output); } @@ -576,9 +1846,18 @@ public int getSerializedSize() { size += dataSize; size += 1 * getSliceDimensionsList().size(); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataItemSchemaUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, dataItemSchemaUri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(annotationSchemaUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, annotationSchemaUri_); + } if (modelExplanation_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getModelExplanation()); } + for (int i = 0; i < explanationSpecs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, explanationSpecs_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -606,10 +1885,13 @@ public boolean equals(final java.lang.Object obj) { if (!getCreateTime().equals(other.getCreateTime())) return false; } if (!getSliceDimensionsList().equals(other.getSliceDimensionsList())) return false; + if (!getDataItemSchemaUri().equals(other.getDataItemSchemaUri())) return false; + if (!getAnnotationSchemaUri().equals(other.getAnnotationSchemaUri())) return false; if (hasModelExplanation() != other.hasModelExplanation()) return false; if (hasModelExplanation()) { if (!getModelExplanation().equals(other.getModelExplanation())) return false; } + if (!getExplanationSpecsList().equals(other.getExplanationSpecsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -637,10 +1919,18 @@ public int hashCode() { hash = (37 * hash) + SLICE_DIMENSIONS_FIELD_NUMBER; hash = (53 * hash) + getSliceDimensionsList().hashCode(); } + hash = (37 * hash) + DATA_ITEM_SCHEMA_URI_FIELD_NUMBER; + hash = (53 * hash) + getDataItemSchemaUri().hashCode(); + hash = (37 * hash) + ANNOTATION_SCHEMA_URI_FIELD_NUMBER; + hash = (53 * hash) + getAnnotationSchemaUri().hashCode(); if (hasModelExplanation()) { hash = (37 * hash) + MODEL_EXPLANATION_FIELD_NUMBER; hash = (53 * hash) + getModelExplanation().hashCode(); } + if (getExplanationSpecsCount() > 0) { + hash = (37 * hash) + EXPLANATION_SPECS_FIELD_NUMBER; + hash = (53 * hash) + getExplanationSpecsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -731,421 +2021,1082 @@ public static Builder newBuilder(com.google.cloud.aiplatform.v1.ModelEvaluation 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 + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A collection of metrics calculated by comparing Model's predictions on all of
+   * the test data against annotations from the test data.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ModelEvaluation} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ModelEvaluation) + com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelEvaluationProto + .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelEvaluationProto + .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ModelEvaluation.class, + com.google.cloud.aiplatform.v1.ModelEvaluation.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ModelEvaluation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExplanationSpecsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + metricsSchemaUri_ = ""; + + if (metricsBuilder_ == null) { + metrics_ = null; + } else { + metrics_ = null; + metricsBuilder_ = null; + } + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + sliceDimensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + dataItemSchemaUri_ = ""; + + annotationSchemaUri_ = ""; + + if (modelExplanationBuilder_ == null) { + modelExplanation_ = null; + } else { + modelExplanation_ = null; + modelExplanationBuilder_ = null; + } + if (explanationSpecsBuilder_ == null) { + explanationSpecs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + explanationSpecsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelEvaluationProto + .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation build() { + com.google.cloud.aiplatform.v1.ModelEvaluation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ModelEvaluation buildPartial() { + com.google.cloud.aiplatform.v1.ModelEvaluation result = + new com.google.cloud.aiplatform.v1.ModelEvaluation(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + result.metricsSchemaUri_ = metricsSchemaUri_; + if (metricsBuilder_ == null) { + result.metrics_ = metrics_; + } else { + result.metrics_ = metricsBuilder_.build(); + } + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (((bitField0_ & 0x00000001) != 0)) { + sliceDimensions_ = sliceDimensions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.sliceDimensions_ = sliceDimensions_; + result.dataItemSchemaUri_ = dataItemSchemaUri_; + result.annotationSchemaUri_ = annotationSchemaUri_; + if (modelExplanationBuilder_ == null) { + result.modelExplanation_ = modelExplanation_; + } else { + result.modelExplanation_ = modelExplanationBuilder_.build(); + } + if (explanationSpecsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + explanationSpecs_ = java.util.Collections.unmodifiableList(explanationSpecs_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.explanationSpecs_ = explanationSpecs_; + } else { + result.explanationSpecs_ = explanationSpecsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ModelEvaluation) { + return mergeFrom((com.google.cloud.aiplatform.v1.ModelEvaluation) other); + } else { + super.mergeFrom(other); + return this; + } + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * A collection of metrics calculated by comparing Model's predictions on all of
-   * the test data against annotations from the test data.
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1.ModelEvaluation} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ModelEvaluation) - com.google.cloud.aiplatform.v1.ModelEvaluationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1.ModelEvaluationProto - .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_descriptor; + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ModelEvaluation other) { + if (other == com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getMetricsSchemaUri().isEmpty()) { + metricsSchemaUri_ = other.metricsSchemaUri_; + onChanged(); + } + if (other.hasMetrics()) { + mergeMetrics(other.getMetrics()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (!other.sliceDimensions_.isEmpty()) { + if (sliceDimensions_.isEmpty()) { + sliceDimensions_ = other.sliceDimensions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSliceDimensionsIsMutable(); + sliceDimensions_.addAll(other.sliceDimensions_); + } + onChanged(); + } + if (!other.getDataItemSchemaUri().isEmpty()) { + dataItemSchemaUri_ = other.dataItemSchemaUri_; + onChanged(); + } + if (!other.getAnnotationSchemaUri().isEmpty()) { + annotationSchemaUri_ = other.annotationSchemaUri_; + onChanged(); + } + if (other.hasModelExplanation()) { + mergeModelExplanation(other.getModelExplanation()); + } + if (explanationSpecsBuilder_ == null) { + if (!other.explanationSpecs_.isEmpty()) { + if (explanationSpecs_.isEmpty()) { + explanationSpecs_ = other.explanationSpecs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureExplanationSpecsIsMutable(); + explanationSpecs_.addAll(other.explanationSpecs_); + } + onChanged(); + } + } else { + if (!other.explanationSpecs_.isEmpty()) { + if (explanationSpecsBuilder_.isEmpty()) { + explanationSpecsBuilder_.dispose(); + explanationSpecsBuilder_ = null; + explanationSpecs_ = other.explanationSpecs_; + bitField0_ = (bitField0_ & ~0x00000002); + explanationSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExplanationSpecsFieldBuilder() + : null; + } else { + explanationSpecsBuilder_.addAllMessages(other.explanationSpecs_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1.ModelEvaluationProto - .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1.ModelEvaluation.class, - com.google.cloud.aiplatform.v1.ModelEvaluation.Builder.class); + public final boolean isInitialized() { + return true; } - // Construct using com.google.cloud.aiplatform.v1.ModelEvaluation.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.ModelEvaluation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.aiplatform.v1.ModelEvaluation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The resource name of the ModelEvaluation.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The resource name of the ModelEvaluation.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + /** + * + * + *
+     * Output only. The resource name of the ModelEvaluation.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + name_ = value; + onChanged(); + return this; } + /** + * + * + *
+     * Output only. The resource name of the ModelEvaluation.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name of the ModelEvaluation.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); - metricsSchemaUri_ = ""; + name_ = value; + onChanged(); + return this; + } - if (metricsBuilder_ == null) { - metrics_ = null; + private java.lang.Object metricsSchemaUri_ = ""; + /** + * + * + *
+     * Points to a YAML file stored on Google Cloud Storage describing the
+     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+     * defined as an OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * 
+ * + * string metrics_schema_uri = 2; + * + * @return The metricsSchemaUri. + */ + public java.lang.String getMetricsSchemaUri() { + java.lang.Object ref = metricsSchemaUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metricsSchemaUri_ = s; + return s; } else { - metrics_ = null; - metricsBuilder_ = null; + return (java.lang.String) ref; } - if (createTimeBuilder_ == null) { - createTime_ = null; + } + /** + * + * + *
+     * Points to a YAML file stored on Google Cloud Storage describing the
+     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+     * defined as an OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * 
+ * + * string metrics_schema_uri = 2; + * + * @return The bytes for metricsSchemaUri. + */ + public com.google.protobuf.ByteString getMetricsSchemaUriBytes() { + java.lang.Object ref = metricsSchemaUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + metricsSchemaUri_ = b; + return b; } else { - createTime_ = null; - createTimeBuilder_ = null; + return (com.google.protobuf.ByteString) ref; } - sliceDimensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (modelExplanationBuilder_ == null) { - modelExplanation_ = null; - } else { - modelExplanation_ = null; - modelExplanationBuilder_ = null; + } + /** + * + * + *
+     * Points to a YAML file stored on Google Cloud Storage describing the
+     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+     * defined as an OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * 
+ * + * string metrics_schema_uri = 2; + * + * @param value The metricsSchemaUri to set. + * @return This builder for chaining. + */ + public Builder setMetricsSchemaUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + + metricsSchemaUri_ = value; + onChanged(); return this; } + /** + * + * + *
+     * Points to a YAML file stored on Google Cloud Storage describing the
+     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+     * defined as an OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * 
+ * + * string metrics_schema_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearMetricsSchemaUri() { - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.aiplatform.v1.ModelEvaluationProto - .internal_static_google_cloud_aiplatform_v1_ModelEvaluation_descriptor; + metricsSchemaUri_ = getDefaultInstance().getMetricsSchemaUri(); + onChanged(); + return this; } + /** + * + * + *
+     * Points to a YAML file stored on Google Cloud Storage describing the
+     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
+     * defined as an OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * 
+ * + * string metrics_schema_uri = 2; + * + * @param value The bytes for metricsSchemaUri to set. + * @return This builder for chaining. + */ + public Builder setMetricsSchemaUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); - @java.lang.Override - public com.google.cloud.aiplatform.v1.ModelEvaluation getDefaultInstanceForType() { - return com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance(); + metricsSchemaUri_ = value; + onChanged(); + return this; } - @java.lang.Override - public com.google.cloud.aiplatform.v1.ModelEvaluation build() { - com.google.cloud.aiplatform.v1.ModelEvaluation result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + private com.google.protobuf.Value metrics_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> + metricsBuilder_; + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + * + * @return Whether the metrics field is set. + */ + public boolean hasMetrics() { + return metricsBuilder_ != null || metrics_ != null; } - - @java.lang.Override - public com.google.cloud.aiplatform.v1.ModelEvaluation buildPartial() { - com.google.cloud.aiplatform.v1.ModelEvaluation result = - new com.google.cloud.aiplatform.v1.ModelEvaluation(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - result.metricsSchemaUri_ = metricsSchemaUri_; + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + * + * @return The metrics. + */ + public com.google.protobuf.Value getMetrics() { if (metricsBuilder_ == null) { - result.metrics_ = metrics_; + return metrics_ == null ? com.google.protobuf.Value.getDefaultInstance() : metrics_; } else { - result.metrics_ = metricsBuilder_.build(); + return metricsBuilder_.getMessage(); } - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; + } + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + public Builder setMetrics(com.google.protobuf.Value value) { + if (metricsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metrics_ = value; + onChanged(); } else { - result.createTime_ = createTimeBuilder_.build(); - } - if (((bitField0_ & 0x00000001) != 0)) { - sliceDimensions_ = sliceDimensions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); + metricsBuilder_.setMessage(value); } - result.sliceDimensions_ = sliceDimensions_; - if (modelExplanationBuilder_ == null) { - result.modelExplanation_ = modelExplanation_; + + return this; + } + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + public Builder setMetrics(com.google.protobuf.Value.Builder builderForValue) { + if (metricsBuilder_ == null) { + metrics_ = builderForValue.build(); + onChanged(); } else { - result.modelExplanation_ = modelExplanationBuilder_.build(); + metricsBuilder_.setMessage(builderForValue.build()); } - onBuilt(); - return result; - } - @java.lang.Override - public Builder clone() { - return super.clone(); + return this; } + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + public Builder mergeMetrics(com.google.protobuf.Value value) { + if (metricsBuilder_ == null) { + if (metrics_ != null) { + metrics_ = com.google.protobuf.Value.newBuilder(metrics_).mergeFrom(value).buildPartial(); + } else { + metrics_ = value; + } + onChanged(); + } else { + metricsBuilder_.mergeFrom(value); + } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + return this; } + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + public Builder clearMetrics() { + if (metricsBuilder_ == null) { + metrics_ = null; + onChanged(); + } else { + metrics_ = null; + metricsBuilder_ = null; + } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + return this; } + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + public com.google.protobuf.Value.Builder getMetricsBuilder() { - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + onChanged(); + return getMetricsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { + if (metricsBuilder_ != null) { + return metricsBuilder_.getMessageOrBuilder(); + } else { + return metrics_ == null ? com.google.protobuf.Value.getDefaultInstance() : metrics_; + } } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + /** + * + * + *
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
+     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * 
+ * + * .google.protobuf.Value metrics = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder> + getMetricsFieldBuilder() { + if (metricsBuilder_ == null) { + metricsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Value, + com.google.protobuf.Value.Builder, + com.google.protobuf.ValueOrBuilder>( + getMetrics(), getParentForChildren(), isClean()); + metrics_ = null; + } + return metricsBuilder_; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.aiplatform.v1.ModelEvaluation) { - return mergeFrom((com.google.cloud.aiplatform.v1.ModelEvaluation) other); + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { - super.mergeFrom(other); - return this; + return createTimeBuilder_.getMessage(); } } - - public Builder mergeFrom(com.google.cloud.aiplatform.v1.ModelEvaluation other) { - if (other == com.google.cloud.aiplatform.v1.ModelEvaluation.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; onChanged(); + } else { + createTimeBuilder_.setMessage(value); } - if (!other.getMetricsSchemaUri().isEmpty()) { - metricsSchemaUri_ = other.metricsSchemaUri_; + + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); } - if (other.hasMetrics()) { - mergeMetrics(other.getMetrics()); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (!other.sliceDimensions_.isEmpty()) { - if (sliceDimensions_.isEmpty()) { - sliceDimensions_ = other.sliceDimensions_; - bitField0_ = (bitField0_ & ~0x00000001); + + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { - ensureSliceDimensionsIsMutable(); - sliceDimensions_.addAll(other.sliceDimensions_); + createTime_ = value; } onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); } - if (other.hasModelExplanation()) { - mergeModelExplanation(other.getModelExplanation()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); + return this; } + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } - @java.lang.Override - public final boolean isInitialized() { - return true; + return this; } + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.aiplatform.v1.ModelEvaluation parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.aiplatform.v1.ModelEvaluation) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. Timestamp when this ModelEvaluation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; } - return this; + return createTimeBuilder_; } - private int bitField0_; + private com.google.protobuf.LazyStringList sliceDimensions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; - private java.lang.Object name_ = ""; + private void ensureSliceDimensionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + sliceDimensions_ = new com.google.protobuf.LazyStringArrayList(sliceDimensions_); + bitField0_ |= 0x00000001; + } + } /** * * *
-     * Output only. The resource name of the ModelEvaluation.
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @return The name. + * @return A list containing the sliceDimensions. */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } + public com.google.protobuf.ProtocolStringList getSliceDimensionsList() { + return sliceDimensions_.getUnmodifiableView(); } /** * * *
-     * Output only. The resource name of the ModelEvaluation.
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @return The bytes for name. + * @return The count of sliceDimensions. */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public int getSliceDimensionsCount() { + return sliceDimensions_.size(); } /** * * *
-     * Output only. The resource name of the ModelEvaluation.
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @param value The name to set. - * @return This builder for chaining. + * @param index The index of the element to return. + * @return The sliceDimensions at the given index. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; + public java.lang.String getSliceDimensions(int index) { + return sliceDimensions_.get(index); } /** * * *
-     * Output only. The resource name of the ModelEvaluation.
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @return This builder for chaining. + * @param index The index of the value to return. + * @return The bytes of the sliceDimensions at the given index. */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; + public com.google.protobuf.ByteString getSliceDimensionsBytes(int index) { + return sliceDimensions_.getByteString(index); } /** * * *
-     * Output only. The resource name of the ModelEvaluation.
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @param value The bytes for name to set. + * @param index The index to set the value at. + * @param value The sliceDimensions to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setSliceDimensions(int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - - name_ = value; + ensureSliceDimensionsIsMutable(); + sliceDimensions_.set(index, value); onChanged(); return this; } - - private java.lang.Object metricsSchemaUri_ = ""; /** * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-     * defined as an OpenAPI 3.0.2 [Schema
-     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @return The metricsSchemaUri. + * @param value The sliceDimensions to add. + * @return This builder for chaining. */ - public java.lang.String getMetricsSchemaUri() { - java.lang.Object ref = metricsSchemaUri_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - metricsSchemaUri_ = s; - return s; - } else { - return (java.lang.String) ref; + public Builder addSliceDimensions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + ensureSliceDimensionsIsMutable(); + sliceDimensions_.add(value); + onChanged(); + return this; } /** * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-     * defined as an OpenAPI 3.0.2 [Schema
-     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @return The bytes for metricsSchemaUri. + * @param values The sliceDimensions to add. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString getMetricsSchemaUriBytes() { - java.lang.Object ref = metricsSchemaUri_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - metricsSchemaUri_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public Builder addAllSliceDimensions(java.lang.Iterable values) { + ensureSliceDimensionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sliceDimensions_); + onChanged(); + return this; } /** * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-     * defined as an OpenAPI 3.0.2 [Schema
-     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * - * @param value The metricsSchemaUri to set. * @return This builder for chaining. */ - public Builder setMetricsSchemaUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - metricsSchemaUri_ = value; + public Builder clearSliceDimensions() { + sliceDimensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1153,299 +3104,374 @@ public Builder setMetricsSchemaUri(java.lang.String value) { * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-     * defined as an OpenAPI 3.0.2 [Schema
-     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * ModelEvaluationSlices. The dimensions can be used as the filter of the
+     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
+     * `slice.dimension = <dimension>`.
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * + * @param value The bytes of the sliceDimensions to add. * @return This builder for chaining. */ - public Builder clearMetricsSchemaUri() { - - metricsSchemaUri_ = getDefaultInstance().getMetricsSchemaUri(); + public Builder addSliceDimensionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSliceDimensionsIsMutable(); + sliceDimensions_.add(value); onChanged(); return this; } + + private java.lang.Object dataItemSchemaUri_ = ""; /** * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
-     * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
-     * defined as an OpenAPI 3.0.2 [Schema
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.data_item_payload][] and
+     * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
      * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string data_item_schema_uri = 6; * - * @param value The bytes for metricsSchemaUri to set. - * @return This builder for chaining. + * @return The dataItemSchemaUri. */ - public Builder setMetricsSchemaUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public java.lang.String getDataItemSchemaUri() { + java.lang.Object ref = dataItemSchemaUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataItemSchemaUri_ = s; + return s; + } else { + return (java.lang.String) ref; } - checkByteStringIsUtf8(value); - - metricsSchemaUri_ = value; - onChanged(); - return this; } - - private com.google.protobuf.Value metrics_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, - com.google.protobuf.Value.Builder, - com.google.protobuf.ValueOrBuilder> - metricsBuilder_; /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.data_item_payload][] and
+     * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string data_item_schema_uri = 6; * - * @return Whether the metrics field is set. + * @return The bytes for dataItemSchemaUri. */ - public boolean hasMetrics() { - return metricsBuilder_ != null || metrics_ != null; + public com.google.protobuf.ByteString getDataItemSchemaUriBytes() { + java.lang.Object ref = dataItemSchemaUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dataItemSchemaUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.data_item_payload][] and
+     * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string data_item_schema_uri = 6; * - * @return The metrics. + * @param value The dataItemSchemaUri to set. + * @return This builder for chaining. */ - public com.google.protobuf.Value getMetrics() { - if (metricsBuilder_ == null) { - return metrics_ == null ? com.google.protobuf.Value.getDefaultInstance() : metrics_; - } else { - return metricsBuilder_.getMessage(); + public Builder setDataItemSchemaUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } + + dataItemSchemaUri_ = value; + onChanged(); + return this; } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.data_item_payload][] and
+     * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string data_item_schema_uri = 6; + * + * @return This builder for chaining. */ - public Builder setMetrics(com.google.protobuf.Value value) { - if (metricsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metrics_ = value; - onChanged(); - } else { - metricsBuilder_.setMessage(value); - } + public Builder clearDataItemSchemaUri() { + dataItemSchemaUri_ = getDefaultInstance().getDataItemSchemaUri(); + onChanged(); return this; } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.data_item_payload][] and
+     * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string data_item_schema_uri = 6; + * + * @param value The bytes for dataItemSchemaUri to set. + * @return This builder for chaining. */ - public Builder setMetrics(com.google.protobuf.Value.Builder builderForValue) { - if (metricsBuilder_ == null) { - metrics_ = builderForValue.build(); - onChanged(); - } else { - metricsBuilder_.setMessage(builderForValue.build()); + public Builder setDataItemSchemaUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } + checkByteStringIsUtf8(value); + dataItemSchemaUri_ = value; + onChanged(); return this; } + + private java.lang.Object annotationSchemaUri_ = ""; /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.predictions][],
+     * [EvaluatedDataItemView.ground_truths][],
+     * [EvaluatedAnnotation.predictions][], and
+     * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string annotation_schema_uri = 7; + * + * @return The annotationSchemaUri. */ - public Builder mergeMetrics(com.google.protobuf.Value value) { - if (metricsBuilder_ == null) { - if (metrics_ != null) { - metrics_ = com.google.protobuf.Value.newBuilder(metrics_).mergeFrom(value).buildPartial(); - } else { - metrics_ = value; - } - onChanged(); + public java.lang.String getAnnotationSchemaUri() { + java.lang.Object ref = annotationSchemaUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + annotationSchemaUri_ = s; + return s; } else { - metricsBuilder_.mergeFrom(value); + return (java.lang.String) ref; } - - return this; } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.predictions][],
+     * [EvaluatedDataItemView.ground_truths][],
+     * [EvaluatedAnnotation.predictions][], and
+     * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string annotation_schema_uri = 7; + * + * @return The bytes for annotationSchemaUri. */ - public Builder clearMetrics() { - if (metricsBuilder_ == null) { - metrics_ = null; - onChanged(); + public com.google.protobuf.ByteString getAnnotationSchemaUriBytes() { + java.lang.Object ref = annotationSchemaUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + annotationSchemaUri_ = b; + return b; } else { - metrics_ = null; - metricsBuilder_ = null; + return (com.google.protobuf.ByteString) ref; } - - return this; } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.predictions][],
+     * [EvaluatedDataItemView.ground_truths][],
+     * [EvaluatedAnnotation.predictions][], and
+     * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string annotation_schema_uri = 7; + * + * @param value The annotationSchemaUri to set. + * @return This builder for chaining. */ - public com.google.protobuf.Value.Builder getMetricsBuilder() { + public Builder setAnnotationSchemaUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + annotationSchemaUri_ = value; onChanged(); - return getMetricsFieldBuilder().getBuilder(); + return this; } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.predictions][],
+     * [EvaluatedDataItemView.ground_truths][],
+     * [EvaluatedAnnotation.predictions][], and
+     * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string annotation_schema_uri = 7; + * + * @return This builder for chaining. */ - public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { - if (metricsBuilder_ != null) { - return metricsBuilder_.getMessageOrBuilder(); - } else { - return metrics_ == null ? com.google.protobuf.Value.getDefaultInstance() : metrics_; - } + public Builder clearAnnotationSchemaUri() { + + annotationSchemaUri_ = getDefaultInstance().getAnnotationSchemaUri(); + onChanged(); + return this; } /** * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
-     * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
+     * Points to a YAML file stored on Google Cloud Storage describing
+     * [EvaluatedDataItemView.predictions][],
+     * [EvaluatedDataItemView.ground_truths][],
+     * [EvaluatedAnnotation.predictions][], and
+     * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+     * OpenAPI 3.0.2 [Schema
+     * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+     * This field is not populated if there are neither EvaluatedDataItemViews nor
+     * EvaluatedAnnotations under this ModelEvaluation.
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string annotation_schema_uri = 7; + * + * @param value The bytes for annotationSchemaUri to set. + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, - com.google.protobuf.Value.Builder, - com.google.protobuf.ValueOrBuilder> - getMetricsFieldBuilder() { - if (metricsBuilder_ == null) { - metricsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Value, - com.google.protobuf.Value.Builder, - com.google.protobuf.ValueOrBuilder>( - getMetrics(), getParentForChildren(), isClean()); - metrics_ = null; + public Builder setAnnotationSchemaUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - return metricsBuilder_; + checkByteStringIsUtf8(value); + + annotationSchemaUri_ = value; + onChanged(); + return this; } - private com.google.protobuf.Timestamp createTime_; + private com.google.cloud.aiplatform.v1.ModelExplanation modelExplanation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.cloud.aiplatform.v1.ModelExplanation, + com.google.cloud.aiplatform.v1.ModelExplanation.Builder, + com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder> + modelExplanationBuilder_; /** * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; * - * @return Whether the createTime field is set. + * @return Whether the modelExplanation field is set. */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; + public boolean hasModelExplanation() { + return modelExplanationBuilder_ != null || modelExplanation_ != null; } /** * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; * - * @return The createTime. + * @return The modelExplanation. */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + public com.google.cloud.aiplatform.v1.ModelExplanation getModelExplanation() { + if (modelExplanationBuilder_ == null) { + return modelExplanation_ == null + ? com.google.cloud.aiplatform.v1.ModelExplanation.getDefaultInstance() + : modelExplanation_; } else { - return createTimeBuilder_.getMessage(); + return modelExplanationBuilder_.getMessage(); } } /** * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { + public Builder setModelExplanation(com.google.cloud.aiplatform.v1.ModelExplanation value) { + if (modelExplanationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - createTime_ = value; + modelExplanation_ = value; onChanged(); } else { - createTimeBuilder_.setMessage(value); + modelExplanationBuilder_.setMessage(value); } return this; @@ -1454,19 +3480,20 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); + public Builder setModelExplanation( + com.google.cloud.aiplatform.v1.ModelExplanation.Builder builderForValue) { + if (modelExplanationBuilder_ == null) { + modelExplanation_ = builderForValue.build(); onChanged(); } else { - createTimeBuilder_.setMessage(builderForValue.build()); + modelExplanationBuilder_.setMessage(builderForValue.build()); } return this; @@ -1475,24 +3502,26 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + public Builder mergeModelExplanation(com.google.cloud.aiplatform.v1.ModelExplanation value) { + if (modelExplanationBuilder_ == null) { + if (modelExplanation_ != null) { + modelExplanation_ = + com.google.cloud.aiplatform.v1.ModelExplanation.newBuilder(modelExplanation_) + .mergeFrom(value) + .buildPartial(); } else { - createTime_ = value; + modelExplanation_ = value; } onChanged(); } else { - createTimeBuilder_.mergeFrom(value); + modelExplanationBuilder_.mergeFrom(value); } return this; @@ -1501,20 +3530,20 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; + public Builder clearModelExplanation() { + if (modelExplanationBuilder_ == null) { + modelExplanation_ = null; onChanged(); } else { - createTime_ = null; - createTimeBuilder_ = null; + modelExplanation_ = null; + modelExplanationBuilder_ = null; } return this; @@ -1523,490 +3552,506 @@ public Builder clearCreateTime() { * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + public com.google.cloud.aiplatform.v1.ModelExplanation.Builder getModelExplanationBuilder() { onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return getModelExplanationFieldBuilder().getBuilder(); } /** * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); + public com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder getModelExplanationOrBuilder() { + if (modelExplanationBuilder_ != null) { + return modelExplanationBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return modelExplanation_ == null + ? com.google.cloud.aiplatform.v1.ModelExplanation.getDefaultInstance() + : modelExplanation_; } } /** * * *
-     * Output only. Timestamp when this ModelEvaluation was created.
+     * Aggregated explanation metrics for the Model's prediction output over the
+     * data this ModelEvaluation uses. This field is populated only if the Model
+     * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; + com.google.cloud.aiplatform.v1.ModelExplanation, + com.google.cloud.aiplatform.v1.ModelExplanation.Builder, + com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder> + getModelExplanationFieldBuilder() { + if (modelExplanationBuilder_ == null) { + modelExplanationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelExplanation, + com.google.cloud.aiplatform.v1.ModelExplanation.Builder, + com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder>( + getModelExplanation(), getParentForChildren(), isClean()); + modelExplanation_ = null; } - return createTimeBuilder_; + return modelExplanationBuilder_; } - private com.google.protobuf.LazyStringList sliceDimensions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private java.util.List< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec> + explanationSpecs_ = java.util.Collections.emptyList(); - private void ensureSliceDimensionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - sliceDimensions_ = new com.google.protobuf.LazyStringArrayList(sliceDimensions_); - bitField0_ |= 0x00000001; + private void ensureExplanationSpecsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + explanationSpecs_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec>( + explanationSpecs_); + bitField0_ |= 0x00000002; } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder> + explanationSpecsBuilder_; + /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @return A list containing the sliceDimensions. */ - public com.google.protobuf.ProtocolStringList getSliceDimensionsList() { - return sliceDimensions_.getUnmodifiableView(); + public java.util.List< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec> + getExplanationSpecsList() { + if (explanationSpecsBuilder_ == null) { + return java.util.Collections.unmodifiableList(explanationSpecs_); + } else { + return explanationSpecsBuilder_.getMessageList(); + } } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @return The count of sliceDimensions. */ - public int getSliceDimensionsCount() { - return sliceDimensions_.size(); + public int getExplanationSpecsCount() { + if (explanationSpecsBuilder_ == null) { + return explanationSpecs_.size(); + } else { + return explanationSpecsBuilder_.getCount(); + } } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @param index The index of the element to return. - * @return The sliceDimensions at the given index. */ - public java.lang.String getSliceDimensions(int index) { - return sliceDimensions_.get(index); + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + getExplanationSpecs(int index) { + if (explanationSpecsBuilder_ == null) { + return explanationSpecs_.get(index); + } else { + return explanationSpecsBuilder_.getMessage(index); + } } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @param index The index of the value to return. - * @return The bytes of the sliceDimensions at the given index. */ - public com.google.protobuf.ByteString getSliceDimensionsBytes(int index) { - return sliceDimensions_.getByteString(index); + public Builder setExplanationSpecs( + int index, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec value) { + if (explanationSpecsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExplanationSpecsIsMutable(); + explanationSpecs_.set(index, value); + onChanged(); + } else { + explanationSpecsBuilder_.setMessage(index, value); + } + return this; } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @param index The index to set the value at. - * @param value The sliceDimensions to set. - * @return This builder for chaining. */ - public Builder setSliceDimensions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setExplanationSpecs( + int index, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder + builderForValue) { + if (explanationSpecsBuilder_ == null) { + ensureExplanationSpecsIsMutable(); + explanationSpecs_.set(index, builderForValue.build()); + onChanged(); + } else { + explanationSpecsBuilder_.setMessage(index, builderForValue.build()); } - ensureSliceDimensionsIsMutable(); - sliceDimensions_.set(index, value); - onChanged(); return this; } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @param value The sliceDimensions to add. - * @return This builder for chaining. */ - public Builder addSliceDimensions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder addExplanationSpecs( + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec value) { + if (explanationSpecsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExplanationSpecsIsMutable(); + explanationSpecs_.add(value); + onChanged(); + } else { + explanationSpecsBuilder_.addMessage(value); } - ensureSliceDimensionsIsMutable(); - sliceDimensions_.add(value); - onChanged(); return this; } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @param values The sliceDimensions to add. - * @return This builder for chaining. */ - public Builder addAllSliceDimensions(java.lang.Iterable values) { - ensureSliceDimensionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sliceDimensions_); - onChanged(); + public Builder addExplanationSpecs( + int index, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec value) { + if (explanationSpecsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExplanationSpecsIsMutable(); + explanationSpecs_.add(index, value); + onChanged(); + } else { + explanationSpecsBuilder_.addMessage(index, value); + } return this; } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @return This builder for chaining. */ - public Builder clearSliceDimensions() { - sliceDimensions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); + public Builder addExplanationSpecs( + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder + builderForValue) { + if (explanationSpecsBuilder_ == null) { + ensureExplanationSpecsIsMutable(); + explanationSpecs_.add(builderForValue.build()); + onChanged(); + } else { + explanationSpecsBuilder_.addMessage(builderForValue.build()); + } return this; } /** * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
-     * ModelEvaluationSlices. The dimensions can be used as the filter of the
-     * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
-     * `slice.dimension = <dimension>`.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @param value The bytes of the sliceDimensions to add. - * @return This builder for chaining. */ - public Builder addSliceDimensionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public Builder addExplanationSpecs( + int index, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder + builderForValue) { + if (explanationSpecsBuilder_ == null) { + ensureExplanationSpecsIsMutable(); + explanationSpecs_.add(index, builderForValue.build()); + onChanged(); + } else { + explanationSpecsBuilder_.addMessage(index, builderForValue.build()); } - checkByteStringIsUtf8(value); - ensureSliceDimensionsIsMutable(); - sliceDimensions_.add(value); - onChanged(); return this; } - - private com.google.cloud.aiplatform.v1.ModelExplanation modelExplanation_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.ModelExplanation, - com.google.cloud.aiplatform.v1.ModelExplanation.Builder, - com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder> - modelExplanationBuilder_; /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @return Whether the modelExplanation field is set. */ - public boolean hasModelExplanation() { - return modelExplanationBuilder_ != null || modelExplanation_ != null; + public Builder addAllExplanationSpecs( + java.lang.Iterable< + ? extends + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec> + values) { + if (explanationSpecsBuilder_ == null) { + ensureExplanationSpecsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, explanationSpecs_); + onChanged(); + } else { + explanationSpecsBuilder_.addAllMessages(values); + } + return this; } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * - * - * @return The modelExplanation. */ - public com.google.cloud.aiplatform.v1.ModelExplanation getModelExplanation() { - if (modelExplanationBuilder_ == null) { - return modelExplanation_ == null - ? com.google.cloud.aiplatform.v1.ModelExplanation.getDefaultInstance() - : modelExplanation_; + public Builder clearExplanationSpecs() { + if (explanationSpecsBuilder_ == null) { + explanationSpecs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); } else { - return modelExplanationBuilder_.getMessage(); + explanationSpecsBuilder_.clear(); } + return this; } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - public Builder setModelExplanation(com.google.cloud.aiplatform.v1.ModelExplanation value) { - if (modelExplanationBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - modelExplanation_ = value; + public Builder removeExplanationSpecs(int index) { + if (explanationSpecsBuilder_ == null) { + ensureExplanationSpecsIsMutable(); + explanationSpecs_.remove(index); onChanged(); } else { - modelExplanationBuilder_.setMessage(value); + explanationSpecsBuilder_.remove(index); } - return this; } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - public Builder setModelExplanation( - com.google.cloud.aiplatform.v1.ModelExplanation.Builder builderForValue) { - if (modelExplanationBuilder_ == null) { - modelExplanation_ = builderForValue.build(); - onChanged(); - } else { - modelExplanationBuilder_.setMessage(builderForValue.build()); - } - - return this; + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder + getExplanationSpecsBuilder(int index) { + return getExplanationSpecsFieldBuilder().getBuilder(index); } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - public Builder mergeModelExplanation(com.google.cloud.aiplatform.v1.ModelExplanation value) { - if (modelExplanationBuilder_ == null) { - if (modelExplanation_ != null) { - modelExplanation_ = - com.google.cloud.aiplatform.v1.ModelExplanation.newBuilder(modelExplanation_) - .mergeFrom(value) - .buildPartial(); - } else { - modelExplanation_ = value; - } - onChanged(); + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder + getExplanationSpecsOrBuilder(int index) { + if (explanationSpecsBuilder_ == null) { + return explanationSpecs_.get(index); } else { - modelExplanationBuilder_.mergeFrom(value); + return explanationSpecsBuilder_.getMessageOrBuilder(index); } - - return this; } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - public Builder clearModelExplanation() { - if (modelExplanationBuilder_ == null) { - modelExplanation_ = null; - onChanged(); + public java.util.List< + ? extends + com.google.cloud.aiplatform.v1.ModelEvaluation + .ModelEvaluationExplanationSpecOrBuilder> + getExplanationSpecsOrBuilderList() { + if (explanationSpecsBuilder_ != null) { + return explanationSpecsBuilder_.getMessageOrBuilderList(); } else { - modelExplanation_ = null; - modelExplanationBuilder_ = null; + return java.util.Collections.unmodifiableList(explanationSpecs_); } - - return this; } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - public com.google.cloud.aiplatform.v1.ModelExplanation.Builder getModelExplanationBuilder() { - - onChanged(); - return getModelExplanationFieldBuilder().getBuilder(); + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder + addExplanationSpecsBuilder() { + return getExplanationSpecsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .getDefaultInstance()); } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - public com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder getModelExplanationOrBuilder() { - if (modelExplanationBuilder_ != null) { - return modelExplanationBuilder_.getMessageOrBuilder(); - } else { - return modelExplanation_ == null - ? com.google.cloud.aiplatform.v1.ModelExplanation.getDefaultInstance() - : modelExplanation_; - } + public com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder + addExplanationSpecsBuilder(int index) { + return getExplanationSpecsFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .getDefaultInstance()); } /** * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
-     * data this ModelEvaluation uses. This field is populated only if the Model
-     * is evaluated with explanations, and only for AutoML tabular Models.
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+     * the predicted values on the evaluated data.
      * 
* * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.ModelExplanation, - com.google.cloud.aiplatform.v1.ModelExplanation.Builder, - com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder> - getModelExplanationFieldBuilder() { - if (modelExplanationBuilder_ == null) { - modelExplanationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1.ModelExplanation, - com.google.cloud.aiplatform.v1.ModelExplanation.Builder, - com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder>( - getModelExplanation(), getParentForChildren(), isClean()); - modelExplanation_ = null; + public java.util.List< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder> + getExplanationSpecsBuilderList() { + return getExplanationSpecsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec.Builder, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder> + getExplanationSpecsFieldBuilder() { + if (explanationSpecsBuilder_ == null) { + explanationSpecsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec, + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec + .Builder, + com.google.cloud.aiplatform.v1.ModelEvaluation + .ModelEvaluationExplanationSpecOrBuilder>( + explanationSpecs_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + explanationSpecs_ = null; } - return modelExplanationBuilder_; + return explanationSpecsBuilder_; } @java.lang.Override diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationOrBuilder.java index 791955b4f..d6656d182 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationOrBuilder.java @@ -52,13 +52,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+   * Points to a YAML file stored on Google Cloud Storage describing the
    * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
    * defined as an OpenAPI 3.0.2 [Schema
    * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
    * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The metricsSchemaUri. */ @@ -67,13 +67,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+   * Points to a YAML file stored on Google Cloud Storage describing the
    * [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
    * defined as an OpenAPI 3.0.2 [Schema
    * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
    * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The bytes for metricsSchemaUri. */ @@ -83,11 +83,11 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return Whether the metrics field is set. */ @@ -96,11 +96,11 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return The metrics. */ @@ -109,11 +109,11 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ com.google.protobuf.ValueOrBuilder getMetricsOrBuilder(); @@ -159,13 +159,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @return A list containing the sliceDimensions. */ @@ -174,13 +174,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @return The count of sliceDimensions. */ @@ -189,13 +189,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @param index The index of the element to return. * @return The sliceDimensions at the given index. @@ -205,13 +205,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @param index The index of the value to return. * @return The bytes of the sliceDimensions at the given index. @@ -222,14 +222,90 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.data_item_payload][] and
+   * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string data_item_schema_uri = 6; + * + * @return The dataItemSchemaUri. + */ + java.lang.String getDataItemSchemaUri(); + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.data_item_payload][] and
+   * [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string data_item_schema_uri = 6; + * + * @return The bytes for dataItemSchemaUri. + */ + com.google.protobuf.ByteString getDataItemSchemaUriBytes(); + + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.predictions][],
+   * [EvaluatedDataItemView.ground_truths][],
+   * [EvaluatedAnnotation.predictions][], and
+   * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string annotation_schema_uri = 7; + * + * @return The annotationSchemaUri. + */ + java.lang.String getAnnotationSchemaUri(); + /** + * + * + *
+   * Points to a YAML file stored on Google Cloud Storage describing
+   * [EvaluatedDataItemView.predictions][],
+   * [EvaluatedDataItemView.ground_truths][],
+   * [EvaluatedAnnotation.predictions][], and
+   * [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
+   * OpenAPI 3.0.2 [Schema
+   * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
+   * This field is not populated if there are neither EvaluatedDataItemViews nor
+   * EvaluatedAnnotations under this ModelEvaluation.
+   * 
+ * + * string annotation_schema_uri = 7; + * + * @return The bytes for annotationSchemaUri. + */ + com.google.protobuf.ByteString getAnnotationSchemaUriBytes(); + + /** + * + * + *
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; * * @return Whether the modelExplanation field is set. */ @@ -238,14 +314,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; * * @return The modelExplanation. */ @@ -254,14 +328,85 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* + * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8; + */ + com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder getModelExplanationOrBuilder(); + + /** + * + * + *
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
+   * 
+ * * - * .google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ - com.google.cloud.aiplatform.v1.ModelExplanationOrBuilder getModelExplanationOrBuilder(); + java.util.List + getExplanationSpecsList(); + /** + * + * + *
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; + * + */ + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec getExplanationSpecs( + int index); + /** + * + * + *
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; + * + */ + int getExplanationSpecsCount(); + /** + * + * + *
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; + * + */ + java.util.List< + ? extends + com.google.cloud.aiplatform.v1.ModelEvaluation + .ModelEvaluationExplanationSpecOrBuilder> + getExplanationSpecsOrBuilderList(); + /** + * + * + *
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
+   * the predicted values on the evaluated data.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; + * + */ + com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder + getExplanationSpecsOrBuilder(int index); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java index 8fa9a454c..66ef44779 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java @@ -31,6 +31,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_ModelEvaluation_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_ModelEvaluation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -42,33 +46,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/model_evalu" + "ation.proto\022\032google.cloud.aiplatform.v1\032" - + "\034google/api/annotations.proto\032\037google/ap" - + "i/field_behavior.proto\032\031google/api/resou" - + "rce.proto\032,google/cloud/aiplatform/v1/ex" - + "planation.proto\032\034google/protobuf/struct." - + "proto\032\037google/protobuf/timestamp.proto\"\227" - + "\003\n\017ModelEvaluation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\037\n" - + "\022metrics_schema_uri\030\002 \001(\tB\003\340A\003\022,\n\007metric" - + "s\030\003 \001(\0132\026.google.protobuf.ValueB\003\340A\003\0224\n\013" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032,google/cloud/aiplat" + + "form/v1/explanation.proto\032\034google/protob" + + "uf/struct.proto\032\037google/protobuf/timesta" + + "mp.proto\"\253\005\n\017ModelEvaluation\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\003\022\032\n\022metrics_schema_uri\030\002 \001(\t\022\'\n\007m" + + "etrics\030\003 \001(\0132\026.google.protobuf.Value\0224\n\013" + "create_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022\035\n\020slice_dimensions\030\005 \003(\tB\003\340A" - + "\003\022L\n\021model_explanation\030\010 \001(\0132,.google.cl" - + "oud.aiplatform.v1.ModelExplanationB\003\340A\003:" - + "\177\352A|\n)aiplatform.googleapis.com/ModelEva" - + "luation\022Oprojects/{project}/locations/{l" - + "ocation}/models/{model}/evaluations/{eva" - + "luation}B\330\001\n\036com.google.cloud.aiplatform" - + ".v1B\024ModelEvaluationProtoP\001ZDgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1;aiplatform\252\002\032Google.Cloud.AIPlatf" - + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go" - + "ogle::Cloud::AIPlatform::V1b\006proto3" + + "stampB\003\340A\003\022\030\n\020slice_dimensions\030\005 \003(\t\022\034\n\024" + + "data_item_schema_uri\030\006 \001(\t\022\035\n\025annotation" + + "_schema_uri\030\007 \001(\t\022G\n\021model_explanation\030\010" + + " \001(\0132,.google.cloud.aiplatform.v1.ModelE" + + "xplanation\022e\n\021explanation_specs\030\t \003(\0132J." + + "google.cloud.aiplatform.v1.ModelEvaluati" + + "on.ModelEvaluationExplanationSpec\032\201\001\n\036Mo" + + "delEvaluationExplanationSpec\022\030\n\020explanat" + + "ion_type\030\001 \001(\t\022E\n\020explanation_spec\030\002 \001(\013" + + "2+.google.cloud.aiplatform.v1.Explanatio" + + "nSpec:\177\352A|\n)aiplatform.googleapis.com/Mo" + + "delEvaluation\022Oprojects/{project}/locati" + + "ons/{location}/models/{model}/evaluation" + + "s/{evaluation}B\330\001\n\036com.google.cloud.aipl" + + "atform.v1B\024ModelEvaluationProtoP\001ZDgoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "iplatform/v1;aiplatform\252\002\032Google.Cloud.A" + + "IPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\V" + + "1\352\002\035Google::Cloud::AIPlatform::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(), @@ -86,7 +96,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Metrics", "CreateTime", "SliceDimensions", + "DataItemSchemaUri", + "AnnotationSchemaUri", "ModelExplanation", + "ExplanationSpecs", + }); + internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_ModelEvaluation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ModelEvaluation_ModelEvaluationExplanationSpec_descriptor, + new java.lang.String[] { + "ExplanationType", "ExplanationSpec", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); @@ -94,7 +117,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java index dfd9dd278..77e02d92f 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java @@ -46,34 +46,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n7google/cloud/aiplatform/v1/model_evalu" + "ation_slice.proto\022\032google.cloud.aiplatfo" - + "rm.v1\032\034google/api/annotations.proto\032\037goo" - + "gle/api/field_behavior.proto\032\031google/api" - + "/resource.proto\032\034google/protobuf/struct." - + "proto\032\037google/protobuf/timestamp.proto\"\306" - + "\003\n\024ModelEvaluationSlice\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\022J\n\005slice\030\002 \001(\01326.google.cloud.aiplatf" - + "orm.v1.ModelEvaluationSlice.SliceB\003\340A\003\022\037" - + "\n\022metrics_schema_uri\030\003 \001(\tB\003\340A\003\022,\n\007metri" - + "cs\030\004 \001(\0132\026.google.protobuf.ValueB\003\340A\003\0224\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0323\n\005Slice\022\026\n\tdimension\030\001 \001(\tB" - + "\003\340A\003\022\022\n\005value\030\002 \001(\tB\003\340A\003:\224\001\352A\220\001\n.aiplatf" - + "orm.googleapis.com/ModelEvaluationSlice\022" - + "^projects/{project}/locations/{location}" - + "/models/{model}/evaluations/{evaluation}" - + "/slices/{slice}B\335\001\n\036com.google.cloud.aip" - + "latform.v1B\031ModelEvaluationSliceProtoP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1;aiplatform\252\002\032Google.C" - + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" - + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b" - + "\006proto3" + + "rm.v1\032\037google/api/field_behavior.proto\032\031" + + "google/api/resource.proto\032\034google/protob" + + "uf/struct.proto\032\037google/protobuf/timesta" + + "mp.proto\"\306\003\n\024ModelEvaluationSlice\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022J\n\005slice\030\002 \001(\01326.google.clo" + + "ud.aiplatform.v1.ModelEvaluationSlice.Sl" + + "iceB\003\340A\003\022\037\n\022metrics_schema_uri\030\003 \001(\tB\003\340A" + + "\003\022,\n\007metrics\030\004 \001(\0132\026.google.protobuf.Val" + + "ueB\003\340A\003\0224\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\0323\n\005Slice\022\026\n\tdimens" + + "ion\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\tB\003\340A\003:\224\001\352A\220" + + "\001\n.aiplatform.googleapis.com/ModelEvalua" + + "tionSlice\022^projects/{project}/locations/" + + "{location}/models/{model}/evaluations/{e" + + "valuation}/slices/{slice}B\335\001\n\036com.google" + + ".cloud.aiplatform.v1B\031ModelEvaluationSli" + + "ceProtoP\001ZDgoogle.golang.org/genproto/go" + + "ogleapis/cloud/aiplatform/v1;aiplatform\252" + + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" + + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" + + "tform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), @@ -103,7 +101,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java index 74bd78528..2178a06e0 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringObjectiveConfig.java @@ -22,7 +22,7 @@ * * *
- * Next ID: 6
+ * Next ID: 7
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig} @@ -8584,7 +8584,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Next ID: 6
+   * Next ID: 7
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java index ee02ac022..3037f24cb 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java @@ -98,96 +98,94 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/model_monit" + "oring.proto\022\032google.cloud.aiplatform.v1\032" - + "\034google/api/annotations.proto\032\031google/ap" - + "i/resource.proto\032#google/cloud/aiplatfor" - + "m/v1/io.proto\"\244\024\n\036ModelMonitoringObjecti" - + "veConfig\022d\n\020training_dataset\030\001 \001(\0132J.goo" + + "\031google/api/resource.proto\032#google/cloud" + + "/aiplatform/v1/io.proto\"\244\024\n\036ModelMonitor" + + "ingObjectiveConfig\022d\n\020training_dataset\030\001" + + " \001(\0132J.google.cloud.aiplatform.v1.ModelM" + + "onitoringObjectiveConfig.TrainingDataset" + + "\022\223\001\n)training_prediction_skew_detection_" + + "config\030\002 \001(\0132`.google.cloud.aiplatform.v" + + "1.ModelMonitoringObjectiveConfig.Trainin" + + "gPredictionSkewDetectionConfig\022\204\001\n!predi" + + "ction_drift_detection_config\030\003 \001(\0132Y.goo" + "gle.cloud.aiplatform.v1.ModelMonitoringO" - + "bjectiveConfig.TrainingDataset\022\223\001\n)train" - + "ing_prediction_skew_detection_config\030\002 \001" - + "(\0132`.google.cloud.aiplatform.v1.ModelMon" - + "itoringObjectiveConfig.TrainingPredictio" - + "nSkewDetectionConfig\022\204\001\n!prediction_drif" - + "t_detection_config\030\003 \001(\0132Y.google.cloud." + + "bjectiveConfig.PredictionDriftDetectionC" + + "onfig\022h\n\022explanation_config\030\005 \001(\0132L.goog" + + "le.cloud.aiplatform.v1.ModelMonitoringOb" + + "jectiveConfig.ExplanationConfig\032\333\002\n\017Trai" + + "ningDataset\0229\n\007dataset\030\003 \001(\tB&\372A#\n!aipla" + + "tform.googleapis.com/DatasetH\000\022;\n\ngcs_so" + + "urce\030\004 \001(\0132%.google.cloud.aiplatform.v1." + + "GcsSourceH\000\022E\n\017bigquery_source\030\005 \001(\0132*.g" + + "oogle.cloud.aiplatform.v1.BigQuerySource" + + "H\000\022\023\n\013data_format\030\002 \001(\t\022\024\n\014target_field\030" + + "\006 \001(\t\022O\n\031logging_sampling_strategy\030\007 \001(\013" + + "2,.google.cloud.aiplatform.v1.SamplingSt" + + "rategyB\r\n\013data_source\032\302\004\n%TrainingPredic" + + "tionSkewDetectionConfig\022\215\001\n\017skew_thresho" + + "lds\030\001 \003(\0132t.google.cloud.aiplatform.v1.M" + + "odelMonitoringObjectiveConfig.TrainingPr" + + "edictionSkewDetectionConfig.SkewThreshol" + + "dsEntry\022\260\001\n!attribution_score_skew_thres" + + "holds\030\002 \003(\0132\204\001.google.cloud.aiplatform.v" + + "1.ModelMonitoringObjectiveConfig.Trainin" + + "gPredictionSkewDetectionConfig.Attributi" + + "onScoreSkewThresholdsEntry\032b\n\023SkewThresh" + + "oldsEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+." + + "google.cloud.aiplatform.v1.ThresholdConf" + + "ig:\0028\001\032r\n#AttributionScoreSkewThresholds" + + "Entry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.goog" + + "le.cloud.aiplatform.v1.ThresholdConfig:\002" + + "8\001\032\262\004\n\036PredictionDriftDetectionConfig\022\210\001" + + "\n\020drift_thresholds\030\001 \003(\0132n.google.cloud." + "aiplatform.v1.ModelMonitoringObjectiveCo" - + "nfig.PredictionDriftDetectionConfig\022h\n\022e" - + "xplanation_config\030\005 \001(\0132L.google.cloud.a" - + "iplatform.v1.ModelMonitoringObjectiveCon" - + "fig.ExplanationConfig\032\333\002\n\017TrainingDatase" - + "t\0229\n\007dataset\030\003 \001(\tB&\372A#\n!aiplatform.goog" - + "leapis.com/DatasetH\000\022;\n\ngcs_source\030\004 \001(\013" - + "2%.google.cloud.aiplatform.v1.GcsSourceH" - + "\000\022E\n\017bigquery_source\030\005 \001(\0132*.google.clou" - + "d.aiplatform.v1.BigQuerySourceH\000\022\023\n\013data" - + "_format\030\002 \001(\t\022\024\n\014target_field\030\006 \001(\t\022O\n\031l" - + "ogging_sampling_strategy\030\007 \001(\0132,.google." - + "cloud.aiplatform.v1.SamplingStrategyB\r\n\013" - + "data_source\032\302\004\n%TrainingPredictionSkewDe" - + "tectionConfig\022\215\001\n\017skew_thresholds\030\001 \003(\0132" - + "t.google.cloud.aiplatform.v1.ModelMonito" - + "ringObjectiveConfig.TrainingPredictionSk" - + "ewDetectionConfig.SkewThresholdsEntry\022\260\001" - + "\n!attribution_score_skew_thresholds\030\002 \003(" - + "\0132\204\001.google.cloud.aiplatform.v1.ModelMon" - + "itoringObjectiveConfig.TrainingPredictio" - + "nSkewDetectionConfig.AttributionScoreSke" - + "wThresholdsEntry\032b\n\023SkewThresholdsEntry\022" - + "\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.clo" - + "ud.aiplatform.v1.ThresholdConfig:\0028\001\032r\n#" - + "AttributionScoreSkewThresholdsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.cloud.a" - + "iplatform.v1.ThresholdConfig:\0028\001\032\262\004\n\036Pre" - + "dictionDriftDetectionConfig\022\210\001\n\020drift_th" - + "resholds\030\001 \003(\0132n.google.cloud.aiplatform" - + ".v1.ModelMonitoringObjectiveConfig.Predi" - + "ctionDriftDetectionConfig.DriftThreshold" - + "sEntry\022\252\001\n\"attribution_score_drift_thres" - + "holds\030\002 \003(\0132~.google.cloud.aiplatform.v1" - + ".ModelMonitoringObjectiveConfig.Predicti" - + "onDriftDetectionConfig.AttributionScoreD" - + "riftThresholdsEntry\032c\n\024DriftThresholdsEn" - + "try\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google" - + ".cloud.aiplatform.v1.ThresholdConfig:\0028\001" - + "\032s\n$AttributionScoreDriftThresholdsEntry" - + "\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.cl" - + "oud.aiplatform.v1.ThresholdConfig:\0028\001\032\274\004" - + "\n\021ExplanationConfig\022!\n\031enable_feature_at" - + "tributes\030\001 \001(\010\022~\n\024explanation_baseline\030\002" - + " \001(\0132`.google.cloud.aiplatform.v1.ModelM" - + "onitoringObjectiveConfig.ExplanationConf" - + "ig.ExplanationBaseline\032\203\003\n\023ExplanationBa" - + "seline\0229\n\003gcs\030\002 \001(\0132*.google.cloud.aipla" - + "tform.v1.GcsDestinationH\000\022C\n\010bigquery\030\003 " - + "\001(\0132/.google.cloud.aiplatform.v1.BigQuer" - + "yDestinationH\000\022\214\001\n\021prediction_format\030\001 \001" - + "(\0162q.google.cloud.aiplatform.v1.ModelMon" - + "itoringObjectiveConfig.ExplanationConfig" - + ".ExplanationBaseline.PredictionFormat\"N\n" - + "\020PredictionFormat\022!\n\035PREDICTION_FORMAT_U" - + "NSPECIFIED\020\000\022\t\n\005JSONL\020\002\022\014\n\010BIGQUERY\020\003B\r\n" - + "\013destination\"\315\001\n\032ModelMonitoringAlertCon" - + "fig\022e\n\022email_alert_config\030\001 \001(\0132G.google" - + ".cloud.aiplatform.v1.ModelMonitoringAler" - + "tConfig.EmailAlertConfigH\000\022\026\n\016enable_log" - + "ging\030\002 \001(\010\032\'\n\020EmailAlertConfig\022\023\n\013user_e" - + "mails\030\001 \003(\tB\007\n\005alert\"/\n\017ThresholdConfig\022" - + "\017\n\005value\030\001 \001(\001H\000B\013\n\tthreshold\"\234\001\n\020Sampli" - + "ngStrategy\022]\n\024random_sample_config\030\001 \001(\013" - + "2?.google.cloud.aiplatform.v1.SamplingSt" - + "rategy.RandomSampleConfig\032)\n\022RandomSampl" - + "eConfig\022\023\n\013sample_rate\030\001 \001(\001B\330\001\n\036com.goo" - + "gle.cloud.aiplatform.v1B\024ModelMonitoring" - + "ProtoP\001ZDgoogle.golang.org/genproto/goog" - + "leapis/cloud/aiplatform/v1;aiplatform\252\002\032" - + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou" - + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf" - + "orm::V1b\006proto3" + + "nfig.PredictionDriftDetectionConfig.Drif" + + "tThresholdsEntry\022\252\001\n\"attribution_score_d" + + "rift_thresholds\030\002 \003(\0132~.google.cloud.aip" + + "latform.v1.ModelMonitoringObjectiveConfi" + + "g.PredictionDriftDetectionConfig.Attribu" + + "tionScoreDriftThresholdsEntry\032c\n\024DriftTh" + + "resholdsEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(" + + "\0132+.google.cloud.aiplatform.v1.Threshold" + + "Config:\0028\001\032s\n$AttributionScoreDriftThres" + + "holdsEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+" + + ".google.cloud.aiplatform.v1.ThresholdCon" + + "fig:\0028\001\032\274\004\n\021ExplanationConfig\022!\n\031enable_" + + "feature_attributes\030\001 \001(\010\022~\n\024explanation_" + + "baseline\030\002 \001(\0132`.google.cloud.aiplatform" + + ".v1.ModelMonitoringObjectiveConfig.Expla" + + "nationConfig.ExplanationBaseline\032\203\003\n\023Exp" + + "lanationBaseline\0229\n\003gcs\030\002 \001(\0132*.google.c" + + "loud.aiplatform.v1.GcsDestinationH\000\022C\n\010b" + + "igquery\030\003 \001(\0132/.google.cloud.aiplatform." + + "v1.BigQueryDestinationH\000\022\214\001\n\021prediction_" + + "format\030\001 \001(\0162q.google.cloud.aiplatform.v" + + "1.ModelMonitoringObjectiveConfig.Explana" + + "tionConfig.ExplanationBaseline.Predictio" + + "nFormat\"N\n\020PredictionFormat\022!\n\035PREDICTIO" + + "N_FORMAT_UNSPECIFIED\020\000\022\t\n\005JSONL\020\002\022\014\n\010BIG" + + "QUERY\020\003B\r\n\013destination\"\315\001\n\032ModelMonitori" + + "ngAlertConfig\022e\n\022email_alert_config\030\001 \001(" + + "\0132G.google.cloud.aiplatform.v1.ModelMoni" + + "toringAlertConfig.EmailAlertConfigH\000\022\026\n\016" + + "enable_logging\030\002 \001(\010\032\'\n\020EmailAlertConfig" + + "\022\023\n\013user_emails\030\001 \003(\tB\007\n\005alert\"/\n\017Thresh" + + "oldConfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthreshold\"" + + "\234\001\n\020SamplingStrategy\022]\n\024random_sample_co" + + "nfig\030\001 \001(\0132?.google.cloud.aiplatform.v1." + + "SamplingStrategy.RandomSampleConfig\032)\n\022R" + + "andomSampleConfig\022\023\n\013sample_rate\030\001 \001(\001B\330" + + "\001\n\036com.google.cloud.aiplatform.v1B\024Model" + + "MonitoringProtoP\001ZDgoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1;aip" + + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" + + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" + + "d::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.IoProto.getDescriptor(), }); @@ -347,7 +345,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.IoProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java index 218637b62..ec28c7271 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java @@ -61,81 +61,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/aiplatform/v1/model.proto" - + "\022\032google.cloud.aiplatform.v1\032\034google/api" - + "/annotations.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032(" - + "google/cloud/aiplatform/v1/dataset.proto" - + "\0323google/cloud/aiplatform/v1/deployed_mo" - + "del_ref.proto\0320google/cloud/aiplatform/v" - + "1/encryption_spec.proto\032(google/cloud/ai" - + "platform/v1/env_var.proto\032,google/cloud/" - + "aiplatform/v1/explanation.proto\032\034google/" - + "protobuf/struct.proto\032\037google/protobuf/t" - + "imestamp.proto\"\244\014\n\005Model\022\014\n\004name\030\001 \001(\t\022\031" - + "\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013description" - + "\030\003 \001(\t\022E\n\020predict_schemata\030\004 \001(\0132+.googl" - + "e.cloud.aiplatform.v1.PredictSchemata\022 \n" - + "\023metadata_schema_uri\030\005 \001(\tB\003\340A\005\022-\n\010metad" - + "ata\030\006 \001(\0132\026.google.protobuf.ValueB\003\340A\005\022U" - + "\n\030supported_export_formats\030\024 \003(\0132..googl" - + "e.cloud.aiplatform.v1.Model.ExportFormat" - + "B\003\340A\003\022M\n\021training_pipeline\030\007 \001(\tB2\340A\003\372A," - + "\n*aiplatform.googleapis.com/TrainingPipe" - + "line\022K\n\016container_spec\030\t \001(\0132..google.cl" - + "oud.aiplatform.v1.ModelContainerSpecB\003\340A" - + "\004\022\031\n\014artifact_uri\030\032 \001(\tB\003\340A\005\022l\n$supporte" - + "d_deployment_resources_types\030\n \003(\01629.goo" - + "gle.cloud.aiplatform.v1.Model.Deployment" - + "ResourcesTypeB\003\340A\003\022,\n\037supported_input_st" - + "orage_formats\030\013 \003(\tB\003\340A\003\022-\n supported_ou" - + "tput_storage_formats\030\014 \003(\tB\003\340A\003\0224\n\013creat" - + "e_time\030\r \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022J\n\017deployed_models\030\017" - + " \003(\0132,.google.cloud.aiplatform.v1.Deploy" - + "edModelRefB\003\340A\003\022E\n\020explanation_spec\030\027 \001(" - + "\0132+.google.cloud.aiplatform.v1.Explanati" - + "onSpec\022\014\n\004etag\030\020 \001(\t\022=\n\006labels\030\021 \003(\0132-.g" - + "oogle.cloud.aiplatform.v1.Model.LabelsEn" - + "try\022C\n\017encryption_spec\030\030 \001(\0132*.google.cl" - + "oud.aiplatform.v1.EncryptionSpec\032\325\001\n\014Exp" - + "ortFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022b\n\023exportable" - + "_contents\030\002 \003(\0162@.google.cloud.aiplatfor" - + "m.v1.Model.ExportFormat.ExportableConten" - + "tB\003\340A\003\"P\n\021ExportableContent\022\"\n\036EXPORTABL" - + "E_CONTENT_UNSPECIFIED\020\000\022\014\n\010ARTIFACT\020\001\022\t\n" - + "\005IMAGE\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\"v\n\027DeploymentResourcesTy" - + "pe\022)\n%DEPLOYMENT_RESOURCES_TYPE_UNSPECIF" - + "IED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027\n\023AUTOMA" - + "TIC_RESOURCES\020\002:\\\352AY\n\037aiplatform.googlea" - + "pis.com/Model\0226projects/{project}/locati" - + "ons/{location}/models/{model}\"{\n\017Predict" - + "Schemata\022 \n\023instance_schema_uri\030\001 \001(\tB\003\340" - + "A\005\022\"\n\025parameters_schema_uri\030\002 \001(\tB\003\340A\005\022\"" - + "\n\025prediction_schema_uri\030\003 \001(\tB\003\340A\005\"\373\001\n\022M" - + "odelContainerSpec\022\031\n\timage_uri\030\001 \001(\tB\006\340A" - + "\002\340A\005\022\024\n\007command\030\002 \003(\tB\003\340A\005\022\021\n\004args\030\003 \003(\t" - + "B\003\340A\005\0224\n\003env\030\004 \003(\0132\".google.cloud.aiplat" - + "form.v1.EnvVarB\003\340A\005\0224\n\005ports\030\005 \003(\0132 .goo" - + "gle.cloud.aiplatform.v1.PortB\003\340A\005\022\032\n\rpre" - + "dict_route\030\006 \001(\tB\003\340A\005\022\031\n\014health_route\030\007 " - + "\001(\tB\003\340A\005\"\036\n\004Port\022\026\n\016container_port\030\003 \001(\005" - + "B\316\001\n\036com.google.cloud.aiplatform.v1B\nMod" - + "elProtoP\001ZDgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1;aiplatform\252" - + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" - + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" - + "tform::V1b\006proto3" + + "\022\032google.cloud.aiplatform.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\0323google/cloud/aiplatform/v1/dep" + + "loyed_model_ref.proto\0320google/cloud/aipl" + + "atform/v1/encryption_spec.proto\032(google/" + + "cloud/aiplatform/v1/env_var.proto\032,googl" + + "e/cloud/aiplatform/v1/explanation.proto\032" + + "\034google/protobuf/struct.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\244\014\n\005Model\022\014\n\004name" + + "\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013des" + + "cription\030\003 \001(\t\022E\n\020predict_schemata\030\004 \001(\013" + + "2+.google.cloud.aiplatform.v1.PredictSch" + + "emata\022 \n\023metadata_schema_uri\030\005 \001(\tB\003\340A\005\022" + + "-\n\010metadata\030\006 \001(\0132\026.google.protobuf.Valu" + + "eB\003\340A\005\022U\n\030supported_export_formats\030\024 \003(\013" + + "2..google.cloud.aiplatform.v1.Model.Expo" + + "rtFormatB\003\340A\003\022M\n\021training_pipeline\030\007 \001(\t" + + "B2\340A\003\372A,\n*aiplatform.googleapis.com/Trai" + + "ningPipeline\022K\n\016container_spec\030\t \001(\0132..g" + + "oogle.cloud.aiplatform.v1.ModelContainer" + + "SpecB\003\340A\004\022\031\n\014artifact_uri\030\032 \001(\tB\003\340A\005\022l\n$" + + "supported_deployment_resources_types\030\n \003" + + "(\01629.google.cloud.aiplatform.v1.Model.De" + + "ploymentResourcesTypeB\003\340A\003\022,\n\037supported_" + + "input_storage_formats\030\013 \003(\tB\003\340A\003\022-\n supp" + + "orted_output_storage_formats\030\014 \003(\tB\003\340A\003\022" + + "4\n\013create_time\030\r \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022J\n\017deployed_" + + "models\030\017 \003(\0132,.google.cloud.aiplatform.v" + + "1.DeployedModelRefB\003\340A\003\022E\n\020explanation_s" + + "pec\030\027 \001(\0132+.google.cloud.aiplatform.v1.E" + + "xplanationSpec\022\014\n\004etag\030\020 \001(\t\022=\n\006labels\030\021" + + " \003(\0132-.google.cloud.aiplatform.v1.Model." + + "LabelsEntry\022C\n\017encryption_spec\030\030 \001(\0132*.g" + + "oogle.cloud.aiplatform.v1.EncryptionSpec" + + "\032\325\001\n\014ExportFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022b\n\023ex" + + "portable_contents\030\002 \003(\0162@.google.cloud.a" + + "iplatform.v1.Model.ExportFormat.Exportab" + + "leContentB\003\340A\003\"P\n\021ExportableContent\022\"\n\036E" + + "XPORTABLE_CONTENT_UNSPECIFIED\020\000\022\014\n\010ARTIF" + + "ACT\020\001\022\t\n\005IMAGE\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"v\n\027DeploymentRes" + + "ourcesType\022)\n%DEPLOYMENT_RESOURCES_TYPE_" + + "UNSPECIFIED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027" + + "\n\023AUTOMATIC_RESOURCES\020\002:\\\352AY\n\037aiplatform" + + ".googleapis.com/Model\0226projects/{project" + + "}/locations/{location}/models/{model}\"{\n" + + "\017PredictSchemata\022 \n\023instance_schema_uri\030" + + "\001 \001(\tB\003\340A\005\022\"\n\025parameters_schema_uri\030\002 \001(" + + "\tB\003\340A\005\022\"\n\025prediction_schema_uri\030\003 \001(\tB\003\340" + + "A\005\"\373\001\n\022ModelContainerSpec\022\031\n\timage_uri\030\001" + + " \001(\tB\006\340A\002\340A\005\022\024\n\007command\030\002 \003(\tB\003\340A\005\022\021\n\004ar" + + "gs\030\003 \003(\tB\003\340A\005\0224\n\003env\030\004 \003(\0132\".google.clou" + + "d.aiplatform.v1.EnvVarB\003\340A\005\0224\n\005ports\030\005 \003" + + "(\0132 .google.cloud.aiplatform.v1.PortB\003\340A" + + "\005\022\032\n\rpredict_route\030\006 \001(\tB\003\340A\005\022\031\n\014health_" + + "route\030\007 \001(\tB\003\340A\005\"\036\n\004Port\022\026\n\016container_po" + + "rt\030\003 \001(\005B\316\001\n\036com.google.cloud.aiplatform" + + ".v1B\nModelProtoP\001ZDgoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1;aip" + + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" + + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" + + "d::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(), com.google.cloud.aiplatform.v1.DeployedModelNameProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), com.google.cloud.aiplatform.v1.EnvVarProto.getDescriptor(), @@ -217,10 +213,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(); com.google.cloud.aiplatform.v1.DeployedModelNameProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); com.google.cloud.aiplatform.v1.EnvVarProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java index a317f3bfa..24fc44d14 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java @@ -79,6 +79,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_ExportModelResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_ExportModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -116,138 +120,145 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ce.proto\022\032google.cloud.aiplatform.v1\032\034go" + "ogle/api/annotations.proto\032\027google/api/c" + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\0320google/" - + "cloud/aiplatform/v1/encryption_spec.prot" - + "o\032,google/cloud/aiplatform/v1/explanatio" - + "n.proto\032#google/cloud/aiplatform/v1/io.p" - + "roto\032&google/cloud/aiplatform/v1/model.p" - + "roto\0321google/cloud/aiplatform/v1/model_e" - + "valuation.proto\0327google/cloud/aiplatform" - + "/v1/model_evaluation_slice.proto\032*google" - + "/cloud/aiplatform/v1/operation.proto\032#go" - + "ogle/longrunning/operations.proto\032 googl" - + "e/protobuf/field_mask.proto\"\206\001\n\022UploadMo" - + "delRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" - + "tions.googleapis.com/Location\0225\n\005model\030\002" - + " \001(\0132!.google.cloud.aiplatform.v1.ModelB" - + "\003\340A\002\"n\n\034UploadModelOperationMetadata\022N\n\020" - + "generic_metadata\030\001 \001(\01324.google.cloud.ai" - + "platform.v1.GenericOperationMetadata\"J\n\023" - + "UploadModelResponse\0223\n\005model\030\001 \001(\tB$\372A!\n" - + "\037aiplatform.googleapis.com/Model\"H\n\017GetM" - + "odelRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aipla" - + "tform.googleapis.com/Model\"\306\001\n\021ListModel" - + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\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\"`\n\022ListModel" - + "sResponse\0221\n\006models\030\001 \003(\0132!.google.cloud" - + ".aiplatform.v1.Model\022\027\n\017next_page_token\030" - + "\002 \001(\t\"\201\001\n\022UpdateModelRequest\0225\n\005model\030\001 " - + "\001(\0132!.google.cloud.aiplatform.v1.ModelB\003" - + "\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMaskB\003\340A\002\"K\n\022DeleteModelRequest\022" - + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.google" - + "apis.com/Model\"\356\002\n\022ExportModelRequest\0225\n" - + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleap" - + "is.com/Model\022W\n\routput_config\030\002 \001(\0132;.go" - + "ogle.cloud.aiplatform.v1.ExportModelRequ" - + "est.OutputConfigB\003\340A\002\032\307\001\n\014OutputConfig\022\030" - + "\n\020export_format_id\030\001 \001(\t\022H\n\024artifact_des" - + "tination\030\003 \001(\0132*.google.cloud.aiplatform" - + ".v1.GcsDestination\022S\n\021image_destination\030" - + "\004 \001(\01328.google.cloud.aiplatform.v1.Conta" - + "inerRegistryDestination\"\234\002\n\034ExportModelO" - + "perationMetadata\022N\n\020generic_metadata\030\001 \001" - + "(\01324.google.cloud.aiplatform.v1.GenericO" - + "perationMetadata\022]\n\013output_info\030\002 \001(\0132C." - + "google.cloud.aiplatform.v1.ExportModelOp" - + "erationMetadata.OutputInfoB\003\340A\003\032M\n\nOutpu" - + "tInfo\022 \n\023artifact_output_uri\030\002 \001(\tB\003\340A\003\022" - + "\035\n\020image_output_uri\030\003 \001(\tB\003\340A\003\"\025\n\023Export" - + "ModelResponse\"\\\n\031GetModelEvaluationReque" - + "st\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.goo" - + "gleapis.com/ModelEvaluation\"\274\001\n\033ListMode" - + "lEvaluationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002" - + "\372A!\n\037aiplatform.googleapis.com/Model\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\"\177\n\034ListModelEvaluatio" - + "nsResponse\022F\n\021model_evaluations\030\001 \003(\0132+." - + "google.cloud.aiplatform.v1.ModelEvaluati" - + "on\022\027\n\017next_page_token\030\002 \001(\t\"f\n\036GetModelE" - + "valuationSliceRequest\022D\n\004name\030\001 \001(\tB6\340A\002" - + "\372A0\n.aiplatform.googleapis.com/ModelEval" - + "uationSlice\"\313\001\n ListModelEvaluationSlice" - + "sRequest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A+\n)aiplat" - + "form.googleapis.com/ModelEvaluation\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\"\217\001\n!ListModelEvaluatio" - + "nSlicesResponse\022Q\n\027model_evaluation_slic" - + "es\030\001 \003(\01320.google.cloud.aiplatform.v1.Mo" - + "delEvaluationSlice\022\027\n\017next_page_token\030\002 " - + "\001(\t2\327\020\n\014ModelService\022\340\001\n\013UploadModel\022..g" - + "oogle.cloud.aiplatform.v1.UploadModelReq" - + "uest\032\035.google.longrunning.Operation\"\201\001\202\323" - + "\344\223\0026\"1/v1/{parent=projects/*/locations/*" - + "}/models:upload:\001*\332A\014parent,model\312A3\n\023Up" - + "loadModelResponse\022\034UploadModelOperationM" - + "etadata\022\225\001\n\010GetModel\022+.google.cloud.aipl" - + "atform.v1.GetModelRequest\032!.google.cloud" - + ".aiplatform.v1.Model\"9\202\323\344\223\002,\022*/v1/{name=" - + "projects/*/locations/*/models/*}\332A\004name\022" - + "\250\001\n\nListModels\022-.google.cloud.aiplatform" - + ".v1.ListModelsRequest\032..google.cloud.aip" - + "latform.v1.ListModelsResponse\";\202\323\344\223\002,\022*/" - + "v1/{parent=projects/*/locations/*}/model" - + "s\332A\006parent\022\265\001\n\013UpdateModel\022..google.clou" - + "d.aiplatform.v1.UpdateModelRequest\032!.goo" - + "gle.cloud.aiplatform.v1.Model\"S\202\323\344\223\002920/" - + "v1/{model.name=projects/*/locations/*/mo" - + "dels/*}:\005model\332A\021model,update_mask\022\312\001\n\013D" - + "eleteModel\022..google.cloud.aiplatform.v1." - + "DeleteModelRequest\032\035.google.longrunning." - + "Operation\"l\202\323\344\223\002,**/v1/{name=projects/*/" - + "locations/*/models/*}\332A\004name\312A0\n\025google." - + "protobuf.Empty\022\027DeleteOperationMetadata\022" - + "\346\001\n\013ExportModel\022..google.cloud.aiplatfor" - + "m.v1.ExportModelRequest\032\035.google.longrun" - + "ning.Operation\"\207\001\202\323\344\223\0026\"1/v1/{name=proje" - + "cts/*/locations/*/models/*}:export:\001*\332A\022" - + "name,output_config\312A3\n\023ExportModelRespon" - + "se\022\034ExportModelOperationMetadata\022\301\001\n\022Get" - + "ModelEvaluation\0225.google.cloud.aiplatfor" - + "m.v1.GetModelEvaluationRequest\032+.google." - + "cloud.aiplatform.v1.ModelEvaluation\"G\202\323\344" - + "\223\002:\0228/v1/{name=projects/*/locations/*/mo" - + "dels/*/evaluations/*}\332A\004name\022\324\001\n\024ListMod" - + "elEvaluations\0227.google.cloud.aiplatform." - + "v1.ListModelEvaluationsRequest\0328.google." - + "cloud.aiplatform.v1.ListModelEvaluations" - + "Response\"I\202\323\344\223\002:\0228/v1/{parent=projects/*" - + "/locations/*/models/*}/evaluations\332A\006par" - + "ent\022\331\001\n\027GetModelEvaluationSlice\022:.google" - + ".cloud.aiplatform.v1.GetModelEvaluationS" - + "liceRequest\0320.google.cloud.aiplatform.v1" - + ".ModelEvaluationSlice\"P\202\323\344\223\002C\022A/v1/{name" - + "=projects/*/locations/*/models/*/evaluat" - + "ions/*/slices/*}\332A\004name\022\354\001\n\031ListModelEva" - + "luationSlices\022<.google.cloud.aiplatform." - + "v1.ListModelEvaluationSlicesRequest\032=.go" - + "ogle.cloud.aiplatform.v1.ListModelEvalua" - + "tionSlicesResponse\"R\202\323\344\223\002C\022A/v1/{parent=" - + "projects/*/locations/*/models/*/evaluati" - + "ons/*}/slices\332A\006parent\032M\312A\031aiplatform.go" - + "ogleapis.com\322A.https://www.googleapis.co" - + "m/auth/cloud-platformB\325\001\n\036com.google.clo" - + "ud.aiplatform.v1B\021ModelServiceProtoP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" - + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" - + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" - + "roto3" + + "roto\032\031google/api/resource.proto\032#google/" + + "cloud/aiplatform/v1/io.proto\032&google/clo" + + "ud/aiplatform/v1/model.proto\0321google/clo" + + "ud/aiplatform/v1/model_evaluation.proto\032" + + "7google/cloud/aiplatform/v1/model_evalua" + + "tion_slice.proto\032*google/cloud/aiplatfor" + + "m/v1/operation.proto\032#google/longrunning" + + "/operations.proto\032 google/protobuf/field" + + "_mask.proto\"\206\001\n\022UploadModelRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis" + + ".com/Location\0225\n\005model\030\002 \001(\0132!.google.cl" + + "oud.aiplatform.v1.ModelB\003\340A\002\"n\n\034UploadMo" + + "delOperationMetadata\022N\n\020generic_metadata" + + "\030\001 \001(\01324.google.cloud.aiplatform.v1.Gene" + + "ricOperationMetadata\"J\n\023UploadModelRespo" + + "nse\0223\n\005model\030\001 \001(\tB$\372A!\n\037aiplatform.goog" + + "leapis.com/Model\"H\n\017GetModelRequest\0225\n\004n" + + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis" + + ".com/Model\"\306\001\n\021ListModelsRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c" + + "om/Location\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\010ord" + + "er_by\030\006 \001(\t\"`\n\022ListModelsResponse\0221\n\006mod" + + "els\030\001 \003(\0132!.google.cloud.aiplatform.v1.M" + + "odel\022\027\n\017next_page_token\030\002 \001(\t\"\201\001\n\022Update" + + "ModelRequest\0225\n\005model\030\001 \001(\0132!.google.clo" + + "ud.aiplatform.v1.ModelB\003\340A\002\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"K\n\022DeleteModelRequest\0225\n\004name\030\001 \001(\tB\'\340" + + "A\002\372A!\n\037aiplatform.googleapis.com/Model\"\356" + + "\002\n\022ExportModelRequest\0225\n\004name\030\001 \001(\tB\'\340A\002" + + "\372A!\n\037aiplatform.googleapis.com/Model\022W\n\r" + + "output_config\030\002 \001(\0132;.google.cloud.aipla" + + "tform.v1.ExportModelRequest.OutputConfig" + + "B\003\340A\002\032\307\001\n\014OutputConfig\022\030\n\020export_format_" + + "id\030\001 \001(\t\022H\n\024artifact_destination\030\003 \001(\0132*" + + ".google.cloud.aiplatform.v1.GcsDestinati" + + "on\022S\n\021image_destination\030\004 \001(\01328.google.c" + + "loud.aiplatform.v1.ContainerRegistryDest" + + "ination\"\234\002\n\034ExportModelOperationMetadata" + + "\022N\n\020generic_metadata\030\001 \001(\01324.google.clou" + + "d.aiplatform.v1.GenericOperationMetadata" + + "\022]\n\013output_info\030\002 \001(\0132C.google.cloud.aip" + + "latform.v1.ExportModelOperationMetadata." + + "OutputInfoB\003\340A\003\032M\n\nOutputInfo\022 \n\023artifac" + + "t_output_uri\030\002 \001(\tB\003\340A\003\022\035\n\020image_output_" + + "uri\030\003 \001(\tB\003\340A\003\"\025\n\023ExportModelResponse\"\243\001" + + "\n\034ImportModelEvaluationRequest\0227\n\006parent" + + "\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis.co" + + "m/Model\022J\n\020model_evaluation\030\002 \001(\0132+.goog" + + "le.cloud.aiplatform.v1.ModelEvaluationB\003" + + "\340A\002\"\\\n\031GetModelEvaluationRequest\022?\n\004name" + + "\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googleapis.co" + + "m/ModelEvaluation\"\274\001\n\033ListModelEvaluatio" + + "nsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aipla" + + "tform.googleapis.com/Model\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.F" + + "ieldMask\"\177\n\034ListModelEvaluationsResponse" + + "\022F\n\021model_evaluations\030\001 \003(\0132+.google.clo" + + "ud.aiplatform.v1.ModelEvaluation\022\027\n\017next" + + "_page_token\030\002 \001(\t\"f\n\036GetModelEvaluationS" + + "liceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.aipla" + + "tform.googleapis.com/ModelEvaluationSlic" + + "e\"\313\001\n ListModelEvaluationSlicesRequest\022A" + + "\n\006parent\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googl" + + "eapis.com/ModelEvaluation\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.Fi" + + "eldMask\"\217\001\n!ListModelEvaluationSlicesRes" + + "ponse\022Q\n\027model_evaluation_slices\030\001 \003(\01320" + + ".google.cloud.aiplatform.v1.ModelEvaluat" + + "ionSlice\022\027\n\017next_page_token\030\002 \001(\t2\276\022\n\014Mo" + + "delService\022\340\001\n\013UploadModel\022..google.clou" + + "d.aiplatform.v1.UploadModelRequest\032\035.goo" + + "gle.longrunning.Operation\"\201\001\202\323\344\223\0026\"1/v1/" + + "{parent=projects/*/locations/*}/models:u" + + "pload:\001*\332A\014parent,model\312A3\n\023UploadModelR" + + "esponse\022\034UploadModelOperationMetadata\022\225\001" + + "\n\010GetModel\022+.google.cloud.aiplatform.v1." + + "GetModelRequest\032!.google.cloud.aiplatfor" + + "m.v1.Model\"9\202\323\344\223\002,\022*/v1/{name=projects/*" + + "/locations/*/models/*}\332A\004name\022\250\001\n\nListMo" + + "dels\022-.google.cloud.aiplatform.v1.ListMo" + + "delsRequest\032..google.cloud.aiplatform.v1" + + ".ListModelsResponse\";\202\323\344\223\002,\022*/v1/{parent" + + "=projects/*/locations/*}/models\332A\006parent" + + "\022\265\001\n\013UpdateModel\022..google.cloud.aiplatfo" + + "rm.v1.UpdateModelRequest\032!.google.cloud." + + "aiplatform.v1.Model\"S\202\323\344\223\002920/v1/{model." + + "name=projects/*/locations/*/models/*}:\005m" + + "odel\332A\021model,update_mask\022\312\001\n\013DeleteModel" + + "\022..google.cloud.aiplatform.v1.DeleteMode" + + "lRequest\032\035.google.longrunning.Operation\"" + + "l\202\323\344\223\002,**/v1/{name=projects/*/locations/" + + "*/models/*}\332A\004name\312A0\n\025google.protobuf.E" + + "mpty\022\027DeleteOperationMetadata\022\346\001\n\013Export" + + "Model\022..google.cloud.aiplatform.v1.Expor" + + "tModelRequest\032\035.google.longrunning.Opera" + + "tion\"\207\001\202\323\344\223\0026\"1/v1/{name=projects/*/loca" + + "tions/*/models/*}:export:\001*\332A\022name,outpu" + + "t_config\312A3\n\023ExportModelResponse\022\034Export" + + "ModelOperationMetadata\022\344\001\n\025ImportModelEv" + + "aluation\0228.google.cloud.aiplatform.v1.Im" + + "portModelEvaluationRequest\032+.google.clou" + + "d.aiplatform.v1.ModelEvaluation\"d\202\323\344\223\002D\"" + + "?/v1/{parent=projects/*/locations/*/mode" + + "ls/*}/evaluations:import:\001*\332A\027parent,mod" + + "el_evaluation\022\301\001\n\022GetModelEvaluation\0225.g" + + "oogle.cloud.aiplatform.v1.GetModelEvalua" + + "tionRequest\032+.google.cloud.aiplatform.v1" + + ".ModelEvaluation\"G\202\323\344\223\002:\0228/v1/{name=proj" + + "ects/*/locations/*/models/*/evaluations/" + + "*}\332A\004name\022\324\001\n\024ListModelEvaluations\0227.goo" + + "gle.cloud.aiplatform.v1.ListModelEvaluat" + + "ionsRequest\0328.google.cloud.aiplatform.v1" + + ".ListModelEvaluationsResponse\"I\202\323\344\223\002:\0228/" + + "v1/{parent=projects/*/locations/*/models" + + "/*}/evaluations\332A\006parent\022\331\001\n\027GetModelEva" + + "luationSlice\022:.google.cloud.aiplatform.v" + + "1.GetModelEvaluationSliceRequest\0320.googl" + + "e.cloud.aiplatform.v1.ModelEvaluationSli" + + "ce\"P\202\323\344\223\002C\022A/v1/{name=projects/*/locatio" + + "ns/*/models/*/evaluations/*/slices/*}\332A\004" + + "name\022\354\001\n\031ListModelEvaluationSlices\022<.goo" + + "gle.cloud.aiplatform.v1.ListModelEvaluat" + + "ionSlicesRequest\032=.google.cloud.aiplatfo" + + "rm.v1.ListModelEvaluationSlicesResponse\"" + + "R\202\323\344\223\002C\022A/v1/{parent=projects/*/location" + + "s/*/models/*/evaluations/*}/slices\332A\006par" + + "ent\032M\312A\031aiplatform.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\325\001\n\036com.google.cloud.aiplatform.v1B\021M" + + "odelServiceProtoP\001ZDgoogle.golang.org/ge" + + "nproto/googleapis/cloud/aiplatform/v1;ai" + + "platform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032" + + "Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Clo" + + "ud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -257,8 +268,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(), com.google.cloud.aiplatform.v1.IoProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelEvaluationProto.getDescriptor(), @@ -373,8 +382,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ExportModelResponse_descriptor, new java.lang.String[] {}); - internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_descriptor = + internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor = getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor, + new java.lang.String[] { + "Parent", "ModelEvaluation", + }); + internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_descriptor, @@ -382,7 +399,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsRequest_descriptor, @@ -390,7 +407,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsResponse_descriptor, @@ -398,7 +415,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelEvaluations", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationSliceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationSliceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetModelEvaluationSliceRequest_descriptor, @@ -406,7 +423,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesRequest_descriptor, @@ -414,7 +431,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesResponse_descriptor, @@ -436,8 +453,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(); com.google.cloud.aiplatform.v1.IoProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelEvaluationProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java index 00b48b05b..20d099390 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java @@ -45,29 +45,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n*google/cloud/aiplatform/v1/operation.p" - + "roto\022\032google.cloud.aiplatform.v1\032\034google" - + "/api/annotations.proto\032\037google/api/field" - + "_behavior.proto\032\037google/protobuf/timesta" - + "mp.proto\032\027google/rpc/status.proto\"\271\001\n\030Ge" - + "nericOperationMetadata\0221\n\020partial_failur" - + "es\030\001 \003(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013cre" - + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\"i\n\027DeleteOperation" - + "Metadata\022N\n\020generic_metadata\030\001 \001(\01324.goo" - + "gle.cloud.aiplatform.v1.GenericOperation" - + "MetadataB\322\001\n\036com.google.cloud.aiplatform" - + ".v1B\016OperationProtoP\001ZDgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" - + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" - + "Cloud::AIPlatform::V1b\006proto3" + + "roto\022\032google.cloud.aiplatform.v1\032\037google" + + "/api/field_behavior.proto\032\037google/protob" + + "uf/timestamp.proto\032\027google/rpc/status.pr" + + "oto\"\271\001\n\030GenericOperationMetadata\0221\n\020part" + + "ial_failures\030\001 \003(\0132\022.google.rpc.StatusB\003" + + "\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\"i\n\027Delet" + + "eOperationMetadata\022N\n\020generic_metadata\030\001" + + " \001(\01324.google.cloud.aiplatform.v1.Generi" + + "cOperationMetadataB\322\001\n\036com.google.cloud." + + "aiplatform.v1B\016OperationProtoP\001ZDgoogle." + + "golang.org/genproto/googleapis/cloud/aip" + + "latform/v1;aiplatform\252\002\032Google.Cloud.AIP" + + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" + + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), @@ -93,7 +91,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java index 3e905e036..0b86d621c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java @@ -93,120 +93,119 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n-google/cloud/aiplatform/v1/pipeline_jo" - + "b.proto\022\032google.cloud.aiplatform.v1\032\034goo" - + "gle/api/annotations.proto\032\037google/api/fi" - + "eld_behavior.proto\032\031google/api/resource." - + "proto\032)google/cloud/aiplatform/v1/artifa" - + "ct.proto\032(google/cloud/aiplatform/v1/con" - + "text.proto\0320google/cloud/aiplatform/v1/e" - + "ncryption_spec.proto\032*google/cloud/aipla" - + "tform/v1/execution.proto\032/google/cloud/a" - + "iplatform/v1/pipeline_state.proto\032&googl" - + "e/cloud/aiplatform/v1/value.proto\032\034googl" - + "e/protobuf/struct.proto\032\037google/protobuf" - + "/timestamp.proto\032\027google/rpc/status.prot" - + "o\"\326\n\n\013PipelineJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014" - + "display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0223\n\nstar" - + "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0223\n\rpipeli" - + "ne_spec\030\007 \001(\0132\027.google.protobuf.StructB\003" - + "\340A\002\022=\n\005state\030\010 \001(\0162).google.cloud.aiplat" - + "form.v1.PipelineStateB\003\340A\003\022F\n\njob_detail" - + "\030\t \001(\0132-.google.cloud.aiplatform.v1.Pipe" - + "lineJobDetailB\003\340A\003\022&\n\005error\030\n \001(\0132\022.goog" - + "le.rpc.StatusB\003\340A\003\022C\n\006labels\030\013 \003(\01323.goo" - + "gle.cloud.aiplatform.v1.PipelineJob.Labe" - + "lsEntry\022M\n\016runtime_config\030\014 \001(\01325.google" - + ".cloud.aiplatform.v1.PipelineJob.Runtime" - + "Config\022C\n\017encryption_spec\030\020 \001(\0132*.google" - + ".cloud.aiplatform.v1.EncryptionSpec\022\027\n\017s" - + "ervice_account\030\021 \001(\t\0224\n\007network\030\022 \001(\tB#\372" - + "A \n\036compute.googleapis.com/Network\032\235\003\n\rR" - + "untimeConfig\022]\n\nparameters\030\001 \003(\0132E.googl" - + "e.cloud.aiplatform.v1.PipelineJob.Runtim" - + "eConfig.ParametersEntryB\002\030\001\022!\n\024gcs_outpu" - + "t_directory\030\002 \001(\tB\003\340A\002\022d\n\020parameter_valu" - + "es\030\003 \003(\0132J.google.cloud.aiplatform.v1.Pi" - + "pelineJob.RuntimeConfig.ParameterValuesE" - + "ntry\032T\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\0220\n\005" - + "value\030\002 \001(\0132!.google.cloud.aiplatform.v1" - + ".Value:\0028\001\032N\n\024ParameterValuesEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf" - + ".Value:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%aiplatform.googl" - + "eapis.com/PipelineJob\022Cprojects/{project" - + "}/locations/{location}/pipelineJobs/{pip" - + "eline_job}\"\352\001\n\021PipelineJobDetail\022B\n\020pipe" - + "line_context\030\001 \001(\0132#.google.cloud.aiplat" - + "form.v1.ContextB\003\340A\003\022F\n\024pipeline_run_con" - + "text\030\002 \001(\0132#.google.cloud.aiplatform.v1." - + "ContextB\003\340A\003\022I\n\014task_details\030\003 \003(\0132..goo" + + "b.proto\022\032google.cloud.aiplatform.v1\032\037goo" + + "gle/api/field_behavior.proto\032\031google/api" + + "/resource.proto\032)google/cloud/aiplatform" + + "/v1/artifact.proto\032(google/cloud/aiplatf" + + "orm/v1/context.proto\0320google/cloud/aipla" + + "tform/v1/encryption_spec.proto\032*google/c" + + "loud/aiplatform/v1/execution.proto\032/goog" + + "le/cloud/aiplatform/v1/pipeline_state.pr" + + "oto\032&google/cloud/aiplatform/v1/value.pr" + + "oto\032\034google/protobuf/struct.proto\032\037googl" + + "e/protobuf/timestamp.proto\032\027google/rpc/s" + + "tatus.proto\"\326\n\n\013PipelineJob\022\021\n\004name\030\001 \001(" + + "\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\0224\n\013create_t" + + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim" + + "e\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0223\n\rpipeline_spec\030\007 \001(\0132\027.google.protobu" + + "f.StructB\003\340A\002\022=\n\005state\030\010 \001(\0162).google.cl" + + "oud.aiplatform.v1.PipelineStateB\003\340A\003\022F\n\n" + + "job_detail\030\t \001(\0132-.google.cloud.aiplatfo" + + "rm.v1.PipelineJobDetailB\003\340A\003\022&\n\005error\030\n " + + "\001(\0132\022.google.rpc.StatusB\003\340A\003\022C\n\006labels\030\013" + + " \003(\01323.google.cloud.aiplatform.v1.Pipeli" + + "neJob.LabelsEntry\022M\n\016runtime_config\030\014 \001(" + + "\01325.google.cloud.aiplatform.v1.PipelineJ" + + "ob.RuntimeConfig\022C\n\017encryption_spec\030\020 \001(" + + "\0132*.google.cloud.aiplatform.v1.Encryptio" + + "nSpec\022\027\n\017service_account\030\021 \001(\t\0224\n\007networ" + + "k\030\022 \001(\tB#\372A \n\036compute.googleapis.com/Net" + + "work\032\235\003\n\rRuntimeConfig\022]\n\nparameters\030\001 \003" + + "(\0132E.google.cloud.aiplatform.v1.Pipeline" + + "Job.RuntimeConfig.ParametersEntryB\002\030\001\022!\n" + + "\024gcs_output_directory\030\002 \001(\tB\003\340A\002\022d\n\020para" + + "meter_values\030\003 \003(\0132J.google.cloud.aiplat" + + "form.v1.PipelineJob.RuntimeConfig.Parame" + + "terValuesEntry\032T\n\017ParametersEntry\022\013\n\003key" + + "\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.cloud.aip" + + "latform.v1.Value:\0028\001\032N\n\024ParameterValuesE" + + "ntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.googl" + + "e.protobuf.Value:\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}\"\352\001\n\021PipelineJobDeta" + + "il\022B\n\020pipeline_context\030\001 \001(\0132#.google.cl" + + "oud.aiplatform.v1.ContextB\003\340A\003\022F\n\024pipeli" + + "ne_run_context\030\002 \001(\0132#.google.cloud.aipl" + + "atform.v1.ContextB\003\340A\003\022I\n\014task_details\030\003" + + " \003(\0132..google.cloud.aiplatform.v1.Pipeli" + + "neTaskDetailB\003\340A\003\"\235\013\n\022PipelineTaskDetail" + + "\022\024\n\007task_id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id" + + "\030\014 \001(\003B\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013c" + + "reate_time\030\003 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022T\n\017exe" + + "cutor_detail\030\006 \001(\01326.google.cloud.aiplat" + + "form.v1.PipelineTaskExecutorDetailB\003\340A\003\022" + + "H\n\005state\030\007 \001(\01624.google.cloud.aiplatform" + + ".v1.PipelineTaskDetail.StateB\003\340A\003\022=\n\texe" + + "cution\030\010 \001(\0132%.google.cloud.aiplatform.v" + + "1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\0132\022.google" + + ".rpc.StatusB\003\340A\003\022d\n\024pipeline_task_status" + + "\030\r \003(\0132A.google.cloud.aiplatform.v1.Pipe" + + "lineTaskDetail.PipelineTaskStatusB\003\340A\003\022O" + + "\n\006inputs\030\n \003(\0132:.google.cloud.aiplatform" + + ".v1.PipelineTaskDetail.InputsEntryB\003\340A\003\022" + + "Q\n\007outputs\030\013 \003(\0132;.google.cloud.aiplatfo" + + "rm.v1.PipelineTaskDetail.OutputsEntryB\003\340" + + "A\003\032\274\001\n\022PipelineTaskStatus\0224\n\013update_time" + + "\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "H\n\005state\030\002 \001(\01624.google.cloud.aiplatform" + + ".v1.PipelineTaskDetail.StateB\003\340A\003\022&\n\005err" + + "or\030\003 \001(\0132\022.google.rpc.StatusB\003\340A\003\032L\n\014Art" + + "ifactList\022<\n\tartifacts\030\001 \003(\0132$.google.cl" + + "oud.aiplatform.v1.ArtifactB\003\340A\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" - + "ilB\003\340A\003\"\235\013\n\022PipelineTaskDetail\022\024\n\007task_i" - + "d\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id\030\014 \001(\003B\003\340A" - + "\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013create_time" - + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "3\n\nstart_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google." - + "protobuf.TimestampB\003\340A\003\022T\n\017executor_deta" - + "il\030\006 \001(\01326.google.cloud.aiplatform.v1.Pi" - + "pelineTaskExecutorDetailB\003\340A\003\022H\n\005state\030\007" - + " \001(\01624.google.cloud.aiplatform.v1.Pipeli" - + "neTaskDetail.StateB\003\340A\003\022=\n\texecution\030\010 \001" - + "(\0132%.google.cloud.aiplatform.v1.Executio" - + "nB\003\340A\003\022&\n\005error\030\t \001(\0132\022.google.rpc.Statu" - + "sB\003\340A\003\022d\n\024pipeline_task_status\030\r \003(\0132A.g" - + "oogle.cloud.aiplatform.v1.PipelineTaskDe" - + "tail.PipelineTaskStatusB\003\340A\003\022O\n\006inputs\030\n" - + " \003(\0132:.google.cloud.aiplatform.v1.Pipeli" - + "neTaskDetail.InputsEntryB\003\340A\003\022Q\n\007outputs" - + "\030\013 \003(\0132;.google.cloud.aiplatform.v1.Pipe" - + "lineTaskDetail.OutputsEntryB\003\340A\003\032\274\001\n\022Pip" - + "elineTaskStatus\0224\n\013update_time\030\001 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022H\n\005state\030\002" - + " \001(\01624.google.cloud.aiplatform.v1.Pipeli" - + "neTaskDetail.StateB\003\340A\003\022&\n\005error\030\003 \001(\0132\022" - + ".google.rpc.StatusB\003\340A\003\032L\n\014ArtifactList\022" - + "<\n\tartifacts\030\001 \003(\0132$.google.cloud.aiplat" - + "form.v1.ArtifactB\003\340A\003\032j\n\013InputsEntry\022\013\n\003" - + "key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.cloud." - + "aiplatform.v1.PipelineTaskDetail.Artifac" - + "tList:\0028\001\032k\n\014OutputsEntry\022\013\n\003key\030\001 \001(\t\022J" - + "\n\005value\030\002 \001(\0132;.google.cloud.aiplatform." - + "v1.PipelineTaskDetail.ArtifactList:\0028\001\"\246" - + "\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" - + "NG\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\022\n\016CANC" - + "EL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLE" - + "D\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022\021\n\rNOT_TRIG" - + "GERED\020\t\"\354\003\n\032PipelineTaskExecutorDetail\022g" - + "\n\020container_detail\030\001 \001(\0132F.google.cloud." - + "aiplatform.v1.PipelineTaskExecutorDetail" - + ".ContainerDetailB\003\340A\003H\000\022j\n\021custom_job_de" - + "tail\030\002 \001(\0132F.google.cloud.aiplatform.v1." - + "PipelineTaskExecutorDetail.CustomJobDeta" - + "ilB\005\030\001\340A\003H\000\032\234\001\n\017ContainerDetail\022=\n\010main_" - + "job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis" - + ".com/CustomJob\022J\n\025pre_caching_check_job\030" - + "\002 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis.com" - + "/CustomJob\032O\n\017CustomJobDetail\0228\n\003job\030\001 \001" - + "(\tB+\340A\003\372A%\n#aiplatform.googleapis.com/Cu" - + "stomJob:\002\030\001B\t\n\007detailsB\235\002\n\036com.google.cl" - + "oud.aiplatform.v1B\010PipelineP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" - + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" - + "Google::Cloud::AIPlatform::V1\352AN\n\036comput" - + "e.googleapis.com/Network\022,projects/{proj" - + "ect}/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\"\354\003\n\032PipelineTaskExecut" + + "orDetail\022g\n\020container_detail\030\001 \001(\0132F.goo" + + "gle.cloud.aiplatform.v1.PipelineTaskExec" + + "utorDetail.ContainerDetailB\003\340A\003H\000\022j\n\021cus" + + "tom_job_detail\030\002 \001(\0132F.google.cloud.aipl" + + "atform.v1.PipelineTaskExecutorDetail.Cus" + + "tomJobDetailB\005\030\001\340A\003H\000\032\234\001\n\017ContainerDetai" + + "l\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform." + + "googleapis.com/CustomJob\022J\n\025pre_caching_" + + "check_job\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.goog" + + "leapis.com/CustomJob\032O\n\017CustomJobDetail\022" + + "8\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googlea" + + "pis.com/CustomJob:\002\030\001B\t\n\007detailsB\235\002\n\036com" + + ".google.cloud.aiplatform.v1B\010PipelineP\001Z" + + "Dgoogle.golang.org/genproto/googleapis/c" + + "loud/aiplatform/v1;aiplatform\252\002\032Google.C" + + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" + + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1\352" + + "AN\n\036compute.googleapis.com/Network\022,proj" + + "ects/{project}/global/networks/{network}" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.ArtifactProto.getDescriptor(), @@ -381,7 +380,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.ArtifactProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java index 6018d60d7..802f1c958 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java @@ -36,29 +36,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n/google/cloud/aiplatform/v1/pipeline_st" - + "ate.proto\022\032google.cloud.aiplatform.v1\032\034g" - + "oogle/api/annotations.proto*\223\002\n\rPipeline" - + "State\022\036\n\032PIPELINE_STATE_UNSPECIFIED\020\000\022\031\n" - + "\025PIPELINE_STATE_QUEUED\020\001\022\032\n\026PIPELINE_STA" - + "TE_PENDING\020\002\022\032\n\026PIPELINE_STATE_RUNNING\020\003" - + "\022\034\n\030PIPELINE_STATE_SUCCEEDED\020\004\022\031\n\025PIPELI" - + "NE_STATE_FAILED\020\005\022\035\n\031PIPELINE_STATE_CANC" - + "ELLING\020\006\022\034\n\030PIPELINE_STATE_CANCELLED\020\007\022\031" - + "\n\025PIPELINE_STATE_PAUSED\020\010B\326\001\n\036com.google" - + ".cloud.aiplatform.v1B\022PipelineStateProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" - + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" - + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" - + "V1b\006proto3" + + "ate.proto\022\032google.cloud.aiplatform.v1*\223\002" + + "\n\rPipelineState\022\036\n\032PIPELINE_STATE_UNSPEC" + + "IFIED\020\000\022\031\n\025PIPELINE_STATE_QUEUED\020\001\022\032\n\026PI" + + "PELINE_STATE_PENDING\020\002\022\032\n\026PIPELINE_STATE" + + "_RUNNING\020\003\022\034\n\030PIPELINE_STATE_SUCCEEDED\020\004" + + "\022\031\n\025PIPELINE_STATE_FAILED\020\005\022\035\n\031PIPELINE_" + + "STATE_CANCELLING\020\006\022\034\n\030PIPELINE_STATE_CAN" + + "CELLED\020\007\022\031\n\025PIPELINE_STATE_PAUSED\020\010B\326\001\n\036" + + "com.google.cloud.aiplatform.v1B\022Pipeline" + + "StateProtoP\001ZDgoogle.golang.org/genproto" + + "/googleapis/cloud/aiplatform/v1;aiplatfo" + + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" + + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" + + "Platform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); - com.google.api.AnnotationsProto.getDescriptor(); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfig.java new file mode 100644 index 000000000..2b1279ce3 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfig.java @@ -0,0 +1,1002 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/endpoint.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Configuration for logging request-response to a BigQuery table.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig} + */ +public final class PredictRequestResponseLoggingConfig + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) + PredictRequestResponseLoggingConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use PredictRequestResponseLoggingConfig.newBuilder() to construct. + private PredictRequestResponseLoggingConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PredictRequestResponseLoggingConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PredictRequestResponseLoggingConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PredictRequestResponseLoggingConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enabled_ = input.readBool(); + break; + } + case 17: + { + samplingRate_ = input.readDouble(); + break; + } + case 26: + { + com.google.cloud.aiplatform.v1.BigQueryDestination.Builder subBuilder = null; + if (bigqueryDestination_ != null) { + subBuilder = bigqueryDestination_.toBuilder(); + } + bigqueryDestination_ = + input.readMessage( + com.google.cloud.aiplatform.v1.BigQueryDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryDestination_); + bigqueryDestination_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.class, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_; + /** + * + * + *
+   * If logging is enabled or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int SAMPLING_RATE_FIELD_NUMBER = 2; + private double samplingRate_; + /** + * + * + *
+   * Percentage of requests to be logged, expressed as a fraction in
+   * range(0,1].
+   * 
+ * + * double sampling_rate = 2; + * + * @return The samplingRate. + */ + @java.lang.Override + public double getSamplingRate() { + return samplingRate_; + } + + public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.BigQueryDestination bigqueryDestination_; + /** + * + * + *
+   * BigQuery table for logging.
+   * If only given project, a new dataset will be created with name
+   * `logging_<endpoint-display-name>_<endpoint-id>` where
+   * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+   * most special characters will become underscores). If no table name is
+   * given, a new table will be created with name `request_response_logging`
+   * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + * + * @return Whether the bigqueryDestination field is set. + */ + @java.lang.Override + public boolean hasBigqueryDestination() { + return bigqueryDestination_ != null; + } + /** + * + * + *
+   * BigQuery table for logging.
+   * If only given project, a new dataset will be created with name
+   * `logging_<endpoint-display-name>_<endpoint-id>` where
+   * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+   * most special characters will become underscores). If no table name is
+   * given, a new table will be created with name `request_response_logging`
+   * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + * + * @return The bigqueryDestination. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.BigQueryDestination getBigqueryDestination() { + return bigqueryDestination_ == null + ? com.google.cloud.aiplatform.v1.BigQueryDestination.getDefaultInstance() + : bigqueryDestination_; + } + /** + * + * + *
+   * BigQuery table for logging.
+   * If only given project, a new dataset will be created with name
+   * `logging_<endpoint-display-name>_<endpoint-id>` where
+   * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+   * most special characters will become underscores). If no table name is
+   * given, a new table will be created with name `request_response_logging`
+   * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { + return getBigqueryDestination(); + } + + 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 (enabled_ != false) { + output.writeBool(1, enabled_); + } + if (samplingRate_ != 0D) { + output.writeDouble(2, samplingRate_); + } + if (bigqueryDestination_ != null) { + output.writeMessage(3, getBigqueryDestination()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + } + if (samplingRate_ != 0D) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, samplingRate_); + } + if (bigqueryDestination_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBigqueryDestination()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig other = + (com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) obj; + + if (getEnabled() != other.getEnabled()) return false; + if (java.lang.Double.doubleToLongBits(getSamplingRate()) + != java.lang.Double.doubleToLongBits(other.getSamplingRate())) return false; + if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; + if (hasBigqueryDestination()) { + if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (37 * hash) + SAMPLING_RATE_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplingRate())); + if (hasBigqueryDestination()) { + hash = (37 * hash) + BIGQUERY_DESTINATION_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryDestination().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig 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.PredictRequestResponseLoggingConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig 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.PredictRequestResponseLoggingConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig 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.PredictRequestResponseLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig 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.PredictRequestResponseLoggingConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + 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.PredictRequestResponseLoggingConfig 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.PredictRequestResponseLoggingConfig 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.PredictRequestResponseLoggingConfig 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; + } + /** + * + * + *
+   * Configuration for logging request-response to a BigQuery table.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.class, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + enabled_ = false; + + samplingRate_ = 0D; + + if (bigqueryDestinationBuilder_ == null) { + bigqueryDestination_ = null; + } else { + bigqueryDestination_ = null; + bigqueryDestinationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig build() { + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig buildPartial() { + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig result = + new com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig(this); + result.enabled_ = enabled_; + result.samplingRate_ = samplingRate_; + if (bigqueryDestinationBuilder_ == null) { + result.bigqueryDestination_ = bigqueryDestination_; + } else { + result.bigqueryDestination_ = bigqueryDestinationBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig other) { + if (other + == com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + .getDefaultInstance()) return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + if (other.getSamplingRate() != 0D) { + setSamplingRate(other.getSamplingRate()); + } + if (other.hasBigqueryDestination()) { + mergeBigqueryDestination(other.getBigqueryDestination()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean enabled_; + /** + * + * + *
+     * If logging is enabled or not.
+     * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + * + * + *
+     * If logging is enabled or not.
+     * 
+ * + * bool enabled = 1; + * + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If logging is enabled or not.
+     * 
+ * + * bool enabled = 1; + * + * @return This builder for chaining. + */ + public Builder clearEnabled() { + + enabled_ = false; + onChanged(); + return this; + } + + private double samplingRate_; + /** + * + * + *
+     * Percentage of requests to be logged, expressed as a fraction in
+     * range(0,1].
+     * 
+ * + * double sampling_rate = 2; + * + * @return The samplingRate. + */ + @java.lang.Override + public double getSamplingRate() { + return samplingRate_; + } + /** + * + * + *
+     * Percentage of requests to be logged, expressed as a fraction in
+     * range(0,1].
+     * 
+ * + * double sampling_rate = 2; + * + * @param value The samplingRate to set. + * @return This builder for chaining. + */ + public Builder setSamplingRate(double value) { + + samplingRate_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Percentage of requests to be logged, expressed as a fraction in
+     * range(0,1].
+     * 
+ * + * double sampling_rate = 2; + * + * @return This builder for chaining. + */ + public Builder clearSamplingRate() { + + samplingRate_ = 0D; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.BigQueryDestination bigqueryDestination_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.BigQueryDestination, + com.google.cloud.aiplatform.v1.BigQueryDestination.Builder, + com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + * + * @return Whether the bigqueryDestination field is set. + */ + public boolean hasBigqueryDestination() { + return bigqueryDestinationBuilder_ != null || bigqueryDestination_ != null; + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + * + * @return The bigqueryDestination. + */ + public com.google.cloud.aiplatform.v1.BigQueryDestination getBigqueryDestination() { + if (bigqueryDestinationBuilder_ == null) { + return bigqueryDestination_ == null + ? com.google.cloud.aiplatform.v1.BigQueryDestination.getDefaultInstance() + : bigqueryDestination_; + } else { + return bigqueryDestinationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + public Builder setBigqueryDestination( + com.google.cloud.aiplatform.v1.BigQueryDestination value) { + if (bigqueryDestinationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + bigqueryDestination_ = value; + onChanged(); + } else { + bigqueryDestinationBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + public Builder setBigqueryDestination( + com.google.cloud.aiplatform.v1.BigQueryDestination.Builder builderForValue) { + if (bigqueryDestinationBuilder_ == null) { + bigqueryDestination_ = builderForValue.build(); + onChanged(); + } else { + bigqueryDestinationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + public Builder mergeBigqueryDestination( + com.google.cloud.aiplatform.v1.BigQueryDestination value) { + if (bigqueryDestinationBuilder_ == null) { + if (bigqueryDestination_ != null) { + bigqueryDestination_ = + com.google.cloud.aiplatform.v1.BigQueryDestination.newBuilder(bigqueryDestination_) + .mergeFrom(value) + .buildPartial(); + } else { + bigqueryDestination_ = value; + } + onChanged(); + } else { + bigqueryDestinationBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + public Builder clearBigqueryDestination() { + if (bigqueryDestinationBuilder_ == null) { + bigqueryDestination_ = null; + onChanged(); + } else { + bigqueryDestination_ = null; + bigqueryDestinationBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + public com.google.cloud.aiplatform.v1.BigQueryDestination.Builder + getBigqueryDestinationBuilder() { + + onChanged(); + return getBigqueryDestinationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + public com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { + if (bigqueryDestinationBuilder_ != null) { + return bigqueryDestinationBuilder_.getMessageOrBuilder(); + } else { + return bigqueryDestination_ == null + ? com.google.cloud.aiplatform.v1.BigQueryDestination.getDefaultInstance() + : bigqueryDestination_; + } + } + /** + * + * + *
+     * BigQuery table for logging.
+     * If only given project, a new dataset will be created with name
+     * `logging_<endpoint-display-name>_<endpoint-id>` where
+     * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+     * most special characters will become underscores). If no table name is
+     * given, a new table will be created with name `request_response_logging`
+     * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.BigQueryDestination, + com.google.cloud.aiplatform.v1.BigQueryDestination.Builder, + com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder> + getBigqueryDestinationFieldBuilder() { + if (bigqueryDestinationBuilder_ == null) { + bigqueryDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.BigQueryDestination, + com.google.cloud.aiplatform.v1.BigQueryDestination.Builder, + com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder>( + getBigqueryDestination(), getParentForChildren(), isClean()); + bigqueryDestination_ = null; + } + return bigqueryDestinationBuilder_; + } + + @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.PredictRequestResponseLoggingConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) + private static final com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig(); + } + + public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PredictRequestResponseLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PredictRequestResponseLoggingConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfigOrBuilder.java new file mode 100644 index 000000000..1fb9eef7f --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfigOrBuilder.java @@ -0,0 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/endpoint.proto + +package com.google.cloud.aiplatform.v1; + +public interface PredictRequestResponseLoggingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * If logging is enabled or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); + + /** + * + * + *
+   * Percentage of requests to be logged, expressed as a fraction in
+   * range(0,1].
+   * 
+ * + * double sampling_rate = 2; + * + * @return The samplingRate. + */ + double getSamplingRate(); + + /** + * + * + *
+   * BigQuery table for logging.
+   * If only given project, a new dataset will be created with name
+   * `logging_<endpoint-display-name>_<endpoint-id>` where
+   * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+   * most special characters will become underscores). If no table name is
+   * given, a new table will be created with name `request_response_logging`
+   * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + * + * @return Whether the bigqueryDestination field is set. + */ + boolean hasBigqueryDestination(); + /** + * + * + *
+   * BigQuery table for logging.
+   * If only given project, a new dataset will be created with name
+   * `logging_<endpoint-display-name>_<endpoint-id>` where
+   * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+   * most special characters will become underscores). If no table name is
+   * given, a new table will be created with name `request_response_logging`
+   * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + * + * @return The bigqueryDestination. + */ + com.google.cloud.aiplatform.v1.BigQueryDestination getBigqueryDestination(); + /** + * + * + *
+   * BigQuery table for logging.
+   * If only given project, a new dataset will be created with name
+   * `logging_<endpoint-display-name>_<endpoint-id>` where
+   * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
+   * most special characters will become underscores). If no table name is
+   * given, a new table will be created with name `request_response_logging`
+   * 
+ * + * .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; + */ + com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java index 5bbacbee8..8f82efbbc 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java @@ -41,30 +41,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n0google/cloud/aiplatform/v1/specialist_" - + "pool.proto\022\032google.cloud.aiplatform.v1\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\"\316\002\n\016SpecialistPool\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\002\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022&\n\031spe" - + "cialist_managers_count\030\003 \001(\005B\003\340A\003\022!\n\031spe" - + "cialist_manager_emails\030\004 \003(\t\022\'\n\032pending_" - + "data_labeling_jobs\030\005 \003(\tB\003\340A\003\022 \n\030special" - + "ist_worker_emails\030\007 \003(\t:x\352Au\n(aiplatform" - + ".googleapis.com/SpecialistPool\022Iprojects" - + "/{project}/locations/{location}/speciali" - + "stPools/{specialist_pool}B\327\001\n\036com.google" - + ".cloud.aiplatform.v1B\023SpecialistPoolProt" - + "oP\001ZDgoogle.golang.org/genproto/googleap" - + "is/cloud/aiplatform/v1;aiplatform\252\002\032Goog" - + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI" - + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:" - + ":V1b\006proto3" + + "pool.proto\022\032google.cloud.aiplatform.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\"\316\002\n\016SpecialistPool\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\002\022\031\n\014display_name\030\002 \001(\tB\003" + + "\340A\002\022&\n\031specialist_managers_count\030\003 \001(\005B\003" + + "\340A\003\022!\n\031specialist_manager_emails\030\004 \003(\t\022\'" + + "\n\032pending_data_labeling_jobs\030\005 \003(\tB\003\340A\003\022" + + " \n\030specialist_worker_emails\030\007 \003(\t:x\352Au\n(" + + "aiplatform.googleapis.com/SpecialistPool" + + "\022Iprojects/{project}/locations/{location" + + "}/specialistPools/{specialist_pool}B\327\001\n\036" + + "com.google.cloud.aiplatform.v1B\023Speciali" + + "stPoolProtoP\001ZDgoogle.golang.org/genprot" + + "o/googleapis/cloud/aiplatform/v1;aiplatf" + + "orm\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( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), }); @@ -87,7 +85,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java index ed4ba4430..b01f5e236 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java @@ -113,142 +113,140 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/aiplatform/v1/study.proto" - + "\022\032google.cloud.aiplatform.v1\032\034google/api" - + "/annotations.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032\036" - + "google/protobuf/duration.proto\032\034google/p" - + "rotobuf/struct.proto\032\037google/protobuf/ti" - + "mestamp.proto\"\256\003\n\005Study\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022>\n\nstudy_s" - + "pec\030\003 \001(\0132%.google.cloud.aiplatform.v1.S" - + "tudySpecB\003\340A\002\022;\n\005state\030\004 \001(\0162\'.google.cl" - + "oud.aiplatform.v1.Study.StateB\003\340A\003\0224\n\013cr" - + "eate_time\030\005 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\022\034\n\017inactive_reason\030\006 \001(\tB\003\340A\003\"G" - + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE" - + "\020\001\022\014\n\010INACTIVE\020\002\022\r\n\tCOMPLETED\020\003:]\352AZ\n\037ai" - + "platform.googleapis.com/Study\0227projects/" - + "{project}/locations/{location}/studies/{" - + "study}\"\320\007\n\005Trial\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\002i" - + "d\030\002 \001(\tB\003\340A\003\022;\n\005state\030\003 \001(\0162\'.google.clo" - + "ud.aiplatform.v1.Trial.StateB\003\340A\003\022D\n\npar" - + "ameters\030\004 \003(\0132+.google.cloud.aiplatform." - + "v1.Trial.ParameterB\003\340A\003\022G\n\021final_measure" - + "ment\030\005 \001(\0132\'.google.cloud.aiplatform.v1." - + "MeasurementB\003\340A\003\022B\n\014measurements\030\006 \003(\0132\'" - + ".google.cloud.aiplatform.v1.MeasurementB" - + "\003\340A\003\0223\n\nstart_time\030\007 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\0221\n\010end_time\030\010 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\022\026\n\tclient_i" - + "d\030\t \001(\tB\003\340A\003\022\036\n\021infeasible_reason\030\n \001(\tB" - + "\003\340A\003\022?\n\ncustom_job\030\013 \001(\tB+\340A\003\372A%\n#aiplat" - + "form.googleapis.com/CustomJob\022R\n\017web_acc" - + "ess_uris\030\014 \003(\01324.google.cloud.aiplatform" - + ".v1.Trial.WebAccessUrisEntryB\003\340A\003\032R\n\tPar" - + "ameter\022\031\n\014parameter_id\030\001 \001(\tB\003\340A\003\022*\n\005val" - + "ue\030\002 \001(\0132\026.google.protobuf.ValueB\003\340A\003\0324\n" - + "\022WebAccessUrisEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\"f\n\005State\022\025\n\021STATE_UNSPECIFIE" - + "D\020\000\022\r\n\tREQUESTED\020\001\022\n\n\006ACTIVE\020\002\022\014\n\010STOPPI" - + "NG\020\003\022\r\n\tSUCCEEDED\020\004\022\016\n\nINFEASIBLE\020\005:l\352Ai" - + "\n\037aiplatform.googleapis.com/Trial\022Fproje" - + "cts/{project}/locations/{location}/studi" - + "es/{study}/trials/{trial}\"\240\030\n\tStudySpec\022" - + "j\n\031decay_curve_stopping_spec\030\004 \001(\0132E.goo" - + "gle.cloud.aiplatform.v1.StudySpec.DecayC" - + "urveAutomatedStoppingSpecH\000\022k\n\036median_au" - + "tomated_stopping_spec\030\005 \001(\0132A.google.clo" - + "ud.aiplatform.v1.StudySpec.MedianAutomat" - + "edStoppingSpecH\000\022F\n\007metrics\030\001 \003(\01320.goog" - + "le.cloud.aiplatform.v1.StudySpec.MetricS" - + "pecB\003\340A\002\022L\n\nparameters\030\002 \003(\01323.google.cl" - + "oud.aiplatform.v1.StudySpec.ParameterSpe" - + "cB\003\340A\002\022B\n\talgorithm\030\003 \001(\0162/.google.cloud" - + ".aiplatform.v1.StudySpec.Algorithm\022Q\n\021ob" - + "servation_noise\030\006 \001(\01626.google.cloud.aip" - + "latform.v1.StudySpec.ObservationNoise\022b\n" - + "\032measurement_selection_type\030\007 \001(\0162>.goog" - + "le.cloud.aiplatform.v1.StudySpec.Measure" - + "mentSelectionType\032\265\001\n\nMetricSpec\022\026\n\tmetr" - + "ic_id\030\001 \001(\tB\003\340A\002\022L\n\004goal\030\002 \001(\01629.google." - + "cloud.aiplatform.v1.StudySpec.MetricSpec" - + ".GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025GOAL_TYPE_" - + "UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020" - + "\002\032\315\016\n\rParameterSpec\022`\n\021double_value_spec" - + "\030\002 \001(\0132C.google.cloud.aiplatform.v1.Stud" - + "ySpec.ParameterSpec.DoubleValueSpecH\000\022b\n" - + "\022integer_value_spec\030\003 \001(\0132D.google.cloud" - + ".aiplatform.v1.StudySpec.ParameterSpec.I" - + "ntegerValueSpecH\000\022j\n\026categorical_value_s" - + "pec\030\004 \001(\0132H.google.cloud.aiplatform.v1.S" - + "tudySpec.ParameterSpec.CategoricalValueS" - + "pecH\000\022d\n\023discrete_value_spec\030\005 \001(\0132E.goo" - + "gle.cloud.aiplatform.v1.StudySpec.Parame" - + "terSpec.DiscreteValueSpecH\000\022\031\n\014parameter" - + "_id\030\001 \001(\tB\003\340A\002\022Q\n\nscale_type\030\006 \001(\0162=.goo" - + "gle.cloud.aiplatform.v1.StudySpec.Parame" - + "terSpec.ScaleType\022q\n\033conditional_paramet" - + "er_specs\030\n \003(\0132L.google.cloud.aiplatform" - + ".v1.StudySpec.ParameterSpec.ConditionalP" - + "arameterSpec\032o\n\017DoubleValueSpec\022\026\n\tmin_v" - + "alue\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001(\001B\003\340A\002\022" - + "\032\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_default_" - + "value\032p\n\020IntegerValueSpec\022\026\n\tmin_value\030\001" - + " \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A\002\022\032\n\rdef" - + "ault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_default_value\032" - + "Y\n\024CategoricalValueSpec\022\023\n\006values\030\001 \003(\tB" - + "\003\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001B\020\n\016_def" - + "ault_value\032V\n\021DiscreteValueSpec\022\023\n\006value" - + "s\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030\003 \001(\001H\000\210\001\001" - + "B\020\n\016_default_value\032\244\005\n\030ConditionalParame" - + "terSpec\022\205\001\n\026parent_discrete_values\030\002 \001(\013" - + "2c.google.cloud.aiplatform.v1.StudySpec." - + "ParameterSpec.ConditionalParameterSpec.D" - + "iscreteValueConditionH\000\022{\n\021parent_int_va" - + "lues\030\003 \001(\0132^.google.cloud.aiplatform.v1." - + "StudySpec.ParameterSpec.ConditionalParam" - + "eterSpec.IntValueConditionH\000\022\213\001\n\031parent_" - + "categorical_values\030\004 \001(\0132f.google.cloud." + + "\022\032google.cloud.aiplatform.v1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\036google/protobuf/duration.proto" + + "\032\034google/protobuf/struct.proto\032\037google/p" + + "rotobuf/timestamp.proto\"\256\003\n\005Study\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + + ">\n\nstudy_spec\030\003 \001(\0132%.google.cloud.aipla" + + "tform.v1.StudySpecB\003\340A\002\022;\n\005state\030\004 \001(\0162\'" + + ".google.cloud.aiplatform.v1.Study.StateB" + + "\003\340A\003\0224\n\013create_time\030\005 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\034\n\017inactive_reason\030\006 " + + "\001(\tB\003\340A\003\"G\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000" + + "\022\n\n\006ACTIVE\020\001\022\014\n\010INACTIVE\020\002\022\r\n\tCOMPLETED\020" + + "\003:]\352AZ\n\037aiplatform.googleapis.com/Study\022" + + "7projects/{project}/locations/{location}" + + "/studies/{study}\"\320\007\n\005Trial\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\022\017\n\002id\030\002 \001(\tB\003\340A\003\022;\n\005state\030\003 \001(\0162\'." + + "google.cloud.aiplatform.v1.Trial.StateB\003" + + "\340A\003\022D\n\nparameters\030\004 \003(\0132+.google.cloud.a" + + "iplatform.v1.Trial.ParameterB\003\340A\003\022G\n\021fin" + + "al_measurement\030\005 \001(\0132\'.google.cloud.aipl" + + "atform.v1.MeasurementB\003\340A\003\022B\n\014measuremen" + + "ts\030\006 \003(\0132\'.google.cloud.aiplatform.v1.Me" + + "asurementB\003\340A\003\0223\n\nstart_time\030\007 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030" + + "\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\026" + + "\n\tclient_id\030\t \001(\tB\003\340A\003\022\036\n\021infeasible_rea" + + "son\030\n \001(\tB\003\340A\003\022?\n\ncustom_job\030\013 \001(\tB+\340A\003\372" + + "A%\n#aiplatform.googleapis.com/CustomJob\022" + + "R\n\017web_access_uris\030\014 \003(\01324.google.cloud." + + "aiplatform.v1.Trial.WebAccessUrisEntryB\003" + + "\340A\003\032R\n\tParameter\022\031\n\014parameter_id\030\001 \001(\tB\003" + + "\340A\003\022*\n\005value\030\002 \001(\0132\026.google.protobuf.Val" + + "ueB\003\340A\003\0324\n\022WebAccessUrisEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"f\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\r\n\tREQUESTED\020\001\022\n\n\006ACTIVE\020\002" + + "\022\014\n\010STOPPING\020\003\022\r\n\tSUCCEEDED\020\004\022\016\n\nINFEASI" + + "BLE\020\005:l\352Ai\n\037aiplatform.googleapis.com/Tr" + + "ial\022Fprojects/{project}/locations/{locat" + + "ion}/studies/{study}/trials/{trial}\"\240\030\n\t" + + "StudySpec\022j\n\031decay_curve_stopping_spec\030\004" + + " \001(\0132E.google.cloud.aiplatform.v1.StudyS" + + "pec.DecayCurveAutomatedStoppingSpecH\000\022k\n" + + "\036median_automated_stopping_spec\030\005 \001(\0132A." + + "google.cloud.aiplatform.v1.StudySpec.Med" + + "ianAutomatedStoppingSpecH\000\022F\n\007metrics\030\001 " + + "\003(\01320.google.cloud.aiplatform.v1.StudySp" + + "ec.MetricSpecB\003\340A\002\022L\n\nparameters\030\002 \003(\01323" + + ".google.cloud.aiplatform.v1.StudySpec.Pa" + + "rameterSpecB\003\340A\002\022B\n\talgorithm\030\003 \001(\0162/.go" + + "ogle.cloud.aiplatform.v1.StudySpec.Algor" + + "ithm\022Q\n\021observation_noise\030\006 \001(\01626.google" + + ".cloud.aiplatform.v1.StudySpec.Observati" + + "onNoise\022b\n\032measurement_selection_type\030\007 " + + "\001(\0162>.google.cloud.aiplatform.v1.StudySp" + + "ec.MeasurementSelectionType\032\265\001\n\nMetricSp" + + "ec\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\002\022L\n\004goal\030\002 \001(\016" + + "29.google.cloud.aiplatform.v1.StudySpec." + + "MetricSpec.GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025" + + "GOAL_TYPE_UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n" + + "\010MINIMIZE\020\002\032\315\016\n\rParameterSpec\022`\n\021double_" + + "value_spec\030\002 \001(\0132C.google.cloud.aiplatfo" + + "rm.v1.StudySpec.ParameterSpec.DoubleValu" + + "eSpecH\000\022b\n\022integer_value_spec\030\003 \001(\0132D.go" + + "ogle.cloud.aiplatform.v1.StudySpec.Param" + + "eterSpec.IntegerValueSpecH\000\022j\n\026categoric" + + "al_value_spec\030\004 \001(\0132H.google.cloud.aipla" + + "tform.v1.StudySpec.ParameterSpec.Categor" + + "icalValueSpecH\000\022d\n\023discrete_value_spec\030\005" + + " \001(\0132E.google.cloud.aiplatform.v1.StudyS" + + "pec.ParameterSpec.DiscreteValueSpecH\000\022\031\n" + + "\014parameter_id\030\001 \001(\tB\003\340A\002\022Q\n\nscale_type\030\006" + + " \001(\0162=.google.cloud.aiplatform.v1.StudyS" + + "pec.ParameterSpec.ScaleType\022q\n\033condition" + + "al_parameter_specs\030\n \003(\0132L.google.cloud." + "aiplatform.v1.StudySpec.ParameterSpec.Co" - + "nditionalParameterSpec.CategoricalValueC" - + "onditionH\000\022P\n\016parameter_spec\030\001 \001(\01323.goo" + + "nditionalParameterSpec\032o\n\017DoubleValueSpe" + + "c\022\026\n\tmin_value\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002" + + " \001(\001B\003\340A\002\022\032\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n" + + "\016_default_value\032p\n\020IntegerValueSpec\022\026\n\tm" + + "in_value\030\001 \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003" + + "\340A\002\022\032\n\rdefault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_defa" + + "ult_value\032Y\n\024CategoricalValueSpec\022\023\n\006val" + + "ues\030\001 \003(\tB\003\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210" + + "\001\001B\020\n\016_default_value\032V\n\021DiscreteValueSpe" + + "c\022\023\n\006values\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030" + + "\003 \001(\001H\000\210\001\001B\020\n\016_default_value\032\244\005\n\030Conditi" + + "onalParameterSpec\022\205\001\n\026parent_discrete_va" + + "lues\030\002 \001(\0132c.google.cloud.aiplatform.v1." + + "StudySpec.ParameterSpec.ConditionalParam" + + "eterSpec.DiscreteValueConditionH\000\022{\n\021par" + + "ent_int_values\030\003 \001(\0132^.google.cloud.aipl" + + "atform.v1.StudySpec.ParameterSpec.Condit" + + "ionalParameterSpec.IntValueConditionH\000\022\213" + + "\001\n\031parent_categorical_values\030\004 \001(\0132f.goo" + "gle.cloud.aiplatform.v1.StudySpec.Parame" - + "terSpecB\003\340A\002\032-\n\026DiscreteValueCondition\022\023" - + "\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021IntValueCondition" - + "\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n\031CategoricalValu" - + "eCondition\022\023\n\006values\030\001 \003(\tB\003\340A\002B\030\n\026paren" - + "t_value_condition\"n\n\tScaleType\022\032\n\026SCALE_" - + "TYPE_UNSPECIFIED\020\000\022\025\n\021UNIT_LINEAR_SCALE\020" - + "\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_REVERSE_LO" - + "G_SCALE\020\003B\026\n\024parameter_value_spec\032?\n\037Dec" - + "ayCurveAutomatedStoppingSpec\022\034\n\024use_elap" - + "sed_duration\030\001 \001(\010\032;\n\033MedianAutomatedSto" - + "ppingSpec\022\034\n\024use_elapsed_duration\030\001 \001(\010\"" - + "J\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022" - + "\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEARCH\020\003\"H\n\020O" - + "bservationNoise\022!\n\035OBSERVATION_NOISE_UNS" - + "PECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\"r\n\030Measure" - + "mentSelectionType\022*\n&MEASUREMENT_SELECTI" - + "ON_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_MEASUREMEN" - + "T\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027automated_s" - + "topping_spec\"\334\001\n\013Measurement\0228\n\020elapsed_" - + "duration\030\001 \001(\0132\031.google.protobuf.Duratio" - + "nB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A\003\022D\n\007metri" - + "cs\030\003 \003(\0132..google.cloud.aiplatform.v1.Me" - + "asurement.MetricB\003\340A\003\0324\n\006Metric\022\026\n\tmetri" - + "c_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\001B\003\340A\003B\316\001\n\036" - + "com.google.cloud.aiplatform.v1B\nStudyPro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" - + "::V1b\006proto3" + + "terSpec.ConditionalParameterSpec.Categor" + + "icalValueConditionH\000\022P\n\016parameter_spec\030\001" + + " \001(\01323.google.cloud.aiplatform.v1.StudyS" + + "pec.ParameterSpecB\003\340A\002\032-\n\026DiscreteValueC" + + "ondition\022\023\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021IntValu" + + "eCondition\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n\031Categ" + + "oricalValueCondition\022\023\n\006values\030\001 \003(\tB\003\340A" + + "\002B\030\n\026parent_value_condition\"n\n\tScaleType" + + "\022\032\n\026SCALE_TYPE_UNSPECIFIED\020\000\022\025\n\021UNIT_LIN" + + "EAR_SCALE\020\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_" + + "REVERSE_LOG_SCALE\020\003B\026\n\024parameter_value_s" + + "pec\032?\n\037DecayCurveAutomatedStoppingSpec\022\034" + + "\n\024use_elapsed_duration\030\001 \001(\010\032;\n\033MedianAu" + + "tomatedStoppingSpec\022\034\n\024use_elapsed_durat" + + "ion\030\001 \001(\010\"J\n\tAlgorithm\022\031\n\025ALGORITHM_UNSP" + + "ECIFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEA" + + "RCH\020\003\"H\n\020ObservationNoise\022!\n\035OBSERVATION" + + "_NOISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\"" + + "r\n\030MeasurementSelectionType\022*\n&MEASUREME" + + "NT_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_" + + "MEASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027a" + + "utomated_stopping_spec\"\334\001\n\013Measurement\0228" + + "\n\020elapsed_duration\030\001 \001(\0132\031.google.protob" + + "uf.DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A" + + "\003\022D\n\007metrics\030\003 \003(\0132..google.cloud.aiplat" + + "form.v1.Measurement.MetricB\003\340A\003\0324\n\006Metri" + + "c\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\001" + + "B\003\340A\003B\316\001\n\036com.google.cloud.aiplatform.v1" + + "B\nStudyProtoP\001ZDgoogle.golang.org/genpro" + + "to/googleapis/cloud/aiplatform/v1;aiplat" + + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), @@ -459,7 +457,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java index 35177d5ad..58d5fc462 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java @@ -62,40 +62,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/aiplatform/v1/tensorboard" + "_data.proto\022\032google.cloud.aiplatform.v1\032" - + "\034google/api/annotations.proto\032\037google/ap" - + "i/field_behavior.proto\0328google/cloud/aip" - + "latform/v1/tensorboard_time_series.proto" - + "\032\037google/protobuf/timestamp.proto\"\330\001\n\016Ti" - + "meSeriesData\022\'\n\032tensorboard_time_series_" - + "id\030\001 \001(\tB\003\340A\002\022W\n\nvalue_type\030\002 \001(\0162;.goog" - + "le.cloud.aiplatform.v1.TensorboardTimeSe" - + "ries.ValueTypeB\006\340A\002\340A\005\022D\n\006values\030\003 \003(\0132/" - + ".google.cloud.aiplatform.v1.TimeSeriesDa" - + "taPointB\003\340A\002\"\230\002\n\023TimeSeriesDataPoint\0224\n\006" - + "scalar\030\003 \001(\0132\".google.cloud.aiplatform.v" - + "1.ScalarH\000\022?\n\006tensor\030\004 \001(\0132-.google.clou" - + "d.aiplatform.v1.TensorboardTensorH\000\022D\n\005b" - + "lobs\030\005 \001(\01323.google.cloud.aiplatform.v1." - + "TensorboardBlobSequenceH\000\022-\n\twall_time\030\001" - + " \001(\0132\032.google.protobuf.Timestamp\022\014\n\004step" - + "\030\002 \001(\003B\007\n\005value\"\027\n\006Scalar\022\r\n\005value\030\001 \001(\001" - + "\"D\n\021TensorboardTensor\022\022\n\005value\030\001 \001(\014B\003\340A" - + "\002\022\033\n\016version_number\030\002 \001(\005B\003\340A\001\"V\n\027Tensor" - + "boardBlobSequence\022;\n\006values\030\001 \003(\0132+.goog" - + "le.cloud.aiplatform.v1.TensorboardBlob\"5" - + "\n\017TensorboardBlob\022\017\n\002id\030\001 \001(\tB\003\340A\003\022\021\n\004da" - + "ta\030\002 \001(\014B\003\340A\001B\330\001\n\036com.google.cloud.aipla" - + "tform.v1B\024TensorboardDataProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" - + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" - + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "\037google/api/field_behavior.proto\0328google" + + "/cloud/aiplatform/v1/tensorboard_time_se" + + "ries.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\330\001\n\016TimeSeriesData\022\'\n\032tensorboard_ti" + + "me_series_id\030\001 \001(\tB\003\340A\002\022W\n\nvalue_type\030\002 " + + "\001(\0162;.google.cloud.aiplatform.v1.Tensorb" + + "oardTimeSeries.ValueTypeB\006\340A\002\340A\005\022D\n\006valu" + + "es\030\003 \003(\0132/.google.cloud.aiplatform.v1.Ti" + + "meSeriesDataPointB\003\340A\002\"\230\002\n\023TimeSeriesDat" + + "aPoint\0224\n\006scalar\030\003 \001(\0132\".google.cloud.ai" + + "platform.v1.ScalarH\000\022?\n\006tensor\030\004 \001(\0132-.g" + + "oogle.cloud.aiplatform.v1.TensorboardTen" + + "sorH\000\022D\n\005blobs\030\005 \001(\01323.google.cloud.aipl" + + "atform.v1.TensorboardBlobSequenceH\000\022-\n\tw" + + "all_time\030\001 \001(\0132\032.google.protobuf.Timesta" + + "mp\022\014\n\004step\030\002 \001(\003B\007\n\005value\"\027\n\006Scalar\022\r\n\005v" + + "alue\030\001 \001(\001\"D\n\021TensorboardTensor\022\022\n\005value" + + "\030\001 \001(\014B\003\340A\002\022\033\n\016version_number\030\002 \001(\005B\003\340A\001" + + "\"V\n\027TensorboardBlobSequence\022;\n\006values\030\001 " + + "\003(\0132+.google.cloud.aiplatform.v1.Tensorb" + + "oardBlob\"5\n\017TensorboardBlob\022\017\n\002id\030\001 \001(\tB" + + "\003\340A\003\022\021\n\004data\030\002 \001(\014B\003\340A\001B\330\001\n\036com.google.c" + + "loud.aiplatform.v1B\024TensorboardDataProto" + + "P\001ZDgoogle.golang.org/genproto/googleapi" + + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" + + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" + + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.aiplatform.v1.TensorboardTimeSeriesProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -153,7 +152,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.aiplatform.v1.TensorboardTimeSeriesProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java index 8b7adf7a6..520f28621 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java @@ -46,34 +46,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n7google/cloud/aiplatform/v1/tensorboard" + "_experiment.proto\022\032google.cloud.aiplatfo" - + "rm.v1\032\034google/api/annotations.proto\032\037goo" - + "gle/api/field_behavior.proto\032\031google/api" - + "/resource.proto\032\037google/protobuf/timesta" - + "mp.proto\"\367\003\n\025TensorboardExperiment\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013d" - + "escription\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" - + "_time\030\005 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022M\n\006labels\030\006 \003(\0132=.google.cloud.aipl" - + "atform.v1.TensorboardExperiment.LabelsEn" - + "try\022\014\n\004etag\030\007 \001(\t\022\023\n\006source\030\010 \001(\tB\003\340A\005\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001:\222\001\352A\216\001\n/aiplatform.googleapis.com/" - + "TensorboardExperiment\022[projects/{project" - + "}/locations/{location}/tensorboards/{ten" - + "sorboard}/experiments/{experiment}B\336\001\n\036c" - + "om.google.cloud.aiplatform.v1B\032Tensorboa" - + "rdExperimentProtoP\001ZDgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1;a" - + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002" - + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" - + "oud::AIPlatform::V1b\006proto3" + + "rm.v1\032\037google/api/field_behavior.proto\032\031" + + "google/api/resource.proto\032\037google/protob" + + "uf/timestamp.proto\"\367\003\n\025TensorboardExperi" + + "ment\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030" + + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_tim" + + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022M\n\006labels\030\006 \003(\0132=.google." + + "cloud.aiplatform.v1.TensorboardExperimen" + + "t.LabelsEntry\022\014\n\004etag\030\007 \001(\t\022\023\n\006source\030\010 " + + "\001(\tB\003\340A\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001:\222\001\352A\216\001\n/aiplatform.googl" + + "eapis.com/TensorboardExperiment\022[project" + + "s/{project}/locations/{location}/tensorb" + + "oards/{tensorboard}/experiments/{experim" + + "ent}B\336\001\n\036com.google.cloud.aiplatform.v1B" + + "\032TensorboardExperimentProtoP\001ZDgoogle.go" + + "lang.org/genproto/googleapis/cloud/aipla" + + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -109,7 +107,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java index 04b28ffb6..a100bc82d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java @@ -45,37 +45,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/aiplatform/v1/tensorboard" - + ".proto\022\032google.cloud.aiplatform.v1\032\034goog" - + "le/api/annotations.proto\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\0320google/cloud/aiplatform/v1/encrypt" - + "ion_spec.proto\032\037google/protobuf/timestam" - + "p.proto\"\262\004\n\013Tensorboard\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descrip" - + "tion\030\003 \001(\t\022C\n\017encryption_spec\030\013 \001(\0132*.go" - + "ogle.cloud.aiplatform.v1.EncryptionSpec\022" - + "%\n\030blob_storage_path_prefix\030\n \001(\tB\003\340A\003\022\026" - + "\n\trun_count\030\005 \001(\005B\003\340A\003\0224\n\013create_time\030\006 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" - + "update_time\030\007 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022C\n\006labels\030\010 \003(\01323.google.clou" - + "d.aiplatform.v1.Tensorboard.LabelsEntry\022" - + "\014\n\004etag\030\t \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001:n\352Ak\n%aiplatform.go" - + "ogleapis.com/Tensorboard\022Bprojects/{proj" - + "ect}/locations/{location}/tensorboards/{" - + "tensorboard}B\324\001\n\036com.google.cloud.aiplat" - + "form.v1B\020TensorboardProtoP\001ZDgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1;aiplatform\252\002\032Google.Cloud.AIPlatf" - + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go" - + "ogle::Cloud::AIPlatform::V1b\006proto3" + + ".proto\022\032google.cloud.aiplatform.v1\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\0320google/cloud/aiplatform/" + + "v1/encryption_spec.proto\032\037google/protobu" + + "f/timestamp.proto\"\262\004\n\013Tensorboard\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + + "\023\n\013description\030\003 \001(\t\022C\n\017encryption_spec\030" + + "\013 \001(\0132*.google.cloud.aiplatform.v1.Encry" + + "ptionSpec\022%\n\030blob_storage_path_prefix\030\n " + + "\001(\tB\003\340A\003\022\026\n\trun_count\030\005 \001(\005B\003\340A\003\0224\n\013crea" + + "te_time\030\006 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\022C\n\006labels\030\010 \003(\01323.g" + + "oogle.cloud.aiplatform.v1.Tensorboard.La" + + "belsEntry\022\014\n\004etag\030\t \001(\t\032-\n\013LabelsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:n\352Ak\n%aip" + + "latform.googleapis.com/Tensorboard\022Bproj" + + "ects/{project}/locations/{location}/tens" + + "orboards/{tensorboard}B\324\001\n\036com.google.cl" + + "oud.aiplatform.v1B\020TensorboardProtoP\001ZDg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" + + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" + + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), @@ -112,7 +111,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java index 0356e5228..3ff1ab1c8 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java @@ -45,34 +45,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n0google/cloud/aiplatform/v1/tensorboard" - + "_run.proto\022\032google.cloud.aiplatform.v1\032\034" - + "google/api/annotations.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\037google/protobuf/timestamp.prot" - + "o\"\335\003\n\016TensorboardRun\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" - + "\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descriptio" - + "n\030\003 \001(\t\0224\n\013create_time\030\006 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\007 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022F\n\006l" - + "abels\030\010 \003(\01326.google.cloud.aiplatform.v1" - + ".TensorboardRun.LabelsEntry\022\014\n\004etag\030\t \001(" - + "\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001:\226\001\352A\222\001\n(aiplatform.googleapis.c" - + "om/TensorboardRun\022fprojects/{project}/lo" - + "cations/{location}/tensorboards/{tensorb" - + "oard}/experiments/{experiment}/runs/{run" - + "}B\327\001\n\036com.google.cloud.aiplatform.v1B\023Te" - + "nsorboardRunProtoP\001ZDgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1;a" - + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002" - + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" - + "oud::AIPlatform::V1b\006proto3" + + "_run.proto\022\032google.cloud.aiplatform.v1\032\037" + + "google/api/field_behavior.proto\032\031google/" + + "api/resource.proto\032\037google/protobuf/time" + + "stamp.proto\"\335\003\n\016TensorboardRun\022\021\n\004name\030\001" + + " \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013" + + "description\030\003 \001(\t\0224\n\013create_time\030\006 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" + + "e_time\030\007 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022F\n\006labels\030\010 \003(\01326.google.cloud.aip" + + "latform.v1.TensorboardRun.LabelsEntry\022\014\n" + + "\004etag\030\t \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n(aiplatform.go" + + "ogleapis.com/TensorboardRun\022fprojects/{p" + + "roject}/locations/{location}/tensorboard" + + "s/{tensorboard}/experiments/{experiment}" + + "/runs/{run}B\327\001\n\036com.google.cloud.aiplatf" + + "orm.v1B\023TensorboardRunProtoP\001ZDgoogle.go" + + "lang.org/genproto/googleapis/cloud/aipla" + + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -101,7 +99,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java index e3850c369..8b78d6223 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java @@ -46,42 +46,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n8google/cloud/aiplatform/v1/tensorboard" + "_time_series.proto\022\032google.cloud.aiplatf" - + "orm.v1\032\034google/api/annotations.proto\032\037go" - + "ogle/api/field_behavior.proto\032\031google/ap" - + "i/resource.proto\032\037google/protobuf/timest" - + "amp.proto\"\277\006\n\025TensorboardTimeSeries\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A" - + "\002\022\023\n\013description\030\003 \001(\t\022W\n\nvalue_type\030\004 \001" - + "(\0162;.google.cloud.aiplatform.v1.Tensorbo" - + "ardTimeSeries.ValueTypeB\006\340A\002\340A\005\0224\n\013creat" - + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022\014\n\004etag\030\007 \001(\t\022\030\n\013plu" - + "gin_name\030\010 \001(\tB\003\340A\005\022\023\n\013plugin_data\030\t \001(\014" - + "\022Q\n\010metadata\030\n \001(\0132:.google.cloud.aiplat" - + "form.v1.TensorboardTimeSeries.MetadataB\003" - + "\340A\003\032\200\001\n\010Metadata\022\025\n\010max_step\030\001 \001(\003B\003\340A\003\022" - + "6\n\rmax_wall_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022%\n\030max_blob_sequence_len" - + "gth\030\003 \001(\003B\003\340A\003\"R\n\tValueType\022\032\n\026VALUE_TYP" - + "E_UNSPECIFIED\020\000\022\n\n\006SCALAR\020\001\022\n\n\006TENSOR\020\002\022" - + "\021\n\rBLOB_SEQUENCE\020\003:\266\001\352A\262\001\n/aiplatform.go" - + "ogleapis.com/TensorboardTimeSeries\022\177proj" - + "ects/{project}/locations/{location}/tens" - + "orboards/{tensorboard}/experiments/{expe" - + "riment}/runs/{run}/timeSeries/{time_seri" - + "es}B\336\001\n\036com.google.cloud.aiplatform.v1B\032" - + "TensorboardTimeSeriesProtoP\001ZDgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat" - + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" - + "oogle::Cloud::AIPlatform::V1b\006proto3" + + "orm.v1\032\037google/api/field_behavior.proto\032" + + "\031google/api/resource.proto\032\037google/proto" + + "buf/timestamp.proto\"\277\006\n\025TensorboardTimeS" + + "eries\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name" + + "\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022W\n\nvalu" + + "e_type\030\004 \001(\0162;.google.cloud.aiplatform.v" + + "1.TensorboardTimeSeries.ValueTypeB\006\340A\002\340A" + + "\005\0224\n\013create_time\030\005 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\007 " + + "\001(\t\022\030\n\013plugin_name\030\010 \001(\tB\003\340A\005\022\023\n\013plugin_" + + "data\030\t \001(\014\022Q\n\010metadata\030\n \001(\0132:.google.cl" + + "oud.aiplatform.v1.TensorboardTimeSeries." + + "MetadataB\003\340A\003\032\200\001\n\010Metadata\022\025\n\010max_step\030\001" + + " \001(\003B\003\340A\003\0226\n\rmax_wall_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022%\n\030max_blob_se" + + "quence_length\030\003 \001(\003B\003\340A\003\"R\n\tValueType\022\032\n" + + "\026VALUE_TYPE_UNSPECIFIED\020\000\022\n\n\006SCALAR\020\001\022\n\n" + + "\006TENSOR\020\002\022\021\n\rBLOB_SEQUENCE\020\003:\266\001\352A\262\001\n/aip" + + "latform.googleapis.com/TensorboardTimeSe" + + "ries\022\177projects/{project}/locations/{loca" + + "tion}/tensorboards/{tensorboard}/experim" + + "ents/{experiment}/runs/{run}/timeSeries/" + + "{time_series}B\336\001\n\036com.google.cloud.aipla" + + "tform.v1B\032TensorboardTimeSeriesProtoP\001ZD" + + "google.golang.org/genproto/googleapis/cl" + + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -119,7 +118,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java index 1fd4b96b3..ff8420903 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java @@ -70,88 +70,82 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n2google/cloud/aiplatform/v1/training_pi" + "peline.proto\022\032google.cloud.aiplatform.v1" - + "\032\034google/api/annotations.proto\032\037google/a" - + "pi/field_behavior.proto\032\031google/api/reso" - + "urce.proto\0320google/cloud/aiplatform/v1/e" - + "ncryption_spec.proto\032#google/cloud/aipla" - + "tform/v1/io.proto\0322google/cloud/aiplatfo" - + "rm/v1/machine_resources.proto\032?google/cl" - + "oud/aiplatform/v1/manual_batch_tuning_pa" - + "rameters.proto\032&google/cloud/aiplatform/" - + "v1/model.proto\032/google/cloud/aiplatform/" - + "v1/pipeline_state.proto\032\034google/protobuf" - + "/struct.proto\032\037google/protobuf/timestamp" - + ".proto\032\027google/rpc/status.proto\"\334\007\n\020Trai" - + "ningPipeline\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014displ" - + "ay_name\030\002 \001(\tB\003\340A\002\022F\n\021input_data_config\030" - + "\003 \001(\0132+.google.cloud.aiplatform.v1.Input" - + "DataConfig\022%\n\030training_task_definition\030\004" - + " \001(\tB\003\340A\002\0229\n\024training_task_inputs\030\005 \001(\0132" - + "\026.google.protobuf.ValueB\003\340A\002\022;\n\026training" - + "_task_metadata\030\006 \001(\0132\026.google.protobuf.V" - + "alueB\003\340A\003\022:\n\017model_to_upload\030\007 \001(\0132!.goo" - + "gle.cloud.aiplatform.v1.Model\022=\n\005state\030\t" - + " \001(\0162).google.cloud.aiplatform.v1.Pipeli" - + "neStateB\003\340A\003\022&\n\005error\030\n \001(\0132\022.google.rpc" - + ".StatusB\003\340A\003\0224\n\013create_time\030\013 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\0223\n\nstart_time" - + "\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "1\n\010end_time\030\r \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\022H\n\006labels\030\017 \003(\013" - + "28.google.cloud.aiplatform.v1.TrainingPi" - + "peline.LabelsEntry\022C\n\017encryption_spec\030\022 " - + "\001(\0132*.google.cloud.aiplatform.v1.Encrypt" - + "ionSpec\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001:~\352A{\n*aiplatform.googleap" - + "is.com/TrainingPipeline\022Mprojects/{proje" - + "ct}/locations/{location}/trainingPipelin" - + "es/{training_pipeline}\"\364\004\n\017InputDataConf" - + "ig\022C\n\016fraction_split\030\002 \001(\0132).google.clou" - + "d.aiplatform.v1.FractionSplitH\000\022?\n\014filte" - + "r_split\030\003 \001(\0132\'.google.cloud.aiplatform." - + "v1.FilterSplitH\000\022G\n\020predefined_split\030\004 \001" - + "(\0132+.google.cloud.aiplatform.v1.Predefin" - + "edSplitH\000\022E\n\017timestamp_split\030\005 \001(\0132*.goo" - + "gle.cloud.aiplatform.v1.TimestampSplitH\000" - + "\022G\n\020stratified_split\030\014 \001(\0132+.google.clou" - + "d.aiplatform.v1.StratifiedSplitH\000\022E\n\017gcs" - + "_destination\030\010 \001(\0132*.google.cloud.aiplat" - + "form.v1.GcsDestinationH\001\022O\n\024bigquery_des" - + "tination\030\n \001(\0132/.google.cloud.aiplatform" - + ".v1.BigQueryDestinationH\001\022\027\n\ndataset_id\030" - + "\001 \001(\tB\003\340A\002\022\032\n\022annotations_filter\030\006 \001(\t\022\035" - + "\n\025annotation_schema_uri\030\t \001(\tB\007\n\005splitB\r" - + "\n\013destination\"^\n\rFractionSplit\022\031\n\021traini" - + "ng_fraction\030\001 \001(\001\022\033\n\023validation_fraction" - + "\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\"e\n\013FilterS" - + "plit\022\034\n\017training_filter\030\001 \001(\tB\003\340A\002\022\036\n\021va" - + "lidation_filter\030\002 \001(\tB\003\340A\002\022\030\n\013test_filte" - + "r\030\003 \001(\tB\003\340A\002\"#\n\017PredefinedSplit\022\020\n\003key\030\001" - + " \001(\tB\003\340A\002\"q\n\016TimestampSplit\022\031\n\021training_" - + "fraction\030\001 \001(\001\022\033\n\023validation_fraction\030\002 " - + "\001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003key\030\004 \001(\tB" - + "\003\340A\002\"r\n\017StratifiedSplit\022\031\n\021training_frac" - + "tion\030\001 \001(\001\022\033\n\023validation_fraction\030\002 \001(\001\022" - + "\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003key\030\004 \001(\tB\003\340A\002" - + "B\331\001\n\036com.google.cloud.aiplatform.v1B\025Tra" - + "iningPipelineProtoP\001ZDgoogle.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1;" - + "aiplatform\252\002\032Google.Cloud.AIPlatform.V1\312" - + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C" - + "loud::AIPlatform::V1b\006proto3" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\0320google/cloud/aipla" + + "tform/v1/encryption_spec.proto\032#google/c" + + "loud/aiplatform/v1/io.proto\032&google/clou" + + "d/aiplatform/v1/model.proto\032/google/clou" + + "d/aiplatform/v1/pipeline_state.proto\032\034go" + + "ogle/protobuf/struct.proto\032\037google/proto" + + "buf/timestamp.proto\032\027google/rpc/status.p" + + "roto\"\334\007\n\020TrainingPipeline\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022F\n\021input" + + "_data_config\030\003 \001(\0132+.google.cloud.aiplat" + + "form.v1.InputDataConfig\022%\n\030training_task" + + "_definition\030\004 \001(\tB\003\340A\002\0229\n\024training_task_" + + "inputs\030\005 \001(\0132\026.google.protobuf.ValueB\003\340A" + + "\002\022;\n\026training_task_metadata\030\006 \001(\0132\026.goog" + + "le.protobuf.ValueB\003\340A\003\022:\n\017model_to_uploa" + + "d\030\007 \001(\0132!.google.cloud.aiplatform.v1.Mod" + + "el\022=\n\005state\030\t \001(\0162).google.cloud.aiplatf" + + "orm.v1.PipelineStateB\003\340A\003\022&\n\005error\030\n \001(\013" + + "2\022.google.rpc.StatusB\003\340A\003\0224\n\013create_time" + + "\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "3\n\nstart_time\030\014 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0221\n\010end_time\030\r \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\016" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n" + + "\006labels\030\017 \003(\01328.google.cloud.aiplatform." + + "v1.TrainingPipeline.LabelsEntry\022C\n\017encry" + + "ption_spec\030\022 \001(\0132*.google.cloud.aiplatfo" + + "rm.v1.EncryptionSpec\032-\n\013LabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:~\352A{\n*aiplat" + + "form.googleapis.com/TrainingPipeline\022Mpr" + + "ojects/{project}/locations/{location}/tr" + + "ainingPipelines/{training_pipeline}\"\364\004\n\017" + + "InputDataConfig\022C\n\016fraction_split\030\002 \001(\0132" + + ").google.cloud.aiplatform.v1.FractionSpl" + + "itH\000\022?\n\014filter_split\030\003 \001(\0132\'.google.clou" + + "d.aiplatform.v1.FilterSplitH\000\022G\n\020predefi" + + "ned_split\030\004 \001(\0132+.google.cloud.aiplatfor" + + "m.v1.PredefinedSplitH\000\022E\n\017timestamp_spli" + + "t\030\005 \001(\0132*.google.cloud.aiplatform.v1.Tim" + + "estampSplitH\000\022G\n\020stratified_split\030\014 \001(\0132" + + "+.google.cloud.aiplatform.v1.StratifiedS" + + "plitH\000\022E\n\017gcs_destination\030\010 \001(\0132*.google" + + ".cloud.aiplatform.v1.GcsDestinationH\001\022O\n" + + "\024bigquery_destination\030\n \001(\0132/.google.clo" + + "ud.aiplatform.v1.BigQueryDestinationH\001\022\027" + + "\n\ndataset_id\030\001 \001(\tB\003\340A\002\022\032\n\022annotations_f" + + "ilter\030\006 \001(\t\022\035\n\025annotation_schema_uri\030\t \001" + + "(\tB\007\n\005splitB\r\n\013destination\"^\n\rFractionSp" + + "lit\022\031\n\021training_fraction\030\001 \001(\001\022\033\n\023valida" + + "tion_fraction\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001" + + "(\001\"e\n\013FilterSplit\022\034\n\017training_filter\030\001 \001" + + "(\tB\003\340A\002\022\036\n\021validation_filter\030\002 \001(\tB\003\340A\002\022" + + "\030\n\013test_filter\030\003 \001(\tB\003\340A\002\"#\n\017PredefinedS" + + "plit\022\020\n\003key\030\001 \001(\tB\003\340A\002\"q\n\016TimestampSplit" + + "\022\031\n\021training_fraction\030\001 \001(\001\022\033\n\023validatio" + + "n_fraction\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022" + + "\020\n\003key\030\004 \001(\tB\003\340A\002\"r\n\017StratifiedSplit\022\031\n\021" + + "training_fraction\030\001 \001(\001\022\033\n\023validation_fr" + + "action\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003k" + + "ey\030\004 \001(\tB\003\340A\002B\331\001\n\036com.google.cloud.aipla" + + "tform.v1B\025TrainingPipelineProtoP\001ZDgoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "iplatform/v1;aiplatform\252\002\032Google.Cloud.A" + + "IPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\V" + + "1\352\002\035Google::Cloud::AIPlatform::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), com.google.cloud.aiplatform.v1.IoProto.getDescriptor(), - com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(), - com.google.cloud.aiplatform.v1.ManualBatchTuningParametersProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(), com.google.cloud.aiplatform.v1.PipelineStateProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), @@ -255,13 +249,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); com.google.cloud.aiplatform.v1.IoProto.getDescriptor(); - com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(); - com.google.cloud.aiplatform.v1.ManualBatchTuningParametersProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(); com.google.cloud.aiplatform.v1.PipelineStateProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java index a3f7154b5..57f91f283 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java @@ -53,23 +53,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/aiplatform/v1/types.proto" - + "\022\032google.cloud.aiplatform.v1\032\034google/api" - + "/annotations.proto\"\033\n\tBoolArray\022\016\n\006value" - + "s\030\001 \003(\010\"\035\n\013DoubleArray\022\016\n\006values\030\001 \003(\001\"\034" - + "\n\nInt64Array\022\016\n\006values\030\001 \003(\003\"\035\n\013StringAr" - + "ray\022\016\n\006values\030\001 \003(\tB\316\001\n\036com.google.cloud" - + ".aiplatform.v1B\nTypesProtoP\001ZDgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat" - + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" - + "oogle::Cloud::AIPlatform::V1b\006proto3" + + "\022\032google.cloud.aiplatform.v1\"\033\n\tBoolArra" + + "y\022\016\n\006values\030\001 \003(\010\"\035\n\013DoubleArray\022\016\n\006valu" + + "es\030\001 \003(\001\"\034\n\nInt64Array\022\016\n\006values\030\001 \003(\003\"\035" + + "\n\013StringArray\022\016\n\006values\030\001 \003(\tB\316\001\n\036com.go" + + "ogle.cloud.aiplatform.v1B\nTypesProtoP\001ZD" + + "google.golang.org/genproto/googleapis/cl" + + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_BoolArray_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_BoolArray_fieldAccessorTable = @@ -102,7 +99,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Values", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java index 7b62bf791..6ae962c2d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java @@ -42,26 +42,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n:google/cloud/aiplatform/v1/unmanaged_c" + "ontainer_model.proto\022\032google.cloud.aipla" - + "tform.v1\032\034google/api/annotations.proto\032\037" - + "google/api/field_behavior.proto\032&google/" - + "cloud/aiplatform/v1/model.proto\"\303\001\n\027Unma" - + "nagedContainerModel\022\024\n\014artifact_uri\030\001 \001(" - + "\t\022E\n\020predict_schemata\030\002 \001(\0132+.google.clo" - + "ud.aiplatform.v1.PredictSchemata\022K\n\016cont" - + "ainer_spec\030\003 \001(\0132..google.cloud.aiplatfo" - + "rm.v1.ModelContainerSpecB\003\340A\004B\340\001\n\036com.go" - + "ogle.cloud.aiplatform.v1B\034UnmanagedConta" - + "inerModelProtoP\001ZDgoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1;aipl" - + "atform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Go" - + "ogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud" - + "::AIPlatform::V1b\006proto3" + + "tform.v1\032\037google/api/field_behavior.prot" + + "o\032&google/cloud/aiplatform/v1/model.prot" + + "o\"\303\001\n\027UnmanagedContainerModel\022\024\n\014artifac" + + "t_uri\030\001 \001(\t\022E\n\020predict_schemata\030\002 \001(\0132+." + + "google.cloud.aiplatform.v1.PredictSchema" + + "ta\022K\n\016container_spec\030\003 \001(\0132..google.clou" + + "d.aiplatform.v1.ModelContainerSpecB\003\340A\004B" + + "\340\001\n\036com.google.cloud.aiplatform.v1B\034Unma" + + "nagedContainerModelProtoP\001ZDgoogle.golan" + + "g.org/genproto/googleapis/cloud/aiplatfo" + + "rm/v1;aiplatform\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( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(), }); @@ -78,7 +76,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(); } diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java index 40bad0d6c..c7ecb2976 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java @@ -213,7 +213,12 @@ public com.google.cloud.aiplatform.v1.EntityTypeOrBuilder getEntityTypeOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -239,7 +244,12 @@ public boolean hasUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -265,7 +275,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -886,7 +901,12 @@ public com.google.cloud.aiplatform.v1.EntityTypeOrBuilder getEntityTypeOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -911,7 +931,12 @@ public boolean hasUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -942,7 +967,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -975,7 +1005,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1005,7 +1040,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1040,7 +1080,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1071,7 +1116,12 @@ public Builder clearUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1096,7 +1146,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1125,7 +1180,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java index 69b74bac8..968995b5b 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java @@ -88,7 +88,12 @@ public interface UpdateEntityTypeRequestOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -111,7 +116,12 @@ public interface UpdateEntityTypeRequestOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -134,7 +144,12 @@ public interface UpdateEntityTypeRequestOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java index 501eb088d..131230228 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java @@ -212,8 +212,7 @@ public com.google.cloud.aiplatform.v1.FeatureOrBuilder getFeatureOrBuilder() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -238,8 +237,7 @@ public boolean hasUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -264,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -883,8 +880,7 @@ public com.google.cloud.aiplatform.v1.FeatureOrBuilder getFeatureOrBuilder() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -908,8 +904,7 @@ public boolean hasUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -939,8 +934,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -972,8 +966,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1002,8 +995,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1037,8 +1029,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1068,8 +1059,7 @@ public Builder clearUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1093,8 +1083,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1122,8 +1111,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java index b4f5ab54c..07efdb891 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java @@ -87,8 +87,7 @@ public interface UpdateFeatureRequestOrBuilder * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -110,8 +109,7 @@ public interface UpdateFeatureRequestOrBuilder * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -133,8 +131,7 @@ public interface UpdateFeatureRequestOrBuilder * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java index 18ede5cf6..e60f29c94 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java @@ -42,23 +42,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n6google/cloud/aiplatform/v1/user_action" + "_reference.proto\022\032google.cloud.aiplatfor" - + "m.v1\032\034google/api/annotations.proto\"d\n\023Us" - + "erActionReference\022\023\n\toperation\030\001 \001(\tH\000\022\033" - + "\n\021data_labeling_job\030\002 \001(\tH\000\022\016\n\006method\030\003 " - + "\001(\tB\013\n\treferenceB\334\001\n\036com.google.cloud.ai" - + "platform.v1B\030UserActionReferenceProtoP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1;aiplatform\252\002\032Google.C" - + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" - + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b" - + "\006proto3" + + "m.v1\"d\n\023UserActionReference\022\023\n\toperation" + + "\030\001 \001(\tH\000\022\033\n\021data_labeling_job\030\002 \001(\tH\000\022\016\n" + + "\006method\030\003 \001(\tB\013\n\treferenceB\334\001\n\036com.googl" + + "e.cloud.aiplatform.v1B\030UserActionReferen" + + "ceProtoP\001ZDgoogle.golang.org/genproto/go" + + "ogleapis/cloud/aiplatform/v1;aiplatform\252" + + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" + + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" + + "tform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_UserActionReference_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_UserActionReference_fieldAccessorTable = @@ -67,7 +63,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Operation", "DataLabelingJob", "Method", "Reference", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java index d5ec60556..897740046 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java @@ -41,23 +41,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/aiplatform/v1/value.proto" - + "\022\032google.cloud.aiplatform.v1\032\034google/api" - + "/annotations.proto\"U\n\005Value\022\023\n\tint_value" - + "\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000\022\026\n\014stri" - + "ng_value\030\003 \001(\tH\000B\007\n\005valueB\316\001\n\036com.google" - + ".cloud.aiplatform.v1B\nValueProtoP\001ZDgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "aiplatform/v1;aiplatform\252\002\032Google.Cloud." - + "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\" - + "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot" - + "o3" + + "\022\032google.cloud.aiplatform.v1\"U\n\005Value\022\023\n" + + "\tint_value\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001" + + "H\000\022\026\n\014string_value\030\003 \001(\tH\000B\007\n\005valueB\316\001\n\036" + + "com.google.cloud.aiplatform.v1B\nValuePro" + + "toP\001ZDgoogle.golang.org/genproto/googlea" + + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" + + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" + + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_aiplatform_v1_Value_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_aiplatform_v1_Value_fieldAccessorTable = @@ -66,7 +62,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "IntValue", "DoubleValue", "StringValue", "Value", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto index 6edf155d0..3a1048090 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; - import "google/cloud/aiplatform/v1/user_action_reference.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto index cf432778b..3082e3ee9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto index 426172496..d7ef997ad 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto index 64d3ef3a8..fc92ff0bc 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/completion_stats.proto"; @@ -26,7 +25,6 @@ import "google/cloud/aiplatform/v1/io.proto"; import "google/cloud/aiplatform/v1/job_state.proto"; import "google/cloud/aiplatform/v1/machine_resources.proto"; import "google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto"; -import "google/cloud/aiplatform/v1/model_monitoring.proto"; import "google/cloud/aiplatform/v1/unmanaged_container_model.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto index e71a72c31..16310ef83 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto @@ -16,9 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; -import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto index 2a714efa1..b602a5504 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto index 4e1b26720..c3c8643ba 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto index c073351f4..10431e743 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; - import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto index f9cce6e64..f136190ba 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto @@ -16,13 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/accelerator_type.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/job_state.proto"; -import "google/cloud/aiplatform/v1/specialist_pool.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto index 75a2f6089..6c686986a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto index 0087b70a6..f9f82845b 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto @@ -25,7 +25,6 @@ import "google/cloud/aiplatform/v1/annotation_spec.proto"; import "google/cloud/aiplatform/v1/data_item.proto"; import "google/cloud/aiplatform/v1/dataset.proto"; import "google/cloud/aiplatform/v1/operation.proto"; -import "google/cloud/aiplatform/v1/training_pipeline.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto index 7f89798a6..35c8b30c7 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto index 8cc93ddfd..8a7b1eb79 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto index 99c7b1fbe..15a799019 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto index 681fed024..3ff9d693a 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto @@ -16,15 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/explanation.proto"; import "google/cloud/aiplatform/v1/io.proto"; import "google/cloud/aiplatform/v1/machine_resources.proto"; -import "google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto"; -import "google/cloud/aiplatform/v1/model_monitoring.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -117,7 +114,7 @@ message Endpoint { // Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or // [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], // can be set. - bool enable_private_service_connect = 17; + bool enable_private_service_connect = 17 [deprecated = true]; // Output only. Resource name of the Model Monitoring job associated with this Endpoint // if monitoring is enabled by [CreateModelDeploymentMonitoringJob][]. @@ -129,6 +126,9 @@ message Endpoint { type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob" } ]; + + // Configures the request-response logging for online prediction. + PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; } // A deployment of a Model. Endpoints contain one or more DeployedModels. @@ -232,3 +232,21 @@ message PrivateEndpoints { // connect is enabled. string service_attachment = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Configuration for logging request-response to a BigQuery table. +message PredictRequestResponseLoggingConfig { + // If logging is enabled or not. + bool enabled = 1; + + // Percentage of requests to be logged, expressed as a fraction in + // range(0,1]. + double sampling_rate = 2; + + // BigQuery table for logging. + // If only given project, a new dataset will be created with name + // `logging__` where + // will be made BigQuery-dataset-name compatible (e.g. + // most special characters will become underscores). If no table name is + // given, a new table will be created with name `request_response_logging` + BigQueryDestination bigquery_destination = 3; +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto index b3607a1c3..524c8e694 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto @@ -16,10 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/feature.proto"; +import "google/cloud/aiplatform/v1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -74,4 +73,16 @@ message EntityType { // Optional. Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. string etag = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default monitoring configuration for all Features with value + // type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, + // STRING, DOUBLE or INT64 under this EntityType. + // + // If this is populated with + // [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot + // analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is + // disabled. + FeaturestoreMonitoringConfig monitoring_config = 8 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto index 5c37daed3..34722e362 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto index d816bbe95..f9f925db5 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto index 69dfd1233..a2b7c2b90 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto index f9584d507..55fd8394d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/explanation_metadata.proto"; -import "google/cloud/aiplatform/v1/io.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto index dfcf02c16..f0da95fe9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/struct.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto index d64a558ab..47b1bc807 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto"; @@ -39,6 +38,36 @@ message Feature { pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}" }; + // A list of historical [Snapshot + // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature + // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats + // requested by user, sorted by + // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time] + // descending. + message MonitoringStatsAnomaly { + // If the objective in the request is both + // Import Feature Analysis and Snapshot Analysis, this objective could be + // one of them. Otherwise, this objective should be the same as the + // objective in the request. + enum Objective { + // If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. + OBJECTIVE_UNSPECIFIED = 0; + + // Stats are generated by Import Feature Analysis. + IMPORT_FEATURE_ANALYSIS = 1; + + // Stats are generated by Snapshot Analysis. + SNAPSHOT_ANALYSIS = 2; + } + + // Output only. The objective for each stats. + Objective objective = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The stats and anomalies generated at specific timestamp. + FeatureStatsAnomaly feature_stats_anomaly = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // An enum representing the value type of a feature. enum ValueType { // The value type is unspecified. @@ -113,4 +142,18 @@ message Feature { // Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. string etag = 7; + + // Optional. If not set, use the monitoring_config defined for the EntityType + // this Feature belongs to. Only Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, + // STRING, DOUBLE or INT64 can enable monitoring. + // + // If set to true, all types of data monitoring are disabled despite the + // config on EntityType. + bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The list of historical stats and anomalies with specified + // objectives. + repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto index 4402803be..1138ec8c3 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto index 776fd2ee1..7a4a8e664 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto index 55deb9ca3..7ff841d81 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto new file mode 100644 index 000000000..071f6a246 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto @@ -0,0 +1,153 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://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. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option java_multiple_files = true; +option java_outer_classname = "FeaturestoreMonitoringProto"; +option java_package = "com.google.cloud.aiplatform.v1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; +option ruby_package = "Google::Cloud::AIPlatform::V1"; + +// Configuration of how features in Featurestore are monitored. +message FeaturestoreMonitoringConfig { + // Configuration of the Featurestore's Snapshot Analysis Based Monitoring. + // This type of analysis generates statistics for each Feature based on a + // snapshot of the latest feature value of each entities every + // monitoring_interval. + message SnapshotAnalysis { + // The monitoring schedule for snapshot analysis. + // For EntityType-level config: + // unset / disabled = true indicates disabled by + // default for Features under it; otherwise by default enable snapshot + // analysis monitoring with monitoring_interval for Features under it. + // Feature-level config: + // disabled = true indicates disabled regardless of the EntityType-level + // config; unset monitoring_interval indicates going with EntityType-level + // config; otherwise run snapshot analysis monitoring with + // monitoring_interval regardless of the EntityType-level config. + // Explicitly Disable the snapshot analysis based monitoring. + bool disabled = 1; + + // Configuration of the snapshot analysis based monitoring pipeline + // running interval. The value indicates number of days. + // If both + // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] + // and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][] + // are set when creating/updating EntityTypes/Features, + // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] + // will be used. + int32 monitoring_interval_days = 3; + + // Customized export features time window for snapshot analysis. Unit is one + // day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is + // 4000 days. + int32 staleness_days = 4; + } + + // Configuration of the Featurestore's ImportFeature Analysis Based + // Monitoring. This type of analysis generates statistics for values of each + // Feature imported by every [ImportFeatureValues][] operation. + message ImportFeaturesAnalysis { + // The state defines whether to enable ImportFeature analysis. + enum State { + // Should not be used. + STATE_UNSPECIFIED = 0; + + // The default behavior of whether to enable the monitoring. + // EntityType-level config: disabled. + // Feature-level config: inherited from the configuration of EntityType + // this Feature belongs to. + DEFAULT = 1; + + // Explicitly enables import features analysis. + // EntityType-level config: by default enables import features analysis + // for all Features under it. Feature-level config: enables import + // features analysis regardless of the EntityType-level config. + ENABLED = 2; + + // Explicitly disables import features analysis. + // EntityType-level config: by default disables import features analysis + // for all Features under it. Feature-level config: disables import + // features analysis regardless of the EntityType-level config. + DISABLED = 3; + } + + // Defines the baseline to do anomaly detection for feature values imported + // by each [ImportFeatureValues][] operation. + enum Baseline { + // Should not be used. + BASELINE_UNSPECIFIED = 0; + + // Choose the later one statistics generated by either most recent + // snapshot analysis or previous import features analysis. If non of them + // exists, skip anomaly detection and only generate a statistics. + LATEST_STATS = 1; + + // Use the statistics generated by the most recent snapshot analysis if + // exists. + MOST_RECENT_SNAPSHOT_STATS = 2; + + // Use the statistics generated by the previous import features analysis + // if exists. + PREVIOUS_IMPORT_FEATURES_STATS = 3; + } + + // Whether to enable / disable / inherite default hebavior for import + // features analysis. + State state = 1; + + // The baseline used to do anomaly detection for the statistics generated by + // import features analysis. + Baseline anomaly_detection_baseline = 2; + } + + // The config for Featurestore Monitoring threshold. + message ThresholdConfig { + oneof threshold { + // Specify a threshold value that can trigger the alert. + // 1. For categorical feature, the distribution distance is calculated by + // L-inifinity norm. + // 2. For numerical feature, the distribution distance is calculated by + // Jensen–Shannon divergence. Each feature must have a non-zero threshold + // if they need to be monitored. Otherwise no alert will be triggered for + // that feature. + double value = 1; + } + } + + // The config for Snapshot Analysis Based Feature Monitoring. + SnapshotAnalysis snapshot_analysis = 1; + + // The config for ImportFeatures Analysis Based Feature Monitoring. + ImportFeaturesAnalysis import_features_analysis = 2; + + // Threshold for numerical features of anomaly detection. + // This is shared by all objectives of Featurestore Monitoring for numerical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE + // or INT64). + ThresholdConfig numerical_threshold_config = 3; + + // Threshold for categorical features of anomaly detection. + // This is shared by all types of Featurestore Monitoring for categorical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or + // STRING). + ThresholdConfig categorical_threshold_config = 4; +} diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto index 6f6dbbb2d..706ee62dd 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto @@ -22,10 +22,8 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/entity_type.proto"; import "google/cloud/aiplatform/v1/feature.proto"; -import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto"; import "google/cloud/aiplatform/v1/feature_selector.proto"; import "google/cloud/aiplatform/v1/featurestore.proto"; -import "google/cloud/aiplatform/v1/featurestore_online_service.proto"; import "google/cloud/aiplatform/v1/io.proto"; import "google/cloud/aiplatform/v1/operation.proto"; import "google/longrunning/operations.proto"; @@ -507,6 +505,9 @@ message ImportFeatureValuesRequest { // If not set, defaults to using 1 worker. The low count ensures minimal // impact on online serving performance. int32 worker_count = 11; + + // If true, API doesn't start ingestion analysis pipeline. + bool disable_ingestion_analysis = 12; } // Response message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues]. @@ -848,7 +849,12 @@ message UpdateEntityTypeRequest { // * `description` // * `labels` // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `monitoring_config.snapshot_analysis.monitoring_interval_days` + // * `monitoring_config.snapshot_analysis.staleness_days` + // * `monitoring_config.import_features_analysis.state` + // * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + // * `monitoring_config.numerical_threshold_config.value` + // * `monitoring_config.categorical_threshold_config.value` google.protobuf.FieldMask update_mask = 2; } @@ -1140,8 +1146,7 @@ message UpdateFeatureRequest { // // * `description` // * `labels` - // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `disable_monitoring` google.protobuf.FieldMask update_mask = 2; } diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto index 4fc43311b..dfe173dcc 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/custom_job.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto index 10cd9adf5..adf329aab 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto @@ -16,11 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/deployed_index_ref.proto"; -import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto index 70980c869..a90066066 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto @@ -16,10 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/index.proto"; import "google/cloud/aiplatform/v1/machine_resources.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto index 4d5db8965..43d5fdc63 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto index 9d103fbeb..57c37e01c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto index 92a29cbd0..7ad020b61 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/cloud/aiplatform/v1/artifact.proto"; import "google/cloud/aiplatform/v1/event.proto"; import "google/cloud/aiplatform/v1/execution.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto index e604a9d03..3850cf4cf 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/accelerator_type.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto index 5d2e8c8df..54002126e 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto index 610a17f1d..b00a15529 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto index 7a730689c..31e7fd2c9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto index 50693328c..3306029af 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto index 2ee640706..bcacf30a4 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto @@ -20,9 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/dataset.proto"; import "google/cloud/aiplatform/v1/migratable_resource.proto"; -import "google/cloud/aiplatform/v1/model.proto"; import "google/cloud/aiplatform/v1/operation.proto"; import "google/longrunning/operations.proto"; import "google/rpc/status.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto index 2f937790c..32e617ddb 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto @@ -16,15 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/dataset.proto"; import "google/cloud/aiplatform/v1/deployed_model_ref.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/env_var.proto"; import "google/cloud/aiplatform/v1/explanation.proto"; - import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto index 20f767a65..e5c5a3217 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; @@ -29,7 +28,6 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto index 186b15d3f..8d86509b8 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/explanation.proto"; @@ -39,31 +38,70 @@ message ModelEvaluation { pattern: "projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}" }; + message ModelEvaluationExplanationSpec { + // Explanation type. + // + // For AutoML Image Classification models, possible values are: + // + // * `image-integrated-gradients` + // * `image-xrai` + string explanation_type = 1; + + // Explanation spec details. + ExplanationSpec explanation_spec = 2; + } + // Output only. The resource name of the ModelEvaluation. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Points to a YAML file stored on Google Cloud Storage describing the + // Points to a YAML file stored on Google Cloud Storage describing the // [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is // defined as an OpenAPI 3.0.2 [Schema // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - string metrics_schema_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + string metrics_schema_uri = 2; - // Output only. Evaluation metrics of the Model. The schema of the metrics is stored in + // Evaluation metrics of the Model. The schema of the metrics is stored in // [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri] - google.protobuf.Value metrics = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Value metrics = 3; // Output only. Timestamp when this ModelEvaluation was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of + // All possible [dimensions][ModelEvaluationSlice.slice.dimension] of // ModelEvaluationSlices. The dimensions can be used as the filter of the // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of // `slice.dimension = `. - repeated string slice_dimensions = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string slice_dimensions = 5; + + // Points to a YAML file stored on Google Cloud Storage describing + // [EvaluatedDataItemView.data_item_payload][] and + // [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an + // OpenAPI 3.0.2 [Schema + // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). + // + // This field is not populated if there are neither EvaluatedDataItemViews nor + // EvaluatedAnnotations under this ModelEvaluation. + string data_item_schema_uri = 6; - // Output only. Aggregated explanation metrics for the Model's prediction output over the + // Points to a YAML file stored on Google Cloud Storage describing + // [EvaluatedDataItemView.predictions][], + // [EvaluatedDataItemView.ground_truths][], + // [EvaluatedAnnotation.predictions][], and + // [EvaluatedAnnotation.ground_truths][]. The schema is defined as an + // OpenAPI 3.0.2 [Schema + // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). + // + // This field is not populated if there are neither EvaluatedDataItemViews nor + // EvaluatedAnnotations under this ModelEvaluation. + string annotation_schema_uri = 7; + + // Aggregated explanation metrics for the Model's prediction output over the // data this ModelEvaluation uses. This field is populated only if the Model // is evaluated with explanations, and only for AutoML tabular Models. // - ModelExplanation model_explanation = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + ModelExplanation model_explanation = 8; + + // Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining + // the predicted values on the evaluated data. + repeated ModelEvaluationExplanationSpec explanation_specs = 9; } diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto index 38f24387d..f28b01354 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/struct.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto index 759c6994e..1b9a2b906 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/io.proto"; @@ -28,7 +27,7 @@ option java_package = "com.google.cloud.aiplatform.v1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; -// Next ID: 6 +// Next ID: 7 message ModelMonitoringObjectiveConfig { // Training Dataset information. message TrainingDataset { diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto index 923a255c9..4799a22e9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto @@ -20,15 +20,12 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/cloud/aiplatform/v1/encryption_spec.proto"; -import "google/cloud/aiplatform/v1/explanation.proto"; import "google/cloud/aiplatform/v1/io.proto"; import "google/cloud/aiplatform/v1/model.proto"; import "google/cloud/aiplatform/v1/model_evaluation.proto"; import "google/cloud/aiplatform/v1/model_evaluation_slice.proto"; import "google/cloud/aiplatform/v1/operation.proto"; import "google/longrunning/operations.proto"; - import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -113,6 +110,15 @@ service ModelService { }; } + // Imports an externally generated ModelEvaluation. + rpc ImportModelEvaluation(ImportModelEvaluationRequest) returns (ModelEvaluation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/models/*}/evaluations:import" + body: "*" + }; + option (google.api.method_signature) = "parent,model_evaluation"; + } + // Gets a ModelEvaluation. rpc GetModelEvaluation(GetModelEvaluationRequest) returns (ModelEvaluation) { option (google.api.http) = { @@ -337,6 +343,21 @@ message ExportModelResponse { } +// Request message for [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation] +message ImportModelEvaluationRequest { + // Required. The name of the parent model resource. + // Format: `projects/{project}/locations/{location}/models/{model}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + + // Required. Model evaluation resource to be imported. + ModelEvaluation model_evaluation = 2 [(google.api.field_behavior) = REQUIRED]; +} + // Request message for [ModelService.GetModelEvaluation][google.cloud.aiplatform.v1.ModelService.GetModelEvaluation]. message GetModelEvaluationRequest { // Required. The name of the ModelEvaluation resource. diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto index bf7d97bcc..da7c5dcc2 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto index 4bba188ca..9325436cd 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/artifact.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto index 5cd9a7770..a06ae8abe 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto index 110ce29d6..0e620e6a1 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto index ea15ea8ed..7d336dc10 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto index 6af7e51f7..84a245d90 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto index 8791bd58c..c65db6945 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/tensorboard_time_series.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto index 791c5329a..9d7fe1204 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto index 26e84f353..0f7b5eff6 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto index c663cafe0..eff288e5d 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto index 4dec6e409..0660f82ee 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto @@ -16,13 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/io.proto"; -import "google/cloud/aiplatform/v1/machine_resources.proto"; -import "google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto"; import "google/cloud/aiplatform/v1/model.proto"; import "google/cloud/aiplatform/v1/pipeline_state.proto"; import "google/protobuf/struct.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto index 91c9c2efa..3fbc31d72 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto index 4617d5642..62e3e459c 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/model.proto"; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto index 072dcc1bf..bf4c9f933 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto index 2792a336f..e8ab58538 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; diff --git a/proto-google-cloud-aiplatform-v1beta1/pom.xml b/proto-google-cloud-aiplatform-v1beta1/pom.xml index 8ace7f4f6..b19d1dc87 100644 --- a/proto-google-cloud-aiplatform-v1beta1/pom.xml +++ b/proto-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.13.4 + 0.14.0 proto-google-cloud-aiplatform-v1beta1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 2.7.4 + 2.8.0 diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java index 8783152d7..0743b1980 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java @@ -44,6 +44,7 @@ private BatchPredictionJob() { name_ = ""; displayName_ = ""; model_ = ""; + serviceAccount_ = ""; state_ = 0; partialFailures_ = java.util.Collections.emptyList(); } @@ -395,6 +396,13 @@ private BatchPredictionJob( unmanagedContainerModel_ = subBuilder.buildPartial(); } + break; + } + case 234: + { + java.lang.String s = input.readStringRequireUtf8(); + + serviceAccount_ = s; break; } default: @@ -5793,6 +5801,65 @@ public com.google.cloud.aiplatform.v1beta1.BatchDedicatedResources getDedicatedR return getDedicatedResources(); } + public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 29; + private volatile java.lang.Object serviceAccount_; + /** + * + * + *
+   * The service account that the DeployedModel's container runs as. If not
+   * specified, a system generated one will be used, which
+   * has minimal permissions and the custom container, if used, may not have
+   * enough permission to access other GCP resources.
+   * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+   * permission on this service account.
+   * 
+ * + * string service_account = 29; + * + * @return The serviceAccount. + */ + @java.lang.Override + public java.lang.String getServiceAccount() { + java.lang.Object ref = serviceAccount_; + 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(); + serviceAccount_ = s; + return s; + } + } + /** + * + * + *
+   * The service account that the DeployedModel's container runs as. If not
+   * specified, a system generated one will be used, which
+   * has minimal permissions and the custom container, if used, may not have
+   * enough permission to access other GCP resources.
+   * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+   * permission on this service account.
+   * 
+ * + * string service_account = 29; + * + * @return The bytes for serviceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int MANUAL_BATCH_TUNING_PARAMETERS_FIELD_NUMBER = 8; private com.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manualBatchTuningParameters_; @@ -6761,6 +6828,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (unmanagedContainerModel_ != null) { output.writeMessage(28, getUnmanagedContainerModel()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 29, serviceAccount_); + } unknownFields.writeTo(output); } @@ -6850,6 +6920,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 28, getUnmanagedContainerModel()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, serviceAccount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -6889,6 +6962,7 @@ public boolean equals(final java.lang.Object obj) { if (hasDedicatedResources()) { if (!getDedicatedResources().equals(other.getDedicatedResources())) return false; } + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasManualBatchTuningParameters() != other.hasManualBatchTuningParameters()) return false; if (hasManualBatchTuningParameters()) { if (!getManualBatchTuningParameters().equals(other.getManualBatchTuningParameters())) @@ -6975,6 +7049,8 @@ public int hashCode() { hash = (37 * hash) + DEDICATED_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getDedicatedResources().hashCode(); } + hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccount().hashCode(); if (hasManualBatchTuningParameters()) { hash = (37 * hash) + MANUAL_BATCH_TUNING_PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getManualBatchTuningParameters().hashCode(); @@ -7238,6 +7314,8 @@ public Builder clear() { dedicatedResources_ = null; dedicatedResourcesBuilder_ = null; } + serviceAccount_ = ""; + if (manualBatchTuningParametersBuilder_ == null) { manualBatchTuningParameters_ = null; } else { @@ -7371,6 +7449,7 @@ public com.google.cloud.aiplatform.v1beta1.BatchPredictionJob buildPartial() { } else { result.dedicatedResources_ = dedicatedResourcesBuilder_.build(); } + result.serviceAccount_ = serviceAccount_; if (manualBatchTuningParametersBuilder_ == null) { result.manualBatchTuningParameters_ = manualBatchTuningParameters_; } else { @@ -7516,6 +7595,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.BatchPredictionJob if (other.hasDedicatedResources()) { mergeDedicatedResources(other.getDedicatedResources()); } + if (!other.getServiceAccount().isEmpty()) { + serviceAccount_ = other.serviceAccount_; + onChanged(); + } if (other.hasManualBatchTuningParameters()) { mergeManualBatchTuningParameters(other.getManualBatchTuningParameters()); } @@ -9152,6 +9235,137 @@ public Builder clearDedicatedResources() { return dedicatedResourcesBuilder_; } + private java.lang.Object serviceAccount_ = ""; + /** + * + * + *
+     * The service account that the DeployedModel's container runs as. If not
+     * specified, a system generated one will be used, which
+     * has minimal permissions and the custom container, if used, may not have
+     * enough permission to access other GCP resources.
+     * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+     * permission on this service account.
+     * 
+ * + * string service_account = 29; + * + * @return The serviceAccount. + */ + public java.lang.String getServiceAccount() { + java.lang.Object ref = serviceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The service account that the DeployedModel's container runs as. If not
+     * specified, a system generated one will be used, which
+     * has minimal permissions and the custom container, if used, may not have
+     * enough permission to access other GCP resources.
+     * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+     * permission on this service account.
+     * 
+ * + * string service_account = 29; + * + * @return The bytes for serviceAccount. + */ + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The service account that the DeployedModel's container runs as. If not
+     * specified, a system generated one will be used, which
+     * has minimal permissions and the custom container, if used, may not have
+     * enough permission to access other GCP resources.
+     * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+     * permission on this service account.
+     * 
+ * + * string service_account = 29; + * + * @param value The serviceAccount to set. + * @return This builder for chaining. + */ + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serviceAccount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The service account that the DeployedModel's container runs as. If not
+     * specified, a system generated one will be used, which
+     * has minimal permissions and the custom container, if used, may not have
+     * enough permission to access other GCP resources.
+     * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+     * permission on this service account.
+     * 
+ * + * string service_account = 29; + * + * @return This builder for chaining. + */ + public Builder clearServiceAccount() { + + serviceAccount_ = getDefaultInstance().getServiceAccount(); + onChanged(); + return this; + } + /** + * + * + *
+     * The service account that the DeployedModel's container runs as. If not
+     * specified, a system generated one will be used, which
+     * has minimal permissions and the custom container, if used, may not have
+     * enough permission to access other GCP resources.
+     * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+     * permission on this service account.
+     * 
+ * + * string service_account = 29; + * + * @param value The bytes for serviceAccount to set. + * @return This builder for chaining. + */ + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serviceAccount_ = value; + onChanged(); + return this; + } + private com.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters manualBatchTuningParameters_; private com.google.protobuf.SingleFieldBuilderV3< diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java index c9c8a46bc..22ddedd0b 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java @@ -360,6 +360,41 @@ public interface BatchPredictionJobOrBuilder com.google.cloud.aiplatform.v1beta1.BatchDedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder(); + /** + * + * + *
+   * The service account that the DeployedModel's container runs as. If not
+   * specified, a system generated one will be used, which
+   * has minimal permissions and the custom container, if used, may not have
+   * enough permission to access other GCP resources.
+   * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+   * permission on this service account.
+   * 
+ * + * string service_account = 29; + * + * @return The serviceAccount. + */ + java.lang.String getServiceAccount(); + /** + * + * + *
+   * The service account that the DeployedModel's container runs as. If not
+   * specified, a system generated one will be used, which
+   * has minimal permissions and the custom container, if used, may not have
+   * enough permission to access other GCP resources.
+   * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+   * permission on this service account.
+   * 
+ * + * string service_account = 29; + * + * @return The bytes for serviceAccount. + */ + com.google.protobuf.ByteString getServiceAccountBytes(); + /** * * diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java index b4795cc61..e36f947e9 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java @@ -75,7 +75,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "form/v1beta1/unmanaged_container_model.p" + "roto\032\034google/protobuf/struct.proto\032\037goog" + "le/protobuf/timestamp.proto\032\027google/rpc/" - + "status.proto\"\352\021\n\022BatchPredictionJob\022\021\n\004n" + + "status.proto\"\203\022\n\022BatchPredictionJob\022\021\n\004n" + "ame\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A" + "\002\0223\n\005model\030\003 \001(\tB$\372A!\n\037aiplatform.google" + "apis.com/Model\022[\n\031unmanaged_container_mo" @@ -88,57 +88,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.cloud.aiplatform.v1beta1.BatchPredicti" + "onJob.OutputConfigB\003\340A\002\022U\n\023dedicated_res" + "ources\030\007 \001(\01328.google.cloud.aiplatform.v" - + "1beta1.BatchDedicatedResources\022i\n\036manual" - + "_batch_tuning_parameters\030\010 \001(\0132<.google." - + "cloud.aiplatform.v1beta1.ManualBatchTuni" - + "ngParametersB\003\340A\005\022\034\n\024generate_explanatio" - + "n\030\027 \001(\010\022J\n\020explanation_spec\030\031 \001(\01320.goog" - + "le.cloud.aiplatform.v1beta1.ExplanationS" - + "pec\022X\n\013output_info\030\t \001(\0132>.google.cloud." - + "aiplatform.v1beta1.BatchPredictionJob.Ou" - + "tputInfoB\003\340A\003\022=\n\005state\030\n \001(\0162).google.cl" - + "oud.aiplatform.v1beta1.JobStateB\003\340A\003\022&\n\005" - + "error\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\0221\n\020" - + "partial_failures\030\014 \003(\0132\022.google.rpc.Stat" - + "usB\003\340A\003\022S\n\022resources_consumed\030\r \001(\01322.go" - + "ogle.cloud.aiplatform.v1beta1.ResourcesC" - + "onsumedB\003\340A\003\022O\n\020completion_stats\030\016 \001(\01320" - + ".google.cloud.aiplatform.v1beta1.Complet" - + "ionStatsB\003\340A\003\0224\n\013create_time\030\017 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\0223\n\nstart_tim" - + "e\030\020 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0221\n\010end_time\030\021 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0224\n\013update_time\030\022 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022O\n\006labels\030\023 \003(" - + "\0132?.google.cloud.aiplatform.v1beta1.Batc" - + "hPredictionJob.LabelsEntry\022H\n\017encryption" - + "_spec\030\030 \001(\0132/.google.cloud.aiplatform.v1" - + "beta1.EncryptionSpec\032\304\001\n\013InputConfig\022@\n\n" - + "gcs_source\030\002 \001(\0132*.google.cloud.aiplatfo" - + "rm.v1beta1.GcsSourceH\000\022J\n\017bigquery_sourc" - + "e\030\003 \001(\0132/.google.cloud.aiplatform.v1beta" - + "1.BigQuerySourceH\000\022\035\n\020instances_format\030\001" - + " \001(\tB\003\340A\002B\010\n\006source\032\340\001\n\014OutputConfig\022J\n\017" - + "gcs_destination\030\002 \001(\0132/.google.cloud.aip" - + "latform.v1beta1.GcsDestinationH\000\022T\n\024bigq" - + "uery_destination\030\003 \001(\01324.google.cloud.ai" - + "platform.v1beta1.BigQueryDestinationH\000\022\037" - + "\n\022predictions_format\030\001 \001(\tB\003\340A\002B\r\n\013desti" - + "nation\032\220\001\n\nOutputInfo\022#\n\024gcs_output_dire" - + "ctory\030\001 \001(\tB\003\340A\003H\000\022&\n\027bigquery_output_da" - + "taset\030\002 \001(\tB\003\340A\003H\000\022\"\n\025bigquery_output_ta" - + "ble\030\004 \001(\tB\003\340A\003B\021\n\017output_location\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + ":\206\001\352A\202\001\n,aiplatform.googleapis.com/Batch" - + "PredictionJob\022Rprojects/{project}/locati" - + "ons/{location}/batchPredictionJobs/{batc" - + "h_prediction_job}B\364\001\n#com.google.cloud.a" - + "iplatform.v1beta1B\027BatchPredictionJobPro" - + "toP\001ZIgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1beta1;aiplatform\252" - + "\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goog" - + "le\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cl" - + "oud::AIPlatform::V1beta1b\006proto3" + + "1beta1.BatchDedicatedResources\022\027\n\017servic" + + "e_account\030\035 \001(\t\022i\n\036manual_batch_tuning_p" + + "arameters\030\010 \001(\0132<.google.cloud.aiplatfor" + + "m.v1beta1.ManualBatchTuningParametersB\003\340" + + "A\005\022\034\n\024generate_explanation\030\027 \001(\010\022J\n\020expl" + + "anation_spec\030\031 \001(\01320.google.cloud.aiplat" + + "form.v1beta1.ExplanationSpec\022X\n\013output_i" + + "nfo\030\t \001(\0132>.google.cloud.aiplatform.v1be" + + "ta1.BatchPredictionJob.OutputInfoB\003\340A\003\022=" + + "\n\005state\030\n \001(\0162).google.cloud.aiplatform." + + "v1beta1.JobStateB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.g" + + "oogle.rpc.StatusB\003\340A\003\0221\n\020partial_failure" + + "s\030\014 \003(\0132\022.google.rpc.StatusB\003\340A\003\022S\n\022reso" + + "urces_consumed\030\r \001(\01322.google.cloud.aipl" + + "atform.v1beta1.ResourcesConsumedB\003\340A\003\022O\n" + + "\020completion_stats\030\016 \001(\01320.google.cloud.a" + + "iplatform.v1beta1.CompletionStatsB\003\340A\003\0224" + + "\n\013create_time\030\017 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0223\n\nstart_time\030\020 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\021 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "update_time\030\022 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022O\n\006labels\030\023 \003(\0132?.google.clou" + + "d.aiplatform.v1beta1.BatchPredictionJob." + + "LabelsEntry\022H\n\017encryption_spec\030\030 \001(\0132/.g" + + "oogle.cloud.aiplatform.v1beta1.Encryptio" + + "nSpec\032\304\001\n\013InputConfig\022@\n\ngcs_source\030\002 \001(" + + "\0132*.google.cloud.aiplatform.v1beta1.GcsS" + + "ourceH\000\022J\n\017bigquery_source\030\003 \001(\0132/.googl" + + "e.cloud.aiplatform.v1beta1.BigQuerySourc" + + "eH\000\022\035\n\020instances_format\030\001 \001(\tB\003\340A\002B\010\n\006so" + + "urce\032\340\001\n\014OutputConfig\022J\n\017gcs_destination" + + "\030\002 \001(\0132/.google.cloud.aiplatform.v1beta1" + + ".GcsDestinationH\000\022T\n\024bigquery_destinatio" + + "n\030\003 \001(\01324.google.cloud.aiplatform.v1beta" + + "1.BigQueryDestinationH\000\022\037\n\022predictions_f" + + "ormat\030\001 \001(\tB\003\340A\002B\r\n\013destination\032\220\001\n\nOutp" + + "utInfo\022#\n\024gcs_output_directory\030\001 \001(\tB\003\340A" + + "\003H\000\022&\n\027bigquery_output_dataset\030\002 \001(\tB\003\340A" + + "\003H\000\022\"\n\025bigquery_output_table\030\004 \001(\tB\003\340A\003B" + + "\021\n\017output_location\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A\202\001\n,aiplat" + + "form.googleapis.com/BatchPredictionJob\022R" + + "projects/{project}/locations/{location}/" + + "batchPredictionJobs/{batch_prediction_jo" + + "b}B\364\001\n#com.google.cloud.aiplatform.v1bet" + + "a1B\027BatchPredictionJobProtoP\001ZIgoogle.go" + + "lang.org/genproto/googleapis/cloud/aipla" + + "tform/v1beta1;aiplatform\252\002\037Google.Cloud." + + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat" + + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform" + + "::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -174,6 +175,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelParameters", "OutputConfig", "DedicatedResources", + "ServiceAccount", "ManualBatchTuningParameters", "GenerateExplanation", "ExplanationSpec", diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java index f62a8746b..6f2654b02 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java @@ -45,6 +45,7 @@ private Feature() { valueType_ = 0; etag_ = ""; monitoringStats_ = java.util.Collections.emptyList(); + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -180,6 +181,25 @@ private Feature( extensionRegistry)); break; } + case 90: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + monitoringStatsAnomalies_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly>(); + mutable_bitField0_ |= 0x00000004; + } + monitoringStatsAnomalies_.add( + input.readMessage( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.parser(), + extensionRegistry)); + break; + } + case 96: + { + disableMonitoring_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -197,6 +217,10 @@ private Feature( if (((mutable_bitField0_ & 0x00000002) != 0)) { monitoringStats_ = java.util.Collections.unmodifiableList(monitoringStats_); } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + monitoringStatsAnomalies_ = + java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -447,96 +471,1291 @@ public final int getNumber() { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } - return value; - } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ValueType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ValueType forNumber(int value) { + switch (value) { + case 0: + return VALUE_TYPE_UNSPECIFIED; + case 1: + return BOOL; + case 2: + return BOOL_ARRAY; + case 3: + return DOUBLE; + case 4: + return DOUBLE_ARRAY; + case 9: + return INT64; + case 10: + return INT64_ARRAY; + case 11: + return STRING; + case 12: + return STRING_ARRAY; + case 13: + return BYTES; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValueType findValueByNumber(int number) { + return ValueType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.Feature.getDescriptor().getEnumTypes().get(0); + } + + private static final ValueType[] VALUES = values(); + + public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ValueType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.Feature.ValueType) + } + + public interface MonitoringStatsAnomalyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for objective. + */ + int getObjectiveValue(); + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The objective. + */ + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective getObjective(); + + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the featureStatsAnomaly field is set. + */ + boolean hasFeatureStatsAnomaly(); + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The featureStatsAnomaly. + */ + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getFeatureStatsAnomaly(); + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder + getFeatureStatsAnomalyOrBuilder(); + } + /** + * + * + *
+   * A list of historical [Snapshot
+   * Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+   * Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+   * requested by user, sorted by
+   * [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time]
+   * descending.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} + */ + public static final class MonitoringStatsAnomaly extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) + MonitoringStatsAnomalyOrBuilder { + private static final long serialVersionUID = 0L; + // Use MonitoringStatsAnomaly.newBuilder() to construct. + private MonitoringStatsAnomaly(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MonitoringStatsAnomaly() { + objective_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MonitoringStatsAnomaly(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private MonitoringStatsAnomaly( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + objective_ = rawValue; + break; + } + case 18: + { + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder subBuilder = null; + if (featureStatsAnomaly_ != null) { + subBuilder = featureStatsAnomaly_.toBuilder(); + } + featureStatsAnomaly_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(featureStatsAnomaly_); + featureStatsAnomaly_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeatureProto + .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeatureProto + .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.class, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder.class); + } + + /** + * + * + *
+     * If the objective in the request is both
+     * Import Feature Analysis and Snapshot Analysis, this objective could be
+     * one of them. Otherwise, this objective should be the same as the
+     * objective in the request.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective} + */ + public enum Objective implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+       * 
+ * + * OBJECTIVE_UNSPECIFIED = 0; + */ + OBJECTIVE_UNSPECIFIED(0), + /** + * + * + *
+       * Stats are generated by Import Feature Analysis.
+       * 
+ * + * IMPORT_FEATURE_ANALYSIS = 1; + */ + IMPORT_FEATURE_ANALYSIS(1), + /** + * + * + *
+       * Stats are generated by Snapshot Analysis.
+       * 
+ * + * SNAPSHOT_ANALYSIS = 2; + */ + SNAPSHOT_ANALYSIS(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+       * 
+ * + * OBJECTIVE_UNSPECIFIED = 0; + */ + public static final int OBJECTIVE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Stats are generated by Import Feature Analysis.
+       * 
+ * + * IMPORT_FEATURE_ANALYSIS = 1; + */ + public static final int IMPORT_FEATURE_ANALYSIS_VALUE = 1; + /** + * + * + *
+       * Stats are generated by Snapshot Analysis.
+       * 
+ * + * SNAPSHOT_ANALYSIS = 2; + */ + public static final int SNAPSHOT_ANALYSIS_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Objective valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Objective forNumber(int value) { + switch (value) { + case 0: + return OBJECTIVE_UNSPECIFIED; + case 1: + return IMPORT_FEATURE_ANALYSIS; + case 2: + return SNAPSHOT_ANALYSIS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Objective findValueByNumber(int number) { + return Objective.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Objective[] VALUES = values(); + + public static Objective valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Objective(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective) + } + + public static final int OBJECTIVE_FIELD_NUMBER = 1; + private int objective_; + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for objective. + */ + @java.lang.Override + public int getObjectiveValue() { + return objective_; + } + /** + * + * + *
+     * Output only. The objective for each stats.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The objective. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + getObjective() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective result = + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective.valueOf( + objective_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + .UNRECOGNIZED + : result; + } + + public static final int FEATURE_STATS_ANOMALY_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly featureStatsAnomaly_; + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the featureStatsAnomaly field is set. + */ + @java.lang.Override + public boolean hasFeatureStatsAnomaly() { + return featureStatsAnomaly_ != null; + } + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The featureStatsAnomaly. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getFeatureStatsAnomaly() { + return featureStatsAnomaly_ == null + ? com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.getDefaultInstance() + : featureStatsAnomaly_; + } + /** + * + * + *
+     * Output only. The stats and anomalies generated at specific timestamp.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder + getFeatureStatsAnomalyOrBuilder() { + return getFeatureStatsAnomaly(); + } + + 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 (objective_ + != com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + .OBJECTIVE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, objective_); + } + if (featureStatsAnomaly_ != null) { + output.writeMessage(2, getFeatureStatsAnomaly()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (objective_ + != com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + .OBJECTIVE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, objective_); + } + if (featureStatsAnomaly_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFeatureStatsAnomaly()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly other = + (com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) obj; + + if (objective_ != other.objective_) return false; + if (hasFeatureStatsAnomaly() != other.hasFeatureStatsAnomaly()) return false; + if (hasFeatureStatsAnomaly()) { + if (!getFeatureStatsAnomaly().equals(other.getFeatureStatsAnomaly())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OBJECTIVE_FIELD_NUMBER; + hash = (53 * hash) + objective_; + if (hasFeatureStatsAnomaly()) { + hash = (37 * hash) + FEATURE_STATS_ANOMALY_FIELD_NUMBER; + hash = (53 * hash) + getFeatureStatsAnomaly().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + 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.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly 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.Feature.MonitoringStatsAnomaly prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * A list of historical [Snapshot
+     * Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+     * Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+     * requested by user, sorted by
+     * [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time]
+     * descending.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeatureProto + .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeatureProto + .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.class, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + objective_ = 0; + + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomaly_ = null; + } else { + featureStatsAnomaly_ = null; + featureStatsAnomalyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeatureProto + .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly build() { + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly buildPartial() { + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly result = + new com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly(this); + result.objective_ = objective_; + if (featureStatsAnomalyBuilder_ == null) { + result.featureStatsAnomaly_ = featureStatsAnomaly_; + } else { + result.featureStatsAnomaly_ = featureStatsAnomalyBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly other) { + if (other + == com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + .getDefaultInstance()) return this; + if (other.objective_ != 0) { + setObjectiveValue(other.getObjectiveValue()); + } + if (other.hasFeatureStatsAnomaly()) { + mergeFeatureStatsAnomaly(other.getFeatureStatsAnomaly()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int objective_ = 0; + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for objective. + */ + @java.lang.Override + public int getObjectiveValue() { + return objective_; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for objective to set. + * @return This builder for chaining. + */ + public Builder setObjectiveValue(int value) { + + objective_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The objective. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + getObjective() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective result = + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective.valueOf( + objective_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + .UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The objective to set. + * @return This builder for chaining. + */ + public Builder setObjective( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective value) { + if (value == null) { + throw new NullPointerException(); + } - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ValueType valueOf(int value) { - return forNumber(value); - } + objective_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The objective for each stats.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearObjective() { + + objective_ = 0; + onChanged(); + return this; + } - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static ValueType forNumber(int value) { - switch (value) { - case 0: - return VALUE_TYPE_UNSPECIFIED; - case 1: - return BOOL; - case 2: - return BOOL_ARRAY; - case 3: - return DOUBLE; - case 4: - return DOUBLE_ARRAY; - case 9: - return INT64; - case 10: - return INT64_ARRAY; - case 11: - return STRING; - case 12: - return STRING_ARRAY; - case 13: - return BYTES; - default: - return null; + private com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly featureStatsAnomaly_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly, + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder> + featureStatsAnomalyBuilder_; + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the featureStatsAnomaly field is set. + */ + public boolean hasFeatureStatsAnomaly() { + return featureStatsAnomalyBuilder_ != null || featureStatsAnomaly_ != null; } - } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The featureStatsAnomaly. + */ + public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getFeatureStatsAnomaly() { + if (featureStatsAnomalyBuilder_ == null) { + return featureStatsAnomaly_ == null + ? com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.getDefaultInstance() + : featureStatsAnomaly_; + } else { + return featureStatsAnomalyBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFeatureStatsAnomaly( + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly value) { + if (featureStatsAnomalyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + featureStatsAnomaly_ = value; + onChanged(); + } else { + featureStatsAnomalyBuilder_.setMessage(value); + } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFeatureStatsAnomaly( + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder builderForValue) { + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomaly_ = builderForValue.build(); + onChanged(); + } else { + featureStatsAnomalyBuilder_.setMessage(builderForValue.build()); + } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.forNumber(number); + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeFeatureStatsAnomaly( + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly value) { + if (featureStatsAnomalyBuilder_ == null) { + if (featureStatsAnomaly_ != null) { + featureStatsAnomaly_ = + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.newBuilder( + featureStatsAnomaly_) + .mergeFrom(value) + .buildPartial(); + } else { + featureStatsAnomaly_ = value; } - }; + onChanged(); + } else { + featureStatsAnomalyBuilder_.mergeFrom(value); + } - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); + return this; } - return getDescriptor().getValues().get(ordinal()); + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearFeatureStatsAnomaly() { + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomaly_ = null; + onChanged(); + } else { + featureStatsAnomaly_ = null; + featureStatsAnomalyBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder + getFeatureStatsAnomalyBuilder() { + + onChanged(); + return getFeatureStatsAnomalyFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder + getFeatureStatsAnomalyOrBuilder() { + if (featureStatsAnomalyBuilder_ != null) { + return featureStatsAnomalyBuilder_.getMessageOrBuilder(); + } else { + return featureStatsAnomaly_ == null + ? com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.getDefaultInstance() + : featureStatsAnomaly_; + } + } + /** + * + * + *
+       * Output only. The stats and anomalies generated at specific timestamp.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly, + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder> + getFeatureStatsAnomalyFieldBuilder() { + if (featureStatsAnomalyBuilder_ == null) { + featureStatsAnomalyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly, + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder>( + getFeatureStatsAnomaly(), getParentForChildren(), isClean()); + featureStatsAnomaly_ = null; + } + return featureStatsAnomalyBuilder_; + } + + @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.Feature.MonitoringStatsAnomaly) } - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) + private static final com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.Feature.getDescriptor().getEnumTypes().get(0); + public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + getDefaultInstance() { + return DEFAULT_INSTANCE; } - private static final ValueType[] VALUES = values(); + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringStatsAnomaly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MonitoringStatsAnomaly(input, extensionRegistry); + } + }; - public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; + public static com.google.protobuf.Parser parser() { + return PARSER; } - private final int value; - - private ValueType(int value) { - this.value = value; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.Feature.ValueType) + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } public static final int NAME_FIELD_NUMBER = 1; @@ -1052,6 +2271,29 @@ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig getMonit return getMonitoringConfig(); } + public static final int DISABLE_MONITORING_FIELD_NUMBER = 12; + private boolean disableMonitoring_; + /** + * + * + *
+   * Optional. If not set, use the monitoring_config defined for the EntityType
+   * this Feature belongs to. Only Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+   * If set to true, all types of data monitoring are disabled despite the
+   * config on EntityType.
+   * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disableMonitoring. + */ + @java.lang.Override + public boolean getDisableMonitoring() { + return disableMonitoring_; + } + public static final int MONITORING_STATS_FIELD_NUMBER = 10; private java.util.List monitoringStats_; /** @@ -1148,6 +2390,95 @@ public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getMonitoringStat return monitoringStats_.get(index); } + public static final int MONITORING_STATS_ANOMALIES_FIELD_NUMBER = 11; + private java.util.List + monitoringStatsAnomalies_; + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getMonitoringStatsAnomaliesList() { + return monitoringStatsAnomalies_; + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesOrBuilderList() { + return monitoringStatsAnomalies_; + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getMonitoringStatsAnomaliesCount() { + return monitoringStatsAnomalies_.size(); + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + getMonitoringStatsAnomalies(int index) { + return monitoringStatsAnomalies_.get(index); + } + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder + getMonitoringStatsAnomaliesOrBuilder(int index) { + return monitoringStatsAnomalies_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1190,6 +2521,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < monitoringStats_.size(); i++) { output.writeMessage(10, monitoringStats_.get(i)); } + for (int i = 0; i < monitoringStatsAnomalies_.size(); i++) { + output.writeMessage(11, monitoringStatsAnomalies_.get(i)); + } + if (disableMonitoring_ != false) { + output.writeBool(12, disableMonitoring_); + } unknownFields.writeTo(output); } @@ -1235,6 +2572,14 @@ public int getSerializedSize() { for (int i = 0; i < monitoringStats_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, monitoringStats_.get(i)); } + for (int i = 0; i < monitoringStatsAnomalies_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, monitoringStatsAnomalies_.get(i)); + } + if (disableMonitoring_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableMonitoring_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1268,7 +2613,10 @@ public boolean equals(final java.lang.Object obj) { if (hasMonitoringConfig()) { if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } + if (getDisableMonitoring() != other.getDisableMonitoring()) return false; if (!getMonitoringStatsList().equals(other.getMonitoringStatsList())) return false; + if (!getMonitoringStatsAnomaliesList().equals(other.getMonitoringStatsAnomaliesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1304,10 +2652,16 @@ public int hashCode() { hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMonitoringConfig().hashCode(); } + hash = (37 * hash) + DISABLE_MONITORING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableMonitoring()); if (getMonitoringStatsCount() > 0) { hash = (37 * hash) + MONITORING_STATS_FIELD_NUMBER; hash = (53 * hash) + getMonitoringStatsList().hashCode(); } + if (getMonitoringStatsAnomaliesCount() > 0) { + hash = (37 * hash) + MONITORING_STATS_ANOMALIES_FIELD_NUMBER; + hash = (53 * hash) + getMonitoringStatsAnomaliesList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1471,6 +2825,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMonitoringStatsFieldBuilder(); + getMonitoringStatsAnomaliesFieldBuilder(); } } @@ -1504,12 +2859,20 @@ public Builder clear() { monitoringConfig_ = null; monitoringConfigBuilder_ = null; } + disableMonitoring_ = false; + if (monitoringStatsBuilder_ == null) { monitoringStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { monitoringStatsBuilder_.clear(); } + if (monitoringStatsAnomaliesBuilder_ == null) { + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + monitoringStatsAnomaliesBuilder_.clear(); + } return this; } @@ -1559,6 +2922,7 @@ public com.google.cloud.aiplatform.v1beta1.Feature buildPartial() { } else { result.monitoringConfig_ = monitoringConfigBuilder_.build(); } + result.disableMonitoring_ = disableMonitoring_; if (monitoringStatsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { monitoringStats_ = java.util.Collections.unmodifiableList(monitoringStats_); @@ -1568,6 +2932,16 @@ public com.google.cloud.aiplatform.v1beta1.Feature buildPartial() { } else { result.monitoringStats_ = monitoringStatsBuilder_.build(); } + if (monitoringStatsAnomaliesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + monitoringStatsAnomalies_ = + java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.monitoringStatsAnomalies_ = monitoringStatsAnomalies_; + } else { + result.monitoringStatsAnomalies_ = monitoringStatsAnomaliesBuilder_.build(); + } onBuilt(); return result; } @@ -1642,6 +3016,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Feature other) { if (other.hasMonitoringConfig()) { mergeMonitoringConfig(other.getMonitoringConfig()); } + if (other.getDisableMonitoring() != false) { + setDisableMonitoring(other.getDisableMonitoring()); + } if (monitoringStatsBuilder_ == null) { if (!other.monitoringStats_.isEmpty()) { if (monitoringStats_.isEmpty()) { @@ -1669,6 +3046,33 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Feature other) { } } } + if (monitoringStatsAnomaliesBuilder_ == null) { + if (!other.monitoringStatsAnomalies_.isEmpty()) { + if (monitoringStatsAnomalies_.isEmpty()) { + monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.addAll(other.monitoringStatsAnomalies_); + } + onChanged(); + } + } else { + if (!other.monitoringStatsAnomalies_.isEmpty()) { + if (monitoringStatsAnomaliesBuilder_.isEmpty()) { + monitoringStatsAnomaliesBuilder_.dispose(); + monitoringStatsAnomaliesBuilder_ = null; + monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_; + bitField0_ = (bitField0_ & ~0x00000004); + monitoringStatsAnomaliesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMonitoringStatsAnomaliesFieldBuilder() + : null; + } else { + monitoringStatsAnomaliesBuilder_.addAllMessages(other.monitoringStatsAnomalies_); + } + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3061,6 +4465,73 @@ public Builder clearMonitoringConfig() { return monitoringConfigBuilder_; } + private boolean disableMonitoring_; + /** + * + * + *
+     * Optional. If not set, use the monitoring_config defined for the EntityType
+     * this Feature belongs to. Only Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+     * If set to true, all types of data monitoring are disabled despite the
+     * config on EntityType.
+     * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disableMonitoring. + */ + @java.lang.Override + public boolean getDisableMonitoring() { + return disableMonitoring_; + } + /** + * + * + *
+     * Optional. If not set, use the monitoring_config defined for the EntityType
+     * this Feature belongs to. Only Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+     * If set to true, all types of data monitoring are disabled despite the
+     * config on EntityType.
+     * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The disableMonitoring to set. + * @return This builder for chaining. + */ + public Builder setDisableMonitoring(boolean value) { + + disableMonitoring_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. If not set, use the monitoring_config defined for the EntityType
+     * this Feature belongs to. Only Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+     * If set to true, all types of data monitoring are disabled despite the
+     * config on EntityType.
+     * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDisableMonitoring() { + + disableMonitoring_ = false; + onChanged(); + return this; + } + private java.util.List monitoringStats_ = java.util.Collections.emptyList(); @@ -3519,6 +4990,439 @@ public Builder removeMonitoringStats(int index) { return monitoringStatsBuilder_; } + private java.util.List + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); + + private void ensureMonitoringStatsAnomaliesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + monitoringStatsAnomalies_ = + new java.util.ArrayList< + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly>( + monitoringStatsAnomalies_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder> + monitoringStatsAnomaliesBuilder_; + + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getMonitoringStatsAnomaliesList() { + if (monitoringStatsAnomaliesBuilder_ == null) { + return java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); + } else { + return monitoringStatsAnomaliesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getMonitoringStatsAnomaliesCount() { + if (monitoringStatsAnomaliesBuilder_ == null) { + return monitoringStatsAnomalies_.size(); + } else { + return monitoringStatsAnomaliesBuilder_.getCount(); + } + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + getMonitoringStatsAnomalies(int index) { + if (monitoringStatsAnomaliesBuilder_ == null) { + return monitoringStatsAnomalies_.get(index); + } else { + return monitoringStatsAnomaliesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMonitoringStatsAnomalies( + int index, com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly value) { + if (monitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.set(index, value); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMonitoringStatsAnomalies( + int index, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder + builderForValue) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.set(index, builderForValue.build()); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addMonitoringStatsAnomalies( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly value) { + if (monitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(value); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addMonitoringStatsAnomalies( + int index, com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly value) { + if (monitoringStatsAnomaliesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(index, value); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addMonitoringStatsAnomalies( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder + builderForValue) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(builderForValue.build()); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addMonitoringStatsAnomalies( + int index, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder + builderForValue) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.add(index, builderForValue.build()); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllMonitoringStatsAnomalies( + java.lang.Iterable< + ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly> + values) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, monitoringStatsAnomalies_); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearMonitoringStatsAnomalies() { + if (monitoringStatsAnomaliesBuilder_ == null) { + monitoringStatsAnomalies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeMonitoringStatsAnomalies(int index) { + if (monitoringStatsAnomaliesBuilder_ == null) { + ensureMonitoringStatsAnomaliesIsMutable(); + monitoringStatsAnomalies_.remove(index); + onChanged(); + } else { + monitoringStatsAnomaliesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder + getMonitoringStatsAnomaliesBuilder(int index) { + return getMonitoringStatsAnomaliesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder + getMonitoringStatsAnomaliesOrBuilder(int index) { + if (monitoringStatsAnomaliesBuilder_ == null) { + return monitoringStatsAnomalies_.get(index); + } else { + return monitoringStatsAnomaliesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesOrBuilderList() { + if (monitoringStatsAnomaliesBuilder_ != null) { + return monitoringStatsAnomaliesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(monitoringStatsAnomalies_); + } + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder + addMonitoringStatsAnomaliesBuilder() { + return getMonitoringStatsAnomaliesFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + .getDefaultInstance()); + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder + addMonitoringStatsAnomaliesBuilder(int index) { + return getMonitoringStatsAnomaliesFieldBuilder() + .addBuilder( + index, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + .getDefaultInstance()); + } + /** + * + * + *
+     * Output only. The list of historical stats and anomalies with specified
+     * objectives.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List< + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder> + getMonitoringStatsAnomaliesBuilderList() { + return getMonitoringStatsAnomaliesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesFieldBuilder() { + if (monitoringStatsAnomaliesBuilder_ == null) { + monitoringStatsAnomaliesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder, + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder>( + monitoringStatsAnomalies_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + monitoringStatsAnomalies_ = null; + } + return monitoringStatsAnomaliesBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java index 4cc50345e..727285a30 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java @@ -380,6 +380,24 @@ public interface FeatureOrBuilder com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); + /** + * + * + *
+   * Optional. If not set, use the monitoring_config defined for the EntityType
+   * this Feature belongs to. Only Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+   * If set to true, all types of data monitoring are disabled despite the
+   * config on EntityType.
+   * 
+ * + * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The disableMonitoring. + */ + boolean getDisableMonitoring(); + /** * * @@ -457,4 +475,75 @@ public interface FeatureOrBuilder */ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder getMonitoringStatsOrBuilder( int index); + + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getMonitoringStatsAnomaliesList(); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly getMonitoringStatsAnomalies( + int index); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getMonitoringStatsAnomaliesCount(); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder> + getMonitoringStatsAnomaliesOrBuilderList(); + /** + * + * + *
+   * Output only. The list of historical stats and anomalies with specified
+   * objectives.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder + getMonitoringStatsAnomaliesOrBuilder(int index); } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java index 44b79a525..4dc91364c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java @@ -31,6 +31,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_Feature_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_Feature_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -52,7 +56,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ta1/feature_monitoring_stats.proto\032=goog" + "le/cloud/aiplatform/v1beta1/featurestore" + "_monitoring.proto\032\037google/protobuf/times" - + "tamp.proto\"\355\006\n\007Feature\022\021\n\004name\030\001 \001(\tB\003\340A" + + "tamp.proto\"\254\n\n\007Feature\022\021\n\004name\030\001 \001(\tB\003\340A" + "\005\022\023\n\013description\030\002 \001(\t\022N\n\nvalue_type\030\003 \001" + "(\01622.google.cloud.aiplatform.v1beta1.Fea" + "ture.ValueTypeB\006\340A\002\340A\005\0224\n\013create_time\030\004 " @@ -62,25 +66,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d.aiplatform.v1beta1.Feature.LabelsEntry" + "B\003\340A\001\022\014\n\004etag\030\007 \001(\t\022]\n\021monitoring_config" + "\030\t \001(\0132=.google.cloud.aiplatform.v1beta1" - + ".FeaturestoreMonitoringConfigB\003\340A\001\022S\n\020mo" - + "nitoring_stats\030\n \003(\01324.google.cloud.aipl" - + "atform.v1beta1.FeatureStatsAnomalyB\003\340A\003\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"\244\001\n\tValueType\022\032\n\026VALUE_TYPE_UNSPE" - + "CIFIED\020\000\022\010\n\004BOOL\020\001\022\016\n\nBOOL_ARRAY\020\002\022\n\n\006DO" - + "UBLE\020\003\022\020\n\014DOUBLE_ARRAY\020\004\022\t\n\005INT64\020\t\022\017\n\013I" - + "NT64_ARRAY\020\n\022\n\n\006STRING\020\013\022\020\n\014STRING_ARRAY" - + "\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aiplatform.googlea" - + "pis.com/Feature\022qprojects/{project}/loca" - + "tions/{location}/featurestores/{features" - + "tore}/entityTypes/{entity_type}/features" - + "/{feature}B\351\001\n#com.google.cloud.aiplatfo" - + "rm.v1beta1B\014FeatureProtoP\001ZIgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1beta1;aiplatform\252\002\037Google.Cloud.AIP" - + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor" - + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V" - + "1beta1b\006proto3" + + ".FeaturestoreMonitoringConfigB\003\340A\001\022\037\n\022di" + + "sable_monitoring\030\014 \001(\010B\003\340A\001\022S\n\020monitorin" + + "g_stats\030\n \003(\01324.google.cloud.aiplatform." + + "v1beta1.FeatureStatsAnomalyB\003\340A\003\022h\n\032moni" + + "toring_stats_anomalies\030\013 \003(\0132?.google.cl" + + "oud.aiplatform.v1beta1.Feature.Monitorin" + + "gStatsAnomalyB\003\340A\003\032\261\002\n\026MonitoringStatsAn" + + "omaly\022a\n\tobjective\030\001 \001(\0162I.google.cloud." + + "aiplatform.v1beta1.Feature.MonitoringSta" + + "tsAnomaly.ObjectiveB\003\340A\003\022X\n\025feature_stat" + + "s_anomaly\030\002 \001(\01324.google.cloud.aiplatfor" + + "m.v1beta1.FeatureStatsAnomalyB\003\340A\003\"Z\n\tOb" + + "jective\022\031\n\025OBJECTIVE_UNSPECIFIED\020\000\022\033\n\027IM" + + "PORT_FEATURE_ANALYSIS\020\001\022\025\n\021SNAPSHOT_ANAL" + + "YSIS\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"\244\001\n\tValueType\022\032\n\026VALUE_TYP" + + "E_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\016\n\nBOOL_ARRAY\020" + + "\002\022\n\n\006DOUBLE\020\003\022\020\n\014DOUBLE_ARRAY\020\004\022\t\n\005INT64" + + "\020\t\022\017\n\013INT64_ARRAY\020\n\022\n\n\006STRING\020\013\022\020\n\014STRIN" + + "G_ARRAY\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aiplatform." + + "googleapis.com/Feature\022qprojects/{projec" + + "t}/locations/{location}/featurestores/{f" + + "eaturestore}/entityTypes/{entity_type}/f" + + "eatures/{feature}B\351\001\n#com.google.cloud.a" + + "iplatform.v1beta1B\014FeatureProtoP\001ZIgoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "iplatform/v1beta1;aiplatform\252\002\037Google.Cl" + + "oud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AI" + + "Platform\\V1beta1\352\002\"Google::Cloud::AIPlat" + + "form::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -107,10 +122,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "Etag", "MonitoringConfig", + "DisableMonitoring", "MonitoringStats", + "MonitoringStatsAnomalies", }); - internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor = internal_static_google_cloud_aiplatform_v1beta1_Feature_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor, + new java.lang.String[] { + "Objective", "FeatureStatsAnomaly", + }); + internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_Feature_descriptor.getNestedTypes().get(1); internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor, diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java index 3783bdd14..3ae963fc2 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java @@ -86,6 +86,66 @@ private FeaturestoreMonitoringConfig( snapshotAnalysis_ = subBuilder.buildPartial(); } + break; + } + case 18: + { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Builder + subBuilder = null; + if (importFeaturesAnalysis_ != null) { + subBuilder = importFeaturesAnalysis_.toBuilder(); + } + importFeaturesAnalysis_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(importFeaturesAnalysis_); + importFeaturesAnalysis_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder + subBuilder = null; + if (numericalThresholdConfig_ != null) { + subBuilder = numericalThresholdConfig_.toBuilder(); + } + numericalThresholdConfig_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ThresholdConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(numericalThresholdConfig_); + numericalThresholdConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 34: + { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder + subBuilder = null; + if (categoricalThresholdConfig_ != null) { + subBuilder = categoricalThresholdConfig_.toBuilder(); + } + categoricalThresholdConfig_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ThresholdConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(categoricalThresholdConfig_); + categoricalThresholdConfig_ = subBuilder.buildPartial(); + } + break; } default: @@ -199,7 +259,8 @@ public interface SnapshotAnalysisOrBuilder * running interval. The value indicates number of days. * If both * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + * and + * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] * are set when creating/updating EntityTypes/Features, * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] * will be used. @@ -210,6 +271,21 @@ public interface SnapshotAnalysisOrBuilder * @return The monitoringIntervalDays. */ int getMonitoringIntervalDays(); + + /** + * + * + *
+     * Customized export features time window for snapshot analysis. Unit is one
+     * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+     * 4000 days.
+     * 
+ * + * int32 staleness_days = 4; + * + * @return The stalenessDays. + */ + int getStalenessDays(); } /** * @@ -290,6 +366,11 @@ private SnapshotAnalysis( monitoringIntervalDays_ = input.readInt32(); break; } + case 32: + { + stalenessDays_ = input.readInt32(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -418,7 +499,8 @@ public com.google.protobuf.DurationOrBuilder getMonitoringIntervalOrBuilder() { * running interval. The value indicates number of days. * If both * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + * and + * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] * are set when creating/updating EntityTypes/Features, * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] * will be used. @@ -433,6 +515,26 @@ public int getMonitoringIntervalDays() { return monitoringIntervalDays_; } + public static final int STALENESS_DAYS_FIELD_NUMBER = 4; + private int stalenessDays_; + /** + * + * + *
+     * Customized export features time window for snapshot analysis. Unit is one
+     * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+     * 4000 days.
+     * 
+ * + * int32 staleness_days = 4; + * + * @return The stalenessDays. + */ + @java.lang.Override + public int getStalenessDays() { + return stalenessDays_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -456,6 +558,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (monitoringIntervalDays_ != 0) { output.writeInt32(3, monitoringIntervalDays_); } + if (stalenessDays_ != 0) { + output.writeInt32(4, stalenessDays_); + } unknownFields.writeTo(output); } @@ -475,6 +580,9 @@ public int getSerializedSize() { if (monitoringIntervalDays_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, monitoringIntervalDays_); } + if (stalenessDays_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, stalenessDays_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -499,6 +607,7 @@ public boolean equals(final java.lang.Object obj) { if (!getMonitoringInterval().equals(other.getMonitoringInterval())) return false; } if (getMonitoringIntervalDays() != other.getMonitoringIntervalDays()) return false; + if (getStalenessDays() != other.getStalenessDays()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -518,6 +627,8 @@ public int hashCode() { } hash = (37 * hash) + MONITORING_INTERVAL_DAYS_FIELD_NUMBER; hash = (53 * hash) + getMonitoringIntervalDays(); + hash = (37 * hash) + STALENESS_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getStalenessDays(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -690,6 +801,8 @@ public Builder clear() { } monitoringIntervalDays_ = 0; + stalenessDays_ = 0; + return this; } @@ -730,6 +843,7 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { result.monitoringInterval_ = monitoringIntervalBuilder_.build(); } result.monitoringIntervalDays_ = monitoringIntervalDays_; + result.stalenessDays_ = stalenessDays_; onBuilt(); return result; } @@ -797,6 +911,9 @@ public Builder mergeFrom( if (other.getMonitoringIntervalDays() != 0) { setMonitoringIntervalDays(other.getMonitoringIntervalDays()); } + if (other.getStalenessDays() != 0) { + setStalenessDays(other.getStalenessDays()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1122,7 +1239,8 @@ public com.google.protobuf.DurationOrBuilder getMonitoringIntervalOrBuilder() { * running interval. The value indicates number of days. * If both * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + * and + * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] * are set when creating/updating EntityTypes/Features, * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] * will be used. @@ -1144,7 +1262,8 @@ public int getMonitoringIntervalDays() { * running interval. The value indicates number of days. * If both * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + * and + * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] * are set when creating/updating EntityTypes/Features, * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] * will be used. @@ -1169,7 +1288,8 @@ public Builder setMonitoringIntervalDays(int value) { * running interval. The value indicates number of days. * If both * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + * and + * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] * are set when creating/updating EntityTypes/Features, * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] * will be used. @@ -1186,6 +1306,64 @@ public Builder clearMonitoringIntervalDays() { return this; } + private int stalenessDays_; + /** + * + * + *
+       * Customized export features time window for snapshot analysis. Unit is one
+       * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+       * 4000 days.
+       * 
+ * + * int32 staleness_days = 4; + * + * @return The stalenessDays. + */ + @java.lang.Override + public int getStalenessDays() { + return stalenessDays_; + } + /** + * + * + *
+       * Customized export features time window for snapshot analysis. Unit is one
+       * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+       * 4000 days.
+       * 
+ * + * int32 staleness_days = 4; + * + * @param value The stalenessDays to set. + * @return This builder for chaining. + */ + public Builder setStalenessDays(int value) { + + stalenessDays_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Customized export features time window for snapshot analysis. Unit is one
+       * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+       * 4000 days.
+       * 
+ * + * int32 staleness_days = 4; + * + * @return This builder for chaining. + */ + public Builder clearStalenessDays() { + + stalenessDays_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1243,469 +1421,3606 @@ public com.google.protobuf.Parser getParserForType() { } } - public static final int SNAPSHOT_ANALYSIS_FIELD_NUMBER = 1; - private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis - snapshotAnalysis_; - /** - * - * - *
-   * The config for Snapshot Analysis Based Feature Monitoring.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; - * - * - * @return Whether the snapshotAnalysis field is set. - */ - @java.lang.Override - public boolean hasSnapshotAnalysis() { - return snapshotAnalysis_ != null; - } - /** - * - * - *
-   * The config for Snapshot Analysis Based Feature Monitoring.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; - * - * - * @return The snapshotAnalysis. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis - getSnapshotAnalysis() { - return snapshotAnalysis_ == null - ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis - .getDefaultInstance() - : snapshotAnalysis_; + public interface ImportFeaturesAnalysisOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The state. + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + getState(); + + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The enum numeric value on the wire for anomalyDetectionBaseline. + */ + int getAnomalyDetectionBaselineValue(); + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The anomalyDetectionBaseline. + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline + getAnomalyDetectionBaseline(); } /** * * *
-   * The config for Snapshot Analysis Based Feature Monitoring.
+   * Configuration of the Featurestore's ImportFeature Analysis Based
+   * Monitoring. This type of analysis generates statistics for values of each
+   * Feature imported by every [ImportFeatureValues][] operation.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; - * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder - getSnapshotAnalysisOrBuilder() { - return getSnapshotAnalysis(); - } - - 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 (snapshotAnalysis_ != null) { - output.writeMessage(1, getSnapshotAnalysis()); + public static final class ImportFeaturesAnalysis extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + ImportFeaturesAnalysisOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportFeaturesAnalysis.newBuilder() to construct. + private ImportFeaturesAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - size = 0; - if (snapshotAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotAnalysis()); + private ImportFeaturesAnalysis() { + state_ = 0; + anomalyDetectionBaseline_ = 0; } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig)) { - return super.equals(obj); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportFeaturesAnalysis(); } - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other = - (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) obj; - if (hasSnapshotAnalysis() != other.hasSnapshotAnalysis()) return false; - if (hasSnapshotAnalysis()) { - if (!getSnapshotAnalysis().equals(other.getSnapshotAnalysis())) return false; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasSnapshotAnalysis()) { - hash = (37 * hash) + SNAPSHOT_ANALYSIS_FIELD_NUMBER; - hash = (53 * hash) + getSnapshotAnalysis().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + private ImportFeaturesAnalysis( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + state_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + anomalyDetectionBaseline_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.class, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Builder.class); + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + /** + * + * + *
+     * The state defines whether to enable ImportFeature analysis.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+       * The default behavior of whether to enable the monitoring.
+       * EntityType-level config: disabled.
+       * Feature-level config: inherited from the configuration of EntityType
+       * this Feature belongs to.
+       * 
+ * + * DEFAULT = 1; + */ + DEFAULT(1), + /** + * + * + *
+       * Explicitly enables import features analysis.
+       * EntityType-level config: by default enables import features analysis
+       * for all Features under it. Feature-level config: enables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * ENABLED = 2; + */ + ENABLED(2), + /** + * + * + *
+       * Explicitly disables import features analysis.
+       * EntityType-level config: by default disables import features analysis
+       * for all Features under it. Feature-level config: disables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * DISABLED = 3; + */ + DISABLED(3), + UNRECOGNIZED(-1), + ; - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The default behavior of whether to enable the monitoring.
+       * EntityType-level config: disabled.
+       * Feature-level config: inherited from the configuration of EntityType
+       * this Feature belongs to.
+       * 
+ * + * DEFAULT = 1; + */ + public static final int DEFAULT_VALUE = 1; + /** + * + * + *
+       * Explicitly enables import features analysis.
+       * EntityType-level config: by default enables import features analysis
+       * for all Features under it. Feature-level config: enables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * ENABLED = 2; + */ + public static final int ENABLED_VALUE = 2; + /** + * + * + *
+       * Explicitly disables import features analysis.
+       * EntityType-level config: by default disables import features analysis
+       * for all Features under it. Feature-level config: disables import
+       * features analysis regardless of the EntityType-level config.
+       * 
+ * + * DISABLED = 3; + */ + public static final int DISABLED_VALUE = 3; - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return ENABLED; + case 3: + return DISABLED; + default: + return null; + } + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig 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.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.getDescriptor() + .getEnumTypes() + .get(0); + } - public static Builder newBuilder( - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } + private static final State[] VALUES = values(); - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Configuration of how features in Featurestore are monitored.
-   * 
- * - * Protobuf type {@code google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto - .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor; - } + private final int value; - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto - .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.class, - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.Builder.class); - } + private State(int value) { + this.value = value; + } - // Construct using com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State) } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } + /** + * + * + *
+     * Defines the baseline to do anomaly detection for feature values imported
+     * by each [ImportFeatureValues][] operation.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline} + */ + public enum Baseline implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * BASELINE_UNSPECIFIED = 0; + */ + BASELINE_UNSPECIFIED(0), + /** + * + * + *
+       * Choose the later one statistics generated by either most recent
+       * snapshot analysis or previous import features analysis. If non of them
+       * exists, skip anomaly detection and only generate a statistics.
+       * 
+ * + * LATEST_STATS = 1; + */ + LATEST_STATS(1), + /** + * + * + *
+       * Use the statistics generated by the most recent snapshot analysis if
+       * exists.
+       * 
+ * + * MOST_RECENT_SNAPSHOT_STATS = 2; + */ + MOST_RECENT_SNAPSHOT_STATS(2), + /** + * + * + *
+       * Use the statistics generated by the previous import features analysis
+       * if exists.
+       * 
+ * + * PREVIOUS_IMPORT_FEATURES_STATS = 3; + */ + PREVIOUS_IMPORT_FEATURES_STATS(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Should not be used.
+       * 
+ * + * BASELINE_UNSPECIFIED = 0; + */ + public static final int BASELINE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * Choose the later one statistics generated by either most recent
+       * snapshot analysis or previous import features analysis. If non of them
+       * exists, skip anomaly detection and only generate a statistics.
+       * 
+ * + * LATEST_STATS = 1; + */ + public static final int LATEST_STATS_VALUE = 1; + /** + * + * + *
+       * Use the statistics generated by the most recent snapshot analysis if
+       * exists.
+       * 
+ * + * MOST_RECENT_SNAPSHOT_STATS = 2; + */ + public static final int MOST_RECENT_SNAPSHOT_STATS_VALUE = 2; + /** + * + * + *
+       * Use the statistics generated by the previous import features analysis
+       * if exists.
+       * 
+ * + * PREVIOUS_IMPORT_FEATURES_STATS = 3; + */ + public static final int PREVIOUS_IMPORT_FEATURES_STATS_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Baseline valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Baseline forNumber(int value) { + switch (value) { + case 0: + return BASELINE_UNSPECIFIED; + case 1: + return LATEST_STATS; + case 2: + return MOST_RECENT_SNAPSHOT_STATS; + case 3: + return PREVIOUS_IMPORT_FEATURES_STATS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Baseline findValueByNumber(int number) { + return Baseline.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final Baseline[] VALUES = values(); + + public static Baseline valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Baseline(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline) + } + + public static final int STATE_FIELD_NUMBER = 1; + private int state_; + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + /** + * + * + *
+     * Whether to enable / disable / inherite default hebavior for import
+     * features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State + getState() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + result = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.State.valueOf(state_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.UNRECOGNIZED + : result; + } + + public static final int ANOMALY_DETECTION_BASELINE_FIELD_NUMBER = 2; + private int anomalyDetectionBaseline_; + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The enum numeric value on the wire for anomalyDetectionBaseline. + */ + @java.lang.Override + public int getAnomalyDetectionBaselineValue() { + return anomalyDetectionBaseline_; + } + /** + * + * + *
+     * The baseline used to do anomaly detection for the statistics generated by
+     * import features analysis.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The anomalyDetectionBaseline. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + getAnomalyDetectionBaseline() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + result = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Baseline.valueOf(anomalyDetectionBaseline_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.UNRECOGNIZED + : result; + } + + 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 (state_ + != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.STATE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, state_); + } + if (anomalyDetectionBaseline_ + != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.BASELINE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, anomalyDetectionBaseline_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (state_ + != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + } + if (anomalyDetectionBaseline_ + != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline.BASELINE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, anomalyDetectionBaseline_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + other = + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis) + obj; + + if (state_ != other.state_) return false; + if (anomalyDetectionBaseline_ != other.anomalyDetectionBaseline_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + ANOMALY_DETECTION_BASELINE_FIELD_NUMBER; + hash = (53 * hash) + anomalyDetectionBaseline_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + 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; + } + /** + * + * + *
+     * Configuration of the Featurestore's ImportFeature Analysis Based
+     * Monitoring. This type of analysis generates statistics for values of each
+     * Feature imported by every [ImportFeatureValues][] operation.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.class, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + state_ = 0; + + anomalyDetectionBaseline_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + build() { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + buildPartial() { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + result = + new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis(this); + result.state_ = state_; + result.anomalyDetectionBaseline_ = anomalyDetectionBaseline_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.getDefaultInstance()) return this; + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.anomalyDetectionBaseline_ != 0) { + setAnomalyDetectionBaselineValue(other.getAnomalyDetectionBaselineValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int state_ = 0; + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State + getState() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State + result = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.State.valueOf(state_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.State.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .State + value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Whether to enable / disable / inherite default hebavior for import
+       * features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private int anomalyDetectionBaseline_ = 0; + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The enum numeric value on the wire for anomalyDetectionBaseline. + */ + @java.lang.Override + public int getAnomalyDetectionBaselineValue() { + return anomalyDetectionBaseline_; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @param value The enum numeric value on the wire for anomalyDetectionBaseline to set. + * @return This builder for chaining. + */ + public Builder setAnomalyDetectionBaselineValue(int value) { + + anomalyDetectionBaseline_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return The anomalyDetectionBaseline. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + getAnomalyDetectionBaseline() { + @SuppressWarnings("deprecation") + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + result = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Baseline.valueOf(anomalyDetectionBaseline_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Baseline.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @param value The anomalyDetectionBaseline to set. + * @return This builder for chaining. + */ + public Builder setAnomalyDetectionBaseline( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Baseline + value) { + if (value == null) { + throw new NullPointerException(); + } + + anomalyDetectionBaseline_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The baseline used to do anomaly detection for the statistics generated by
+       * import features analysis.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; + * + * + * @return This builder for chaining. + */ + public Builder clearAnomalyDetectionBaseline() { + + anomalyDetectionBaseline_ = 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.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + private static final com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis(); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportFeaturesAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportFeaturesAnalysis(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface ThresholdConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return Whether the value field is set. + */ + boolean hasValue(); + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return The value. + */ + double getValue(); + + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .ThresholdCase + getThresholdCase(); + } + /** + * + * + *
+   * The config for Featurestore Monitoring threshold.
+   * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} + */ + public static final class ThresholdConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + ThresholdConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ThresholdConfig.newBuilder() to construct. + private ThresholdConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ThresholdConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ThresholdConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ThresholdConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 9: + { + thresholdCase_ = 1; + threshold_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .class, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder.class); + } + + private int thresholdCase_ = 0; + private java.lang.Object threshold_; + + public enum ThresholdCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + VALUE(1), + THRESHOLD_NOT_SET(0); + private final int value; + + private ThresholdCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ThresholdCase valueOf(int value) { + return forNumber(value); + } + + public static ThresholdCase forNumber(int value) { + switch (value) { + case 1: + return VALUE; + case 0: + return THRESHOLD_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ThresholdCase getThresholdCase() { + return ThresholdCase.forNumber(thresholdCase_); + } + + public static final int VALUE_FIELD_NUMBER = 1; + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return thresholdCase_ == 1; + } + /** + * + * + *
+     * Specify a threshold value that can trigger the alert.
+     * 1. For categorical feature, the distribution distance is calculated by
+     * L-inifinity norm.
+     * 2. For numerical feature, the distribution distance is calculated by
+     * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+     * if they need to be monitored. Otherwise no alert will be triggered for
+     * that feature.
+     * 
+ * + * double value = 1; + * + * @return The value. + */ + @java.lang.Override + public double getValue() { + if (thresholdCase_ == 1) { + return (java.lang.Double) threshold_; + } + return 0D; + } + + 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 (thresholdCase_ == 1) { + output.writeDouble(1, (double) ((java.lang.Double) threshold_)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (thresholdCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 1, (double) ((java.lang.Double) threshold_)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig other = + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) obj; + + if (!getThresholdCase().equals(other.getThresholdCase())) return false; + switch (thresholdCase_) { + case 1: + if (java.lang.Double.doubleToLongBits(getValue()) + != java.lang.Double.doubleToLongBits(other.getValue())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (thresholdCase_) { + case 1: + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getValue())); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + 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.FeaturestoreMonitoringConfig.ThresholdConfig + 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 config for Featurestore Monitoring threshold.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .class, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + thresholdCase_ = 0; + threshold_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + build() { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + buildPartial() { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig result = + new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig( + this); + if (thresholdCase_ == 1) { + result.threshold_ = threshold_; + } + result.thresholdCase_ = thresholdCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig other) { + if (other + == com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance()) return this; + switch (other.getThresholdCase()) { + case VALUE: + { + setValue(other.getValue()); + break; + } + case THRESHOLD_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int thresholdCase_ = 0; + private java.lang.Object threshold_; + + public ThresholdCase getThresholdCase() { + return ThresholdCase.forNumber(thresholdCase_); + } + + public Builder clearThreshold() { + thresholdCase_ = 0; + threshold_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @return Whether the value field is set. + */ + public boolean hasValue() { + return thresholdCase_ == 1; + } + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @return The value. + */ + public double getValue() { + if (thresholdCase_ == 1) { + return (java.lang.Double) threshold_; + } + return 0D; + } + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(double value) { + thresholdCase_ = 1; + threshold_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Specify a threshold value that can trigger the alert.
+       * 1. For categorical feature, the distribution distance is calculated by
+       * L-inifinity norm.
+       * 2. For numerical feature, the distribution distance is calculated by
+       * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+       * if they need to be monitored. Otherwise no alert will be triggered for
+       * that feature.
+       * 
+ * + * double value = 1; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + if (thresholdCase_ == 1) { + thresholdCase_ = 0; + threshold_ = null; + 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.FeaturestoreMonitoringConfig.ThresholdConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + private static final com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ThresholdConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig(); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThresholdConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ThresholdConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int SNAPSHOT_ANALYSIS_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + snapshotAnalysis_; + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return Whether the snapshotAnalysis field is set. + */ + @java.lang.Override + public boolean hasSnapshotAnalysis() { + return snapshotAnalysis_ != null; + } + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return The snapshotAnalysis. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getSnapshotAnalysis() { + return snapshotAnalysis_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance() + : snapshotAnalysis_; + } + /** + * + * + *
+   * The config for Snapshot Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder + getSnapshotAnalysisOrBuilder() { + return getSnapshotAnalysis(); + } + + public static final int IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + importFeaturesAnalysis_; + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return Whether the importFeaturesAnalysis field is set. + */ + @java.lang.Override + public boolean hasImportFeaturesAnalysis() { + return importFeaturesAnalysis_ != null; + } + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return The importFeaturesAnalysis. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getImportFeaturesAnalysis() { + return importFeaturesAnalysis_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .getDefaultInstance() + : importFeaturesAnalysis_; + } + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder + getImportFeaturesAnalysisOrBuilder() { + return getImportFeaturesAnalysis(); + } + + public static final int NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + numericalThresholdConfig_; + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * DOUBLE or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return Whether the numericalThresholdConfig field is set. + */ + @java.lang.Override + public boolean hasNumericalThresholdConfig() { + return numericalThresholdConfig_ != null; + } + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * DOUBLE or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return The numericalThresholdConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getNumericalThresholdConfig() { + return numericalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : numericalThresholdConfig_; + } + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * DOUBLE or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getNumericalThresholdConfigOrBuilder() { + return getNumericalThresholdConfig(); + } + + public static final int CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + categoricalThresholdConfig_; + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL or STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return Whether the categoricalThresholdConfig field is set. + */ + @java.lang.Override + public boolean hasCategoricalThresholdConfig() { + return categoricalThresholdConfig_ != null; + } + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL or STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return The categoricalThresholdConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getCategoricalThresholdConfig() { + return categoricalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : categoricalThresholdConfig_; + } + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL or STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getCategoricalThresholdConfigOrBuilder() { + return getCategoricalThresholdConfig(); + } + + 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 (snapshotAnalysis_ != null) { + output.writeMessage(1, getSnapshotAnalysis()); + } + if (importFeaturesAnalysis_ != null) { + output.writeMessage(2, getImportFeaturesAnalysis()); + } + if (numericalThresholdConfig_ != null) { + output.writeMessage(3, getNumericalThresholdConfig()); + } + if (categoricalThresholdConfig_ != null) { + output.writeMessage(4, getCategoricalThresholdConfig()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (snapshotAnalysis_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotAnalysis()); + } + if (importFeaturesAnalysis_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getImportFeaturesAnalysis()); + } + if (numericalThresholdConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getNumericalThresholdConfig()); + } + if (categoricalThresholdConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getCategoricalThresholdConfig()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other = + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) obj; + + if (hasSnapshotAnalysis() != other.hasSnapshotAnalysis()) return false; + if (hasSnapshotAnalysis()) { + if (!getSnapshotAnalysis().equals(other.getSnapshotAnalysis())) return false; + } + if (hasImportFeaturesAnalysis() != other.hasImportFeaturesAnalysis()) return false; + if (hasImportFeaturesAnalysis()) { + if (!getImportFeaturesAnalysis().equals(other.getImportFeaturesAnalysis())) return false; + } + if (hasNumericalThresholdConfig() != other.hasNumericalThresholdConfig()) return false; + if (hasNumericalThresholdConfig()) { + if (!getNumericalThresholdConfig().equals(other.getNumericalThresholdConfig())) return false; + } + if (hasCategoricalThresholdConfig() != other.hasCategoricalThresholdConfig()) return false; + if (hasCategoricalThresholdConfig()) { + if (!getCategoricalThresholdConfig().equals(other.getCategoricalThresholdConfig())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSnapshotAnalysis()) { + hash = (37 * hash) + SNAPSHOT_ANALYSIS_FIELD_NUMBER; + hash = (53 * hash) + getSnapshotAnalysis().hashCode(); + } + if (hasImportFeaturesAnalysis()) { + hash = (37 * hash) + IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER; + hash = (53 * hash) + getImportFeaturesAnalysis().hashCode(); + } + if (hasNumericalThresholdConfig()) { + hash = (37 * hash) + NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getNumericalThresholdConfig().hashCode(); + } + if (hasCategoricalThresholdConfig()) { + hash = (37 * hash) + CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getCategoricalThresholdConfig().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig 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.FeaturestoreMonitoringConfig 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; + } + /** + * + * + *
+   * Configuration of how features in Featurestore are monitored.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.class, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysis_ = null; + } else { + snapshotAnalysis_ = null; + snapshotAnalysisBuilder_ = null; + } + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysis_ = null; + } else { + importFeaturesAnalysis_ = null; + importFeaturesAnalysisBuilder_ = null; + } + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfig_ = null; + } else { + numericalThresholdConfig_ = null; + numericalThresholdConfigBuilder_ = null; + } + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfig_ = null; + } else { + categoricalThresholdConfig_ = null; + categoricalThresholdConfigBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto + .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig build() { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig buildPartial() { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig result = + new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig(this); + if (snapshotAnalysisBuilder_ == null) { + result.snapshotAnalysis_ = snapshotAnalysis_; + } else { + result.snapshotAnalysis_ = snapshotAnalysisBuilder_.build(); + } + if (importFeaturesAnalysisBuilder_ == null) { + result.importFeaturesAnalysis_ = importFeaturesAnalysis_; + } else { + result.importFeaturesAnalysis_ = importFeaturesAnalysisBuilder_.build(); + } + if (numericalThresholdConfigBuilder_ == null) { + result.numericalThresholdConfig_ = numericalThresholdConfig_; + } else { + result.numericalThresholdConfig_ = numericalThresholdConfigBuilder_.build(); + } + if (categoricalThresholdConfigBuilder_ == null) { + result.categoricalThresholdConfig_ = categoricalThresholdConfig_; + } else { + result.categoricalThresholdConfig_ = categoricalThresholdConfigBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other) { + if (other + == com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.getDefaultInstance()) + return this; + if (other.hasSnapshotAnalysis()) { + mergeSnapshotAnalysis(other.getSnapshotAnalysis()); + } + if (other.hasImportFeaturesAnalysis()) { + mergeImportFeaturesAnalysis(other.getImportFeaturesAnalysis()); + } + if (other.hasNumericalThresholdConfig()) { + mergeNumericalThresholdConfig(other.getNumericalThresholdConfig()); + } + if (other.hasCategoricalThresholdConfig()) { + mergeCategoricalThresholdConfig(other.getCategoricalThresholdConfig()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + snapshotAnalysis_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .SnapshotAnalysisOrBuilder> + snapshotAnalysisBuilder_; + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return Whether the snapshotAnalysis field is set. + */ + public boolean hasSnapshotAnalysis() { + return snapshotAnalysisBuilder_ != null || snapshotAnalysis_ != null; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + * + * @return The snapshotAnalysis. + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + getSnapshotAnalysis() { + if (snapshotAnalysisBuilder_ == null) { + return snapshotAnalysis_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance() + : snapshotAnalysis_; + } else { + return snapshotAnalysisBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder setSnapshotAnalysis( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) { + if (snapshotAnalysisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + snapshotAnalysis_ = value; + onChanged(); + } else { + snapshotAnalysisBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder setSnapshotAnalysis( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + builderForValue) { + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysis_ = builderForValue.build(); + onChanged(); + } else { + snapshotAnalysisBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder mergeSnapshotAnalysis( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) { + if (snapshotAnalysisBuilder_ == null) { + if (snapshotAnalysis_ != null) { + snapshotAnalysis_ = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .newBuilder(snapshotAnalysis_) + .mergeFrom(value) + .buildPartial(); + } else { + snapshotAnalysis_ = value; + } + onChanged(); + } else { + snapshotAnalysisBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public Builder clearSnapshotAnalysis() { + if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysis_ = null; + onChanged(); + } else { + snapshotAnalysis_ = null; + snapshotAnalysisBuilder_ = null; + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + return this; } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + getSnapshotAnalysisBuilder() { - @java.lang.Override - public Builder clear() { - super.clear(); + onChanged(); + return getSnapshotAnalysisFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .SnapshotAnalysisOrBuilder + getSnapshotAnalysisOrBuilder() { + if (snapshotAnalysisBuilder_ != null) { + return snapshotAnalysisBuilder_.getMessageOrBuilder(); + } else { + return snapshotAnalysis_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .getDefaultInstance() + : snapshotAnalysis_; + } + } + /** + * + * + *
+     * The config for Snapshot Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .SnapshotAnalysisOrBuilder> + getSnapshotAnalysisFieldBuilder() { if (snapshotAnalysisBuilder_ == null) { + snapshotAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .SnapshotAnalysisOrBuilder>( + getSnapshotAnalysis(), getParentForChildren(), isClean()); snapshotAnalysis_ = null; + } + return snapshotAnalysisBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + importFeaturesAnalysis_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder> + importFeaturesAnalysisBuilder_; + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return Whether the importFeaturesAnalysis field is set. + */ + public boolean hasImportFeaturesAnalysis() { + return importFeaturesAnalysisBuilder_ != null || importFeaturesAnalysis_ != null; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return The importFeaturesAnalysis. + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getImportFeaturesAnalysis() { + if (importFeaturesAnalysisBuilder_ == null) { + return importFeaturesAnalysis_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.getDefaultInstance() + : importFeaturesAnalysis_; } else { - snapshotAnalysis_ = null; - snapshotAnalysisBuilder_ = null; + return importFeaturesAnalysisBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder setImportFeaturesAnalysis( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + value) { + if (importFeaturesAnalysisBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + importFeaturesAnalysis_ = value; + onChanged(); + } else { + importFeaturesAnalysisBuilder_.setMessage(value); } + return this; } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder setImportFeaturesAnalysis( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder + builderForValue) { + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysis_ = builderForValue.build(); + onChanged(); + } else { + importFeaturesAnalysisBuilder_.setMessage(builderForValue.build()); + } - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto - .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor; + return this; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder mergeImportFeaturesAnalysis( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + value) { + if (importFeaturesAnalysisBuilder_ == null) { + if (importFeaturesAnalysis_ != null) { + importFeaturesAnalysis_ = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.newBuilder(importFeaturesAnalysis_) + .mergeFrom(value) + .buildPartial(); + } else { + importFeaturesAnalysis_ = value; + } + onChanged(); + } else { + importFeaturesAnalysisBuilder_.mergeFrom(value); + } + + return this; } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public Builder clearImportFeaturesAnalysis() { + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysis_ = null; + onChanged(); + } else { + importFeaturesAnalysis_ = null; + importFeaturesAnalysisBuilder_ = null; + } - @java.lang.Override + return this; + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder + getImportFeaturesAnalysisBuilder() { + + onChanged(); + return getImportFeaturesAnalysisFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig - getDefaultInstanceForType() { - return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.getDefaultInstance(); + .ImportFeaturesAnalysisOrBuilder + getImportFeaturesAnalysisOrBuilder() { + if (importFeaturesAnalysisBuilder_ != null) { + return importFeaturesAnalysisBuilder_.getMessageOrBuilder(); + } else { + return importFeaturesAnalysis_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.getDefaultInstance() + : importFeaturesAnalysis_; + } + } + /** + * + * + *
+     * The config for ImportFeatures Analysis Based Feature Monitoring.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder> + getImportFeaturesAnalysisFieldBuilder() { + if (importFeaturesAnalysisBuilder_ == null) { + importFeaturesAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysis.Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ImportFeaturesAnalysisOrBuilder>( + getImportFeaturesAnalysis(), getParentForChildren(), isClean()); + importFeaturesAnalysis_ = null; + } + return importFeaturesAnalysisBuilder_; } - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig build() { - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + numericalThresholdConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ThresholdConfigOrBuilder> + numericalThresholdConfigBuilder_; + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return Whether the numericalThresholdConfig field is set. + */ + public boolean hasNumericalThresholdConfig() { + return numericalThresholdConfigBuilder_ != null || numericalThresholdConfig_ != null; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return The numericalThresholdConfig. + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getNumericalThresholdConfig() { + if (numericalThresholdConfigBuilder_ == null) { + return numericalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : numericalThresholdConfig_; + } else { + return numericalThresholdConfigBuilder_.getMessage(); } - return result; } - - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig buildPartial() { - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig result = - new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig(this); - if (snapshotAnalysisBuilder_ == null) { - result.snapshotAnalysis_ = snapshotAnalysis_; + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder setNumericalThresholdConfig( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (numericalThresholdConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + numericalThresholdConfig_ = value; + onChanged(); } else { - result.snapshotAnalysis_ = snapshotAnalysisBuilder_.build(); + numericalThresholdConfigBuilder_.setMessage(value); } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + return this; } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder setNumericalThresholdConfig( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + builderForValue) { + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfig_ = builderForValue.build(); + onChanged(); + } else { + numericalThresholdConfigBuilder_.setMessage(builderForValue.build()); + } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + return this; } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder mergeNumericalThresholdConfig( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (numericalThresholdConfigBuilder_ == null) { + if (numericalThresholdConfig_ != null) { + numericalThresholdConfig_ = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .newBuilder(numericalThresholdConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + numericalThresholdConfig_ = value; + } + onChanged(); + } else { + numericalThresholdConfigBuilder_.mergeFrom(value); + } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + return this; } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) { - return mergeFrom((com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) other); + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public Builder clearNumericalThresholdConfig() { + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfig_ = null; + onChanged(); } else { - super.mergeFrom(other); - return this; + numericalThresholdConfig_ = null; + numericalThresholdConfigBuilder_ = null; } - } - public Builder mergeFrom( - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other) { - if (other - == com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.getDefaultInstance()) - return this; - if (other.hasSnapshotAnalysis()) { - mergeSnapshotAnalysis(other.getSnapshotAnalysis()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); return this; } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + getNumericalThresholdConfigBuilder() { - @java.lang.Override - public final boolean isInitialized() { - return true; + onChanged(); + return getNumericalThresholdConfigFieldBuilder().getBuilder(); } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getNumericalThresholdConfigOrBuilder() { + if (numericalThresholdConfigBuilder_ != null) { + return numericalThresholdConfigBuilder_.getMessageOrBuilder(); + } else { + return numericalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .getDefaultInstance() + : numericalThresholdConfig_; } - return this; + } + /** + * + * + *
+     * Threshold for numerical features of anomaly detection.
+     * This is shared by all objectives of Featurestore Monitoring for numerical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * DOUBLE or INT64).
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ThresholdConfigOrBuilder> + getNumericalThresholdConfigFieldBuilder() { + if (numericalThresholdConfigBuilder_ == null) { + numericalThresholdConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .Builder, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + .ThresholdConfigOrBuilder>( + getNumericalThresholdConfig(), getParentForChildren(), isClean()); + numericalThresholdConfig_ = null; + } + return numericalThresholdConfigBuilder_; } - private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis - snapshotAnalysis_; + private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + categoricalThresholdConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis, - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig .Builder, com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig - .SnapshotAnalysisOrBuilder> - snapshotAnalysisBuilder_; + .ThresholdConfigOrBuilder> + categoricalThresholdConfigBuilder_; /** * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * * - * @return Whether the snapshotAnalysis field is set. + * @return Whether the categoricalThresholdConfig field is set. */ - public boolean hasSnapshotAnalysis() { - return snapshotAnalysisBuilder_ != null || snapshotAnalysis_ != null; + public boolean hasCategoricalThresholdConfig() { + return categoricalThresholdConfigBuilder_ != null || categoricalThresholdConfig_ != null; } /** * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * * - * @return The snapshotAnalysis. + * @return The categoricalThresholdConfig. */ - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis - getSnapshotAnalysis() { - if (snapshotAnalysisBuilder_ == null) { - return snapshotAnalysis_ == null - ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getCategoricalThresholdConfig() { + if (categoricalThresholdConfigBuilder_ == null) { + return categoricalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig .getDefaultInstance() - : snapshotAnalysis_; + : categoricalThresholdConfig_; } else { - return snapshotAnalysisBuilder_.getMessage(); + return categoricalThresholdConfigBuilder_.getMessage(); } } /** * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ - public Builder setSnapshotAnalysis( - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) { - if (snapshotAnalysisBuilder_ == null) { + public Builder setCategoricalThresholdConfig( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (categoricalThresholdConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - snapshotAnalysis_ = value; + categoricalThresholdConfig_ = value; onChanged(); } else { - snapshotAnalysisBuilder_.setMessage(value); + categoricalThresholdConfigBuilder_.setMessage(value); } return this; @@ -1714,21 +5029,25 @@ public Builder setSnapshotAnalysis( * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ - public Builder setSnapshotAnalysis( - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder + public Builder setCategoricalThresholdConfig( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder builderForValue) { - if (snapshotAnalysisBuilder_ == null) { - snapshotAnalysis_ = builderForValue.build(); + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfig_ = builderForValue.build(); onChanged(); } else { - snapshotAnalysisBuilder_.setMessage(builderForValue.build()); + categoricalThresholdConfigBuilder_.setMessage(builderForValue.build()); } return this; @@ -1737,28 +5056,32 @@ public Builder setSnapshotAnalysis( * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ - public Builder mergeSnapshotAnalysis( - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) { - if (snapshotAnalysisBuilder_ == null) { - if (snapshotAnalysis_ != null) { - snapshotAnalysis_ = - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis - .newBuilder(snapshotAnalysis_) + public Builder mergeCategoricalThresholdConfig( + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) { + if (categoricalThresholdConfigBuilder_ == null) { + if (categoricalThresholdConfig_ != null) { + categoricalThresholdConfig_ = + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + .newBuilder(categoricalThresholdConfig_) .mergeFrom(value) .buildPartial(); } else { - snapshotAnalysis_ = value; + categoricalThresholdConfig_ = value; } onChanged(); } else { - snapshotAnalysisBuilder_.mergeFrom(value); + categoricalThresholdConfigBuilder_.mergeFrom(value); } return this; @@ -1767,20 +5090,24 @@ public Builder mergeSnapshotAnalysis( * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ - public Builder clearSnapshotAnalysis() { - if (snapshotAnalysisBuilder_ == null) { - snapshotAnalysis_ = null; + public Builder clearCategoricalThresholdConfig() { + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfig_ = null; onChanged(); } else { - snapshotAnalysis_ = null; - snapshotAnalysisBuilder_ = null; + categoricalThresholdConfig_ = null; + categoricalThresholdConfigBuilder_ = null; } return this; @@ -1789,72 +5116,83 @@ public Builder clearSnapshotAnalysis() { * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder - getSnapshotAnalysisBuilder() { + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder + getCategoricalThresholdConfigBuilder() { onChanged(); - return getSnapshotAnalysisFieldBuilder().getBuilder(); + return getCategoricalThresholdConfigFieldBuilder().getBuilder(); } /** * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ - public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig - .SnapshotAnalysisOrBuilder - getSnapshotAnalysisOrBuilder() { - if (snapshotAnalysisBuilder_ != null) { - return snapshotAnalysisBuilder_.getMessageOrBuilder(); + public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getCategoricalThresholdConfigOrBuilder() { + if (categoricalThresholdConfigBuilder_ != null) { + return categoricalThresholdConfigBuilder_.getMessageOrBuilder(); } else { - return snapshotAnalysis_ == null - ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + return categoricalThresholdConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig .getDefaultInstance() - : snapshotAnalysis_; + : categoricalThresholdConfig_; } } /** * * *
-     * The config for Snapshot Analysis Based Feature Monitoring.
+     * Threshold for categorical features of anomaly detection.
+     * This is shared by all types of Featurestore Monitoring for categorical
+     * features (i.e. Features with type
+     * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+     * BOOL or STRING).
      * 
* * - * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis, - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig .Builder, com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig - .SnapshotAnalysisOrBuilder> - getSnapshotAnalysisFieldBuilder() { - if (snapshotAnalysisBuilder_ == null) { - snapshotAnalysisBuilder_ = + .ThresholdConfigOrBuilder> + getCategoricalThresholdConfigFieldBuilder() { + if (categoricalThresholdConfigBuilder_ == null) { + categoricalThresholdConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis, - com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig .Builder, com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig - .SnapshotAnalysisOrBuilder>( - getSnapshotAnalysis(), getParentForChildren(), isClean()); - snapshotAnalysis_ = null; + .ThresholdConfigOrBuilder>( + getCategoricalThresholdConfig(), getParentForChildren(), isClean()); + categoricalThresholdConfig_ = null; } - return snapshotAnalysisBuilder_; + return categoricalThresholdConfigBuilder_; } @java.lang.Override diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java index 0c604320d..197903044 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java @@ -65,4 +65,157 @@ public interface FeaturestoreMonitoringConfigOrBuilder */ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder getSnapshotAnalysisOrBuilder(); + + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return Whether the importFeaturesAnalysis field is set. + */ + boolean hasImportFeaturesAnalysis(); + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + * + * @return The importFeaturesAnalysis. + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + getImportFeaturesAnalysis(); + /** + * + * + *
+   * The config for ImportFeatures Analysis Based Feature Monitoring.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; + * + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysisOrBuilder + getImportFeaturesAnalysisOrBuilder(); + + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * DOUBLE or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return Whether the numericalThresholdConfig field is set. + */ + boolean hasNumericalThresholdConfig(); + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * DOUBLE or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + * + * @return The numericalThresholdConfig. + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getNumericalThresholdConfig(); + /** + * + * + *
+   * Threshold for numerical features of anomaly detection.
+   * This is shared by all objectives of Featurestore Monitoring for numerical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * DOUBLE or INT64).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; + * + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getNumericalThresholdConfigOrBuilder(); + + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL or STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return Whether the categoricalThresholdConfig field is set. + */ + boolean hasCategoricalThresholdConfig(); + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL or STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + * + * @return The categoricalThresholdConfig. + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + getCategoricalThresholdConfig(); + /** + * + * + *
+   * Threshold for categorical features of anomaly detection.
+   * This is shared by all types of Featurestore Monitoring for categorical
+   * features (i.e. Features with type
+   * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+   * BOOL or STRING).
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; + * + */ + com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder + getCategoricalThresholdConfigOrBuilder(); } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java index 2452b8410..98aea9b48 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java @@ -35,6 +35,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -47,21 +55,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n=google/cloud/aiplatform/v1beta1/featur" + "estore_monitoring.proto\022\037google.cloud.ai" + "platform.v1beta1\032\034google/api/annotations" - + ".proto\032\036google/protobuf/duration.proto\"\216" - + "\002\n\034FeaturestoreMonitoringConfig\022i\n\021snaps" + + ".proto\032\036google/protobuf/duration.proto\"\205" + + "\t\n\034FeaturestoreMonitoringConfig\022i\n\021snaps" + "hot_analysis\030\001 \001(\0132N.google.cloud.aiplat" + "form.v1beta1.FeaturestoreMonitoringConfi" - + "g.SnapshotAnalysis\032\202\001\n\020SnapshotAnalysis\022" - + "\020\n\010disabled\030\001 \001(\010\022:\n\023monitoring_interval" - + "\030\002 \001(\0132\031.google.protobuf.DurationB\002\030\001\022 \n" - + "\030monitoring_interval_days\030\003 \001(\005B\370\001\n#com." - + "google.cloud.aiplatform.v1beta1B\033Feature" - + "storeMonitoringProtoP\001ZIgoogle.golang.or" - + "g/genproto/googleapis/cloud/aiplatform/v" - + "1beta1;aiplatform\252\002\037Google.Cloud.AIPlatf" - + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" - + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" - + "a1b\006proto3" + + "g.SnapshotAnalysis\022v\n\030import_features_an" + + "alysis\030\002 \001(\0132T.google.cloud.aiplatform.v" + + "1beta1.FeaturestoreMonitoringConfig.Impo" + + "rtFeaturesAnalysis\022q\n\032numerical_threshol" + + "d_config\030\003 \001(\0132M.google.cloud.aiplatform" + + ".v1beta1.FeaturestoreMonitoringConfig.Th" + + "resholdConfig\022s\n\034categorical_threshold_c" + + "onfig\030\004 \001(\0132M.google.cloud.aiplatform.v1" + + "beta1.FeaturestoreMonitoringConfig.Thres" + + "holdConfig\032\232\001\n\020SnapshotAnalysis\022\020\n\010disab" + + "led\030\001 \001(\010\022:\n\023monitoring_interval\030\002 \001(\0132\031" + + ".google.protobuf.DurationB\002\030\001\022 \n\030monitor" + + "ing_interval_days\030\003 \001(\005\022\026\n\016staleness_day" + + "s\030\004 \001(\005\032\313\003\n\026ImportFeaturesAnalysis\022i\n\005st" + + "ate\030\001 \001(\0162Z.google.cloud.aiplatform.v1be" + + "ta1.FeaturestoreMonitoringConfig.ImportF" + + "eaturesAnalysis.State\022\201\001\n\032anomaly_detect" + + "ion_baseline\030\002 \001(\0162].google.cloud.aiplat" + + "form.v1beta1.FeaturestoreMonitoringConfi" + + "g.ImportFeaturesAnalysis.Baseline\"F\n\005Sta" + + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\013" + + "\n\007ENABLED\020\002\022\014\n\010DISABLED\020\003\"z\n\010Baseline\022\030\n" + + "\024BASELINE_UNSPECIFIED\020\000\022\020\n\014LATEST_STATS\020" + + "\001\022\036\n\032MOST_RECENT_SNAPSHOT_STATS\020\002\022\"\n\036PRE" + + "VIOUS_IMPORT_FEATURES_STATS\020\003\032/\n\017Thresho" + + "ldConfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthresholdB\370" + + "\001\n#com.google.cloud.aiplatform.v1beta1B\033" + + "FeaturestoreMonitoringProtoP\001ZIgoogle.go" + + "lang.org/genproto/googleapis/cloud/aipla" + + "tform/v1beta1;aiplatform\252\002\037Google.Cloud." + + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat" + + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform" + + "::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -77,6 +107,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor, new java.lang.String[] { "SnapshotAnalysis", + "ImportFeaturesAnalysis", + "NumericalThresholdConfig", + "CategoricalThresholdConfig", }); internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor = internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor @@ -86,7 +119,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor, new java.lang.String[] { - "Disabled", "MonitoringInterval", "MonitoringIntervalDays", + "Disabled", "MonitoringInterval", "MonitoringIntervalDays", "StalenessDays", + }); + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor, + new java.lang.String[] { + "State", "AnomalyDetectionBaseline", + }); + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor, + new java.lang.String[] { + "Value", "Threshold", }); com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java index 96f55b679..c85a91169 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java @@ -248,7 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"h\n\031" + "DeleteFeaturestoreRequest\022<\n\004name\030\001 \001(\tB" + ".\340A\002\372A(\n&aiplatform.googleapis.com/Featu" - + "restore\022\r\n\005force\030\002 \001(\010\"\216\005\n\032ImportFeature" + + "restore\022\r\n\005force\030\002 \001(\010\"\262\005\n\032ImportFeature" + "ValuesRequest\022B\n\013avro_source\030\002 \001(\0132+.goo" + "gle.cloud.aiplatform.v1beta1.AvroSourceH" + "\000\022J\n\017bigquery_source\030\003 \001(\0132/.google.clou" @@ -262,284 +262,285 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\rfeature_specs\030\010 \003(\0132G.google.cloud.aipl" + "atform.v1beta1.ImportFeatureValuesReques" + "t.FeatureSpecB\003\340A\002\022\036\n\026disable_online_ser" - + "ving\030\t \001(\010\022\024\n\014worker_count\030\013 \001(\005\0324\n\013Feat" - + "ureSpec\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field" - + "\030\002 \001(\tB\010\n\006sourceB\025\n\023feature_time_source\"" - + "}\n\033ImportFeatureValuesResponse\022\035\n\025import" - + "ed_entity_count\030\001 \001(\003\022$\n\034imported_featur" - + "e_value_count\030\002 \001(\003\022\031\n\021invalid_row_count" - + "\030\006 \001(\003\"\277\006\n\035BatchReadFeatureValuesRequest" - + "\022H\n\022csv_read_instances\030\003 \001(\0132*.google.cl" - + "oud.aiplatform.v1beta1.CsvSourceH\000\022R\n\027bi" - + "gquery_read_instances\030\005 \001(\0132/.google.clo" - + "ud.aiplatform.v1beta1.BigQuerySourceH\000\022D" - + "\n\014featurestore\030\001 \001(\tB.\340A\002\372A(\n&aiplatform" - + ".googleapis.com/Featurestore\022R\n\013destinat" - + "ion\030\004 \001(\01328.google.cloud.aiplatform.v1be" - + "ta1.FeatureValueDestinationB\003\340A\002\022l\n\023pass" - + "_through_fields\030\010 \003(\0132O.google.cloud.aip" - + "latform.v1beta1.BatchReadFeatureValuesRe" - + "quest.PassThroughField\022m\n\021entity_type_sp" - + "ecs\030\007 \003(\0132M.google.cloud.aiplatform.v1be" - + "ta1.BatchReadFeatureValuesRequest.Entity" - + "TypeSpecB\003\340A\002\032+\n\020PassThroughField\022\027\n\nfie" - + "ld_name\030\001 \001(\tB\003\340A\002\032\314\001\n\016EntityTypeSpec\022\033\n" - + "\016entity_type_id\030\001 \001(\tB\003\340A\002\022O\n\020feature_se" - + "lector\030\002 \001(\01320.google.cloud.aiplatform.v" - + "1beta1.FeatureSelectorB\003\340A\002\022L\n\010settings\030" - + "\003 \003(\0132:.google.cloud.aiplatform.v1beta1." - + "DestinationFeatureSettingB\r\n\013read_option" - + "\"\201\006\n\032ExportFeatureValuesRequest\022e\n\017snaps" - + "hot_export\030\003 \001(\0132J.google.cloud.aiplatfo" - + "rm.v1beta1.ExportFeatureValuesRequest.Sn" - + "apshotExportH\000\022]\n\013full_export\030\007 \001(\0132F.go" - + "ogle.cloud.aiplatform.v1beta1.ExportFeat" - + "ureValuesRequest.FullExportH\000\022A\n\013entity_" - + "type\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapi" - + "s.com/EntityType\022R\n\013destination\030\004 \001(\01328." - + "google.cloud.aiplatform.v1beta1.FeatureV" - + "alueDestinationB\003\340A\002\022O\n\020feature_selector" - + "\030\005 \001(\01320.google.cloud.aiplatform.v1beta1" - + ".FeatureSelectorB\003\340A\002\022L\n\010settings\030\006 \003(\0132" - + ":.google.cloud.aiplatform.v1beta1.Destin" - + "ationFeatureSetting\032s\n\016SnapshotExport\0221\n" - + "\rsnapshot_time\030\001 \001(\0132\032.google.protobuf.T" - + "imestamp\022.\n\nstart_time\030\002 \001(\0132\032.google.pr" - + "otobuf.Timestamp\032j\n\nFullExport\022.\n\nstart_" - + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\022," - + "\n\010end_time\030\001 \001(\0132\032.google.protobuf.Times" - + "tampB\006\n\004mode\"O\n\031DestinationFeatureSettin" - + "g\022\027\n\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021destinatio" - + "n_field\030\002 \001(\t\"\240\002\n\027FeatureValueDestinatio" - + "n\022T\n\024bigquery_destination\030\001 \001(\01324.google" - + ".cloud.aiplatform.v1beta1.BigQueryDestin" - + "ationH\000\022T\n\024tfrecord_destination\030\002 \001(\01324." - + "google.cloud.aiplatform.v1beta1.TFRecord" - + "DestinationH\000\022J\n\017csv_destination\030\003 \001(\0132/" - + ".google.cloud.aiplatform.v1beta1.CsvDest" - + "inationH\000B\r\n\013destination\"\035\n\033ExportFeatur" - + "eValuesResponse\" \n\036BatchReadFeatureValue" - + "sResponse\"\270\001\n\027CreateEntityTypeRequest\022>\n" - + "\006parent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.google" - + "apis.com/Featurestore\022@\n\013entity_type\030\002 \001" - + "(\0132+.google.cloud.aiplatform.v1beta1.Ent" - + "ityType\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024" - + "GetEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372" - + "A&\n$aiplatform.googleapis.com/EntityType" - + "\"\316\001\n\026ListEntityTypesRequest\022<\n\006parent\030\001 " - + "\001(\tB,\340A\002\372A&\022$aiplatform.googleapis.com/E" - + "ntityType\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(\0132\032.google.protobuf." - + "FieldMask\"u\n\027ListEntityTypesResponse\022A\n\014" - + "entity_types\030\001 \003(\0132+.google.cloud.aiplat" - + "form.v1beta1.EntityType\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\221\001\n\027UpdateEntityTypeRequest\022E\n\013" - + "entity_type\030\001 \001(\0132+.google.cloud.aiplatf" - + "orm.v1beta1.EntityTypeB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"d\n\027" - + "DeleteEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340" + + "ving\030\t \001(\010\022\024\n\014worker_count\030\013 \001(\005\022\"\n\032disa" + + "ble_ingestion_analysis\030\014 \001(\010\0324\n\013FeatureS" + + "pec\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001" + + "(\tB\010\n\006sourceB\025\n\023feature_time_source\"}\n\033I" + + "mportFeatureValuesResponse\022\035\n\025imported_e" + + "ntity_count\030\001 \001(\003\022$\n\034imported_feature_va" + + "lue_count\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001" + + "(\003\"\277\006\n\035BatchReadFeatureValuesRequest\022H\n\022" + + "csv_read_instances\030\003 \001(\0132*.google.cloud." + + "aiplatform.v1beta1.CsvSourceH\000\022R\n\027bigque" + + "ry_read_instances\030\005 \001(\0132/.google.cloud.a" + + "iplatform.v1beta1.BigQuerySourceH\000\022D\n\014fe" + + "aturestore\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.goo" + + "gleapis.com/Featurestore\022R\n\013destination\030" + + "\004 \001(\01328.google.cloud.aiplatform.v1beta1." + + "FeatureValueDestinationB\003\340A\002\022l\n\023pass_thr" + + "ough_fields\030\010 \003(\0132O.google.cloud.aiplatf" + + "orm.v1beta1.BatchReadFeatureValuesReques" + + "t.PassThroughField\022m\n\021entity_type_specs\030" + + "\007 \003(\0132M.google.cloud.aiplatform.v1beta1." + + "BatchReadFeatureValuesRequest.EntityType" + + "SpecB\003\340A\002\032+\n\020PassThroughField\022\027\n\nfield_n" + + "ame\030\001 \001(\tB\003\340A\002\032\314\001\n\016EntityTypeSpec\022\033\n\016ent" + + "ity_type_id\030\001 \001(\tB\003\340A\002\022O\n\020feature_select" + + "or\030\002 \001(\01320.google.cloud.aiplatform.v1bet" + + "a1.FeatureSelectorB\003\340A\002\022L\n\010settings\030\003 \003(" + + "\0132:.google.cloud.aiplatform.v1beta1.Dest" + + "inationFeatureSettingB\r\n\013read_option\"\201\006\n" + + "\032ExportFeatureValuesRequest\022e\n\017snapshot_" + + "export\030\003 \001(\0132J.google.cloud.aiplatform.v" + + "1beta1.ExportFeatureValuesRequest.Snapsh" + + "otExportH\000\022]\n\013full_export\030\007 \001(\0132F.google" + + ".cloud.aiplatform.v1beta1.ExportFeatureV" + + "aluesRequest.FullExportH\000\022A\n\013entity_type" + + "\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.co" + + "m/EntityType\022R\n\013destination\030\004 \001(\01328.goog" + + "le.cloud.aiplatform.v1beta1.FeatureValue" + + "DestinationB\003\340A\002\022O\n\020feature_selector\030\005 \001" + + "(\01320.google.cloud.aiplatform.v1beta1.Fea" + + "tureSelectorB\003\340A\002\022L\n\010settings\030\006 \003(\0132:.go" + + "ogle.cloud.aiplatform.v1beta1.Destinatio" + + "nFeatureSetting\032s\n\016SnapshotExport\0221\n\rsna" + + "pshot_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022.\n\nstart_time\030\002 \001(\0132\032.google.protob" + + "uf.Timestamp\032j\n\nFullExport\022.\n\nstart_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" + + "d_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "B\006\n\004mode\"O\n\031DestinationFeatureSetting\022\027\n" + + "\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021destination_fi" + + "eld\030\002 \001(\t\"\240\002\n\027FeatureValueDestination\022T\n" + + "\024bigquery_destination\030\001 \001(\01324.google.clo" + + "ud.aiplatform.v1beta1.BigQueryDestinatio" + + "nH\000\022T\n\024tfrecord_destination\030\002 \001(\01324.goog" + + "le.cloud.aiplatform.v1beta1.TFRecordDest" + + "inationH\000\022J\n\017csv_destination\030\003 \001(\0132/.goo" + + "gle.cloud.aiplatform.v1beta1.CsvDestinat" + + "ionH\000B\r\n\013destination\"\035\n\033ExportFeatureVal" + + "uesResponse\" \n\036BatchReadFeatureValuesRes" + + "ponse\"\270\001\n\027CreateEntityTypeRequest\022>\n\006par" + + "ent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis" + + ".com/Featurestore\022@\n\013entity_type\030\002 \001(\0132+" + + ".google.cloud.aiplatform.v1beta1.EntityT" + + "ype\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetE" + + "ntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$" + + "aiplatform.googleapis.com/EntityType\"\316\001\n" + + "\026ListEntityTypesRequest\022<\n\006parent\030\001 \001(\tB" + + ",\340A\002\372A&\022$aiplatform.googleapis.com/Entit" + + "yType\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(\0132\032.google.protobuf.Fiel" + + "dMask\"u\n\027ListEntityTypesResponse\022A\n\014enti" + + "ty_types\030\001 \003(\0132+.google.cloud.aiplatform" + + ".v1beta1.EntityType\022\027\n\017next_page_token\030\002" + + " \001(\t\"\221\001\n\027UpdateEntityTypeRequest\022E\n\013enti" + + "ty_type\030\001 \001(\0132+.google.cloud.aiplatform." + + "v1beta1.EntityTypeB\003\340A\002\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"d\n\027Dele" + + "teEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A" + + "&\n$aiplatform.googleapis.com/EntityType\022" + + "\r\n\005force\030\002 \001(\010\"\255\001\n\024CreateFeatureRequest\022" + + "<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goog" + + "leapis.com/EntityType\022>\n\007feature\030\002 \001(\0132(" + + ".google.cloud.aiplatform.v1beta1.Feature" + + "B\003\340A\002\022\027\n\nfeature_id\030\003 \001(\tB\003\340A\002\"\250\001\n\032Batch" + + "CreateFeaturesRequest\022<\n\006parent\030\001 \001(\tB,\340" + "A\002\372A&\n$aiplatform.googleapis.com/EntityT" - + "ype\022\r\n\005force\030\002 \001(\010\"\255\001\n\024CreateFeatureRequ" - + "est\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform." - + "googleapis.com/EntityType\022>\n\007feature\030\002 \001" - + "(\0132(.google.cloud.aiplatform.v1beta1.Fea" - + "tureB\003\340A\002\022\027\n\nfeature_id\030\003 \001(\tB\003\340A\002\"\250\001\n\032B" - + "atchCreateFeaturesRequest\022<\n\006parent\030\001 \001(" - + "\tB,\340A\002\372A&\n$aiplatform.googleapis.com/Ent" - + "ityType\022L\n\010requests\030\002 \003(\01325.google.cloud" - + ".aiplatform.v1beta1.CreateFeatureRequest" - + "B\003\340A\002\"Y\n\033BatchCreateFeaturesResponse\022:\n\010" - + "features\030\001 \003(\0132(.google.cloud.aiplatform" - + ".v1beta1.Feature\"L\n\021GetFeatureRequest\0227\n" - + "\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleap" - + "is.com/Feature\"\344\001\n\023ListFeaturesRequest\0229" - + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.googl" - + "eapis.com/Feature\022\016\n\006filter\030\002 \001(\t\022\021\n\tpag" - + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010orde" - + "r_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.google.p" - + "rotobuf.FieldMask\022\032\n\022latest_stats_count\030" - + "\007 \001(\005\"k\n\024ListFeaturesResponse\022:\n\010feature" - + "s\030\001 \003(\0132(.google.cloud.aiplatform.v1beta" - + "1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025S" - + "earchFeaturesRequest\022;\n\010location\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\np" - + "age_token\030\005 \001(\t\"m\n\026SearchFeaturesRespons" - + "e\022:\n\010features\030\001 \003(\0132(.google.cloud.aipla" - + "tform.v1beta1.Feature\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\207\001\n\024UpdateFeatureRequest\022>\n\007featu" - + "re\030\001 \001(\0132(.google.cloud.aiplatform.v1bet" - + "a1.FeatureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"O\n\024DeleteFeatur" - + "eRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatfo" - + "rm.googleapis.com/Feature\"z\n#CreateFeatu" + + "ype\022L\n\010requests\030\002 \003(\01325.google.cloud.aip" + + "latform.v1beta1.CreateFeatureRequestB\003\340A" + + "\002\"Y\n\033BatchCreateFeaturesResponse\022:\n\010feat" + + "ures\030\001 \003(\0132(.google.cloud.aiplatform.v1b" + + "eta1.Feature\"L\n\021GetFeatureRequest\0227\n\004nam" + + "e\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.c" + + "om/Feature\"\344\001\n\023ListFeaturesRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.googleapi" + + "s.com/Feature\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\020\n\010order_by" + + "\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.google.proto" + + "buf.FieldMask\022\032\n\022latest_stats_count\030\007 \001(" + + "\005\"k\n\024ListFeaturesResponse\022:\n\010features\030\001 " + + "\003(\0132(.google.cloud.aiplatform.v1beta1.Fe" + + "ature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025Searc" + + "hFeaturesRequest\022;\n\010location\030\001 \001(\tB)\340A\002\372" + + "A#\n!locations.googleapis.com/Location\022\r\n" + + "\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_" + + "token\030\005 \001(\t\"m\n\026SearchFeaturesResponse\022:\n" + + "\010features\030\001 \003(\0132(.google.cloud.aiplatfor" + + "m.v1beta1.Feature\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\207\001\n\024UpdateFeatureRequest\022>\n\007feature\030\001" + + " \001(\0132(.google.cloud.aiplatform.v1beta1.F" + + "eatureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMask\"O\n\024DeleteFeatureReq" + + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.g" + + "oogleapis.com/Feature\"z\n#CreateFeaturest" + + "oreOperationMetadata\022S\n\020generic_metadata" + + "\030\001 \001(\01329.google.cloud.aiplatform.v1beta1" + + ".GenericOperationMetadata\"z\n#UpdateFeatu" + "restoreOperationMetadata\022S\n\020generic_meta" + "data\030\001 \001(\01329.google.cloud.aiplatform.v1b" - + "eta1.GenericOperationMetadata\"z\n#UpdateF" - + "eaturestoreOperationMetadata\022S\n\020generic_" - + "metadata\030\001 \001(\01329.google.cloud.aiplatform" - + ".v1beta1.GenericOperationMetadata\"\333\001\n$Im" - + "portFeatureValuesOperationMetadata\022S\n\020ge" - + "neric_metadata\030\001 \001(\01329.google.cloud.aipl" - + "atform.v1beta1.GenericOperationMetadata\022" - + "\035\n\025imported_entity_count\030\002 \001(\003\022$\n\034import" - + "ed_feature_value_count\030\003 \001(\003\022\031\n\021invalid_" - + "row_count\030\006 \001(\003\"{\n$ExportFeatureValuesOp" - + "erationMetadata\022S\n\020generic_metadata\030\001 \001(" - + "\01329.google.cloud.aiplatform.v1beta1.Gene" - + "ricOperationMetadata\"~\n\'BatchReadFeature" - + "ValuesOperationMetadata\022S\n\020generic_metad" - + "ata\030\001 \001(\01329.google.cloud.aiplatform.v1be" - + "ta1.GenericOperationMetadata\"x\n!CreateEn" - + "tityTypeOperationMetadata\022S\n\020generic_met" + + "eta1.GenericOperationMetadata\"\333\001\n$Import" + + "FeatureValuesOperationMetadata\022S\n\020generi" + + "c_metadata\030\001 \001(\01329.google.cloud.aiplatfo" + + "rm.v1beta1.GenericOperationMetadata\022\035\n\025i" + + "mported_entity_count\030\002 \001(\003\022$\n\034imported_f" + + "eature_value_count\030\003 \001(\003\022\031\n\021invalid_row_" + + "count\030\006 \001(\003\"{\n$ExportFeatureValuesOperat" + + "ionMetadata\022S\n\020generic_metadata\030\001 \001(\01329." + + "google.cloud.aiplatform.v1beta1.GenericO" + + "perationMetadata\"~\n\'BatchReadFeatureValu" + + "esOperationMetadata\022S\n\020generic_metadata\030" + + "\001 \001(\01329.google.cloud.aiplatform.v1beta1." + + "GenericOperationMetadata\"x\n!CreateEntity" + + "TypeOperationMetadata\022S\n\020generic_metadat" + + "a\030\001 \001(\01329.google.cloud.aiplatform.v1beta" + + "1.GenericOperationMetadata\"u\n\036CreateFeat" + + "ureOperationMetadata\022S\n\020generic_metadata" + + "\030\001 \001(\01329.google.cloud.aiplatform.v1beta1" + + ".GenericOperationMetadata\"{\n$BatchCreate" + + "FeaturesOperationMetadata\022S\n\020generic_met" + "adata\030\001 \001(\01329.google.cloud.aiplatform.v1" - + "beta1.GenericOperationMetadata\"u\n\036Create" - + "FeatureOperationMetadata\022S\n\020generic_meta" - + "data\030\001 \001(\01329.google.cloud.aiplatform.v1b" - + "eta1.GenericOperationMetadata\"{\n$BatchCr" - + "eateFeaturesOperationMetadata\022S\n\020generic" - + "_metadata\030\001 \001(\01329.google.cloud.aiplatfor" - + "m.v1beta1.GenericOperationMetadata2\260)\n\023F" - + "eaturestoreService\022\260\002\n\022CreateFeaturestor" - + "e\022:.google.cloud.aiplatform.v1beta1.Crea" - + "teFeaturestoreRequest\032\035.google.longrunni" - + "ng.Operation\"\276\001\202\323\344\223\002F\"6/v1beta1/{parent=" - + "projects/*/locations/*}/featurestores:\014f" - + "eaturestore\332A\023parent,featurestore\332A#pare" - + "nt,featurestore,featurestore_id\312A3\n\014Feat" - + "urestore\022#CreateFeaturestoreOperationMet" - + "adata\022\300\001\n\017GetFeaturestore\0227.google.cloud" - + ".aiplatform.v1beta1.GetFeaturestoreReque" - + "st\032-.google.cloud.aiplatform.v1beta1.Fea" - + "turestore\"E\202\323\344\223\0028\0226/v1beta1/{name=projec" - + "ts/*/locations/*/featurestores/*}\332A\004name" - + "\022\323\001\n\021ListFeaturestores\0229.google.cloud.ai" - + "platform.v1beta1.ListFeaturestoresReques" - + "t\032:.google.cloud.aiplatform.v1beta1.List" - + "FeaturestoresResponse\"G\202\323\344\223\0028\0226/v1beta1/" - + "{parent=projects/*/locations/*}/features" - + "tores\332A\006parent\022\234\002\n\022UpdateFeaturestore\022:." - + "google.cloud.aiplatform.v1beta1.UpdateFe" + + "beta1.GenericOperationMetadata2\260)\n\023Featu" + + "restoreService\022\260\002\n\022CreateFeaturestore\022:." + + "google.cloud.aiplatform.v1beta1.CreateFe" + "aturestoreRequest\032\035.google.longrunning.O" - + "peration\"\252\001\202\323\344\223\002S2C/v1beta1/{featurestor" - + "e.name=projects/*/locations/*/featuresto" - + "res/*}:\014featurestore\332A\030featurestore,upda" - + "te_mask\312A3\n\014Featurestore\022#UpdateFeatures" - + "toreOperationMetadata\022\367\001\n\022DeleteFeatures" - + "tore\022:.google.cloud.aiplatform.v1beta1.D" - + "eleteFeaturestoreRequest\032\035.google.longru" - + "nning.Operation\"\205\001\202\323\344\223\0028*6/v1beta1/{name" - + "=projects/*/locations/*/featurestores/*}" - + "\332A\004name\332A\nname,force\312A0\n\025google.protobuf" - + ".Empty\022\027DeleteOperationMetadata\022\262\002\n\020Crea" - + "teEntityType\0228.google.cloud.aiplatform.v" - + "1beta1.CreateEntityTypeRequest\032\035.google." - + "longrunning.Operation\"\304\001\202\323\344\223\002S\"D/v1beta1" - + "/{parent=projects/*/locations/*/features" - + "tores/*}/entityTypes:\013entity_type\332A\022pare" - + "nt,entity_type\332A!parent,entity_type,enti" - + "ty_type_id\312A/\n\nEntityType\022!CreateEntityT" - + "ypeOperationMetadata\022\310\001\n\rGetEntityType\0225" - + ".google.cloud.aiplatform.v1beta1.GetEnti" - + "tyTypeRequest\032+.google.cloud.aiplatform." - + "v1beta1.EntityType\"S\202\323\344\223\002F\022D/v1beta1/{na" + + "peration\"\276\001\202\323\344\223\002F\"6/v1beta1/{parent=proj" + + "ects/*/locations/*}/featurestores:\014featu" + + "restore\332A\023parent,featurestore\332A#parent,f" + + "eaturestore,featurestore_id\312A3\n\014Features" + + "tore\022#CreateFeaturestoreOperationMetadat" + + "a\022\300\001\n\017GetFeaturestore\0227.google.cloud.aip" + + "latform.v1beta1.GetFeaturestoreRequest\032-" + + ".google.cloud.aiplatform.v1beta1.Feature" + + "store\"E\202\323\344\223\0028\0226/v1beta1/{name=projects/*" + + "/locations/*/featurestores/*}\332A\004name\022\323\001\n" + + "\021ListFeaturestores\0229.google.cloud.aiplat" + + "form.v1beta1.ListFeaturestoresRequest\032:." + + "google.cloud.aiplatform.v1beta1.ListFeat" + + "urestoresResponse\"G\202\323\344\223\0028\0226/v1beta1/{par" + + "ent=projects/*/locations/*}/featurestore" + + "s\332A\006parent\022\234\002\n\022UpdateFeaturestore\022:.goog" + + "le.cloud.aiplatform.v1beta1.UpdateFeatur" + + "estoreRequest\032\035.google.longrunning.Opera" + + "tion\"\252\001\202\323\344\223\002S2C/v1beta1/{featurestore.na" + "me=projects/*/locations/*/featurestores/" - + "*/entityTypes/*}\332A\004name\022\333\001\n\017ListEntityTy" - + "pes\0227.google.cloud.aiplatform.v1beta1.Li" - + "stEntityTypesRequest\0328.google.cloud.aipl" - + "atform.v1beta1.ListEntityTypesResponse\"U" - + "\202\323\344\223\002F\022D/v1beta1/{parent=projects/*/loca" - + "tions/*/featurestores/*}/entityTypes\332A\006p" - + "arent\022\372\001\n\020UpdateEntityType\0228.google.clou" - + "d.aiplatform.v1beta1.UpdateEntityTypeReq" - + "uest\032+.google.cloud.aiplatform.v1beta1.E" - + "ntityType\"\177\202\323\344\223\002_2P/v1beta1/{entity_type" - + ".name=projects/*/locations/*/featurestor" - + "es/*/entityTypes/*}:\013entity_type\332A\027entit" - + "y_type,update_mask\022\201\002\n\020DeleteEntityType\022" - + "8.google.cloud.aiplatform.v1beta1.Delete" - + "EntityTypeRequest\032\035.google.longrunning.O" - + "peration\"\223\001\202\323\344\223\002F*D/v1beta1/{name=projec" - + "ts/*/locations/*/featurestores/*/entityT" - + "ypes/*}\332A\004name\332A\nname,force\312A0\n\025google.p" - + "rotobuf.Empty\022\027DeleteOperationMetadata\022\241" - + "\002\n\rCreateFeature\0225.google.cloud.aiplatfo" - + "rm.v1beta1.CreateFeatureRequest\032\035.google" - + ".longrunning.Operation\"\271\001\202\323\344\223\002Z\"O/v1beta" - + "1/{parent=projects/*/locations/*/feature" - + "stores/*/entityTypes/*}/features:\007featur" - + "e\332A\016parent,feature\332A\031parent,feature,feat" - + "ure_id\312A)\n\007Feature\022\036CreateFeatureOperati" - + "onMetadata\022\262\002\n\023BatchCreateFeatures\022;.goo" - + "gle.cloud.aiplatform.v1beta1.BatchCreate" - + "FeaturesRequest\032\035.google.longrunning.Ope" - + "ration\"\276\001\202\323\344\223\002`\"[/v1beta1/{parent=projec" - + "ts/*/locations/*/featurestores/*/entityT" - + "ypes/*}/features:batchCreate:\001*\332A\017parent" - + ",requests\312AC\n\033BatchCreateFeaturesRespons" - + "e\022$BatchCreateFeaturesOperationMetadata\022" - + "\312\001\n\nGetFeature\0222.google.cloud.aiplatform" - + ".v1beta1.GetFeatureRequest\032(.google.clou" - + "d.aiplatform.v1beta1.Feature\"^\202\323\344\223\002Q\022O/v" - + "1beta1/{name=projects/*/locations/*/feat" - + "urestores/*/entityTypes/*/features/*}\332A\004" - + "name\022\335\001\n\014ListFeatures\0224.google.cloud.aip" - + "latform.v1beta1.ListFeaturesRequest\0325.go" - + "ogle.cloud.aiplatform.v1beta1.ListFeatur" - + "esResponse\"`\202\323\344\223\002Q\022O/v1beta1/{parent=pro" + + "*}:\014featurestore\332A\030featurestore,update_m" + + "ask\312A3\n\014Featurestore\022#UpdateFeaturestore" + + "OperationMetadata\022\367\001\n\022DeleteFeaturestore" + + "\022:.google.cloud.aiplatform.v1beta1.Delet" + + "eFeaturestoreRequest\032\035.google.longrunnin" + + "g.Operation\"\205\001\202\323\344\223\0028*6/v1beta1/{name=pro" + + "jects/*/locations/*/featurestores/*}\332A\004n" + + "ame\332A\nname,force\312A0\n\025google.protobuf.Emp" + + "ty\022\027DeleteOperationMetadata\022\262\002\n\020CreateEn" + + "tityType\0228.google.cloud.aiplatform.v1bet" + + "a1.CreateEntityTypeRequest\032\035.google.long" + + "running.Operation\"\304\001\202\323\344\223\002S\"D/v1beta1/{pa" + + "rent=projects/*/locations/*/featurestore" + + "s/*}/entityTypes:\013entity_type\332A\022parent,e" + + "ntity_type\332A!parent,entity_type,entity_t" + + "ype_id\312A/\n\nEntityType\022!CreateEntityTypeO" + + "perationMetadata\022\310\001\n\rGetEntityType\0225.goo" + + "gle.cloud.aiplatform.v1beta1.GetEntityTy" + + "peRequest\032+.google.cloud.aiplatform.v1be" + + "ta1.EntityType\"S\202\323\344\223\002F\022D/v1beta1/{name=p" + + "rojects/*/locations/*/featurestores/*/en" + + "tityTypes/*}\332A\004name\022\333\001\n\017ListEntityTypes\022" + + "7.google.cloud.aiplatform.v1beta1.ListEn" + + "tityTypesRequest\0328.google.cloud.aiplatfo" + + "rm.v1beta1.ListEntityTypesResponse\"U\202\323\344\223" + + "\002F\022D/v1beta1/{parent=projects/*/location" + + "s/*/featurestores/*}/entityTypes\332A\006paren" + + "t\022\372\001\n\020UpdateEntityType\0228.google.cloud.ai" + + "platform.v1beta1.UpdateEntityTypeRequest" + + "\032+.google.cloud.aiplatform.v1beta1.Entit" + + "yType\"\177\202\323\344\223\002_2P/v1beta1/{entity_type.nam" + + "e=projects/*/locations/*/featurestores/*" + + "/entityTypes/*}:\013entity_type\332A\027entity_ty" + + "pe,update_mask\022\201\002\n\020DeleteEntityType\0228.go" + + "ogle.cloud.aiplatform.v1beta1.DeleteEnti" + + "tyTypeRequest\032\035.google.longrunning.Opera" + + "tion\"\223\001\202\323\344\223\002F*D/v1beta1/{name=projects/*" + + "/locations/*/featurestores/*/entityTypes" + + "/*}\332A\004name\332A\nname,force\312A0\n\025google.proto" + + "buf.Empty\022\027DeleteOperationMetadata\022\241\002\n\rC" + + "reateFeature\0225.google.cloud.aiplatform.v" + + "1beta1.CreateFeatureRequest\032\035.google.lon" + + "grunning.Operation\"\271\001\202\323\344\223\002Z\"O/v1beta1/{p" + + "arent=projects/*/locations/*/featurestor" + + "es/*/entityTypes/*}/features:\007feature\332A\016" + + "parent,feature\332A\031parent,feature,feature_" + + "id\312A)\n\007Feature\022\036CreateFeatureOperationMe" + + "tadata\022\262\002\n\023BatchCreateFeatures\022;.google." + + "cloud.aiplatform.v1beta1.BatchCreateFeat" + + "uresRequest\032\035.google.longrunning.Operati" + + "on\"\276\001\202\323\344\223\002`\"[/v1beta1/{parent=projects/*" + + "/locations/*/featurestores/*/entityTypes" + + "/*}/features:batchCreate:\001*\332A\017parent,req" + + "uests\312AC\n\033BatchCreateFeaturesResponse\022$B" + + "atchCreateFeaturesOperationMetadata\022\312\001\n\n" + + "GetFeature\0222.google.cloud.aiplatform.v1b" + + "eta1.GetFeatureRequest\032(.google.cloud.ai" + + "platform.v1beta1.Feature\"^\202\323\344\223\002Q\022O/v1bet" + + "a1/{name=projects/*/locations/*/features" + + "tores/*/entityTypes/*/features/*}\332A\004name" + + "\022\335\001\n\014ListFeatures\0224.google.cloud.aiplatf" + + "orm.v1beta1.ListFeaturesRequest\0325.google" + + ".cloud.aiplatform.v1beta1.ListFeaturesRe" + + "sponse\"`\202\323\344\223\002Q\022O/v1beta1/{parent=project" + + "s/*/locations/*/featurestores/*/entityTy" + + "pes/*}/features\332A\006parent\022\360\001\n\rUpdateFeatu" + + "re\0225.google.cloud.aiplatform.v1beta1.Upd" + + "ateFeatureRequest\032(.google.cloud.aiplatf" + + "orm.v1beta1.Feature\"~\202\323\344\223\002b2W/v1beta1/{f" + + "eature.name=projects/*/locations/*/featu" + + "restores/*/entityTypes/*/features/*}:\007fe" + + "ature\332A\023feature,update_mask\022\371\001\n\rDeleteFe" + + "ature\0225.google.cloud.aiplatform.v1beta1." + + "DeleteFeatureRequest\032\035.google.longrunnin" + + "g.Operation\"\221\001\202\323\344\223\002Q*O/v1beta1/{name=pro" + "jects/*/locations/*/featurestores/*/enti" - + "tyTypes/*}/features\332A\006parent\022\360\001\n\rUpdateF" - + "eature\0225.google.cloud.aiplatform.v1beta1" - + ".UpdateFeatureRequest\032(.google.cloud.aip" - + "latform.v1beta1.Feature\"~\202\323\344\223\002b2W/v1beta" - + "1/{feature.name=projects/*/locations/*/f" - + "eaturestores/*/entityTypes/*/features/*}" - + ":\007feature\332A\023feature,update_mask\022\371\001\n\rDele" - + "teFeature\0225.google.cloud.aiplatform.v1be" - + "ta1.DeleteFeatureRequest\032\035.google.longru" - + "nning.Operation\"\221\001\202\323\344\223\002Q*O/v1beta1/{name" - + "=projects/*/locations/*/featurestores/*/" - + "entityTypes/*/features/*}\332A\004name\312A0\n\025goo" - + "gle.protobuf.Empty\022\027DeleteOperationMetad" - + "ata\022\262\002\n\023ImportFeatureValues\022;.google.clo" - + "ud.aiplatform.v1beta1.ImportFeatureValue" - + "sRequest\032\035.google.longrunning.Operation\"" - + "\276\001\202\323\344\223\002d\"_/v1beta1/{entity_type=projects" - + "/*/locations/*/featurestores/*/entityTyp" - + "es/*}:importFeatureValues:\001*\332A\013entity_ty" - + "pe\312AC\n\033ImportFeatureValuesResponse\022$Impo" - + "rtFeatureValuesOperationMetadata\022\265\002\n\026Bat" - + "chReadFeatureValues\022>.google.cloud.aipla" - + "tform.v1beta1.BatchReadFeatureValuesRequ" - + "est\032\035.google.longrunning.Operation\"\273\001\202\323\344" - + "\223\002Z\"U/v1beta1/{featurestore=projects/*/l" - + "ocations/*/featurestores/*}:batchReadFea" - + "tureValues:\001*\332A\014featurestore\312AI\n\036BatchRe" - + "adFeatureValuesResponse\022\'BatchReadFeatur" - + "eValuesOperationMetadata\022\262\002\n\023ExportFeatu" - + "reValues\022;.google.cloud.aiplatform.v1bet" - + "a1.ExportFeatureValuesRequest\032\035.google.l" - + "ongrunning.Operation\"\276\001\202\323\344\223\002d\"_/v1beta1/" - + "{entity_type=projects/*/locations/*/feat" - + "urestores/*/entityTypes/*}:exportFeature" - + "Values:\001*\332A\013entity_type\312AC\n\033ExportFeatur" - + "eValuesResponse\022$ExportFeatureValuesOper" - + "ationMetadata\022\356\001\n\016SearchFeatures\0226.googl" - + "e.cloud.aiplatform.v1beta1.SearchFeature" - + "sRequest\0327.google.cloud.aiplatform.v1bet" - + "a1.SearchFeaturesResponse\"k\202\323\344\223\002I\022G/v1be" - + "ta1/{location=projects/*/locations/*}/fe" - + "aturestores:searchFeatures\332A\010location\332A\016" - + "location,query\032M\312A\031aiplatform.googleapis" - + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\365\001\n#com.google.cloud.aipla" - + "tform.v1beta1B\030FeaturestoreServiceProtoP" - + "\001ZIgoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1beta1;aiplatform\252\002\037G" - + "oogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\" - + "Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cloud" - + "::AIPlatform::V1beta1b\006proto3" + + "tyTypes/*/features/*}\332A\004name\312A0\n\025google." + + "protobuf.Empty\022\027DeleteOperationMetadata\022" + + "\262\002\n\023ImportFeatureValues\022;.google.cloud.a" + + "iplatform.v1beta1.ImportFeatureValuesReq" + + "uest\032\035.google.longrunning.Operation\"\276\001\202\323" + + "\344\223\002d\"_/v1beta1/{entity_type=projects/*/l" + + "ocations/*/featurestores/*/entityTypes/*" + + "}:importFeatureValues:\001*\332A\013entity_type\312A" + + "C\n\033ImportFeatureValuesResponse\022$ImportFe" + + "atureValuesOperationMetadata\022\265\002\n\026BatchRe" + + "adFeatureValues\022>.google.cloud.aiplatfor" + + "m.v1beta1.BatchReadFeatureValuesRequest\032" + + "\035.google.longrunning.Operation\"\273\001\202\323\344\223\002Z\"" + + "U/v1beta1/{featurestore=projects/*/locat" + + "ions/*/featurestores/*}:batchReadFeature" + + "Values:\001*\332A\014featurestore\312AI\n\036BatchReadFe" + + "atureValuesResponse\022\'BatchReadFeatureVal" + + "uesOperationMetadata\022\262\002\n\023ExportFeatureVa" + + "lues\022;.google.cloud.aiplatform.v1beta1.E" + + "xportFeatureValuesRequest\032\035.google.longr" + + "unning.Operation\"\276\001\202\323\344\223\002d\"_/v1beta1/{ent" + + "ity_type=projects/*/locations/*/features" + + "tores/*/entityTypes/*}:exportFeatureValu" + + "es:\001*\332A\013entity_type\312AC\n\033ExportFeatureVal" + + "uesResponse\022$ExportFeatureValuesOperatio" + + "nMetadata\022\356\001\n\016SearchFeatures\0226.google.cl" + + "oud.aiplatform.v1beta1.SearchFeaturesReq" + + "uest\0327.google.cloud.aiplatform.v1beta1.S" + + "earchFeaturesResponse\"k\202\323\344\223\002I\022G/v1beta1/" + + "{location=projects/*/locations/*}/featur" + + "estores:searchFeatures\332A\010location\332A\016loca" + + "tion,query\032M\312A\031aiplatform.googleapis.com" + + "\322A.https://www.googleapis.com/auth/cloud" + + "-platformB\365\001\n#com.google.cloud.aiplatfor" + + "m.v1beta1B\030FeaturestoreServiceProtoP\001ZIg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" + + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" + + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" + + "Platform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -625,6 +626,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FeatureSpecs", "DisableOnlineServing", "WorkerCount", + "DisableIngestionAnalysis", "Source", "FeatureTimeSource", }); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java index e151bf80c..745cdf525 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java @@ -185,6 +185,11 @@ private ImportFeatureValuesRequest( workerCount_ = input.readInt32(); break; } + case 96: + { + disableIngestionAnalysis_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -1684,6 +1689,24 @@ public int getWorkerCount() { return workerCount_; } + public static final int DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER = 12; + private boolean disableIngestionAnalysis_; + /** + * + * + *
+   * If true, API doesn't start ingestion analysis pipeline.
+   * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return The disableIngestionAnalysis. + */ + @java.lang.Override + public boolean getDisableIngestionAnalysis() { + return disableIngestionAnalysis_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1728,6 +1751,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (workerCount_ != 0) { output.writeInt32(11, workerCount_); } + if (disableIngestionAnalysis_ != false) { + output.writeBool(12, disableIngestionAnalysis_); + } unknownFields.writeTo(output); } @@ -1775,6 +1801,9 @@ public int getSerializedSize() { if (workerCount_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, workerCount_); } + if (disableIngestionAnalysis_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableIngestionAnalysis_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1796,6 +1825,7 @@ public boolean equals(final java.lang.Object obj) { if (!getFeatureSpecsList().equals(other.getFeatureSpecsList())) return false; if (getDisableOnlineServing() != other.getDisableOnlineServing()) return false; if (getWorkerCount() != other.getWorkerCount()) return false; + if (getDisableIngestionAnalysis() != other.getDisableIngestionAnalysis()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: @@ -1844,6 +1874,8 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableOnlineServing()); hash = (37 * hash) + WORKER_COUNT_FIELD_NUMBER; hash = (53 * hash) + getWorkerCount(); + hash = (37 * hash) + DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableIngestionAnalysis()); switch (sourceCase_) { case 2: hash = (37 * hash) + AVRO_SOURCE_FIELD_NUMBER; @@ -2034,6 +2066,8 @@ public Builder clear() { workerCount_ = 0; + disableIngestionAnalysis_ = false; + sourceCase_ = 0; source_ = null; featureTimeSourceCase_ = 0; @@ -2111,6 +2145,7 @@ public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest buildParti } result.disableOnlineServing_ = disableOnlineServing_; result.workerCount_ = workerCount_; + result.disableIngestionAnalysis_ = disableIngestionAnalysis_; result.sourceCase_ = sourceCase_; result.featureTimeSourceCase_ = featureTimeSourceCase_; onBuilt(); @@ -2205,6 +2240,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ImportFeatureValues if (other.getWorkerCount() != 0) { setWorkerCount(other.getWorkerCount()); } + if (other.getDisableIngestionAnalysis() != false) { + setDisableIngestionAnalysis(other.getDisableIngestionAnalysis()); + } switch (other.getSourceCase()) { case AVRO_SOURCE: { @@ -3903,6 +3941,58 @@ public Builder clearWorkerCount() { return this; } + private boolean disableIngestionAnalysis_; + /** + * + * + *
+     * If true, API doesn't start ingestion analysis pipeline.
+     * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return The disableIngestionAnalysis. + */ + @java.lang.Override + public boolean getDisableIngestionAnalysis() { + return disableIngestionAnalysis_; + } + /** + * + * + *
+     * If true, API doesn't start ingestion analysis pipeline.
+     * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @param value The disableIngestionAnalysis to set. + * @return This builder for chaining. + */ + public Builder setDisableIngestionAnalysis(boolean value) { + + disableIngestionAnalysis_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If true, API doesn't start ingestion analysis pipeline.
+     * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return This builder for chaining. + */ + public Builder clearDisableIngestionAnalysis() { + + disableIngestionAnalysis_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java index 78e0cda8b..ebe2607cc 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java @@ -316,6 +316,19 @@ com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec getFe */ int getWorkerCount(); + /** + * + * + *
+   * If true, API doesn't start ingestion analysis pipeline.
+   * 
+ * + * bool disable_ingestion_analysis = 12; + * + * @return The disableIngestionAnalysis. + */ + boolean getDisableIngestionAnalysis(); + public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.SourceCase getSourceCase(); public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureTimeSourceCase diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportModelEvaluationRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportModelEvaluationRequest.java new file mode 100644 index 000000000..dd077a1e7 --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportModelEvaluationRequest.java @@ -0,0 +1,970 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest} + */ +public final class ImportModelEvaluationRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) + ImportModelEvaluationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportModelEvaluationRequest.newBuilder() to construct. + private ImportModelEvaluationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportModelEvaluationRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportModelEvaluationRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ImportModelEvaluationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.Builder subBuilder = null; + if (modelEvaluation_ != null) { + subBuilder = modelEvaluation_.toBuilder(); + } + modelEvaluation_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(modelEvaluation_); + modelEvaluation_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.class, + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODEL_EVALUATION_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.ModelEvaluation modelEvaluation_; + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the modelEvaluation field is set. + */ + @java.lang.Override + public boolean hasModelEvaluation() { + return modelEvaluation_ != null; + } + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The modelEvaluation. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ModelEvaluation getModelEvaluation() { + return modelEvaluation_ == null + ? com.google.cloud.aiplatform.v1beta1.ModelEvaluation.getDefaultInstance() + : modelEvaluation_; + } + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ModelEvaluationOrBuilder + getModelEvaluationOrBuilder() { + return getModelEvaluation(); + } + + 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(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (modelEvaluation_ != null) { + output.writeMessage(2, getModelEvaluation()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (modelEvaluation_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getModelEvaluation()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest other = + (com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasModelEvaluation() != other.hasModelEvaluation()) return false; + if (hasModelEvaluation()) { + if (!getModelEvaluation().equals(other.getModelEvaluation())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasModelEvaluation()) { + hash = (37 * hash) + MODEL_EVALUATION_FIELD_NUMBER; + hash = (53 * hash) + getModelEvaluation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest 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.ImportModelEvaluationRequest 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 [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.class, + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (modelEvaluationBuilder_ == null) { + modelEvaluation_ = null; + } else { + modelEvaluation_ = null; + modelEvaluationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest build() { + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest result = + new com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest(this); + result.parent_ = parent_; + if (modelEvaluationBuilder_ == null) { + result.modelEvaluation_ = modelEvaluation_; + } else { + result.modelEvaluation_ = modelEvaluationBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasModelEvaluation()) { + mergeModelEvaluation(other.getModelEvaluation()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the parent model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1beta1.ModelEvaluation modelEvaluation_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ModelEvaluation, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.Builder, + com.google.cloud.aiplatform.v1beta1.ModelEvaluationOrBuilder> + modelEvaluationBuilder_; + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the modelEvaluation field is set. + */ + public boolean hasModelEvaluation() { + return modelEvaluationBuilder_ != null || modelEvaluation_ != null; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The modelEvaluation. + */ + public com.google.cloud.aiplatform.v1beta1.ModelEvaluation getModelEvaluation() { + if (modelEvaluationBuilder_ == null) { + return modelEvaluation_ == null + ? com.google.cloud.aiplatform.v1beta1.ModelEvaluation.getDefaultInstance() + : modelEvaluation_; + } else { + return modelEvaluationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setModelEvaluation(com.google.cloud.aiplatform.v1beta1.ModelEvaluation value) { + if (modelEvaluationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + modelEvaluation_ = value; + onChanged(); + } else { + modelEvaluationBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setModelEvaluation( + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.Builder builderForValue) { + if (modelEvaluationBuilder_ == null) { + modelEvaluation_ = builderForValue.build(); + onChanged(); + } else { + modelEvaluationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeModelEvaluation(com.google.cloud.aiplatform.v1beta1.ModelEvaluation value) { + if (modelEvaluationBuilder_ == null) { + if (modelEvaluation_ != null) { + modelEvaluation_ = + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.newBuilder(modelEvaluation_) + .mergeFrom(value) + .buildPartial(); + } else { + modelEvaluation_ = value; + } + onChanged(); + } else { + modelEvaluationBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearModelEvaluation() { + if (modelEvaluationBuilder_ == null) { + modelEvaluation_ = null; + onChanged(); + } else { + modelEvaluation_ = null; + modelEvaluationBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelEvaluation.Builder getModelEvaluationBuilder() { + + onChanged(); + return getModelEvaluationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.ModelEvaluationOrBuilder + getModelEvaluationOrBuilder() { + if (modelEvaluationBuilder_ != null) { + return modelEvaluationBuilder_.getMessageOrBuilder(); + } else { + return modelEvaluation_ == null + ? com.google.cloud.aiplatform.v1beta1.ModelEvaluation.getDefaultInstance() + : modelEvaluation_; + } + } + /** + * + * + *
+     * Required. Model evaluation resource to be imported.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ModelEvaluation, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.Builder, + com.google.cloud.aiplatform.v1beta1.ModelEvaluationOrBuilder> + getModelEvaluationFieldBuilder() { + if (modelEvaluationBuilder_ == null) { + modelEvaluationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.ModelEvaluation, + com.google.cloud.aiplatform.v1beta1.ModelEvaluation.Builder, + com.google.cloud.aiplatform.v1beta1.ModelEvaluationOrBuilder>( + getModelEvaluation(), getParentForChildren(), isClean()); + modelEvaluation_ = null; + } + return modelEvaluationBuilder_; + } + + @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.ImportModelEvaluationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) + private static final com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportModelEvaluationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportModelEvaluationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportModelEvaluationRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportModelEvaluationRequestOrBuilder.java new file mode 100644 index 000000000..fffe0029f --- /dev/null +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportModelEvaluationRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface ImportModelEvaluationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The name of the parent model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the modelEvaluation field is set. + */ + boolean hasModelEvaluation(); + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The modelEvaluation. + */ + com.google.cloud.aiplatform.v1beta1.ModelEvaluation getModelEvaluation(); + /** + * + * + *
+   * Required. Model evaluation resource to be imported.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.ModelEvaluationOrBuilder getModelEvaluationOrBuilder(); +} diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluation.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluation.java index 3093e82ad..9987ed936 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluation.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluation.java @@ -1281,13 +1281,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+   * Points to a YAML file stored on Google Cloud Storage describing the
    * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
    * defined as an OpenAPI 3.0.2 [Schema
    * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
    * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The metricsSchemaUri. */ @@ -1307,13 +1307,13 @@ public java.lang.String getMetricsSchemaUri() { * * *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+   * Points to a YAML file stored on Google Cloud Storage describing the
    * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
    * defined as an OpenAPI 3.0.2 [Schema
    * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
    * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The bytes for metricsSchemaUri. */ @@ -1336,11 +1336,11 @@ public com.google.protobuf.ByteString getMetricsSchemaUriBytes() { * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return Whether the metrics field is set. */ @@ -1352,11 +1352,11 @@ public boolean hasMetrics() { * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return The metrics. */ @@ -1368,11 +1368,11 @@ public com.google.protobuf.Value getMetrics() { * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ @java.lang.Override public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { @@ -1434,13 +1434,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @return A list containing the sliceDimensions. */ @@ -1451,13 +1451,13 @@ public com.google.protobuf.ProtocolStringList getSliceDimensionsList() { * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @return The count of sliceDimensions. */ @@ -1468,13 +1468,13 @@ public int getSliceDimensionsCount() { * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @param index The index of the element to return. * @return The sliceDimensions at the given index. @@ -1486,13 +1486,13 @@ public java.lang.String getSliceDimensions(int index) { * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @param index The index of the value to return. * @return The bytes of the sliceDimensions at the given index. @@ -1507,14 +1507,12 @@ public com.google.protobuf.ByteString getSliceDimensionsBytes(int index) { * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; * * @return Whether the modelExplanation field is set. */ @@ -1526,14 +1524,12 @@ public boolean hasModelExplanation() { * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; * * @return The modelExplanation. */ @@ -1547,14 +1543,12 @@ public com.google.cloud.aiplatform.v1beta1.ModelExplanation getModelExplanation( * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ @java.lang.Override public com.google.cloud.aiplatform.v1beta1.ModelExplanationOrBuilder @@ -1570,12 +1564,12 @@ public com.google.cloud.aiplatform.v1beta1.ModelExplanation getModelExplanation( * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ @java.lang.Override @@ -1588,12 +1582,12 @@ public com.google.cloud.aiplatform.v1beta1.ModelExplanation getModelExplanation( * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ @java.lang.Override @@ -1608,12 +1602,12 @@ public com.google.cloud.aiplatform.v1beta1.ModelExplanation getModelExplanation( * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ @java.lang.Override @@ -1624,12 +1618,12 @@ public int getExplanationSpecsCount() { * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ @java.lang.Override @@ -1641,12 +1635,12 @@ public int getExplanationSpecsCount() { * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ @java.lang.Override @@ -2276,13 +2270,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+     * Points to a YAML file stored on Google Cloud Storage describing the
      * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
      * defined as an OpenAPI 3.0.2 [Schema
      * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The metricsSchemaUri. */ @@ -2301,13 +2295,13 @@ public java.lang.String getMetricsSchemaUri() { * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+     * Points to a YAML file stored on Google Cloud Storage describing the
      * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
      * defined as an OpenAPI 3.0.2 [Schema
      * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The bytes for metricsSchemaUri. */ @@ -2326,13 +2320,13 @@ public com.google.protobuf.ByteString getMetricsSchemaUriBytes() { * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+     * Points to a YAML file stored on Google Cloud Storage describing the
      * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
      * defined as an OpenAPI 3.0.2 [Schema
      * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @param value The metricsSchemaUri to set. * @return This builder for chaining. @@ -2350,13 +2344,13 @@ public Builder setMetricsSchemaUri(java.lang.String value) { * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+     * Points to a YAML file stored on Google Cloud Storage describing the
      * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
      * defined as an OpenAPI 3.0.2 [Schema
      * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return This builder for chaining. */ @@ -2370,13 +2364,13 @@ public Builder clearMetricsSchemaUri() { * * *
-     * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+     * Points to a YAML file stored on Google Cloud Storage describing the
      * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
      * defined as an OpenAPI 3.0.2 [Schema
      * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
      * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @param value The bytes for metricsSchemaUri to set. * @return This builder for chaining. @@ -2402,11 +2396,11 @@ public Builder setMetricsSchemaUriBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return Whether the metrics field is set. */ @@ -2417,11 +2411,11 @@ public boolean hasMetrics() { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return The metrics. */ @@ -2436,11 +2430,11 @@ public com.google.protobuf.Value getMetrics() { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ public Builder setMetrics(com.google.protobuf.Value value) { if (metricsBuilder_ == null) { @@ -2459,11 +2453,11 @@ public Builder setMetrics(com.google.protobuf.Value value) { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ public Builder setMetrics(com.google.protobuf.Value.Builder builderForValue) { if (metricsBuilder_ == null) { @@ -2479,11 +2473,11 @@ public Builder setMetrics(com.google.protobuf.Value.Builder builderForValue) { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ public Builder mergeMetrics(com.google.protobuf.Value value) { if (metricsBuilder_ == null) { @@ -2503,11 +2497,11 @@ public Builder mergeMetrics(com.google.protobuf.Value value) { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ public Builder clearMetrics() { if (metricsBuilder_ == null) { @@ -2524,11 +2518,11 @@ public Builder clearMetrics() { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ public com.google.protobuf.Value.Builder getMetricsBuilder() { @@ -2539,11 +2533,11 @@ public com.google.protobuf.Value.Builder getMetricsBuilder() { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { if (metricsBuilder_ != null) { @@ -2556,11 +2550,11 @@ public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder() { * * *
-     * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+     * Evaluation metrics of the Model. The schema of the metrics is stored in
      * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
      * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Value, @@ -2793,14 +2787,13 @@ private void ensureSliceDimensionsIsMutable() { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @return A list containing the sliceDimensions. */ @@ -2811,14 +2804,13 @@ public com.google.protobuf.ProtocolStringList getSliceDimensionsList() { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @return The count of sliceDimensions. */ @@ -2829,14 +2821,13 @@ public int getSliceDimensionsCount() { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @param index The index of the element to return. * @return The sliceDimensions at the given index. @@ -2848,14 +2839,13 @@ public java.lang.String getSliceDimensions(int index) { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @param index The index of the value to return. * @return The bytes of the sliceDimensions at the given index. @@ -2867,14 +2857,13 @@ public com.google.protobuf.ByteString getSliceDimensionsBytes(int index) { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @param index The index to set the value at. * @param value The sliceDimensions to set. @@ -2893,14 +2882,13 @@ public Builder setSliceDimensions(int index, java.lang.String value) { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @param value The sliceDimensions to add. * @return This builder for chaining. @@ -2918,14 +2906,13 @@ public Builder addSliceDimensions(java.lang.String value) { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @param values The sliceDimensions to add. * @return This builder for chaining. @@ -2940,14 +2927,13 @@ public Builder addAllSliceDimensions(java.lang.Iterable values * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @return This builder for chaining. */ @@ -2961,14 +2947,13 @@ public Builder clearSliceDimensions() { * * *
-     * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+     * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
      * ModelEvaluationSlices. The dimensions can be used as the filter of the
      * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
      * `slice.dimension = <dimension>`.
      * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated string slice_dimensions = 5; * * @param value The bytes of the sliceDimensions to add. * @return This builder for chaining. @@ -2994,14 +2979,12 @@ public Builder addSliceDimensionsBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; * * @return Whether the modelExplanation field is set. */ @@ -3012,14 +2995,12 @@ public boolean hasModelExplanation() { * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; * * @return The modelExplanation. */ @@ -3036,14 +3017,12 @@ public com.google.cloud.aiplatform.v1beta1.ModelExplanation getModelExplanation( * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ public Builder setModelExplanation(com.google.cloud.aiplatform.v1beta1.ModelExplanation value) { if (modelExplanationBuilder_ == null) { @@ -3062,14 +3041,12 @@ public Builder setModelExplanation(com.google.cloud.aiplatform.v1beta1.ModelExpl * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ public Builder setModelExplanation( com.google.cloud.aiplatform.v1beta1.ModelExplanation.Builder builderForValue) { @@ -3086,14 +3063,12 @@ public Builder setModelExplanation( * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ public Builder mergeModelExplanation( com.google.cloud.aiplatform.v1beta1.ModelExplanation value) { @@ -3117,14 +3092,12 @@ public Builder mergeModelExplanation( * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ public Builder clearModelExplanation() { if (modelExplanationBuilder_ == null) { @@ -3141,14 +3114,12 @@ public Builder clearModelExplanation() { * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ public com.google.cloud.aiplatform.v1beta1.ModelExplanation.Builder getModelExplanationBuilder() { @@ -3160,14 +3131,12 @@ public Builder clearModelExplanation() { * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ public com.google.cloud.aiplatform.v1beta1.ModelExplanationOrBuilder getModelExplanationOrBuilder() { @@ -3183,14 +3152,12 @@ public Builder clearModelExplanation() { * * *
-     * Output only. Aggregated explanation metrics for the Model's prediction output over the
+     * Aggregated explanation metrics for the Model's prediction output over the
      * data this ModelEvaluation uses. This field is populated only if the Model
      * is evaluated with explanations, and only for AutoML tabular Models.
      * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.aiplatform.v1beta1.ModelExplanation, @@ -3235,12 +3202,12 @@ private void ensureExplanationSpecsIsMutable() { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public java.util.List< @@ -3256,12 +3223,12 @@ private void ensureExplanationSpecsIsMutable() { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public int getExplanationSpecsCount() { @@ -3275,12 +3242,12 @@ public int getExplanationSpecsCount() { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public com.google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec @@ -3295,12 +3262,12 @@ public int getExplanationSpecsCount() { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder setExplanationSpecs( @@ -3322,12 +3289,12 @@ public Builder setExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder setExplanationSpecs( @@ -3347,12 +3314,12 @@ public Builder setExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder addExplanationSpecs( @@ -3373,12 +3340,12 @@ public Builder addExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder addExplanationSpecs( @@ -3400,12 +3367,12 @@ public Builder addExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder addExplanationSpecs( @@ -3424,12 +3391,12 @@ public Builder addExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder addExplanationSpecs( @@ -3449,12 +3416,12 @@ public Builder addExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder addAllExplanationSpecs( @@ -3476,12 +3443,12 @@ public Builder addAllExplanationSpecs( * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder clearExplanationSpecs() { @@ -3498,12 +3465,12 @@ public Builder clearExplanationSpecs() { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public Builder removeExplanationSpecs(int index) { @@ -3520,12 +3487,12 @@ public Builder removeExplanationSpecs(int index) { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public com.google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec @@ -3537,12 +3504,12 @@ public Builder removeExplanationSpecs(int index) { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public com.google.cloud.aiplatform.v1beta1.ModelEvaluation @@ -3558,12 +3525,12 @@ public Builder removeExplanationSpecs(int index) { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public java.util.List< @@ -3581,12 +3548,12 @@ public Builder removeExplanationSpecs(int index) { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public com.google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec @@ -3601,12 +3568,12 @@ public Builder removeExplanationSpecs(int index) { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public com.google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec @@ -3622,12 +3589,12 @@ public Builder removeExplanationSpecs(int index) { * * *
-     * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+     * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
      * the predicted values on the evaluated data.
      * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ public java.util.List< diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationOrBuilder.java index 6cadd0ac7..bd8c30eb7 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationOrBuilder.java @@ -52,13 +52,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+   * Points to a YAML file stored on Google Cloud Storage describing the
    * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
    * defined as an OpenAPI 3.0.2 [Schema
    * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
    * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The metricsSchemaUri. */ @@ -67,13 +67,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Points to a YAML file stored on Google Cloud Storage describing the
+   * Points to a YAML file stored on Google Cloud Storage describing the
    * [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
    * defined as an OpenAPI 3.0.2 [Schema
    * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
    * 
* - * string metrics_schema_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string metrics_schema_uri = 2; * * @return The bytes for metricsSchemaUri. */ @@ -83,11 +83,11 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return Whether the metrics field is set. */ @@ -96,11 +96,11 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; * * @return The metrics. */ @@ -109,11 +109,11 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
+   * Evaluation metrics of the Model. The schema of the metrics is stored in
    * [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri]
    * 
* - * .google.protobuf.Value metrics = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Value metrics = 3; */ com.google.protobuf.ValueOrBuilder getMetricsOrBuilder(); @@ -159,13 +159,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @return A list containing the sliceDimensions. */ @@ -174,13 +174,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @return The count of sliceDimensions. */ @@ -189,13 +189,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @param index The index of the element to return. * @return The sliceDimensions at the given index. @@ -205,13 +205,13 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
+   * All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
    * ModelEvaluationSlices. The dimensions can be used as the filter of the
    * [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of
    * `slice.dimension = <dimension>`.
    * 
* - * repeated string slice_dimensions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string slice_dimensions = 5; * * @param index The index of the value to return. * @return The bytes of the sliceDimensions at the given index. @@ -222,14 +222,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; * * @return Whether the modelExplanation field is set. */ @@ -238,14 +236,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; * * @return The modelExplanation. */ @@ -254,14 +250,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Aggregated explanation metrics for the Model's prediction output over the
+   * Aggregated explanation metrics for the Model's prediction output over the
    * data this ModelEvaluation uses. This field is populated only if the Model
    * is evaluated with explanations, and only for AutoML tabular Models.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.aiplatform.v1beta1.ModelExplanation model_explanation = 8; */ com.google.cloud.aiplatform.v1beta1.ModelExplanationOrBuilder getModelExplanationOrBuilder(); @@ -269,12 +263,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ java.util.List @@ -283,12 +277,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ com.google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec @@ -297,12 +291,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ int getExplanationSpecsCount(); @@ -310,12 +304,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ java.util.List< @@ -327,12 +321,12 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
+   * Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining
    * the predicted values on the evaluated data.
    * 
* * - * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated .google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9; * */ com.google.cloud.aiplatform.v1beta1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java index 159ef6bf2..872ec9a23 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java @@ -51,30 +51,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/api/resource.proto\0321google/cloud/aiplat" + "form/v1beta1/explanation.proto\032\034google/p" + "rotobuf/struct.proto\032\037google/protobuf/ti" - + "mestamp.proto\"\226\005\n\017ModelEvaluation\022\021\n\004nam" - + "e\030\001 \001(\tB\003\340A\003\022\037\n\022metrics_schema_uri\030\002 \001(\t" - + "B\003\340A\003\022,\n\007metrics\030\003 \001(\0132\026.google.protobuf" - + ".ValueB\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022\035\n\020slice_dimen" - + "sions\030\005 \003(\tB\003\340A\003\022Q\n\021model_explanation\030\010 " - + "\001(\01321.google.cloud.aiplatform.v1beta1.Mo" - + "delExplanationB\003\340A\003\022o\n\021explanation_specs" - + "\030\t \003(\0132O.google.cloud.aiplatform.v1beta1" - + ".ModelEvaluation.ModelEvaluationExplanat" - + "ionSpecB\003\340A\003\032\206\001\n\036ModelEvaluationExplanat" - + "ionSpec\022\030\n\020explanation_type\030\001 \001(\t\022J\n\020exp" - + "lanation_spec\030\002 \001(\01320.google.cloud.aipla" - + "tform.v1beta1.ExplanationSpec:\177\352A|\n)aipl" - + "atform.googleapis.com/ModelEvaluation\022Op" - + "rojects/{project}/locations/{location}/m" - + "odels/{model}/evaluations/{evaluation}B\361" - + "\001\n#com.google.cloud.aiplatform.v1beta1B\024" - + "ModelEvaluationProtoP\001ZIgoogle.golang.or" - + "g/genproto/googleapis/cloud/aiplatform/v" - + "1beta1;aiplatform\252\002\037Google.Cloud.AIPlatf" - + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" - + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" - + "a1b\006proto3" + + "mestamp.proto\"\375\004\n\017ModelEvaluation\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\032\n\022metrics_schema_uri\030\002 \001(\t" + + "\022\'\n\007metrics\030\003 \001(\0132\026.google.protobuf.Valu" + + "e\0224\n\013create_time\030\004 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022\030\n\020slice_dimensions\030\005 \003(" + + "\t\022L\n\021model_explanation\030\010 \001(\01321.google.cl" + + "oud.aiplatform.v1beta1.ModelExplanation\022" + + "j\n\021explanation_specs\030\t \003(\0132O.google.clou" + + "d.aiplatform.v1beta1.ModelEvaluation.Mod" + + "elEvaluationExplanationSpec\032\206\001\n\036ModelEva" + + "luationExplanationSpec\022\030\n\020explanation_ty" + + "pe\030\001 \001(\t\022J\n\020explanation_spec\030\002 \001(\01320.goo" + + "gle.cloud.aiplatform.v1beta1.Explanation" + + "Spec:\177\352A|\n)aiplatform.googleapis.com/Mod" + + "elEvaluation\022Oprojects/{project}/locatio" + + "ns/{location}/models/{model}/evaluations" + + "/{evaluation}B\361\001\n#com.google.cloud.aipla" + + "tform.v1beta1B\024ModelEvaluationProtoP\001ZIg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" + + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" + + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" + + "Platform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java index a9c84f3f9..6f03d2d4f 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java @@ -79,6 +79,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_ExportModelResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_ExportModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -168,92 +172,102 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "etadata.OutputInfoB\003\340A\003\032M\n\nOutputInfo\022 \n" + "\023artifact_output_uri\030\002 \001(\tB\003\340A\003\022\035\n\020image" + "_output_uri\030\003 \001(\tB\003\340A\003\"\025\n\023ExportModelRes" - + "ponse\"\\\n\031GetModelEvaluationRequest\022?\n\004na" - + "me\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googleapis." - + "com/ModelEvaluation\"\274\001\n\033ListModelEvaluat" - + "ionsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aip" - + "latform.googleapis.com/Model\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\"\204\001\n\034ListModelEvaluationsRespo" - + "nse\022K\n\021model_evaluations\030\001 \003(\01320.google." - + "cloud.aiplatform.v1beta1.ModelEvaluation" - + "\022\027\n\017next_page_token\030\002 \001(\t\"f\n\036GetModelEva" - + "luationSliceRequest\022D\n\004name\030\001 \001(\tB6\340A\002\372A" - + "0\n.aiplatform.googleapis.com/ModelEvalua" - + "tionSlice\"\313\001\n ListModelEvaluationSlicesR" - + "equest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A+\n)aiplatfo" - + "rm.googleapis.com/ModelEvaluation\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\"\224\001\n!ListModelEvaluationS" - + "licesResponse\022V\n\027model_evaluation_slices" - + "\030\001 \003(\01325.google.cloud.aiplatform.v1beta1" - + ".ModelEvaluationSlice\022\027\n\017next_page_token" - + "\030\002 \001(\t2\336\021\n\014ModelService\022\352\001\n\013UploadModel\022" - + "3.google.cloud.aiplatform.v1beta1.Upload" + + "ponse\"\250\001\n\034ImportModelEvaluationRequest\0227" + + "\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googl" + + "eapis.com/Model\022O\n\020model_evaluation\030\002 \001(" + + "\01320.google.cloud.aiplatform.v1beta1.Mode" + + "lEvaluationB\003\340A\002\"\\\n\031GetModelEvaluationRe" + + "quest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform." + + "googleapis.com/ModelEvaluation\"\274\001\n\033ListM" + + "odelEvaluationsRequest\0227\n\006parent\030\001 \001(\tB\'" + + "\340A\002\372A!\n\037aiplatform.googleapis.com/Model\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\"\204\001\n\034ListModelEvalu" + + "ationsResponse\022K\n\021model_evaluations\030\001 \003(" + + "\01320.google.cloud.aiplatform.v1beta1.Mode" + + "lEvaluation\022\027\n\017next_page_token\030\002 \001(\t\"f\n\036" + + "GetModelEvaluationSliceRequest\022D\n\004name\030\001" + + " \001(\tB6\340A\002\372A0\n.aiplatform.googleapis.com/" + + "ModelEvaluationSlice\"\313\001\n ListModelEvalua" + + "tionSlicesRequest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A" + + "+\n)aiplatform.googleapis.com/ModelEvalua" + + "tion\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\"\224\001\n!ListModel" + + "EvaluationSlicesResponse\022V\n\027model_evalua" + + "tion_slices\030\001 \003(\01325.google.cloud.aiplatf" + + "orm.v1beta1.ModelEvaluationSlice\022\027\n\017next" + + "_page_token\030\002 \001(\t2\324\023\n\014ModelService\022\352\001\n\013U" + + "ploadModel\0223.google.cloud.aiplatform.v1b" + + "eta1.UploadModelRequest\032\035.google.longrun" + + "ning.Operation\"\206\001\202\323\344\223\002;\"6/v1beta1/{paren" + + "t=projects/*/locations/*}/models:upload:" + + "\001*\332A\014parent,model\312A3\n\023UploadModelRespons" + + "e\022\034UploadModelOperationMetadata\022\244\001\n\010GetM" + + "odel\0220.google.cloud.aiplatform.v1beta1.G" + + "etModelRequest\032&.google.cloud.aiplatform" + + ".v1beta1.Model\">\202\323\344\223\0021\022//v1beta1/{name=p" + + "rojects/*/locations/*/models/*}\332A\004name\022\267" + + "\001\n\nListModels\0222.google.cloud.aiplatform." + + "v1beta1.ListModelsRequest\0323.google.cloud" + + ".aiplatform.v1beta1.ListModelsResponse\"@" + + "\202\323\344\223\0021\022//v1beta1/{parent=projects/*/loca" + + "tions/*}/models\332A\006parent\022\304\001\n\013UpdateModel" + + "\0223.google.cloud.aiplatform.v1beta1.Updat" + + "eModelRequest\032&.google.cloud.aiplatform." + + "v1beta1.Model\"X\202\323\344\223\002>25/v1beta1/{model.n" + + "ame=projects/*/locations/*/models/*}:\005mo" + + "del\332A\021model,update_mask\022\324\001\n\013DeleteModel\022" + + "3.google.cloud.aiplatform.v1beta1.Delete" + "ModelRequest\032\035.google.longrunning.Operat" - + "ion\"\206\001\202\323\344\223\002;\"6/v1beta1/{parent=projects/" - + "*/locations/*}/models:upload:\001*\332A\014parent" - + ",model\312A3\n\023UploadModelResponse\022\034UploadMo" - + "delOperationMetadata\022\244\001\n\010GetModel\0220.goog" - + "le.cloud.aiplatform.v1beta1.GetModelRequ" - + "est\032&.google.cloud.aiplatform.v1beta1.Mo" - + "del\">\202\323\344\223\0021\022//v1beta1/{name=projects/*/l" - + "ocations/*/models/*}\332A\004name\022\267\001\n\nListMode" - + "ls\0222.google.cloud.aiplatform.v1beta1.Lis" - + "tModelsRequest\0323.google.cloud.aiplatform" - + ".v1beta1.ListModelsResponse\"@\202\323\344\223\0021\022//v1" - + "beta1/{parent=projects/*/locations/*}/mo" - + "dels\332A\006parent\022\304\001\n\013UpdateModel\0223.google.c" - + "loud.aiplatform.v1beta1.UpdateModelReque" - + "st\032&.google.cloud.aiplatform.v1beta1.Mod" - + "el\"X\202\323\344\223\002>25/v1beta1/{model.name=project" - + "s/*/locations/*/models/*}:\005model\332A\021model" - + ",update_mask\022\324\001\n\013DeleteModel\0223.google.cl" - + "oud.aiplatform.v1beta1.DeleteModelReques" - + "t\032\035.google.longrunning.Operation\"q\202\323\344\223\0021" - + "*//v1beta1/{name=projects/*/locations/*/" - + "models/*}\332A\004name\312A0\n\025google.protobuf.Emp" - + "ty\022\027DeleteOperationMetadata\022\360\001\n\013ExportMo" - + "del\0223.google.cloud.aiplatform.v1beta1.Ex" - + "portModelRequest\032\035.google.longrunning.Op" - + "eration\"\214\001\202\323\344\223\002;\"6/v1beta1/{name=project" - + "s/*/locations/*/models/*}:export:\001*\332A\022na" - + "me,output_config\312A3\n\023ExportModelResponse" - + "\022\034ExportModelOperationMetadata\022\320\001\n\022GetMo" - + "delEvaluation\022:.google.cloud.aiplatform." - + "v1beta1.GetModelEvaluationRequest\0320.goog" - + "le.cloud.aiplatform.v1beta1.ModelEvaluat" - + "ion\"L\202\323\344\223\002?\022=/v1beta1/{name=projects/*/l" - + "ocations/*/models/*/evaluations/*}\332A\004nam" - + "e\022\343\001\n\024ListModelEvaluations\022<.google.clou" - + "d.aiplatform.v1beta1.ListModelEvaluation" - + "sRequest\032=.google.cloud.aiplatform.v1bet" - + "a1.ListModelEvaluationsResponse\"N\202\323\344\223\002?\022" - + "=/v1beta1/{parent=projects/*/locations/*" - + "/models/*}/evaluations\332A\006parent\022\350\001\n\027GetM" - + "odelEvaluationSlice\022?.google.cloud.aipla" - + "tform.v1beta1.GetModelEvaluationSliceReq" - + "uest\0325.google.cloud.aiplatform.v1beta1.M" - + "odelEvaluationSlice\"U\202\323\344\223\002H\022F/v1beta1/{n" - + "ame=projects/*/locations/*/models/*/eval" - + "uations/*/slices/*}\332A\004name\022\373\001\n\031ListModel" - + "EvaluationSlices\022A.google.cloud.aiplatfo" - + "rm.v1beta1.ListModelEvaluationSlicesRequ" - + "est\032B.google.cloud.aiplatform.v1beta1.Li" - + "stModelEvaluationSlicesResponse\"W\202\323\344\223\002H\022" - + "F/v1beta1/{parent=projects/*/locations/*" - + "/models/*/evaluations/*}/slices\332A\006parent" - + "\032M\312A\031aiplatform.googleapis.com\322A.https:/" - + "/www.googleapis.com/auth/cloud-platformB" - + "\356\001\n#com.google.cloud.aiplatform.v1beta1B" - + "\021ModelServiceProtoP\001ZIgoogle.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1b" - + "eta1;aiplatform\252\002\037Google.Cloud.AIPlatfor" - + "m.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1be" - + "ta1\352\002\"Google::Cloud::AIPlatform::V1beta1" - + "b\006proto3" + + "ion\"q\202\323\344\223\0021*//v1beta1/{name=projects/*/l" + + "ocations/*/models/*}\332A\004name\312A0\n\025google.p" + + "rotobuf.Empty\022\027DeleteOperationMetadata\022\360" + + "\001\n\013ExportModel\0223.google.cloud.aiplatform" + + ".v1beta1.ExportModelRequest\032\035.google.lon" + + "grunning.Operation\"\214\001\202\323\344\223\002;\"6/v1beta1/{n" + + "ame=projects/*/locations/*/models/*}:exp" + + "ort:\001*\332A\022name,output_config\312A3\n\023ExportMo" + + "delResponse\022\034ExportModelOperationMetadat" + + "a\022\363\001\n\025ImportModelEvaluation\022=.google.clo" + + "ud.aiplatform.v1beta1.ImportModelEvaluat" + + "ionRequest\0320.google.cloud.aiplatform.v1b" + + "eta1.ModelEvaluation\"i\202\323\344\223\002I\"D/v1beta1/{" + + "parent=projects/*/locations/*/models/*}/" + + "evaluations:import:\001*\332A\027parent,model_eva" + + "luation\022\320\001\n\022GetModelEvaluation\022:.google." + + "cloud.aiplatform.v1beta1.GetModelEvaluat" + + "ionRequest\0320.google.cloud.aiplatform.v1b" + + "eta1.ModelEvaluation\"L\202\323\344\223\002?\022=/v1beta1/{" + + "name=projects/*/locations/*/models/*/eva" + + "luations/*}\332A\004name\022\343\001\n\024ListModelEvaluati" + + "ons\022<.google.cloud.aiplatform.v1beta1.Li" + + "stModelEvaluationsRequest\032=.google.cloud" + + ".aiplatform.v1beta1.ListModelEvaluations" + + "Response\"N\202\323\344\223\002?\022=/v1beta1/{parent=proje" + + "cts/*/locations/*/models/*}/evaluations\332" + + "A\006parent\022\350\001\n\027GetModelEvaluationSlice\022?.g" + + "oogle.cloud.aiplatform.v1beta1.GetModelE" + + "valuationSliceRequest\0325.google.cloud.aip" + + "latform.v1beta1.ModelEvaluationSlice\"U\202\323" + + "\344\223\002H\022F/v1beta1/{name=projects/*/location" + + "s/*/models/*/evaluations/*/slices/*}\332A\004n" + + "ame\022\373\001\n\031ListModelEvaluationSlices\022A.goog" + + "le.cloud.aiplatform.v1beta1.ListModelEva" + + "luationSlicesRequest\032B.google.cloud.aipl" + + "atform.v1beta1.ListModelEvaluationSlices" + + "Response\"W\202\323\344\223\002H\022F/v1beta1/{parent=proje" + + "cts/*/locations/*/models/*/evaluations/*" + + "}/slices\332A\006parent\032M\312A\031aiplatform.googlea" + + "pis.com\322A.https://www.googleapis.com/aut" + + "h/cloud-platformB\356\001\n#com.google.cloud.ai" + + "platform.v1beta1B\021ModelServiceProtoP\001ZIg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" + + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" + + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" + + "Platform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -379,8 +393,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ExportModelResponse_descriptor, new java.lang.String[] {}); - internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor = getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor, + new java.lang.String[] { + "Parent", "ModelEvaluation", + }); + internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_descriptor = + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_descriptor, @@ -388,7 +410,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsRequest_descriptor, @@ -396,7 +418,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsResponse_descriptor, @@ -404,7 +426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelEvaluations", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationSliceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationSliceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationSliceRequest_descriptor, @@ -412,7 +434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesRequest_descriptor, @@ -420,7 +442,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesResponse_descriptor, diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java index f13f43dd2..5904ece2b 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java @@ -213,7 +213,12 @@ public com.google.cloud.aiplatform.v1beta1.EntityTypeOrBuilder getEntityTypeOrBu * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -239,7 +244,12 @@ public boolean hasUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -265,7 +275,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -886,7 +901,12 @@ public com.google.cloud.aiplatform.v1beta1.EntityTypeOrBuilder getEntityTypeOrBu * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -911,7 +931,12 @@ public boolean hasUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -942,7 +967,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -975,7 +1005,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1005,7 +1040,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1040,7 +1080,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1071,7 +1116,12 @@ public Builder clearUpdateMask() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1096,7 +1146,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1125,7 +1180,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java index 18172db74..9cf0cad29 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java @@ -88,7 +88,12 @@ public interface UpdateEntityTypeRequestOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -111,7 +116,12 @@ public interface UpdateEntityTypeRequestOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; @@ -134,7 +144,12 @@ public interface UpdateEntityTypeRequestOrBuilder * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java index f1c945b09..3c1df03d8 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java @@ -212,8 +212,7 @@ public com.google.cloud.aiplatform.v1beta1.FeatureOrBuilder getFeatureOrBuilder( * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -238,8 +237,7 @@ public boolean hasUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -264,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -884,8 +881,7 @@ public com.google.cloud.aiplatform.v1beta1.FeatureOrBuilder getFeatureOrBuilder( * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -909,8 +905,7 @@ public boolean hasUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -940,8 +935,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -973,8 +967,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1003,8 +996,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1038,8 +1030,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1069,8 +1060,7 @@ public Builder clearUpdateMask() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1094,8 +1084,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -1123,8 +1112,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java index 7a05609fa..f5b769151 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java @@ -87,8 +87,7 @@ public interface UpdateFeatureRequestOrBuilder * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -110,8 +109,7 @@ public interface UpdateFeatureRequestOrBuilder * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; @@ -133,8 +131,7 @@ public interface UpdateFeatureRequestOrBuilder * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto index 313c78746..487497c75 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto @@ -200,6 +200,15 @@ message BatchPredictionJob { // must be provided. BatchDedicatedResources dedicated_resources = 7; + // The service account that the DeployedModel's container runs as. If not + // specified, a system generated one will be used, which + // has minimal permissions and the custom container, if used, may not have + // enough permission to access other GCP resources. + // + // Users deploying the Model must have the `iam.serviceAccounts.actAs` + // permission on this service account. + string service_account = 29; + // Immutable. Parameters configuring the batch behavior. Currently only applicable when // [dedicated_resources][google.cloud.aiplatform.v1beta1.BatchPredictionJob.dedicated_resources] are used (in other cases Vertex AI does // the tuning itself). diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto index 5776bac6e..16a7558ea 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto @@ -40,6 +40,36 @@ message Feature { pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}" }; + // A list of historical [Snapshot + // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature + // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats + // requested by user, sorted by + // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time] + // descending. + message MonitoringStatsAnomaly { + // If the objective in the request is both + // Import Feature Analysis and Snapshot Analysis, this objective could be + // one of them. Otherwise, this objective should be the same as the + // objective in the request. + enum Objective { + // If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. + OBJECTIVE_UNSPECIFIED = 0; + + // Stats are generated by Import Feature Analysis. + IMPORT_FEATURE_ANALYSIS = 1; + + // Stats are generated by Snapshot Analysis. + SNAPSHOT_ANALYSIS = 2; + } + + // Output only. The objective for each stats. + Objective objective = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The stats and anomalies generated at specific timestamp. + FeatureStatsAnomaly feature_stats_anomaly = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // An enum representing the value type of a feature. enum ValueType { // The value type is unspecified. @@ -128,9 +158,23 @@ message Feature { // config is same as the EntityType's this Feature belongs to. FeaturestoreMonitoringConfig monitoring_config = 9 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If not set, use the monitoring_config defined for the EntityType + // this Feature belongs to. Only Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) + // BOOL, STRING, DOUBLE or INT64 can enable monitoring. + // + // If set to true, all types of data monitoring are disabled despite the + // config on EntityType. + bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL]; + // Output only. A list of historical [Snapshot // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] // stats requested by user, sorted by [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time] // descending. repeated FeatureStatsAnomaly monitoring_stats = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The list of historical stats and anomalies with specified + // objectives. + repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto index 90805eb89..9ef9b1f6b 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto @@ -55,13 +55,107 @@ message FeaturestoreMonitoringConfig { // running interval. The value indicates number of days. // If both // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - // and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + // and + // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] // are set when creating/updating EntityTypes/Features, // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] // will be used. int32 monitoring_interval_days = 3; + + // Customized export features time window for snapshot analysis. Unit is one + // day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is + // 4000 days. + int32 staleness_days = 4; + } + + // Configuration of the Featurestore's ImportFeature Analysis Based + // Monitoring. This type of analysis generates statistics for values of each + // Feature imported by every [ImportFeatureValues][] operation. + message ImportFeaturesAnalysis { + // The state defines whether to enable ImportFeature analysis. + enum State { + // Should not be used. + STATE_UNSPECIFIED = 0; + + // The default behavior of whether to enable the monitoring. + // EntityType-level config: disabled. + // Feature-level config: inherited from the configuration of EntityType + // this Feature belongs to. + DEFAULT = 1; + + // Explicitly enables import features analysis. + // EntityType-level config: by default enables import features analysis + // for all Features under it. Feature-level config: enables import + // features analysis regardless of the EntityType-level config. + ENABLED = 2; + + // Explicitly disables import features analysis. + // EntityType-level config: by default disables import features analysis + // for all Features under it. Feature-level config: disables import + // features analysis regardless of the EntityType-level config. + DISABLED = 3; + } + + // Defines the baseline to do anomaly detection for feature values imported + // by each [ImportFeatureValues][] operation. + enum Baseline { + // Should not be used. + BASELINE_UNSPECIFIED = 0; + + // Choose the later one statistics generated by either most recent + // snapshot analysis or previous import features analysis. If non of them + // exists, skip anomaly detection and only generate a statistics. + LATEST_STATS = 1; + + // Use the statistics generated by the most recent snapshot analysis if + // exists. + MOST_RECENT_SNAPSHOT_STATS = 2; + + // Use the statistics generated by the previous import features analysis + // if exists. + PREVIOUS_IMPORT_FEATURES_STATS = 3; + } + + // Whether to enable / disable / inherite default hebavior for import + // features analysis. + State state = 1; + + // The baseline used to do anomaly detection for the statistics generated by + // import features analysis. + Baseline anomaly_detection_baseline = 2; + } + + // The config for Featurestore Monitoring threshold. + message ThresholdConfig { + oneof threshold { + // Specify a threshold value that can trigger the alert. + // 1. For categorical feature, the distribution distance is calculated by + // L-inifinity norm. + // 2. For numerical feature, the distribution distance is calculated by + // Jensen–Shannon divergence. Each feature must have a non-zero threshold + // if they need to be monitored. Otherwise no alert will be triggered for + // that feature. + double value = 1; + } } // The config for Snapshot Analysis Based Feature Monitoring. SnapshotAnalysis snapshot_analysis = 1; + + // The config for ImportFeatures Analysis Based Feature Monitoring. + ImportFeaturesAnalysis import_features_analysis = 2; + + // Threshold for numerical features of anomaly detection. + // This is shared by all objectives of Featurestore Monitoring for numerical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) + // DOUBLE or INT64). + ThresholdConfig numerical_threshold_config = 3; + + // Threshold for categorical features of anomaly detection. + // This is shared by all types of Featurestore Monitoring for categorical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) + // BOOL or STRING). + ThresholdConfig categorical_threshold_config = 4; } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto index 6b93be8b6..efaa15055 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto @@ -507,6 +507,9 @@ message ImportFeatureValuesRequest { // If not set, defaults to using 1 worker. The low count ensures minimal // impact on online serving performance. int32 worker_count = 11; + + // If true, API doesn't start ingestion analysis pipeline. + bool disable_ingestion_analysis = 12; } // Response message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues]. @@ -848,7 +851,12 @@ message UpdateEntityTypeRequest { // * `description` // * `labels` // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `monitoring_config.snapshot_analysis.monitoring_interval_days` + // * `monitoring_config.snapshot_analysis.staleness_days` + // * `monitoring_config.import_features_analysis.state` + // * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + // * `monitoring_config.numerical_threshold_config.value` + // * `monitoring_config.categorical_threshold_config.value` google.protobuf.FieldMask update_mask = 2; } @@ -1140,8 +1148,7 @@ message UpdateFeatureRequest { // // * `description` // * `labels` - // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `disable_monitoring` google.protobuf.FieldMask update_mask = 2; } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto index 67186bb34..3f7b9234e 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto @@ -55,32 +55,32 @@ message ModelEvaluation { // Output only. The resource name of the ModelEvaluation. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Points to a YAML file stored on Google Cloud Storage describing the + // Points to a YAML file stored on Google Cloud Storage describing the // [metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is // defined as an OpenAPI 3.0.2 [Schema // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - string metrics_schema_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + string metrics_schema_uri = 2; - // Output only. Evaluation metrics of the Model. The schema of the metrics is stored in + // Evaluation metrics of the Model. The schema of the metrics is stored in // [metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri] - google.protobuf.Value metrics = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Value metrics = 3; // Output only. Timestamp when this ModelEvaluation was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of + // All possible [dimensions][ModelEvaluationSlice.slice.dimension] of // ModelEvaluationSlices. The dimensions can be used as the filter of the // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] request, in the form of // `slice.dimension = `. - repeated string slice_dimensions = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string slice_dimensions = 5; - // Output only. Aggregated explanation metrics for the Model's prediction output over the + // Aggregated explanation metrics for the Model's prediction output over the // data this ModelEvaluation uses. This field is populated only if the Model // is evaluated with explanations, and only for AutoML tabular Models. // - ModelExplanation model_explanation = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + ModelExplanation model_explanation = 8; - // Output only. Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining + // Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec] that are used for explaining // the predicted values on the evaluated data. - repeated ModelEvaluationExplanationSpec explanation_specs = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ModelEvaluationExplanationSpec explanation_specs = 9; } diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto index 99318b855..239dc8c6c 100644 --- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto +++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto @@ -113,6 +113,15 @@ service ModelService { }; } + // Imports an externally generated ModelEvaluation. + rpc ImportModelEvaluation(ImportModelEvaluationRequest) returns (ModelEvaluation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/models/*}/evaluations:import" + body: "*" + }; + option (google.api.method_signature) = "parent,model_evaluation"; + } + // Gets a ModelEvaluation. rpc GetModelEvaluation(GetModelEvaluationRequest) returns (ModelEvaluation) { option (google.api.http) = { @@ -327,6 +336,21 @@ message ExportModelResponse { } +// Request message for [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation] +message ImportModelEvaluationRequest { + // Required. The name of the parent model resource. + // Format: `projects/{project}/locations/{location}/models/{model}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + + // Required. Model evaluation resource to be imported. + ModelEvaluation model_evaluation = 2 [(google.api.field_behavior) = REQUIRED]; +} + // Request message for [ModelService.GetModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluation]. message GetModelEvaluationRequest { // Required. The name of the ModelEvaluation resource. diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4588d91e9..bbd256844 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,13 +29,13 @@ com.google.cloud google-cloud-aiplatform - 2.7.3 + 2.7.4 com.google.cloud google-cloud-storage - 2.4.5 + 2.5.1 com.google.protobuf diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index bcc4ddb58..3b5fb083b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,13 +28,13 @@ com.google.cloud google-cloud-aiplatform - 2.7.4 + 2.8.0 com.google.cloud google-cloud-storage - 2.4.5 + 2.5.1 com.google.protobuf diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 04dbddc23..8c9e89e35 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -27,13 +27,13 @@ com.google.cloud google-cloud-aiplatform - 2.7.3 + 2.7.4 com.google.cloud google-cloud-storage - 2.4.5 + 2.5.1 com.google.protobuf @@ -60,7 +60,7 @@ com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.13.3 + 0.13.4
diff --git a/versions.txt b/versions.txt index ed9615011..c34503b87 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-aiplatform:2.7.4:2.7.4 -grpc-google-cloud-aiplatform-v1:2.7.4:2.7.4 -grpc-google-cloud-aiplatform-v1beta1:0.13.4:0.13.4 -proto-google-cloud-aiplatform-v1:2.7.4:2.7.4 -proto-google-cloud-aiplatform-v1beta1:0.13.4:0.13.4 +google-cloud-aiplatform:2.8.0:2.8.0 +grpc-google-cloud-aiplatform-v1:2.8.0:2.8.0 +grpc-google-cloud-aiplatform-v1beta1:0.14.0:0.14.0 +proto-google-cloud-aiplatform-v1:2.8.0:2.8.0 +proto-google-cloud-aiplatform-v1beta1:0.14.0:0.14.0