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 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 Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * 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 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 Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * 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.
+ *
+ * {@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.
+ *
+ * {@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.
+ *
+ * {@code
+ * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+ * ImportModelEvaluationRequest request =
+ * ImportModelEvaluationRequest.newBuilder()
+ * .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+ * .setModelEvaluation(ModelEvaluation.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@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.
+ *
+ * {@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.
+ *
+ * {@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.
+ *
+ * {@code
+ * try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+ * ImportModelEvaluationRequest request =
+ * ImportModelEvaluationRequest.newBuilder()
+ * .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+ * .setModelEvaluation(ModelEvaluation.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable
+ * Imports an externally generated ModelEvaluation.
+ *
+ */
+ public void importModelEvaluation(
+ com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest request,
+ io.grpc.stub.StreamObserver
+ * Imports an externally generated ModelEvaluation.
+ *
+ */
+ public void importModelEvaluation(
+ com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest request,
+ io.grpc.stub.StreamObserver
+ * 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
+ * Imports an externally generated ModelEvaluation.
+ *
+ */
+ public void importModelEvaluation(
+ com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest request,
+ io.grpc.stub.StreamObserver
+ * Imports an externally generated ModelEvaluation.
+ *
+ */
+ public void importModelEvaluation(
+ com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest request,
+ io.grpc.stub.StreamObserver
+ * 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 MethodHandlersbool 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
+ * .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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
- * 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
+ * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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 extends com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly>
+ 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
- * 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
- * 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
+ * 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
+ * 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 extends com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder>
+ 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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