bool enable_private_service_connect = 17;
+ * bool enable_private_service_connect = 17 [deprecated = true];
*
* @return The enablePrivateServiceConnect.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean getEnablePrivateServiceConnect() {
return enablePrivateServiceConnect_;
}
@@ -1090,6 +1109,63 @@ public com.google.protobuf.ByteString getModelDeploymentMonitoringJobBytes() {
}
}
+ public static final int PREDICT_REQUEST_RESPONSE_LOGGING_CONFIG_FIELD_NUMBER = 18;
+ private com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ predictRequestResponseLoggingConfig_;
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ *
+ * @return Whether the predictRequestResponseLoggingConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasPredictRequestResponseLoggingConfig() {
+ return predictRequestResponseLoggingConfig_ != null;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ *
+ * @return The predictRequestResponseLoggingConfig.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ getPredictRequestResponseLoggingConfig() {
+ return predictRequestResponseLoggingConfig_ == null
+ ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.getDefaultInstance()
+ : predictRequestResponseLoggingConfig_;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder
+ getPredictRequestResponseLoggingConfigOrBuilder() {
+ return getPredictRequestResponseLoggingConfig();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1141,6 +1217,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (enablePrivateServiceConnect_ != false) {
output.writeBool(17, enablePrivateServiceConnect_);
}
+ if (predictRequestResponseLoggingConfig_ != null) {
+ output.writeMessage(18, getPredictRequestResponseLoggingConfig());
+ }
unknownFields.writeTo(output);
}
@@ -1206,6 +1285,11 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeBoolSize(17, enablePrivateServiceConnect_);
}
+ if (predictRequestResponseLoggingConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 18, getPredictRequestResponseLoggingConfig());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1244,6 +1328,12 @@ public boolean equals(final java.lang.Object obj) {
if (getEnablePrivateServiceConnect() != other.getEnablePrivateServiceConnect()) return false;
if (!getModelDeploymentMonitoringJob().equals(other.getModelDeploymentMonitoringJob()))
return false;
+ if (hasPredictRequestResponseLoggingConfig() != other.hasPredictRequestResponseLoggingConfig())
+ return false;
+ if (hasPredictRequestResponseLoggingConfig()) {
+ if (!getPredictRequestResponseLoggingConfig()
+ .equals(other.getPredictRequestResponseLoggingConfig())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -1293,6 +1383,10 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateServiceConnect());
hash = (37 * hash) + MODEL_DEPLOYMENT_MONITORING_JOB_FIELD_NUMBER;
hash = (53 * hash) + getModelDeploymentMonitoringJob().hashCode();
+ if (hasPredictRequestResponseLoggingConfig()) {
+ hash = (37 * hash) + PREDICT_REQUEST_RESPONSE_LOGGING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getPredictRequestResponseLoggingConfig().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -1505,6 +1599,12 @@ public Builder clear() {
modelDeploymentMonitoringJob_ = "";
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ predictRequestResponseLoggingConfig_ = null;
+ } else {
+ predictRequestResponseLoggingConfig_ = null;
+ predictRequestResponseLoggingConfigBuilder_ = null;
+ }
return this;
}
@@ -1568,6 +1668,12 @@ public com.google.cloud.aiplatform.v1.Endpoint buildPartial() {
result.network_ = network_;
result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_;
result.modelDeploymentMonitoringJob_ = modelDeploymentMonitoringJob_;
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ result.predictRequestResponseLoggingConfig_ = predictRequestResponseLoggingConfig_;
+ } else {
+ result.predictRequestResponseLoggingConfig_ =
+ predictRequestResponseLoggingConfigBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -1682,6 +1788,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
modelDeploymentMonitoringJob_ = other.modelDeploymentMonitoringJob_;
onChanged();
}
+ if (other.hasPredictRequestResponseLoggingConfig()) {
+ mergePredictRequestResponseLoggingConfig(other.getPredictRequestResponseLoggingConfig());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -3738,11 +3847,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
* can be set.
*
*
- * bool enable_private_service_connect = 17;
+ * bool enable_private_service_connect = 17 [deprecated = true];
*
* @return The enablePrivateServiceConnect.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean getEnablePrivateServiceConnect() {
return enablePrivateServiceConnect_;
}
@@ -3756,11 +3866,12 @@ public boolean getEnablePrivateServiceConnect() {
* can be set.
*
*
- * bool enable_private_service_connect = 17;
+ * bool enable_private_service_connect = 17 [deprecated = true];
*
* @param value The enablePrivateServiceConnect to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setEnablePrivateServiceConnect(boolean value) {
enablePrivateServiceConnect_ = value;
@@ -3777,10 +3888,11 @@ public Builder setEnablePrivateServiceConnect(boolean value) {
* can be set.
*
*
- * bool enable_private_service_connect = 17;
+ * bool enable_private_service_connect = 17 [deprecated = true];
*
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearEnablePrivateServiceConnect() {
enablePrivateServiceConnect_ = false;
@@ -3919,6 +4031,221 @@ public Builder setModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteStri
return this;
}
+ private com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ predictRequestResponseLoggingConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig,
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder,
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder>
+ predictRequestResponseLoggingConfigBuilder_;
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ *
+ * @return Whether the predictRequestResponseLoggingConfig field is set.
+ */
+ public boolean hasPredictRequestResponseLoggingConfig() {
+ return predictRequestResponseLoggingConfigBuilder_ != null
+ || predictRequestResponseLoggingConfig_ != null;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ *
+ * @return The predictRequestResponseLoggingConfig.
+ */
+ public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ getPredictRequestResponseLoggingConfig() {
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ return predictRequestResponseLoggingConfig_ == null
+ ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ .getDefaultInstance()
+ : predictRequestResponseLoggingConfig_;
+ } else {
+ return predictRequestResponseLoggingConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ public Builder setPredictRequestResponseLoggingConfig(
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig value) {
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ predictRequestResponseLoggingConfig_ = value;
+ onChanged();
+ } else {
+ predictRequestResponseLoggingConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ public Builder setPredictRequestResponseLoggingConfig(
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder
+ builderForValue) {
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ predictRequestResponseLoggingConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ predictRequestResponseLoggingConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ public Builder mergePredictRequestResponseLoggingConfig(
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig value) {
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ if (predictRequestResponseLoggingConfig_ != null) {
+ predictRequestResponseLoggingConfig_ =
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.newBuilder(
+ predictRequestResponseLoggingConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ predictRequestResponseLoggingConfig_ = value;
+ }
+ onChanged();
+ } else {
+ predictRequestResponseLoggingConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ public Builder clearPredictRequestResponseLoggingConfig() {
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ predictRequestResponseLoggingConfig_ = null;
+ onChanged();
+ } else {
+ predictRequestResponseLoggingConfig_ = null;
+ predictRequestResponseLoggingConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder
+ getPredictRequestResponseLoggingConfigBuilder() {
+
+ onChanged();
+ return getPredictRequestResponseLoggingConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder
+ getPredictRequestResponseLoggingConfigOrBuilder() {
+ if (predictRequestResponseLoggingConfigBuilder_ != null) {
+ return predictRequestResponseLoggingConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return predictRequestResponseLoggingConfig_ == null
+ ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ .getDefaultInstance()
+ : predictRequestResponseLoggingConfig_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig,
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder,
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder>
+ getPredictRequestResponseLoggingConfigFieldBuilder() {
+ if (predictRequestResponseLoggingConfigBuilder_ == null) {
+ predictRequestResponseLoggingConfigBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig,
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder,
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder>(
+ getPredictRequestResponseLoggingConfig(), getParentForChildren(), isClean());
+ predictRequestResponseLoggingConfig_ = null;
+ }
+ return predictRequestResponseLoggingConfigBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
index 7a5abbcec..5fd1c818d 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
@@ -528,10 +528,11 @@ public interface EndpointOrBuilder
* can be set.
*
*
- * bool enable_private_service_connect = 17;
+ * bool enable_private_service_connect = 17 [deprecated = true];
*
* @return The enablePrivateServiceConnect.
*/
+ @java.lang.Deprecated
boolean getEnablePrivateServiceConnect();
/**
@@ -568,4 +569,47 @@ public interface EndpointOrBuilder
* @return The bytes for modelDeploymentMonitoringJob.
*/
com.google.protobuf.ByteString getModelDeploymentMonitoringJobBytes();
+
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ *
+ * @return Whether the predictRequestResponseLoggingConfig field is set.
+ */
+ boolean hasPredictRequestResponseLoggingConfig();
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ *
+ * @return The predictRequestResponseLoggingConfig.
+ */
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ getPredictRequestResponseLoggingConfig();
+ /**
+ *
+ *
+ * + * Configures the request-response logging for online prediction. + *+ * + *
+ * .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
+ *
+ */
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder
+ getPredictRequestResponseLoggingConfigOrBuilder();
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java
index db4e989d2..a7659d473 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java
@@ -47,6 +47,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1_PrivateEndpoints_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1_PrivateEndpoints_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -57,78 +61,78 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n)google/cloud/aiplatform/v1/endpoint.pr"
- + "oto\022\032google.cloud.aiplatform.v1\032\034google/"
- + "api/annotations.proto\032\037google/api/field_"
- + "behavior.proto\032\031google/api/resource.prot"
- + "o\0320google/cloud/aiplatform/v1/encryption"
- + "_spec.proto\032,google/cloud/aiplatform/v1/"
- + "explanation.proto\032#google/cloud/aiplatfo"
- + "rm/v1/io.proto\0322google/cloud/aiplatform/"
- + "v1/machine_resources.proto\032@google/cloud"
- + "/aiplatform/v1/model_deployment_monitori"
- + "ng_job.proto\0321google/cloud/aiplatform/v1"
- + "/model_monitoring.proto\032\037google/protobuf"
- + "/timestamp.proto\"\370\006\n\010Endpoint\022\021\n\004name\030\001 "
- + "\001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013d"
- + "escription\030\003 \001(\t\022G\n\017deployed_models\030\004 \003("
- + "\0132).google.cloud.aiplatform.v1.DeployedM"
- + "odelB\003\340A\003\022M\n\rtraffic_split\030\005 \003(\01326.googl"
- + "e.cloud.aiplatform.v1.Endpoint.TrafficSp"
- + "litEntry\022\014\n\004etag\030\006 \001(\t\022@\n\006labels\030\007 \003(\01320"
- + ".google.cloud.aiplatform.v1.Endpoint.Lab"
- + "elsEntry\0224\n\013create_time\030\010 \001(\0132\032.google.p"
- + "rotobuf.TimestampB\003\340A\003\0224\n\013update_time\030\t "
- + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022C\n\017"
- + "encryption_spec\030\n \001(\0132*.google.cloud.aip"
- + "latform.v1.EncryptionSpec\0224\n\007network\030\r \001"
- + "(\tB#\372A \n\036compute.googleapis.com/Network\022"
- + "&\n\036enable_private_service_connect\030\021 \001(\010\022"
- + "g\n\037model_deployment_monitoring_job\030\016 \001(\t"
- + "B>\340A\003\372A8\n6aiplatform.googleapis.com/Mode"
- + "lDeploymentMonitoringJob\0323\n\021TrafficSplit"
- + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n"
- + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t"
- + ":\0028\001:e\352Ab\n\"aiplatform.googleapis.com/End"
- + "point\022- * Next ID: 6 + * Next ID: 7 ** * Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig} @@ -8584,7 +8584,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * Next ID: 6
+ * Next ID: 7
*
*
* Protobuf type {@code google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java
index ee02ac022..3037f24cb 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java
@@ -98,96 +98,94 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n1google/cloud/aiplatform/v1/model_monit"
+ "oring.proto\022\032google.cloud.aiplatform.v1\032"
- + "\034google/api/annotations.proto\032\031google/ap"
- + "i/resource.proto\032#google/cloud/aiplatfor"
- + "m/v1/io.proto\"\244\024\n\036ModelMonitoringObjecti"
- + "veConfig\022d\n\020training_dataset\030\001 \001(\0132J.goo"
+ + "\031google/api/resource.proto\032#google/cloud"
+ + "/aiplatform/v1/io.proto\"\244\024\n\036ModelMonitor"
+ + "ingObjectiveConfig\022d\n\020training_dataset\030\001"
+ + " \001(\0132J.google.cloud.aiplatform.v1.ModelM"
+ + "onitoringObjectiveConfig.TrainingDataset"
+ + "\022\223\001\n)training_prediction_skew_detection_"
+ + "config\030\002 \001(\0132`.google.cloud.aiplatform.v"
+ + "1.ModelMonitoringObjectiveConfig.Trainin"
+ + "gPredictionSkewDetectionConfig\022\204\001\n!predi"
+ + "ction_drift_detection_config\030\003 \001(\0132Y.goo"
+ "gle.cloud.aiplatform.v1.ModelMonitoringO"
- + "bjectiveConfig.TrainingDataset\022\223\001\n)train"
- + "ing_prediction_skew_detection_config\030\002 \001"
- + "(\0132`.google.cloud.aiplatform.v1.ModelMon"
- + "itoringObjectiveConfig.TrainingPredictio"
- + "nSkewDetectionConfig\022\204\001\n!prediction_drif"
- + "t_detection_config\030\003 \001(\0132Y.google.cloud."
+ + "bjectiveConfig.PredictionDriftDetectionC"
+ + "onfig\022h\n\022explanation_config\030\005 \001(\0132L.goog"
+ + "le.cloud.aiplatform.v1.ModelMonitoringOb"
+ + "jectiveConfig.ExplanationConfig\032\333\002\n\017Trai"
+ + "ningDataset\0229\n\007dataset\030\003 \001(\tB&\372A#\n!aipla"
+ + "tform.googleapis.com/DatasetH\000\022;\n\ngcs_so"
+ + "urce\030\004 \001(\0132%.google.cloud.aiplatform.v1."
+ + "GcsSourceH\000\022E\n\017bigquery_source\030\005 \001(\0132*.g"
+ + "oogle.cloud.aiplatform.v1.BigQuerySource"
+ + "H\000\022\023\n\013data_format\030\002 \001(\t\022\024\n\014target_field\030"
+ + "\006 \001(\t\022O\n\031logging_sampling_strategy\030\007 \001(\013"
+ + "2,.google.cloud.aiplatform.v1.SamplingSt"
+ + "rategyB\r\n\013data_source\032\302\004\n%TrainingPredic"
+ + "tionSkewDetectionConfig\022\215\001\n\017skew_thresho"
+ + "lds\030\001 \003(\0132t.google.cloud.aiplatform.v1.M"
+ + "odelMonitoringObjectiveConfig.TrainingPr"
+ + "edictionSkewDetectionConfig.SkewThreshol"
+ + "dsEntry\022\260\001\n!attribution_score_skew_thres"
+ + "holds\030\002 \003(\0132\204\001.google.cloud.aiplatform.v"
+ + "1.ModelMonitoringObjectiveConfig.Trainin"
+ + "gPredictionSkewDetectionConfig.Attributi"
+ + "onScoreSkewThresholdsEntry\032b\n\023SkewThresh"
+ + "oldsEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+."
+ + "google.cloud.aiplatform.v1.ThresholdConf"
+ + "ig:\0028\001\032r\n#AttributionScoreSkewThresholds"
+ + "Entry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.goog"
+ + "le.cloud.aiplatform.v1.ThresholdConfig:\002"
+ + "8\001\032\262\004\n\036PredictionDriftDetectionConfig\022\210\001"
+ + "\n\020drift_thresholds\030\001 \003(\0132n.google.cloud."
+ "aiplatform.v1.ModelMonitoringObjectiveCo"
- + "nfig.PredictionDriftDetectionConfig\022h\n\022e"
- + "xplanation_config\030\005 \001(\0132L.google.cloud.a"
- + "iplatform.v1.ModelMonitoringObjectiveCon"
- + "fig.ExplanationConfig\032\333\002\n\017TrainingDatase"
- + "t\0229\n\007dataset\030\003 \001(\tB&\372A#\n!aiplatform.goog"
- + "leapis.com/DatasetH\000\022;\n\ngcs_source\030\004 \001(\013"
- + "2%.google.cloud.aiplatform.v1.GcsSourceH"
- + "\000\022E\n\017bigquery_source\030\005 \001(\0132*.google.clou"
- + "d.aiplatform.v1.BigQuerySourceH\000\022\023\n\013data"
- + "_format\030\002 \001(\t\022\024\n\014target_field\030\006 \001(\t\022O\n\031l"
- + "ogging_sampling_strategy\030\007 \001(\0132,.google."
- + "cloud.aiplatform.v1.SamplingStrategyB\r\n\013"
- + "data_source\032\302\004\n%TrainingPredictionSkewDe"
- + "tectionConfig\022\215\001\n\017skew_thresholds\030\001 \003(\0132"
- + "t.google.cloud.aiplatform.v1.ModelMonito"
- + "ringObjectiveConfig.TrainingPredictionSk"
- + "ewDetectionConfig.SkewThresholdsEntry\022\260\001"
- + "\n!attribution_score_skew_thresholds\030\002 \003("
- + "\0132\204\001.google.cloud.aiplatform.v1.ModelMon"
- + "itoringObjectiveConfig.TrainingPredictio"
- + "nSkewDetectionConfig.AttributionScoreSke"
- + "wThresholdsEntry\032b\n\023SkewThresholdsEntry\022"
- + "\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.clo"
- + "ud.aiplatform.v1.ThresholdConfig:\0028\001\032r\n#"
- + "AttributionScoreSkewThresholdsEntry\022\013\n\003k"
- + "ey\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.cloud.a"
- + "iplatform.v1.ThresholdConfig:\0028\001\032\262\004\n\036Pre"
- + "dictionDriftDetectionConfig\022\210\001\n\020drift_th"
- + "resholds\030\001 \003(\0132n.google.cloud.aiplatform"
- + ".v1.ModelMonitoringObjectiveConfig.Predi"
- + "ctionDriftDetectionConfig.DriftThreshold"
- + "sEntry\022\252\001\n\"attribution_score_drift_thres"
- + "holds\030\002 \003(\0132~.google.cloud.aiplatform.v1"
- + ".ModelMonitoringObjectiveConfig.Predicti"
- + "onDriftDetectionConfig.AttributionScoreD"
- + "riftThresholdsEntry\032c\n\024DriftThresholdsEn"
- + "try\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google"
- + ".cloud.aiplatform.v1.ThresholdConfig:\0028\001"
- + "\032s\n$AttributionScoreDriftThresholdsEntry"
- + "\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+.google.cl"
- + "oud.aiplatform.v1.ThresholdConfig:\0028\001\032\274\004"
- + "\n\021ExplanationConfig\022!\n\031enable_feature_at"
- + "tributes\030\001 \001(\010\022~\n\024explanation_baseline\030\002"
- + " \001(\0132`.google.cloud.aiplatform.v1.ModelM"
- + "onitoringObjectiveConfig.ExplanationConf"
- + "ig.ExplanationBaseline\032\203\003\n\023ExplanationBa"
- + "seline\0229\n\003gcs\030\002 \001(\0132*.google.cloud.aipla"
- + "tform.v1.GcsDestinationH\000\022C\n\010bigquery\030\003 "
- + "\001(\0132/.google.cloud.aiplatform.v1.BigQuer"
- + "yDestinationH\000\022\214\001\n\021prediction_format\030\001 \001"
- + "(\0162q.google.cloud.aiplatform.v1.ModelMon"
- + "itoringObjectiveConfig.ExplanationConfig"
- + ".ExplanationBaseline.PredictionFormat\"N\n"
- + "\020PredictionFormat\022!\n\035PREDICTION_FORMAT_U"
- + "NSPECIFIED\020\000\022\t\n\005JSONL\020\002\022\014\n\010BIGQUERY\020\003B\r\n"
- + "\013destination\"\315\001\n\032ModelMonitoringAlertCon"
- + "fig\022e\n\022email_alert_config\030\001 \001(\0132G.google"
- + ".cloud.aiplatform.v1.ModelMonitoringAler"
- + "tConfig.EmailAlertConfigH\000\022\026\n\016enable_log"
- + "ging\030\002 \001(\010\032\'\n\020EmailAlertConfig\022\023\n\013user_e"
- + "mails\030\001 \003(\tB\007\n\005alert\"/\n\017ThresholdConfig\022"
- + "\017\n\005value\030\001 \001(\001H\000B\013\n\tthreshold\"\234\001\n\020Sampli"
- + "ngStrategy\022]\n\024random_sample_config\030\001 \001(\013"
- + "2?.google.cloud.aiplatform.v1.SamplingSt"
- + "rategy.RandomSampleConfig\032)\n\022RandomSampl"
- + "eConfig\022\023\n\013sample_rate\030\001 \001(\001B\330\001\n\036com.goo"
- + "gle.cloud.aiplatform.v1B\024ModelMonitoring"
- + "ProtoP\001ZDgoogle.golang.org/genproto/goog"
- + "leapis/cloud/aiplatform/v1;aiplatform\252\002\032"
- + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou"
- + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf"
- + "orm::V1b\006proto3"
+ + "nfig.PredictionDriftDetectionConfig.Drif"
+ + "tThresholdsEntry\022\252\001\n\"attribution_score_d"
+ + "rift_thresholds\030\002 \003(\0132~.google.cloud.aip"
+ + "latform.v1.ModelMonitoringObjectiveConfi"
+ + "g.PredictionDriftDetectionConfig.Attribu"
+ + "tionScoreDriftThresholdsEntry\032c\n\024DriftTh"
+ + "resholdsEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001("
+ + "\0132+.google.cloud.aiplatform.v1.Threshold"
+ + "Config:\0028\001\032s\n$AttributionScoreDriftThres"
+ + "holdsEntry\022\013\n\003key\030\001 \001(\t\022:\n\005value\030\002 \001(\0132+"
+ + ".google.cloud.aiplatform.v1.ThresholdCon"
+ + "fig:\0028\001\032\274\004\n\021ExplanationConfig\022!\n\031enable_"
+ + "feature_attributes\030\001 \001(\010\022~\n\024explanation_"
+ + "baseline\030\002 \001(\0132`.google.cloud.aiplatform"
+ + ".v1.ModelMonitoringObjectiveConfig.Expla"
+ + "nationConfig.ExplanationBaseline\032\203\003\n\023Exp"
+ + "lanationBaseline\0229\n\003gcs\030\002 \001(\0132*.google.c"
+ + "loud.aiplatform.v1.GcsDestinationH\000\022C\n\010b"
+ + "igquery\030\003 \001(\0132/.google.cloud.aiplatform."
+ + "v1.BigQueryDestinationH\000\022\214\001\n\021prediction_"
+ + "format\030\001 \001(\0162q.google.cloud.aiplatform.v"
+ + "1.ModelMonitoringObjectiveConfig.Explana"
+ + "tionConfig.ExplanationBaseline.Predictio"
+ + "nFormat\"N\n\020PredictionFormat\022!\n\035PREDICTIO"
+ + "N_FORMAT_UNSPECIFIED\020\000\022\t\n\005JSONL\020\002\022\014\n\010BIG"
+ + "QUERY\020\003B\r\n\013destination\"\315\001\n\032ModelMonitori"
+ + "ngAlertConfig\022e\n\022email_alert_config\030\001 \001("
+ + "\0132G.google.cloud.aiplatform.v1.ModelMoni"
+ + "toringAlertConfig.EmailAlertConfigH\000\022\026\n\016"
+ + "enable_logging\030\002 \001(\010\032\'\n\020EmailAlertConfig"
+ + "\022\023\n\013user_emails\030\001 \003(\tB\007\n\005alert\"/\n\017Thresh"
+ + "oldConfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthreshold\""
+ + "\234\001\n\020SamplingStrategy\022]\n\024random_sample_co"
+ + "nfig\030\001 \001(\0132?.google.cloud.aiplatform.v1."
+ + "SamplingStrategy.RandomSampleConfig\032)\n\022R"
+ + "andomSampleConfig\022\023\n\013sample_rate\030\001 \001(\001B\330"
+ + "\001\n\036com.google.cloud.aiplatform.v1B\024Model"
+ + "MonitoringProtoP\001ZDgoogle.golang.org/gen"
+ + "proto/googleapis/cloud/aiplatform/v1;aip"
+ + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G"
+ + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou"
+ + "d::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1.IoProto.getDescriptor(),
});
@@ -347,7 +345,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1.IoProto.getDescriptor();
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java
index 218637b62..ec28c7271 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java
@@ -61,81 +61,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n&google/cloud/aiplatform/v1/model.proto"
- + "\022\032google.cloud.aiplatform.v1\032\034google/api"
- + "/annotations.proto\032\037google/api/field_beh"
- + "avior.proto\032\031google/api/resource.proto\032("
- + "google/cloud/aiplatform/v1/dataset.proto"
- + "\0323google/cloud/aiplatform/v1/deployed_mo"
- + "del_ref.proto\0320google/cloud/aiplatform/v"
- + "1/encryption_spec.proto\032(google/cloud/ai"
- + "platform/v1/env_var.proto\032,google/cloud/"
- + "aiplatform/v1/explanation.proto\032\034google/"
- + "protobuf/struct.proto\032\037google/protobuf/t"
- + "imestamp.proto\"\244\014\n\005Model\022\014\n\004name\030\001 \001(\t\022\031"
- + "\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013description"
- + "\030\003 \001(\t\022E\n\020predict_schemata\030\004 \001(\0132+.googl"
- + "e.cloud.aiplatform.v1.PredictSchemata\022 \n"
- + "\023metadata_schema_uri\030\005 \001(\tB\003\340A\005\022-\n\010metad"
- + "ata\030\006 \001(\0132\026.google.protobuf.ValueB\003\340A\005\022U"
- + "\n\030supported_export_formats\030\024 \003(\0132..googl"
- + "e.cloud.aiplatform.v1.Model.ExportFormat"
- + "B\003\340A\003\022M\n\021training_pipeline\030\007 \001(\tB2\340A\003\372A,"
- + "\n*aiplatform.googleapis.com/TrainingPipe"
- + "line\022K\n\016container_spec\030\t \001(\0132..google.cl"
- + "oud.aiplatform.v1.ModelContainerSpecB\003\340A"
- + "\004\022\031\n\014artifact_uri\030\032 \001(\tB\003\340A\005\022l\n$supporte"
- + "d_deployment_resources_types\030\n \003(\01629.goo"
- + "gle.cloud.aiplatform.v1.Model.Deployment"
- + "ResourcesTypeB\003\340A\003\022,\n\037supported_input_st"
- + "orage_formats\030\013 \003(\tB\003\340A\003\022-\n supported_ou"
- + "tput_storage_formats\030\014 \003(\tB\003\340A\003\0224\n\013creat"
- + "e_time\030\r \001(\0132\032.google.protobuf.Timestamp"
- + "B\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.google.prot"
- + "obuf.TimestampB\003\340A\003\022J\n\017deployed_models\030\017"
- + " \003(\0132,.google.cloud.aiplatform.v1.Deploy"
- + "edModelRefB\003\340A\003\022E\n\020explanation_spec\030\027 \001("
- + "\0132+.google.cloud.aiplatform.v1.Explanati"
- + "onSpec\022\014\n\004etag\030\020 \001(\t\022=\n\006labels\030\021 \003(\0132-.g"
- + "oogle.cloud.aiplatform.v1.Model.LabelsEn"
- + "try\022C\n\017encryption_spec\030\030 \001(\0132*.google.cl"
- + "oud.aiplatform.v1.EncryptionSpec\032\325\001\n\014Exp"
- + "ortFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022b\n\023exportable"
- + "_contents\030\002 \003(\0162@.google.cloud.aiplatfor"
- + "m.v1.Model.ExportFormat.ExportableConten"
- + "tB\003\340A\003\"P\n\021ExportableContent\022\"\n\036EXPORTABL"
- + "E_CONTENT_UNSPECIFIED\020\000\022\014\n\010ARTIFACT\020\001\022\t\n"
- + "\005IMAGE\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
- + "value\030\002 \001(\t:\0028\001\"v\n\027DeploymentResourcesTy"
- + "pe\022)\n%DEPLOYMENT_RESOURCES_TYPE_UNSPECIF"
- + "IED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027\n\023AUTOMA"
- + "TIC_RESOURCES\020\002:\\\352AY\n\037aiplatform.googlea"
- + "pis.com/Model\0226projects/{project}/locati"
- + "ons/{location}/models/{model}\"{\n\017Predict"
- + "Schemata\022 \n\023instance_schema_uri\030\001 \001(\tB\003\340"
- + "A\005\022\"\n\025parameters_schema_uri\030\002 \001(\tB\003\340A\005\022\""
- + "\n\025prediction_schema_uri\030\003 \001(\tB\003\340A\005\"\373\001\n\022M"
- + "odelContainerSpec\022\031\n\timage_uri\030\001 \001(\tB\006\340A"
- + "\002\340A\005\022\024\n\007command\030\002 \003(\tB\003\340A\005\022\021\n\004args\030\003 \003(\t"
- + "B\003\340A\005\0224\n\003env\030\004 \003(\0132\".google.cloud.aiplat"
- + "form.v1.EnvVarB\003\340A\005\0224\n\005ports\030\005 \003(\0132 .goo"
- + "gle.cloud.aiplatform.v1.PortB\003\340A\005\022\032\n\rpre"
- + "dict_route\030\006 \001(\tB\003\340A\005\022\031\n\014health_route\030\007 "
- + "\001(\tB\003\340A\005\"\036\n\004Port\022\026\n\016container_port\030\003 \001(\005"
- + "B\316\001\n\036com.google.cloud.aiplatform.v1B\nMod"
- + "elProtoP\001ZDgoogle.golang.org/genproto/go"
- + "ogleapis/cloud/aiplatform/v1;aiplatform\252"
- + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl"
- + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla"
- + "tform::V1b\006proto3"
+ + "\022\032google.cloud.aiplatform.v1\032\037google/api"
+ + "/field_behavior.proto\032\031google/api/resour"
+ + "ce.proto\0323google/cloud/aiplatform/v1/dep"
+ + "loyed_model_ref.proto\0320google/cloud/aipl"
+ + "atform/v1/encryption_spec.proto\032(google/"
+ + "cloud/aiplatform/v1/env_var.proto\032,googl"
+ + "e/cloud/aiplatform/v1/explanation.proto\032"
+ + "\034google/protobuf/struct.proto\032\037google/pr"
+ + "otobuf/timestamp.proto\"\244\014\n\005Model\022\014\n\004name"
+ + "\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013des"
+ + "cription\030\003 \001(\t\022E\n\020predict_schemata\030\004 \001(\013"
+ + "2+.google.cloud.aiplatform.v1.PredictSch"
+ + "emata\022 \n\023metadata_schema_uri\030\005 \001(\tB\003\340A\005\022"
+ + "-\n\010metadata\030\006 \001(\0132\026.google.protobuf.Valu"
+ + "eB\003\340A\005\022U\n\030supported_export_formats\030\024 \003(\013"
+ + "2..google.cloud.aiplatform.v1.Model.Expo"
+ + "rtFormatB\003\340A\003\022M\n\021training_pipeline\030\007 \001(\t"
+ + "B2\340A\003\372A,\n*aiplatform.googleapis.com/Trai"
+ + "ningPipeline\022K\n\016container_spec\030\t \001(\0132..g"
+ + "oogle.cloud.aiplatform.v1.ModelContainer"
+ + "SpecB\003\340A\004\022\031\n\014artifact_uri\030\032 \001(\tB\003\340A\005\022l\n$"
+ + "supported_deployment_resources_types\030\n \003"
+ + "(\01629.google.cloud.aiplatform.v1.Model.De"
+ + "ploymentResourcesTypeB\003\340A\003\022,\n\037supported_"
+ + "input_storage_formats\030\013 \003(\tB\003\340A\003\022-\n supp"
+ + "orted_output_storage_formats\030\014 \003(\tB\003\340A\003\022"
+ + "4\n\013create_time\030\r \001(\0132\032.google.protobuf.T"
+ + "imestampB\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.goo"
+ + "gle.protobuf.TimestampB\003\340A\003\022J\n\017deployed_"
+ + "models\030\017 \003(\0132,.google.cloud.aiplatform.v"
+ + "1.DeployedModelRefB\003\340A\003\022E\n\020explanation_s"
+ + "pec\030\027 \001(\0132+.google.cloud.aiplatform.v1.E"
+ + "xplanationSpec\022\014\n\004etag\030\020 \001(\t\022=\n\006labels\030\021"
+ + " \003(\0132-.google.cloud.aiplatform.v1.Model."
+ + "LabelsEntry\022C\n\017encryption_spec\030\030 \001(\0132*.g"
+ + "oogle.cloud.aiplatform.v1.EncryptionSpec"
+ + "\032\325\001\n\014ExportFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022b\n\023ex"
+ + "portable_contents\030\002 \003(\0162@.google.cloud.a"
+ + "iplatform.v1.Model.ExportFormat.Exportab"
+ + "leContentB\003\340A\003\"P\n\021ExportableContent\022\"\n\036E"
+ + "XPORTABLE_CONTENT_UNSPECIFIED\020\000\022\014\n\010ARTIF"
+ + "ACT\020\001\022\t\n\005IMAGE\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001"
+ + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"v\n\027DeploymentRes"
+ + "ourcesType\022)\n%DEPLOYMENT_RESOURCES_TYPE_"
+ + "UNSPECIFIED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027"
+ + "\n\023AUTOMATIC_RESOURCES\020\002:\\\352AY\n\037aiplatform"
+ + ".googleapis.com/Model\0226projects/{project"
+ + "}/locations/{location}/models/{model}\"{\n"
+ + "\017PredictSchemata\022 \n\023instance_schema_uri\030"
+ + "\001 \001(\tB\003\340A\005\022\"\n\025parameters_schema_uri\030\002 \001("
+ + "\tB\003\340A\005\022\"\n\025prediction_schema_uri\030\003 \001(\tB\003\340"
+ + "A\005\"\373\001\n\022ModelContainerSpec\022\031\n\timage_uri\030\001"
+ + " \001(\tB\006\340A\002\340A\005\022\024\n\007command\030\002 \003(\tB\003\340A\005\022\021\n\004ar"
+ + "gs\030\003 \003(\tB\003\340A\005\0224\n\003env\030\004 \003(\0132\".google.clou"
+ + "d.aiplatform.v1.EnvVarB\003\340A\005\0224\n\005ports\030\005 \003"
+ + "(\0132 .google.cloud.aiplatform.v1.PortB\003\340A"
+ + "\005\022\032\n\rpredict_route\030\006 \001(\tB\003\340A\005\022\031\n\014health_"
+ + "route\030\007 \001(\tB\003\340A\005\"\036\n\004Port\022\026\n\016container_po"
+ + "rt\030\003 \001(\005B\316\001\n\036com.google.cloud.aiplatform"
+ + ".v1B\nModelProtoP\001ZDgoogle.golang.org/gen"
+ + "proto/googleapis/cloud/aiplatform/v1;aip"
+ + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G"
+ + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou"
+ + "d::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor(),
com.google.cloud.aiplatform.v1.DeployedModelNameProto.getDescriptor(),
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(),
com.google.cloud.aiplatform.v1.EnvVarProto.getDescriptor(),
@@ -217,10 +213,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.aiplatform.v1.DatasetProto.getDescriptor();
com.google.cloud.aiplatform.v1.DeployedModelNameProto.getDescriptor();
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor();
com.google.cloud.aiplatform.v1.EnvVarProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java
index a317f3bfa..7a984b638 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java
@@ -116,138 +116,135 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ce.proto\022\032google.cloud.aiplatform.v1\032\034go"
+ "ogle/api/annotations.proto\032\027google/api/c"
+ "lient.proto\032\037google/api/field_behavior.p"
- + "roto\032\031google/api/resource.proto\0320google/"
- + "cloud/aiplatform/v1/encryption_spec.prot"
- + "o\032,google/cloud/aiplatform/v1/explanatio"
- + "n.proto\032#google/cloud/aiplatform/v1/io.p"
- + "roto\032&google/cloud/aiplatform/v1/model.p"
- + "roto\0321google/cloud/aiplatform/v1/model_e"
- + "valuation.proto\0327google/cloud/aiplatform"
- + "/v1/model_evaluation_slice.proto\032*google"
- + "/cloud/aiplatform/v1/operation.proto\032#go"
- + "ogle/longrunning/operations.proto\032 googl"
- + "e/protobuf/field_mask.proto\"\206\001\n\022UploadMo"
- + "delRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca"
- + "tions.googleapis.com/Location\0225\n\005model\030\002"
- + " \001(\0132!.google.cloud.aiplatform.v1.ModelB"
- + "\003\340A\002\"n\n\034UploadModelOperationMetadata\022N\n\020"
- + "generic_metadata\030\001 \001(\01324.google.cloud.ai"
- + "platform.v1.GenericOperationMetadata\"J\n\023"
- + "UploadModelResponse\0223\n\005model\030\001 \001(\tB$\372A!\n"
- + "\037aiplatform.googleapis.com/Model\"H\n\017GetM"
- + "odelRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aipla"
- + "tform.googleapis.com/Model\"\306\001\n\021ListModel"
- + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati"
- + "ons.googleapis.com/Location\022\016\n\006filter\030\002 "
- + "\001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001"
- + "(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.protobuf."
- + "FieldMask\022\020\n\010order_by\030\006 \001(\t\"`\n\022ListModel"
- + "sResponse\0221\n\006models\030\001 \003(\0132!.google.cloud"
- + ".aiplatform.v1.Model\022\027\n\017next_page_token\030"
- + "\002 \001(\t\"\201\001\n\022UpdateModelRequest\0225\n\005model\030\001 "
- + "\001(\0132!.google.cloud.aiplatform.v1.ModelB\003"
- + "\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protob"
- + "uf.FieldMaskB\003\340A\002\"K\n\022DeleteModelRequest\022"
- + "5\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.google"
- + "apis.com/Model\"\356\002\n\022ExportModelRequest\0225\n"
- + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleap"
- + "is.com/Model\022W\n\routput_config\030\002 \001(\0132;.go"
- + "ogle.cloud.aiplatform.v1.ExportModelRequ"
- + "est.OutputConfigB\003\340A\002\032\307\001\n\014OutputConfig\022\030"
- + "\n\020export_format_id\030\001 \001(\t\022H\n\024artifact_des"
- + "tination\030\003 \001(\0132*.google.cloud.aiplatform"
- + ".v1.GcsDestination\022S\n\021image_destination\030"
- + "\004 \001(\01328.google.cloud.aiplatform.v1.Conta"
- + "inerRegistryDestination\"\234\002\n\034ExportModelO"
- + "perationMetadata\022N\n\020generic_metadata\030\001 \001"
- + "(\01324.google.cloud.aiplatform.v1.GenericO"
- + "perationMetadata\022]\n\013output_info\030\002 \001(\0132C."
- + "google.cloud.aiplatform.v1.ExportModelOp"
- + "erationMetadata.OutputInfoB\003\340A\003\032M\n\nOutpu"
- + "tInfo\022 \n\023artifact_output_uri\030\002 \001(\tB\003\340A\003\022"
- + "\035\n\020image_output_uri\030\003 \001(\tB\003\340A\003\"\025\n\023Export"
- + "ModelResponse\"\\\n\031GetModelEvaluationReque"
- + "st\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.goo"
- + "gleapis.com/ModelEvaluation\"\274\001\n\033ListMode"
- + "lEvaluationsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002"
- + "\372A!\n\037aiplatform.googleapis.com/Model\022\016\n\006"
- + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
- + "token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google."
- + "protobuf.FieldMask\"\177\n\034ListModelEvaluatio"
- + "nsResponse\022F\n\021model_evaluations\030\001 \003(\0132+."
- + "google.cloud.aiplatform.v1.ModelEvaluati"
- + "on\022\027\n\017next_page_token\030\002 \001(\t\"f\n\036GetModelE"
- + "valuationSliceRequest\022D\n\004name\030\001 \001(\tB6\340A\002"
- + "\372A0\n.aiplatform.googleapis.com/ModelEval"
- + "uationSlice\"\313\001\n ListModelEvaluationSlice"
- + "sRequest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A+\n)aiplat"
- + "form.googleapis.com/ModelEvaluation\022\016\n\006f"
- + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t"
- + "oken\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.p"
- + "rotobuf.FieldMask\"\217\001\n!ListModelEvaluatio"
- + "nSlicesResponse\022Q\n\027model_evaluation_slic"
- + "es\030\001 \003(\01320.google.cloud.aiplatform.v1.Mo"
- + "delEvaluationSlice\022\027\n\017next_page_token\030\002 "
- + "\001(\t2\327\020\n\014ModelService\022\340\001\n\013UploadModel\022..g"
- + "oogle.cloud.aiplatform.v1.UploadModelReq"
- + "uest\032\035.google.longrunning.Operation\"\201\001\202\323"
- + "\344\223\0026\"1/v1/{parent=projects/*/locations/*"
- + "}/models:upload:\001*\332A\014parent,model\312A3\n\023Up"
- + "loadModelResponse\022\034UploadModelOperationM"
- + "etadata\022\225\001\n\010GetModel\022+.google.cloud.aipl"
- + "atform.v1.GetModelRequest\032!.google.cloud"
- + ".aiplatform.v1.Model\"9\202\323\344\223\002,\022*/v1/{name="
- + "projects/*/locations/*/models/*}\332A\004name\022"
- + "\250\001\n\nListModels\022-.google.cloud.aiplatform"
- + ".v1.ListModelsRequest\032..google.cloud.aip"
- + "latform.v1.ListModelsResponse\";\202\323\344\223\002,\022*/"
- + "v1/{parent=projects/*/locations/*}/model"
- + "s\332A\006parent\022\265\001\n\013UpdateModel\022..google.clou"
- + "d.aiplatform.v1.UpdateModelRequest\032!.goo"
- + "gle.cloud.aiplatform.v1.Model\"S\202\323\344\223\002920/"
- + "v1/{model.name=projects/*/locations/*/mo"
- + "dels/*}:\005model\332A\021model,update_mask\022\312\001\n\013D"
- + "eleteModel\022..google.cloud.aiplatform.v1."
- + "DeleteModelRequest\032\035.google.longrunning."
- + "Operation\"l\202\323\344\223\002,**/v1/{name=projects/*/"
- + "locations/*/models/*}\332A\004name\312A0\n\025google."
- + "protobuf.Empty\022\027DeleteOperationMetadata\022"
- + "\346\001\n\013ExportModel\022..google.cloud.aiplatfor"
- + "m.v1.ExportModelRequest\032\035.google.longrun"
- + "ning.Operation\"\207\001\202\323\344\223\0026\"1/v1/{name=proje"
- + "cts/*/locations/*/models/*}:export:\001*\332A\022"
- + "name,output_config\312A3\n\023ExportModelRespon"
- + "se\022\034ExportModelOperationMetadata\022\301\001\n\022Get"
- + "ModelEvaluation\0225.google.cloud.aiplatfor"
- + "m.v1.GetModelEvaluationRequest\032+.google."
- + "cloud.aiplatform.v1.ModelEvaluation\"G\202\323\344"
- + "\223\002:\0228/v1/{name=projects/*/locations/*/mo"
- + "dels/*/evaluations/*}\332A\004name\022\324\001\n\024ListMod"
- + "elEvaluations\0227.google.cloud.aiplatform."
- + "v1.ListModelEvaluationsRequest\0328.google."
- + "cloud.aiplatform.v1.ListModelEvaluations"
- + "Response\"I\202\323\344\223\002:\0228/v1/{parent=projects/*"
- + "/locations/*/models/*}/evaluations\332A\006par"
- + "ent\022\331\001\n\027GetModelEvaluationSlice\022:.google"
- + ".cloud.aiplatform.v1.GetModelEvaluationS"
- + "liceRequest\0320.google.cloud.aiplatform.v1"
- + ".ModelEvaluationSlice\"P\202\323\344\223\002C\022A/v1/{name"
- + "=projects/*/locations/*/models/*/evaluat"
- + "ions/*/slices/*}\332A\004name\022\354\001\n\031ListModelEva"
- + "luationSlices\022<.google.cloud.aiplatform."
- + "v1.ListModelEvaluationSlicesRequest\032=.go"
- + "ogle.cloud.aiplatform.v1.ListModelEvalua"
- + "tionSlicesResponse\"R\202\323\344\223\002C\022A/v1/{parent="
- + "projects/*/locations/*/models/*/evaluati"
- + "ons/*}/slices\332A\006parent\032M\312A\031aiplatform.go"
- + "ogleapis.com\322A.https://www.googleapis.co"
- + "m/auth/cloud-platformB\325\001\n\036com.google.clo"
- + "ud.aiplatform.v1B\021ModelServiceProtoP\001ZDg"
- + "oogle.golang.org/genproto/googleapis/clo"
- + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo"
- + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo"
- + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p"
- + "roto3"
+ + "roto\032\031google/api/resource.proto\032#google/"
+ + "cloud/aiplatform/v1/io.proto\032&google/clo"
+ + "ud/aiplatform/v1/model.proto\0321google/clo"
+ + "ud/aiplatform/v1/model_evaluation.proto\032"
+ + "7google/cloud/aiplatform/v1/model_evalua"
+ + "tion_slice.proto\032*google/cloud/aiplatfor"
+ + "m/v1/operation.proto\032#google/longrunning"
+ + "/operations.proto\032 google/protobuf/field"
+ + "_mask.proto\"\206\001\n\022UploadModelRequest\0229\n\006pa"
+ + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis"
+ + ".com/Location\0225\n\005model\030\002 \001(\0132!.google.cl"
+ + "oud.aiplatform.v1.ModelB\003\340A\002\"n\n\034UploadMo"
+ + "delOperationMetadata\022N\n\020generic_metadata"
+ + "\030\001 \001(\01324.google.cloud.aiplatform.v1.Gene"
+ + "ricOperationMetadata\"J\n\023UploadModelRespo"
+ + "nse\0223\n\005model\030\001 \001(\tB$\372A!\n\037aiplatform.goog"
+ + "leapis.com/Model\"H\n\017GetModelRequest\0225\n\004n"
+ + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis"
+ + ".com/Model\"\306\001\n\021ListModelsRequest\0229\n\006pare"
+ + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c"
+ + "om/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size"
+ + "\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030"
+ + "\005 \001(\0132\032.google.protobuf.FieldMask\022\020\n\010ord"
+ + "er_by\030\006 \001(\t\"`\n\022ListModelsResponse\0221\n\006mod"
+ + "els\030\001 \003(\0132!.google.cloud.aiplatform.v1.M"
+ + "odel\022\027\n\017next_page_token\030\002 \001(\t\"\201\001\n\022Update"
+ + "ModelRequest\0225\n\005model\030\001 \001(\0132!.google.clo"
+ + "ud.aiplatform.v1.ModelB\003\340A\002\0224\n\013update_ma"
+ + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A"
+ + "\002\"K\n\022DeleteModelRequest\0225\n\004name\030\001 \001(\tB\'\340"
+ + "A\002\372A!\n\037aiplatform.googleapis.com/Model\"\356"
+ + "\002\n\022ExportModelRequest\0225\n\004name\030\001 \001(\tB\'\340A\002"
+ + "\372A!\n\037aiplatform.googleapis.com/Model\022W\n\r"
+ + "output_config\030\002 \001(\0132;.google.cloud.aipla"
+ + "tform.v1.ExportModelRequest.OutputConfig"
+ + "B\003\340A\002\032\307\001\n\014OutputConfig\022\030\n\020export_format_"
+ + "id\030\001 \001(\t\022H\n\024artifact_destination\030\003 \001(\0132*"
+ + ".google.cloud.aiplatform.v1.GcsDestinati"
+ + "on\022S\n\021image_destination\030\004 \001(\01328.google.c"
+ + "loud.aiplatform.v1.ContainerRegistryDest"
+ + "ination\"\234\002\n\034ExportModelOperationMetadata"
+ + "\022N\n\020generic_metadata\030\001 \001(\01324.google.clou"
+ + "d.aiplatform.v1.GenericOperationMetadata"
+ + "\022]\n\013output_info\030\002 \001(\0132C.google.cloud.aip"
+ + "latform.v1.ExportModelOperationMetadata."
+ + "OutputInfoB\003\340A\003\032M\n\nOutputInfo\022 \n\023artifac"
+ + "t_output_uri\030\002 \001(\tB\003\340A\003\022\035\n\020image_output_"
+ + "uri\030\003 \001(\tB\003\340A\003\"\025\n\023ExportModelResponse\"\\\n"
+ + "\031GetModelEvaluationRequest\022?\n\004name\030\001 \001(\t"
+ + "B1\340A\002\372A+\n)aiplatform.googleapis.com/Mode"
+ + "lEvaluation\"\274\001\n\033ListModelEvaluationsRequ"
+ + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform."
+ + "googleapis.com/Model\022\016\n\006filter\030\002 \001(\t\022\021\n\t"
+ + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tr"
+ + "ead_mask\030\005 \001(\0132\032.google.protobuf.FieldMa"
+ + "sk\"\177\n\034ListModelEvaluationsResponse\022F\n\021mo"
+ + "del_evaluations\030\001 \003(\0132+.google.cloud.aip"
+ + "latform.v1.ModelEvaluation\022\027\n\017next_page_"
+ + "token\030\002 \001(\t\"f\n\036GetModelEvaluationSliceRe"
+ + "quest\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.aiplatform."
+ + "googleapis.com/ModelEvaluationSlice\"\313\001\n "
+ + "ListModelEvaluationSlicesRequest\022A\n\006pare"
+ + "nt\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googleapis."
+ + "com/ModelEvaluation\022\016\n\006filter\030\002 \001(\t\022\021\n\tp"
+ + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tre"
+ + "ad_mask\030\005 \001(\0132\032.google.protobuf.FieldMas"
+ + "k\"\217\001\n!ListModelEvaluationSlicesResponse\022"
+ + "Q\n\027model_evaluation_slices\030\001 \003(\01320.googl"
+ + "e.cloud.aiplatform.v1.ModelEvaluationSli"
+ + "ce\022\027\n\017next_page_token\030\002 \001(\t2\327\020\n\014ModelSer"
+ + "vice\022\340\001\n\013UploadModel\022..google.cloud.aipl"
+ + "atform.v1.UploadModelRequest\032\035.google.lo"
+ + "ngrunning.Operation\"\201\001\202\323\344\223\0026\"1/v1/{paren"
+ + "t=projects/*/locations/*}/models:upload:"
+ + "\001*\332A\014parent,model\312A3\n\023UploadModelRespons"
+ + "e\022\034UploadModelOperationMetadata\022\225\001\n\010GetM"
+ + "odel\022+.google.cloud.aiplatform.v1.GetMod"
+ + "elRequest\032!.google.cloud.aiplatform.v1.M"
+ + "odel\"9\202\323\344\223\002,\022*/v1/{name=projects/*/locat"
+ + "ions/*/models/*}\332A\004name\022\250\001\n\nListModels\022-"
+ + ".google.cloud.aiplatform.v1.ListModelsRe"
+ + "quest\032..google.cloud.aiplatform.v1.ListM"
+ + "odelsResponse\";\202\323\344\223\002,\022*/v1/{parent=proje"
+ + "cts/*/locations/*}/models\332A\006parent\022\265\001\n\013U"
+ + "pdateModel\022..google.cloud.aiplatform.v1."
+ + "UpdateModelRequest\032!.google.cloud.aiplat"
+ + "form.v1.Model\"S\202\323\344\223\002920/v1/{model.name=p"
+ + "rojects/*/locations/*/models/*}:\005model\332A"
+ + "\021model,update_mask\022\312\001\n\013DeleteModel\022..goo"
+ + "gle.cloud.aiplatform.v1.DeleteModelReque"
+ + "st\032\035.google.longrunning.Operation\"l\202\323\344\223\002"
+ + ",**/v1/{name=projects/*/locations/*/mode"
+ + "ls/*}\332A\004name\312A0\n\025google.protobuf.Empty\022\027"
+ + "DeleteOperationMetadata\022\346\001\n\013ExportModel\022"
+ + "..google.cloud.aiplatform.v1.ExportModel"
+ + "Request\032\035.google.longrunning.Operation\"\207"
+ + "\001\202\323\344\223\0026\"1/v1/{name=projects/*/locations/"
+ + "*/models/*}:export:\001*\332A\022name,output_conf"
+ + "ig\312A3\n\023ExportModelResponse\022\034ExportModelO"
+ + "perationMetadata\022\301\001\n\022GetModelEvaluation\022"
+ + "5.google.cloud.aiplatform.v1.GetModelEva"
+ + "luationRequest\032+.google.cloud.aiplatform"
+ + ".v1.ModelEvaluation\"G\202\323\344\223\002:\0228/v1/{name=p"
+ + "rojects/*/locations/*/models/*/evaluatio"
+ + "ns/*}\332A\004name\022\324\001\n\024ListModelEvaluations\0227."
+ + "google.cloud.aiplatform.v1.ListModelEval"
+ + "uationsRequest\0328.google.cloud.aiplatform"
+ + ".v1.ListModelEvaluationsResponse\"I\202\323\344\223\002:"
+ + "\0228/v1/{parent=projects/*/locations/*/mod"
+ + "els/*}/evaluations\332A\006parent\022\331\001\n\027GetModel"
+ + "EvaluationSlice\022:.google.cloud.aiplatfor"
+ + "m.v1.GetModelEvaluationSliceRequest\0320.go"
+ + "ogle.cloud.aiplatform.v1.ModelEvaluation"
+ + "Slice\"P\202\323\344\223\002C\022A/v1/{name=projects/*/loca"
+ + "tions/*/models/*/evaluations/*/slices/*}"
+ + "\332A\004name\022\354\001\n\031ListModelEvaluationSlices\022<."
+ + "google.cloud.aiplatform.v1.ListModelEval"
+ + "uationSlicesRequest\032=.google.cloud.aipla"
+ + "tform.v1.ListModelEvaluationSlicesRespon"
+ + "se\"R\202\323\344\223\002C\022A/v1/{parent=projects/*/locat"
+ + "ions/*/models/*/evaluations/*}/slices\332A\006"
+ + "parent\032M\312A\031aiplatform.googleapis.com\322A.h"
+ + "ttps://www.googleapis.com/auth/cloud-pla"
+ + "tformB\325\001\n\036com.google.cloud.aiplatform.v1"
+ + "B\021ModelServiceProtoP\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(
@@ -257,8 +254,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
- com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(),
- com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor(),
com.google.cloud.aiplatform.v1.IoProto.getDescriptor(),
com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(),
com.google.cloud.aiplatform.v1.ModelEvaluationProto.getDescriptor(),
@@ -436,8 +431,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
- com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor();
- com.google.cloud.aiplatform.v1.ExplanationProto.getDescriptor();
com.google.cloud.aiplatform.v1.IoProto.getDescriptor();
com.google.cloud.aiplatform.v1.ModelProto.getDescriptor();
com.google.cloud.aiplatform.v1.ModelEvaluationProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java
index 00b48b05b..20d099390 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java
@@ -45,29 +45,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n*google/cloud/aiplatform/v1/operation.p"
- + "roto\022\032google.cloud.aiplatform.v1\032\034google"
- + "/api/annotations.proto\032\037google/api/field"
- + "_behavior.proto\032\037google/protobuf/timesta"
- + "mp.proto\032\027google/rpc/status.proto\"\271\001\n\030Ge"
- + "nericOperationMetadata\0221\n\020partial_failur"
- + "es\030\001 \003(\0132\022.google.rpc.StatusB\003\340A\003\0224\n\013cre"
- + "ate_time\030\002 \001(\0132\032.google.protobuf.Timesta"
- + "mpB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.pr"
- + "otobuf.TimestampB\003\340A\003\"i\n\027DeleteOperation"
- + "Metadata\022N\n\020generic_metadata\030\001 \001(\01324.goo"
- + "gle.cloud.aiplatform.v1.GenericOperation"
- + "MetadataB\322\001\n\036com.google.cloud.aiplatform"
- + ".v1B\016OperationProtoP\001ZDgoogle.golang.org"
- + "/genproto/googleapis/cloud/aiplatform/v1"
- + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1"
- + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::"
- + "Cloud::AIPlatform::V1b\006proto3"
+ + "roto\022\032google.cloud.aiplatform.v1\032\037google"
+ + "/api/field_behavior.proto\032\037google/protob"
+ + "uf/timestamp.proto\032\027google/rpc/status.pr"
+ + "oto\"\271\001\n\030GenericOperationMetadata\0221\n\020part"
+ + "ial_failures\030\001 \003(\0132\022.google.rpc.StatusB\003"
+ + "\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.protob"
+ + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032"
+ + ".google.protobuf.TimestampB\003\340A\003\"i\n\027Delet"
+ + "eOperationMetadata\022N\n\020generic_metadata\030\001"
+ + " \001(\01324.google.cloud.aiplatform.v1.Generi"
+ + "cOperationMetadataB\322\001\n\036com.google.cloud."
+ + "aiplatform.v1B\016OperationProtoP\001ZDgoogle."
+ + "golang.org/genproto/googleapis/cloud/aip"
+ + "latform/v1;aiplatform\252\002\032Google.Cloud.AIP"
+ + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352"
+ + "\002\035Google::Cloud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.rpc.StatusProto.getDescriptor(),
@@ -93,7 +91,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
index 3e905e036..0b86d621c 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java
@@ -93,120 +93,119 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n-google/cloud/aiplatform/v1/pipeline_jo"
- + "b.proto\022\032google.cloud.aiplatform.v1\032\034goo"
- + "gle/api/annotations.proto\032\037google/api/fi"
- + "eld_behavior.proto\032\031google/api/resource."
- + "proto\032)google/cloud/aiplatform/v1/artifa"
- + "ct.proto\032(google/cloud/aiplatform/v1/con"
- + "text.proto\0320google/cloud/aiplatform/v1/e"
- + "ncryption_spec.proto\032*google/cloud/aipla"
- + "tform/v1/execution.proto\032/google/cloud/a"
- + "iplatform/v1/pipeline_state.proto\032&googl"
- + "e/cloud/aiplatform/v1/value.proto\032\034googl"
- + "e/protobuf/struct.proto\032\037google/protobuf"
- + "/timestamp.proto\032\027google/rpc/status.prot"
- + "o\"\326\n\n\013PipelineJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014"
- + "display_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132"
- + "\032.google.protobuf.TimestampB\003\340A\003\0223\n\nstar"
- + "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp"
- + "B\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobu"
- + "f.TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032."
- + "google.protobuf.TimestampB\003\340A\003\0223\n\rpipeli"
- + "ne_spec\030\007 \001(\0132\027.google.protobuf.StructB\003"
- + "\340A\002\022=\n\005state\030\010 \001(\0162).google.cloud.aiplat"
- + "form.v1.PipelineStateB\003\340A\003\022F\n\njob_detail"
- + "\030\t \001(\0132-.google.cloud.aiplatform.v1.Pipe"
- + "lineJobDetailB\003\340A\003\022&\n\005error\030\n \001(\0132\022.goog"
- + "le.rpc.StatusB\003\340A\003\022C\n\006labels\030\013 \003(\01323.goo"
- + "gle.cloud.aiplatform.v1.PipelineJob.Labe"
- + "lsEntry\022M\n\016runtime_config\030\014 \001(\01325.google"
- + ".cloud.aiplatform.v1.PipelineJob.Runtime"
- + "Config\022C\n\017encryption_spec\030\020 \001(\0132*.google"
- + ".cloud.aiplatform.v1.EncryptionSpec\022\027\n\017s"
- + "ervice_account\030\021 \001(\t\0224\n\007network\030\022 \001(\tB#\372"
- + "A \n\036compute.googleapis.com/Network\032\235\003\n\rR"
- + "untimeConfig\022]\n\nparameters\030\001 \003(\0132E.googl"
- + "e.cloud.aiplatform.v1.PipelineJob.Runtim"
- + "eConfig.ParametersEntryB\002\030\001\022!\n\024gcs_outpu"
- + "t_directory\030\002 \001(\tB\003\340A\002\022d\n\020parameter_valu"
- + "es\030\003 \003(\0132J.google.cloud.aiplatform.v1.Pi"
- + "pelineJob.RuntimeConfig.ParameterValuesE"
- + "ntry\032T\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\0220\n\005"
- + "value\030\002 \001(\0132!.google.cloud.aiplatform.v1"
- + ".Value:\0028\001\032N\n\024ParameterValuesEntry\022\013\n\003ke"
- + "y\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf"
- + ".Value:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r"
- + "\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%aiplatform.googl"
- + "eapis.com/PipelineJob\022Cprojects/{project"
- + "}/locations/{location}/pipelineJobs/{pip"
- + "eline_job}\"\352\001\n\021PipelineJobDetail\022B\n\020pipe"
- + "line_context\030\001 \001(\0132#.google.cloud.aiplat"
- + "form.v1.ContextB\003\340A\003\022F\n\024pipeline_run_con"
- + "text\030\002 \001(\0132#.google.cloud.aiplatform.v1."
- + "ContextB\003\340A\003\022I\n\014task_details\030\003 \003(\0132..goo"
+ + "b.proto\022\032google.cloud.aiplatform.v1\032\037goo"
+ + "gle/api/field_behavior.proto\032\031google/api"
+ + "/resource.proto\032)google/cloud/aiplatform"
+ + "/v1/artifact.proto\032(google/cloud/aiplatf"
+ + "orm/v1/context.proto\0320google/cloud/aipla"
+ + "tform/v1/encryption_spec.proto\032*google/c"
+ + "loud/aiplatform/v1/execution.proto\032/goog"
+ + "le/cloud/aiplatform/v1/pipeline_state.pr"
+ + "oto\032&google/cloud/aiplatform/v1/value.pr"
+ + "oto\032\034google/protobuf/struct.proto\032\037googl"
+ + "e/protobuf/timestamp.proto\032\027google/rpc/s"
+ + "tatus.proto\"\326\n\n\013PipelineJob\022\021\n\004name\030\001 \001("
+ + "\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\0224\n\013create_t"
+ + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340"
+ + "A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.protobuf"
+ + ".TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.goog"
+ + "le.protobuf.TimestampB\003\340A\003\0224\n\013update_tim"
+ + "e\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
+ + "\0223\n\rpipeline_spec\030\007 \001(\0132\027.google.protobu"
+ + "f.StructB\003\340A\002\022=\n\005state\030\010 \001(\0162).google.cl"
+ + "oud.aiplatform.v1.PipelineStateB\003\340A\003\022F\n\n"
+ + "job_detail\030\t \001(\0132-.google.cloud.aiplatfo"
+ + "rm.v1.PipelineJobDetailB\003\340A\003\022&\n\005error\030\n "
+ + "\001(\0132\022.google.rpc.StatusB\003\340A\003\022C\n\006labels\030\013"
+ + " \003(\01323.google.cloud.aiplatform.v1.Pipeli"
+ + "neJob.LabelsEntry\022M\n\016runtime_config\030\014 \001("
+ + "\01325.google.cloud.aiplatform.v1.PipelineJ"
+ + "ob.RuntimeConfig\022C\n\017encryption_spec\030\020 \001("
+ + "\0132*.google.cloud.aiplatform.v1.Encryptio"
+ + "nSpec\022\027\n\017service_account\030\021 \001(\t\0224\n\007networ"
+ + "k\030\022 \001(\tB#\372A \n\036compute.googleapis.com/Net"
+ + "work\032\235\003\n\rRuntimeConfig\022]\n\nparameters\030\001 \003"
+ + "(\0132E.google.cloud.aiplatform.v1.Pipeline"
+ + "Job.RuntimeConfig.ParametersEntryB\002\030\001\022!\n"
+ + "\024gcs_output_directory\030\002 \001(\tB\003\340A\002\022d\n\020para"
+ + "meter_values\030\003 \003(\0132J.google.cloud.aiplat"
+ + "form.v1.PipelineJob.RuntimeConfig.Parame"
+ + "terValuesEntry\032T\n\017ParametersEntry\022\013\n\003key"
+ + "\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.cloud.aip"
+ + "latform.v1.Value:\0028\001\032N\n\024ParameterValuesE"
+ + "ntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.googl"
+ + "e.protobuf.Value:\0028\001\032-\n\013LabelsEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:o\352Al\n%aiplat"
+ + "form.googleapis.com/PipelineJob\022Cproject"
+ + "s/{project}/locations/{location}/pipelin"
+ + "eJobs/{pipeline_job}\"\352\001\n\021PipelineJobDeta"
+ + "il\022B\n\020pipeline_context\030\001 \001(\0132#.google.cl"
+ + "oud.aiplatform.v1.ContextB\003\340A\003\022F\n\024pipeli"
+ + "ne_run_context\030\002 \001(\0132#.google.cloud.aipl"
+ + "atform.v1.ContextB\003\340A\003\022I\n\014task_details\030\003"
+ + " \003(\0132..google.cloud.aiplatform.v1.Pipeli"
+ + "neTaskDetailB\003\340A\003\"\235\013\n\022PipelineTaskDetail"
+ + "\022\024\n\007task_id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id"
+ + "\030\014 \001(\003B\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013c"
+ + "reate_time\030\003 \001(\0132\032.google.protobuf.Times"
+ + "tampB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.p"
+ + "rotobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\013"
+ + "2\032.google.protobuf.TimestampB\003\340A\003\022T\n\017exe"
+ + "cutor_detail\030\006 \001(\01326.google.cloud.aiplat"
+ + "form.v1.PipelineTaskExecutorDetailB\003\340A\003\022"
+ + "H\n\005state\030\007 \001(\01624.google.cloud.aiplatform"
+ + ".v1.PipelineTaskDetail.StateB\003\340A\003\022=\n\texe"
+ + "cution\030\010 \001(\0132%.google.cloud.aiplatform.v"
+ + "1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\0132\022.google"
+ + ".rpc.StatusB\003\340A\003\022d\n\024pipeline_task_status"
+ + "\030\r \003(\0132A.google.cloud.aiplatform.v1.Pipe"
+ + "lineTaskDetail.PipelineTaskStatusB\003\340A\003\022O"
+ + "\n\006inputs\030\n \003(\0132:.google.cloud.aiplatform"
+ + ".v1.PipelineTaskDetail.InputsEntryB\003\340A\003\022"
+ + "Q\n\007outputs\030\013 \003(\0132;.google.cloud.aiplatfo"
+ + "rm.v1.PipelineTaskDetail.OutputsEntryB\003\340"
+ + "A\003\032\274\001\n\022PipelineTaskStatus\0224\n\013update_time"
+ + "\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
+ + "H\n\005state\030\002 \001(\01624.google.cloud.aiplatform"
+ + ".v1.PipelineTaskDetail.StateB\003\340A\003\022&\n\005err"
+ + "or\030\003 \001(\0132\022.google.rpc.StatusB\003\340A\003\032L\n\014Art"
+ + "ifactList\022<\n\tartifacts\030\001 \003(\0132$.google.cl"
+ + "oud.aiplatform.v1.ArtifactB\003\340A\003\032j\n\013Input"
+ + "sEntry\022\013\n\003key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.goo"
+ "gle.cloud.aiplatform.v1.PipelineTaskDeta"
- + "ilB\003\340A\003\"\235\013\n\022PipelineTaskDetail\022\024\n\007task_i"
- + "d\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id\030\014 \001(\003B\003\340A"
- + "\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013create_time"
- + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
- + "3\n\nstart_time\030\004 \001(\0132\032.google.protobuf.Ti"
- + "mestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google."
- + "protobuf.TimestampB\003\340A\003\022T\n\017executor_deta"
- + "il\030\006 \001(\01326.google.cloud.aiplatform.v1.Pi"
- + "pelineTaskExecutorDetailB\003\340A\003\022H\n\005state\030\007"
- + " \001(\01624.google.cloud.aiplatform.v1.Pipeli"
- + "neTaskDetail.StateB\003\340A\003\022=\n\texecution\030\010 \001"
- + "(\0132%.google.cloud.aiplatform.v1.Executio"
- + "nB\003\340A\003\022&\n\005error\030\t \001(\0132\022.google.rpc.Statu"
- + "sB\003\340A\003\022d\n\024pipeline_task_status\030\r \003(\0132A.g"
- + "oogle.cloud.aiplatform.v1.PipelineTaskDe"
- + "tail.PipelineTaskStatusB\003\340A\003\022O\n\006inputs\030\n"
- + " \003(\0132:.google.cloud.aiplatform.v1.Pipeli"
- + "neTaskDetail.InputsEntryB\003\340A\003\022Q\n\007outputs"
- + "\030\013 \003(\0132;.google.cloud.aiplatform.v1.Pipe"
- + "lineTaskDetail.OutputsEntryB\003\340A\003\032\274\001\n\022Pip"
- + "elineTaskStatus\0224\n\013update_time\030\001 \001(\0132\032.g"
- + "oogle.protobuf.TimestampB\003\340A\003\022H\n\005state\030\002"
- + " \001(\01624.google.cloud.aiplatform.v1.Pipeli"
- + "neTaskDetail.StateB\003\340A\003\022&\n\005error\030\003 \001(\0132\022"
- + ".google.rpc.StatusB\003\340A\003\032L\n\014ArtifactList\022"
- + "<\n\tartifacts\030\001 \003(\0132$.google.cloud.aiplat"
- + "form.v1.ArtifactB\003\340A\003\032j\n\013InputsEntry\022\013\n\003"
- + "key\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.cloud."
- + "aiplatform.v1.PipelineTaskDetail.Artifac"
- + "tList:\0028\001\032k\n\014OutputsEntry\022\013\n\003key\030\001 \001(\t\022J"
- + "\n\005value\030\002 \001(\0132;.google.cloud.aiplatform."
- + "v1.PipelineTaskDetail.ArtifactList:\0028\001\"\246"
- + "\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI"
- + "NG\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\022\n\016CANC"
- + "EL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLE"
- + "D\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022\021\n\rNOT_TRIG"
- + "GERED\020\t\"\354\003\n\032PipelineTaskExecutorDetail\022g"
- + "\n\020container_detail\030\001 \001(\0132F.google.cloud."
- + "aiplatform.v1.PipelineTaskExecutorDetail"
- + ".ContainerDetailB\003\340A\003H\000\022j\n\021custom_job_de"
- + "tail\030\002 \001(\0132F.google.cloud.aiplatform.v1."
- + "PipelineTaskExecutorDetail.CustomJobDeta"
- + "ilB\005\030\001\340A\003H\000\032\234\001\n\017ContainerDetail\022=\n\010main_"
- + "job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis"
- + ".com/CustomJob\022J\n\025pre_caching_check_job\030"
- + "\002 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis.com"
- + "/CustomJob\032O\n\017CustomJobDetail\0228\n\003job\030\001 \001"
- + "(\tB+\340A\003\372A%\n#aiplatform.googleapis.com/Cu"
- + "stomJob:\002\030\001B\t\n\007detailsB\235\002\n\036com.google.cl"
- + "oud.aiplatform.v1B\010PipelineP\001ZDgoogle.go"
- + "lang.org/genproto/googleapis/cloud/aipla"
- + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla"
- + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035"
- + "Google::Cloud::AIPlatform::V1\352AN\n\036comput"
- + "e.googleapis.com/Network\022,projects/{proj"
- + "ect}/global/networks/{network}b\006proto3"
+ + "il.ArtifactList:\0028\001\032k\n\014OutputsEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022J\n\005value\030\002 \001(\0132;.google.cloud.a"
+ + "iplatform.v1.PipelineTaskDetail.Artifact"
+ + "List:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020"
+ + "\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED"
+ + "\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022\r"
+ + "\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022\021"
+ + "\n\rNOT_TRIGGERED\020\t\"\354\003\n\032PipelineTaskExecut"
+ + "orDetail\022g\n\020container_detail\030\001 \001(\0132F.goo"
+ + "gle.cloud.aiplatform.v1.PipelineTaskExec"
+ + "utorDetail.ContainerDetailB\003\340A\003H\000\022j\n\021cus"
+ + "tom_job_detail\030\002 \001(\0132F.google.cloud.aipl"
+ + "atform.v1.PipelineTaskExecutorDetail.Cus"
+ + "tomJobDetailB\005\030\001\340A\003H\000\032\234\001\n\017ContainerDetai"
+ + "l\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform."
+ + "googleapis.com/CustomJob\022J\n\025pre_caching_"
+ + "check_job\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.goog"
+ + "leapis.com/CustomJob\032O\n\017CustomJobDetail\022"
+ + "8\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googlea"
+ + "pis.com/CustomJob:\002\030\001B\t\n\007detailsB\235\002\n\036com"
+ + ".google.cloud.aiplatform.v1B\010PipelineP\001Z"
+ + "Dgoogle.golang.org/genproto/googleapis/c"
+ + "loud/aiplatform/v1;aiplatform\252\002\032Google.C"
+ + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat"
+ + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1\352"
+ + "AN\n\036compute.googleapis.com/Network\022,proj"
+ + "ects/{project}/global/networks/{network}"
+ + "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1.ArtifactProto.getDescriptor(),
@@ -381,7 +380,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1.ArtifactProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java
index 6018d60d7..802f1c958 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java
@@ -36,29 +36,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n/google/cloud/aiplatform/v1/pipeline_st"
- + "ate.proto\022\032google.cloud.aiplatform.v1\032\034g"
- + "oogle/api/annotations.proto*\223\002\n\rPipeline"
- + "State\022\036\n\032PIPELINE_STATE_UNSPECIFIED\020\000\022\031\n"
- + "\025PIPELINE_STATE_QUEUED\020\001\022\032\n\026PIPELINE_STA"
- + "TE_PENDING\020\002\022\032\n\026PIPELINE_STATE_RUNNING\020\003"
- + "\022\034\n\030PIPELINE_STATE_SUCCEEDED\020\004\022\031\n\025PIPELI"
- + "NE_STATE_FAILED\020\005\022\035\n\031PIPELINE_STATE_CANC"
- + "ELLING\020\006\022\034\n\030PIPELINE_STATE_CANCELLED\020\007\022\031"
- + "\n\025PIPELINE_STATE_PAUSED\020\010B\326\001\n\036com.google"
- + ".cloud.aiplatform.v1B\022PipelineStateProto"
- + "P\001ZDgoogle.golang.org/genproto/googleapi"
- + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl"
- + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP"
- + "latform\\V1\352\002\035Google::Cloud::AIPlatform::"
- + "V1b\006proto3"
+ + "ate.proto\022\032google.cloud.aiplatform.v1*\223\002"
+ + "\n\rPipelineState\022\036\n\032PIPELINE_STATE_UNSPEC"
+ + "IFIED\020\000\022\031\n\025PIPELINE_STATE_QUEUED\020\001\022\032\n\026PI"
+ + "PELINE_STATE_PENDING\020\002\022\032\n\026PIPELINE_STATE"
+ + "_RUNNING\020\003\022\034\n\030PIPELINE_STATE_SUCCEEDED\020\004"
+ + "\022\031\n\025PIPELINE_STATE_FAILED\020\005\022\035\n\031PIPELINE_"
+ + "STATE_CANCELLING\020\006\022\034\n\030PIPELINE_STATE_CAN"
+ + "CELLED\020\007\022\031\n\025PIPELINE_STATE_PAUSED\020\010B\326\001\n\036"
+ + "com.google.cloud.aiplatform.v1B\022Pipeline"
+ + "StateProtoP\001ZDgoogle.golang.org/genproto"
+ + "/googleapis/cloud/aiplatform/v1;aiplatfo"
+ + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google"
+ + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI"
+ + "Platform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- });
- com.google.api.AnnotationsProto.getDescriptor();
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfig.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfig.java
new file mode 100644
index 000000000..2b1279ce3
--- /dev/null
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictRequestResponseLoggingConfig.java
@@ -0,0 +1,1002 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/aiplatform/v1/endpoint.proto
+
+package com.google.cloud.aiplatform.v1;
+
+/**
+ *
+ *
+ * + * Configuration for logging request-response to a BigQuery table. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig} + */ +public final class PredictRequestResponseLoggingConfig + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) + PredictRequestResponseLoggingConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use PredictRequestResponseLoggingConfig.newBuilder() to construct. + private PredictRequestResponseLoggingConfig( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private PredictRequestResponseLoggingConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PredictRequestResponseLoggingConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PredictRequestResponseLoggingConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + enabled_ = input.readBool(); + break; + } + case 17: + { + samplingRate_ = input.readDouble(); + break; + } + case 26: + { + com.google.cloud.aiplatform.v1.BigQueryDestination.Builder subBuilder = null; + if (bigqueryDestination_ != null) { + subBuilder = bigqueryDestination_.toBuilder(); + } + bigqueryDestination_ = + input.readMessage( + com.google.cloud.aiplatform.v1.BigQueryDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryDestination_); + bigqueryDestination_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.EndpointProto + .internal_static_google_cloud_aiplatform_v1_PredictRequestResponseLoggingConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.class, + com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_; + /** + * + * + *
+ * If logging is enabled or not. + *+ * + *
bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ public boolean getEnabled() {
+ return enabled_;
+ }
+
+ public static final int SAMPLING_RATE_FIELD_NUMBER = 2;
+ private double samplingRate_;
+ /**
+ *
+ *
+ * + * Percentage of requests to be logged, expressed as a fraction in + * range(0,1]. + *+ * + *
double sampling_rate = 2;
+ *
+ * @return The samplingRate.
+ */
+ @java.lang.Override
+ public double getSamplingRate() {
+ return samplingRate_;
+ }
+
+ public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 3;
+ private com.google.cloud.aiplatform.v1.BigQueryDestination bigqueryDestination_;
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ *
+ * @return Whether the bigqueryDestination field is set.
+ */
+ @java.lang.Override
+ public boolean hasBigqueryDestination() {
+ return bigqueryDestination_ != null;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ *
+ * @return The bigqueryDestination.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.BigQueryDestination getBigqueryDestination() {
+ return bigqueryDestination_ == null
+ ? com.google.cloud.aiplatform.v1.BigQueryDestination.getDefaultInstance()
+ : bigqueryDestination_;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder
+ getBigqueryDestinationOrBuilder() {
+ return getBigqueryDestination();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (enabled_ != false) {
+ output.writeBool(1, enabled_);
+ }
+ if (samplingRate_ != 0D) {
+ output.writeDouble(2, samplingRate_);
+ }
+ if (bigqueryDestination_ != null) {
+ output.writeMessage(3, getBigqueryDestination());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (enabled_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
+ }
+ if (samplingRate_ != 0D) {
+ size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, samplingRate_);
+ }
+ if (bigqueryDestination_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBigqueryDestination());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig other =
+ (com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig) obj;
+
+ if (getEnabled() != other.getEnabled()) return false;
+ if (java.lang.Double.doubleToLongBits(getSamplingRate())
+ != java.lang.Double.doubleToLongBits(other.getSamplingRate())) return false;
+ if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false;
+ if (hasBigqueryDestination()) {
+ if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ENABLED_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
+ hash = (37 * hash) + SAMPLING_RATE_FIELD_NUMBER;
+ hash =
+ (53 * hash)
+ + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getSamplingRate()));
+ if (hasBigqueryDestination()) {
+ hash = (37 * hash) + BIGQUERY_DESTINATION_FIELD_NUMBER;
+ hash = (53 * hash) + getBigqueryDestination().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Configuration for logging request-response to a BigQuery table. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * If logging is enabled or not. + *+ * + *
bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ @java.lang.Override
+ public boolean getEnabled() {
+ return enabled_;
+ }
+ /**
+ *
+ *
+ * + * If logging is enabled or not. + *+ * + *
bool enabled = 1;
+ *
+ * @param value The enabled to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnabled(boolean value) {
+
+ enabled_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * If logging is enabled or not. + *+ * + *
bool enabled = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnabled() {
+
+ enabled_ = false;
+ onChanged();
+ return this;
+ }
+
+ private double samplingRate_;
+ /**
+ *
+ *
+ * + * Percentage of requests to be logged, expressed as a fraction in + * range(0,1]. + *+ * + *
double sampling_rate = 2;
+ *
+ * @return The samplingRate.
+ */
+ @java.lang.Override
+ public double getSamplingRate() {
+ return samplingRate_;
+ }
+ /**
+ *
+ *
+ * + * Percentage of requests to be logged, expressed as a fraction in + * range(0,1]. + *+ * + *
double sampling_rate = 2;
+ *
+ * @param value The samplingRate to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSamplingRate(double value) {
+
+ samplingRate_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Percentage of requests to be logged, expressed as a fraction in + * range(0,1]. + *+ * + *
double sampling_rate = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSamplingRate() {
+
+ samplingRate_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.aiplatform.v1.BigQueryDestination bigqueryDestination_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.BigQueryDestination,
+ com.google.cloud.aiplatform.v1.BigQueryDestination.Builder,
+ com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder>
+ bigqueryDestinationBuilder_;
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ *
+ * @return Whether the bigqueryDestination field is set.
+ */
+ public boolean hasBigqueryDestination() {
+ return bigqueryDestinationBuilder_ != null || bigqueryDestination_ != null;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ *
+ * @return The bigqueryDestination.
+ */
+ public com.google.cloud.aiplatform.v1.BigQueryDestination getBigqueryDestination() {
+ if (bigqueryDestinationBuilder_ == null) {
+ return bigqueryDestination_ == null
+ ? com.google.cloud.aiplatform.v1.BigQueryDestination.getDefaultInstance()
+ : bigqueryDestination_;
+ } else {
+ return bigqueryDestinationBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ public Builder setBigqueryDestination(
+ com.google.cloud.aiplatform.v1.BigQueryDestination value) {
+ if (bigqueryDestinationBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bigqueryDestination_ = value;
+ onChanged();
+ } else {
+ bigqueryDestinationBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ public Builder setBigqueryDestination(
+ com.google.cloud.aiplatform.v1.BigQueryDestination.Builder builderForValue) {
+ if (bigqueryDestinationBuilder_ == null) {
+ bigqueryDestination_ = builderForValue.build();
+ onChanged();
+ } else {
+ bigqueryDestinationBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ public Builder mergeBigqueryDestination(
+ com.google.cloud.aiplatform.v1.BigQueryDestination value) {
+ if (bigqueryDestinationBuilder_ == null) {
+ if (bigqueryDestination_ != null) {
+ bigqueryDestination_ =
+ com.google.cloud.aiplatform.v1.BigQueryDestination.newBuilder(bigqueryDestination_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ bigqueryDestination_ = value;
+ }
+ onChanged();
+ } else {
+ bigqueryDestinationBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ public Builder clearBigqueryDestination() {
+ if (bigqueryDestinationBuilder_ == null) {
+ bigqueryDestination_ = null;
+ onChanged();
+ } else {
+ bigqueryDestination_ = null;
+ bigqueryDestinationBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ public com.google.cloud.aiplatform.v1.BigQueryDestination.Builder
+ getBigqueryDestinationBuilder() {
+
+ onChanged();
+ return getBigqueryDestinationFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ public com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder
+ getBigqueryDestinationOrBuilder() {
+ if (bigqueryDestinationBuilder_ != null) {
+ return bigqueryDestinationBuilder_.getMessageOrBuilder();
+ } else {
+ return bigqueryDestination_ == null
+ ? com.google.cloud.aiplatform.v1.BigQueryDestination.getDefaultInstance()
+ : bigqueryDestination_;
+ }
+ }
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.BigQueryDestination,
+ com.google.cloud.aiplatform.v1.BigQueryDestination.Builder,
+ com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder>
+ getBigqueryDestinationFieldBuilder() {
+ if (bigqueryDestinationBuilder_ == null) {
+ bigqueryDestinationBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.BigQueryDestination,
+ com.google.cloud.aiplatform.v1.BigQueryDestination.Builder,
+ com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder>(
+ getBigqueryDestination(), getParentForChildren(), isClean());
+ bigqueryDestination_ = null;
+ }
+ return bigqueryDestinationBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig)
+ private static final com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig();
+ }
+
+ public static com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * If logging is enabled or not. + *+ * + *
bool enabled = 1;
+ *
+ * @return The enabled.
+ */
+ boolean getEnabled();
+
+ /**
+ *
+ *
+ * + * Percentage of requests to be logged, expressed as a fraction in + * range(0,1]. + *+ * + *
double sampling_rate = 2;
+ *
+ * @return The samplingRate.
+ */
+ double getSamplingRate();
+
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ *
+ * @return Whether the bigqueryDestination field is set.
+ */
+ boolean hasBigqueryDestination();
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ *
+ * @return The bigqueryDestination.
+ */
+ com.google.cloud.aiplatform.v1.BigQueryDestination getBigqueryDestination();
+ /**
+ *
+ *
+ * + * BigQuery table for logging. + * If only given project, a new dataset will be created with name + * `logging_<endpoint-display-name>_<endpoint-id>` where + * <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g. + * most special characters will become underscores). If no table name is + * given, a new table will be created with name `request_response_logging` + *+ * + *
.google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3;
+ */
+ com.google.cloud.aiplatform.v1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder();
+}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java
index 5bbacbee8..8f82efbbc 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java
@@ -41,30 +41,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n0google/cloud/aiplatform/v1/specialist_"
- + "pool.proto\022\032google.cloud.aiplatform.v1\032\034"
- + "google/api/annotations.proto\032\037google/api"
- + "/field_behavior.proto\032\031google/api/resour"
- + "ce.proto\"\316\002\n\016SpecialistPool\022\021\n\004name\030\001 \001("
- + "\tB\003\340A\002\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022&\n\031spe"
- + "cialist_managers_count\030\003 \001(\005B\003\340A\003\022!\n\031spe"
- + "cialist_manager_emails\030\004 \003(\t\022\'\n\032pending_"
- + "data_labeling_jobs\030\005 \003(\tB\003\340A\003\022 \n\030special"
- + "ist_worker_emails\030\007 \003(\t:x\352Au\n(aiplatform"
- + ".googleapis.com/SpecialistPool\022Iprojects"
- + "/{project}/locations/{location}/speciali"
- + "stPools/{specialist_pool}B\327\001\n\036com.google"
- + ".cloud.aiplatform.v1B\023SpecialistPoolProt"
- + "oP\001ZDgoogle.golang.org/genproto/googleap"
- + "is/cloud/aiplatform/v1;aiplatform\252\002\032Goog"
- + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI"
- + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:"
- + ":V1b\006proto3"
+ + "pool.proto\022\032google.cloud.aiplatform.v1\032\037"
+ + "google/api/field_behavior.proto\032\031google/"
+ + "api/resource.proto\"\316\002\n\016SpecialistPool\022\021\n"
+ + "\004name\030\001 \001(\tB\003\340A\002\022\031\n\014display_name\030\002 \001(\tB\003"
+ + "\340A\002\022&\n\031specialist_managers_count\030\003 \001(\005B\003"
+ + "\340A\003\022!\n\031specialist_manager_emails\030\004 \003(\t\022\'"
+ + "\n\032pending_data_labeling_jobs\030\005 \003(\tB\003\340A\003\022"
+ + " \n\030specialist_worker_emails\030\007 \003(\t:x\352Au\n("
+ + "aiplatform.googleapis.com/SpecialistPool"
+ + "\022Iprojects/{project}/locations/{location"
+ + "}/specialistPools/{specialist_pool}B\327\001\n\036"
+ + "com.google.cloud.aiplatform.v1B\023Speciali"
+ + "stPoolProtoP\001ZDgoogle.golang.org/genprot"
+ + "o/googleapis/cloud/aiplatform/v1;aiplatf"
+ + "orm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl"
+ + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A"
+ + "IPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
});
@@ -87,7 +85,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java
index ed4ba4430..b01f5e236 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java
@@ -113,142 +113,140 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n&google/cloud/aiplatform/v1/study.proto"
- + "\022\032google.cloud.aiplatform.v1\032\034google/api"
- + "/annotations.proto\032\037google/api/field_beh"
- + "avior.proto\032\031google/api/resource.proto\032\036"
- + "google/protobuf/duration.proto\032\034google/p"
- + "rotobuf/struct.proto\032\037google/protobuf/ti"
- + "mestamp.proto\"\256\003\n\005Study\022\021\n\004name\030\001 \001(\tB\003\340"
- + "A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022>\n\nstudy_s"
- + "pec\030\003 \001(\0132%.google.cloud.aiplatform.v1.S"
- + "tudySpecB\003\340A\002\022;\n\005state\030\004 \001(\0162\'.google.cl"
- + "oud.aiplatform.v1.Study.StateB\003\340A\003\0224\n\013cr"
- + "eate_time\030\005 \001(\0132\032.google.protobuf.Timest"
- + "ampB\003\340A\003\022\034\n\017inactive_reason\030\006 \001(\tB\003\340A\003\"G"
- + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE"
- + "\020\001\022\014\n\010INACTIVE\020\002\022\r\n\tCOMPLETED\020\003:]\352AZ\n\037ai"
- + "platform.googleapis.com/Study\0227projects/"
- + "{project}/locations/{location}/studies/{"
- + "study}\"\320\007\n\005Trial\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\017\n\002i"
- + "d\030\002 \001(\tB\003\340A\003\022;\n\005state\030\003 \001(\0162\'.google.clo"
- + "ud.aiplatform.v1.Trial.StateB\003\340A\003\022D\n\npar"
- + "ameters\030\004 \003(\0132+.google.cloud.aiplatform."
- + "v1.Trial.ParameterB\003\340A\003\022G\n\021final_measure"
- + "ment\030\005 \001(\0132\'.google.cloud.aiplatform.v1."
- + "MeasurementB\003\340A\003\022B\n\014measurements\030\006 \003(\0132\'"
- + ".google.cloud.aiplatform.v1.MeasurementB"
- + "\003\340A\003\0223\n\nstart_time\030\007 \001(\0132\032.google.protob"
- + "uf.TimestampB\003\340A\003\0221\n\010end_time\030\010 \001(\0132\032.go"
- + "ogle.protobuf.TimestampB\003\340A\003\022\026\n\tclient_i"
- + "d\030\t \001(\tB\003\340A\003\022\036\n\021infeasible_reason\030\n \001(\tB"
- + "\003\340A\003\022?\n\ncustom_job\030\013 \001(\tB+\340A\003\372A%\n#aiplat"
- + "form.googleapis.com/CustomJob\022R\n\017web_acc"
- + "ess_uris\030\014 \003(\01324.google.cloud.aiplatform"
- + ".v1.Trial.WebAccessUrisEntryB\003\340A\003\032R\n\tPar"
- + "ameter\022\031\n\014parameter_id\030\001 \001(\tB\003\340A\003\022*\n\005val"
- + "ue\030\002 \001(\0132\026.google.protobuf.ValueB\003\340A\003\0324\n"
- + "\022WebAccessUrisEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
- + "e\030\002 \001(\t:\0028\001\"f\n\005State\022\025\n\021STATE_UNSPECIFIE"
- + "D\020\000\022\r\n\tREQUESTED\020\001\022\n\n\006ACTIVE\020\002\022\014\n\010STOPPI"
- + "NG\020\003\022\r\n\tSUCCEEDED\020\004\022\016\n\nINFEASIBLE\020\005:l\352Ai"
- + "\n\037aiplatform.googleapis.com/Trial\022Fproje"
- + "cts/{project}/locations/{location}/studi"
- + "es/{study}/trials/{trial}\"\240\030\n\tStudySpec\022"
- + "j\n\031decay_curve_stopping_spec\030\004 \001(\0132E.goo"
- + "gle.cloud.aiplatform.v1.StudySpec.DecayC"
- + "urveAutomatedStoppingSpecH\000\022k\n\036median_au"
- + "tomated_stopping_spec\030\005 \001(\0132A.google.clo"
- + "ud.aiplatform.v1.StudySpec.MedianAutomat"
- + "edStoppingSpecH\000\022F\n\007metrics\030\001 \003(\01320.goog"
- + "le.cloud.aiplatform.v1.StudySpec.MetricS"
- + "pecB\003\340A\002\022L\n\nparameters\030\002 \003(\01323.google.cl"
- + "oud.aiplatform.v1.StudySpec.ParameterSpe"
- + "cB\003\340A\002\022B\n\talgorithm\030\003 \001(\0162/.google.cloud"
- + ".aiplatform.v1.StudySpec.Algorithm\022Q\n\021ob"
- + "servation_noise\030\006 \001(\01626.google.cloud.aip"
- + "latform.v1.StudySpec.ObservationNoise\022b\n"
- + "\032measurement_selection_type\030\007 \001(\0162>.goog"
- + "le.cloud.aiplatform.v1.StudySpec.Measure"
- + "mentSelectionType\032\265\001\n\nMetricSpec\022\026\n\tmetr"
- + "ic_id\030\001 \001(\tB\003\340A\002\022L\n\004goal\030\002 \001(\01629.google."
- + "cloud.aiplatform.v1.StudySpec.MetricSpec"
- + ".GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025GOAL_TYPE_"
- + "UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020"
- + "\002\032\315\016\n\rParameterSpec\022`\n\021double_value_spec"
- + "\030\002 \001(\0132C.google.cloud.aiplatform.v1.Stud"
- + "ySpec.ParameterSpec.DoubleValueSpecH\000\022b\n"
- + "\022integer_value_spec\030\003 \001(\0132D.google.cloud"
- + ".aiplatform.v1.StudySpec.ParameterSpec.I"
- + "ntegerValueSpecH\000\022j\n\026categorical_value_s"
- + "pec\030\004 \001(\0132H.google.cloud.aiplatform.v1.S"
- + "tudySpec.ParameterSpec.CategoricalValueS"
- + "pecH\000\022d\n\023discrete_value_spec\030\005 \001(\0132E.goo"
- + "gle.cloud.aiplatform.v1.StudySpec.Parame"
- + "terSpec.DiscreteValueSpecH\000\022\031\n\014parameter"
- + "_id\030\001 \001(\tB\003\340A\002\022Q\n\nscale_type\030\006 \001(\0162=.goo"
- + "gle.cloud.aiplatform.v1.StudySpec.Parame"
- + "terSpec.ScaleType\022q\n\033conditional_paramet"
- + "er_specs\030\n \003(\0132L.google.cloud.aiplatform"
- + ".v1.StudySpec.ParameterSpec.ConditionalP"
- + "arameterSpec\032o\n\017DoubleValueSpec\022\026\n\tmin_v"
- + "alue\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001(\001B\003\340A\002\022"
- + "\032\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_default_"
- + "value\032p\n\020IntegerValueSpec\022\026\n\tmin_value\030\001"
- + " \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A\002\022\032\n\rdef"
- + "ault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_default_value\032"
- + "Y\n\024CategoricalValueSpec\022\023\n\006values\030\001 \003(\tB"
- + "\003\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001B\020\n\016_def"
- + "ault_value\032V\n\021DiscreteValueSpec\022\023\n\006value"
- + "s\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030\003 \001(\001H\000\210\001\001"
- + "B\020\n\016_default_value\032\244\005\n\030ConditionalParame"
- + "terSpec\022\205\001\n\026parent_discrete_values\030\002 \001(\013"
- + "2c.google.cloud.aiplatform.v1.StudySpec."
- + "ParameterSpec.ConditionalParameterSpec.D"
- + "iscreteValueConditionH\000\022{\n\021parent_int_va"
- + "lues\030\003 \001(\0132^.google.cloud.aiplatform.v1."
- + "StudySpec.ParameterSpec.ConditionalParam"
- + "eterSpec.IntValueConditionH\000\022\213\001\n\031parent_"
- + "categorical_values\030\004 \001(\0132f.google.cloud."
+ + "\022\032google.cloud.aiplatform.v1\032\037google/api"
+ + "/field_behavior.proto\032\031google/api/resour"
+ + "ce.proto\032\036google/protobuf/duration.proto"
+ + "\032\034google/protobuf/struct.proto\032\037google/p"
+ + "rotobuf/timestamp.proto\"\256\003\n\005Study\022\021\n\004nam"
+ + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022"
+ + ">\n\nstudy_spec\030\003 \001(\0132%.google.cloud.aipla"
+ + "tform.v1.StudySpecB\003\340A\002\022;\n\005state\030\004 \001(\0162\'"
+ + ".google.cloud.aiplatform.v1.Study.StateB"
+ + "\003\340A\003\0224\n\013create_time\030\005 \001(\0132\032.google.proto"
+ + "buf.TimestampB\003\340A\003\022\034\n\017inactive_reason\030\006 "
+ + "\001(\tB\003\340A\003\"G\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000"
+ + "\022\n\n\006ACTIVE\020\001\022\014\n\010INACTIVE\020\002\022\r\n\tCOMPLETED\020"
+ + "\003:]\352AZ\n\037aiplatform.googleapis.com/Study\022"
+ + "7projects/{project}/locations/{location}"
+ + "/studies/{study}\"\320\007\n\005Trial\022\021\n\004name\030\001 \001(\t"
+ + "B\003\340A\003\022\017\n\002id\030\002 \001(\tB\003\340A\003\022;\n\005state\030\003 \001(\0162\'."
+ + "google.cloud.aiplatform.v1.Trial.StateB\003"
+ + "\340A\003\022D\n\nparameters\030\004 \003(\0132+.google.cloud.a"
+ + "iplatform.v1.Trial.ParameterB\003\340A\003\022G\n\021fin"
+ + "al_measurement\030\005 \001(\0132\'.google.cloud.aipl"
+ + "atform.v1.MeasurementB\003\340A\003\022B\n\014measuremen"
+ + "ts\030\006 \003(\0132\'.google.cloud.aiplatform.v1.Me"
+ + "asurementB\003\340A\003\0223\n\nstart_time\030\007 \001(\0132\032.goo"
+ + "gle.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030"
+ + "\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\026"
+ + "\n\tclient_id\030\t \001(\tB\003\340A\003\022\036\n\021infeasible_rea"
+ + "son\030\n \001(\tB\003\340A\003\022?\n\ncustom_job\030\013 \001(\tB+\340A\003\372"
+ + "A%\n#aiplatform.googleapis.com/CustomJob\022"
+ + "R\n\017web_access_uris\030\014 \003(\01324.google.cloud."
+ + "aiplatform.v1.Trial.WebAccessUrisEntryB\003"
+ + "\340A\003\032R\n\tParameter\022\031\n\014parameter_id\030\001 \001(\tB\003"
+ + "\340A\003\022*\n\005value\030\002 \001(\0132\026.google.protobuf.Val"
+ + "ueB\003\340A\003\0324\n\022WebAccessUrisEntry\022\013\n\003key\030\001 \001"
+ + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"f\n\005State\022\025\n\021STATE_"
+ + "UNSPECIFIED\020\000\022\r\n\tREQUESTED\020\001\022\n\n\006ACTIVE\020\002"
+ + "\022\014\n\010STOPPING\020\003\022\r\n\tSUCCEEDED\020\004\022\016\n\nINFEASI"
+ + "BLE\020\005:l\352Ai\n\037aiplatform.googleapis.com/Tr"
+ + "ial\022Fprojects/{project}/locations/{locat"
+ + "ion}/studies/{study}/trials/{trial}\"\240\030\n\t"
+ + "StudySpec\022j\n\031decay_curve_stopping_spec\030\004"
+ + " \001(\0132E.google.cloud.aiplatform.v1.StudyS"
+ + "pec.DecayCurveAutomatedStoppingSpecH\000\022k\n"
+ + "\036median_automated_stopping_spec\030\005 \001(\0132A."
+ + "google.cloud.aiplatform.v1.StudySpec.Med"
+ + "ianAutomatedStoppingSpecH\000\022F\n\007metrics\030\001 "
+ + "\003(\01320.google.cloud.aiplatform.v1.StudySp"
+ + "ec.MetricSpecB\003\340A\002\022L\n\nparameters\030\002 \003(\01323"
+ + ".google.cloud.aiplatform.v1.StudySpec.Pa"
+ + "rameterSpecB\003\340A\002\022B\n\talgorithm\030\003 \001(\0162/.go"
+ + "ogle.cloud.aiplatform.v1.StudySpec.Algor"
+ + "ithm\022Q\n\021observation_noise\030\006 \001(\01626.google"
+ + ".cloud.aiplatform.v1.StudySpec.Observati"
+ + "onNoise\022b\n\032measurement_selection_type\030\007 "
+ + "\001(\0162>.google.cloud.aiplatform.v1.StudySp"
+ + "ec.MeasurementSelectionType\032\265\001\n\nMetricSp"
+ + "ec\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\002\022L\n\004goal\030\002 \001(\016"
+ + "29.google.cloud.aiplatform.v1.StudySpec."
+ + "MetricSpec.GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025"
+ + "GOAL_TYPE_UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n"
+ + "\010MINIMIZE\020\002\032\315\016\n\rParameterSpec\022`\n\021double_"
+ + "value_spec\030\002 \001(\0132C.google.cloud.aiplatfo"
+ + "rm.v1.StudySpec.ParameterSpec.DoubleValu"
+ + "eSpecH\000\022b\n\022integer_value_spec\030\003 \001(\0132D.go"
+ + "ogle.cloud.aiplatform.v1.StudySpec.Param"
+ + "eterSpec.IntegerValueSpecH\000\022j\n\026categoric"
+ + "al_value_spec\030\004 \001(\0132H.google.cloud.aipla"
+ + "tform.v1.StudySpec.ParameterSpec.Categor"
+ + "icalValueSpecH\000\022d\n\023discrete_value_spec\030\005"
+ + " \001(\0132E.google.cloud.aiplatform.v1.StudyS"
+ + "pec.ParameterSpec.DiscreteValueSpecH\000\022\031\n"
+ + "\014parameter_id\030\001 \001(\tB\003\340A\002\022Q\n\nscale_type\030\006"
+ + " \001(\0162=.google.cloud.aiplatform.v1.StudyS"
+ + "pec.ParameterSpec.ScaleType\022q\n\033condition"
+ + "al_parameter_specs\030\n \003(\0132L.google.cloud."
+ "aiplatform.v1.StudySpec.ParameterSpec.Co"
- + "nditionalParameterSpec.CategoricalValueC"
- + "onditionH\000\022P\n\016parameter_spec\030\001 \001(\01323.goo"
+ + "nditionalParameterSpec\032o\n\017DoubleValueSpe"
+ + "c\022\026\n\tmin_value\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002"
+ + " \001(\001B\003\340A\002\022\032\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n"
+ + "\016_default_value\032p\n\020IntegerValueSpec\022\026\n\tm"
+ + "in_value\030\001 \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003"
+ + "\340A\002\022\032\n\rdefault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_defa"
+ + "ult_value\032Y\n\024CategoricalValueSpec\022\023\n\006val"
+ + "ues\030\001 \003(\tB\003\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210"
+ + "\001\001B\020\n\016_default_value\032V\n\021DiscreteValueSpe"
+ + "c\022\023\n\006values\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030"
+ + "\003 \001(\001H\000\210\001\001B\020\n\016_default_value\032\244\005\n\030Conditi"
+ + "onalParameterSpec\022\205\001\n\026parent_discrete_va"
+ + "lues\030\002 \001(\0132c.google.cloud.aiplatform.v1."
+ + "StudySpec.ParameterSpec.ConditionalParam"
+ + "eterSpec.DiscreteValueConditionH\000\022{\n\021par"
+ + "ent_int_values\030\003 \001(\0132^.google.cloud.aipl"
+ + "atform.v1.StudySpec.ParameterSpec.Condit"
+ + "ionalParameterSpec.IntValueConditionH\000\022\213"
+ + "\001\n\031parent_categorical_values\030\004 \001(\0132f.goo"
+ "gle.cloud.aiplatform.v1.StudySpec.Parame"
- + "terSpecB\003\340A\002\032-\n\026DiscreteValueCondition\022\023"
- + "\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021IntValueCondition"
- + "\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n\031CategoricalValu"
- + "eCondition\022\023\n\006values\030\001 \003(\tB\003\340A\002B\030\n\026paren"
- + "t_value_condition\"n\n\tScaleType\022\032\n\026SCALE_"
- + "TYPE_UNSPECIFIED\020\000\022\025\n\021UNIT_LINEAR_SCALE\020"
- + "\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_REVERSE_LO"
- + "G_SCALE\020\003B\026\n\024parameter_value_spec\032?\n\037Dec"
- + "ayCurveAutomatedStoppingSpec\022\034\n\024use_elap"
- + "sed_duration\030\001 \001(\010\032;\n\033MedianAutomatedSto"
- + "ppingSpec\022\034\n\024use_elapsed_duration\030\001 \001(\010\""
- + "J\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022"
- + "\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEARCH\020\003\"H\n\020O"
- + "bservationNoise\022!\n\035OBSERVATION_NOISE_UNS"
- + "PECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\"r\n\030Measure"
- + "mentSelectionType\022*\n&MEASUREMENT_SELECTI"
- + "ON_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_MEASUREMEN"
- + "T\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027automated_s"
- + "topping_spec\"\334\001\n\013Measurement\0228\n\020elapsed_"
- + "duration\030\001 \001(\0132\031.google.protobuf.Duratio"
- + "nB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A\003\022D\n\007metri"
- + "cs\030\003 \003(\0132..google.cloud.aiplatform.v1.Me"
- + "asurement.MetricB\003\340A\003\0324\n\006Metric\022\026\n\tmetri"
- + "c_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\001B\003\340A\003B\316\001\n\036"
- + "com.google.cloud.aiplatform.v1B\nStudyPro"
- + "toP\001ZDgoogle.golang.org/genproto/googlea"
- + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo"
- + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A"
- + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform"
- + "::V1b\006proto3"
+ + "terSpec.ConditionalParameterSpec.Categor"
+ + "icalValueConditionH\000\022P\n\016parameter_spec\030\001"
+ + " \001(\01323.google.cloud.aiplatform.v1.StudyS"
+ + "pec.ParameterSpecB\003\340A\002\032-\n\026DiscreteValueC"
+ + "ondition\022\023\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021IntValu"
+ + "eCondition\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n\031Categ"
+ + "oricalValueCondition\022\023\n\006values\030\001 \003(\tB\003\340A"
+ + "\002B\030\n\026parent_value_condition\"n\n\tScaleType"
+ + "\022\032\n\026SCALE_TYPE_UNSPECIFIED\020\000\022\025\n\021UNIT_LIN"
+ + "EAR_SCALE\020\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_"
+ + "REVERSE_LOG_SCALE\020\003B\026\n\024parameter_value_s"
+ + "pec\032?\n\037DecayCurveAutomatedStoppingSpec\022\034"
+ + "\n\024use_elapsed_duration\030\001 \001(\010\032;\n\033MedianAu"
+ + "tomatedStoppingSpec\022\034\n\024use_elapsed_durat"
+ + "ion\030\001 \001(\010\"J\n\tAlgorithm\022\031\n\025ALGORITHM_UNSP"
+ + "ECIFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEA"
+ + "RCH\020\003\"H\n\020ObservationNoise\022!\n\035OBSERVATION"
+ + "_NOISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\""
+ + "r\n\030MeasurementSelectionType\022*\n&MEASUREME"
+ + "NT_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_"
+ + "MEASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027a"
+ + "utomated_stopping_spec\"\334\001\n\013Measurement\0228"
+ + "\n\020elapsed_duration\030\001 \001(\0132\031.google.protob"
+ + "uf.DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A"
+ + "\003\022D\n\007metrics\030\003 \003(\0132..google.cloud.aiplat"
+ + "form.v1.Measurement.MetricB\003\340A\003\0324\n\006Metri"
+ + "c\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\001"
+ + "B\003\340A\003B\316\001\n\036com.google.cloud.aiplatform.v1"
+ + "B\nStudyProtoP\001ZDgoogle.golang.org/genpro"
+ + "to/googleapis/cloud/aiplatform/v1;aiplat"
+ + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog"
+ + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::"
+ + "AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
@@ -459,7 +457,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java
index 35177d5ad..58d5fc462 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java
@@ -62,40 +62,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n1google/cloud/aiplatform/v1/tensorboard"
+ "_data.proto\022\032google.cloud.aiplatform.v1\032"
- + "\034google/api/annotations.proto\032\037google/ap"
- + "i/field_behavior.proto\0328google/cloud/aip"
- + "latform/v1/tensorboard_time_series.proto"
- + "\032\037google/protobuf/timestamp.proto\"\330\001\n\016Ti"
- + "meSeriesData\022\'\n\032tensorboard_time_series_"
- + "id\030\001 \001(\tB\003\340A\002\022W\n\nvalue_type\030\002 \001(\0162;.goog"
- + "le.cloud.aiplatform.v1.TensorboardTimeSe"
- + "ries.ValueTypeB\006\340A\002\340A\005\022D\n\006values\030\003 \003(\0132/"
- + ".google.cloud.aiplatform.v1.TimeSeriesDa"
- + "taPointB\003\340A\002\"\230\002\n\023TimeSeriesDataPoint\0224\n\006"
- + "scalar\030\003 \001(\0132\".google.cloud.aiplatform.v"
- + "1.ScalarH\000\022?\n\006tensor\030\004 \001(\0132-.google.clou"
- + "d.aiplatform.v1.TensorboardTensorH\000\022D\n\005b"
- + "lobs\030\005 \001(\01323.google.cloud.aiplatform.v1."
- + "TensorboardBlobSequenceH\000\022-\n\twall_time\030\001"
- + " \001(\0132\032.google.protobuf.Timestamp\022\014\n\004step"
- + "\030\002 \001(\003B\007\n\005value\"\027\n\006Scalar\022\r\n\005value\030\001 \001(\001"
- + "\"D\n\021TensorboardTensor\022\022\n\005value\030\001 \001(\014B\003\340A"
- + "\002\022\033\n\016version_number\030\002 \001(\005B\003\340A\001\"V\n\027Tensor"
- + "boardBlobSequence\022;\n\006values\030\001 \003(\0132+.goog"
- + "le.cloud.aiplatform.v1.TensorboardBlob\"5"
- + "\n\017TensorboardBlob\022\017\n\002id\030\001 \001(\tB\003\340A\003\022\021\n\004da"
- + "ta\030\002 \001(\014B\003\340A\001B\330\001\n\036com.google.cloud.aipla"
- + "tform.v1B\024TensorboardDataProtoP\001ZDgoogle"
- + ".golang.org/genproto/googleapis/cloud/ai"
- + "platform/v1;aiplatform\252\002\032Google.Cloud.AI"
- + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1"
- + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3"
+ + "\037google/api/field_behavior.proto\0328google"
+ + "/cloud/aiplatform/v1/tensorboard_time_se"
+ + "ries.proto\032\037google/protobuf/timestamp.pr"
+ + "oto\"\330\001\n\016TimeSeriesData\022\'\n\032tensorboard_ti"
+ + "me_series_id\030\001 \001(\tB\003\340A\002\022W\n\nvalue_type\030\002 "
+ + "\001(\0162;.google.cloud.aiplatform.v1.Tensorb"
+ + "oardTimeSeries.ValueTypeB\006\340A\002\340A\005\022D\n\006valu"
+ + "es\030\003 \003(\0132/.google.cloud.aiplatform.v1.Ti"
+ + "meSeriesDataPointB\003\340A\002\"\230\002\n\023TimeSeriesDat"
+ + "aPoint\0224\n\006scalar\030\003 \001(\0132\".google.cloud.ai"
+ + "platform.v1.ScalarH\000\022?\n\006tensor\030\004 \001(\0132-.g"
+ + "oogle.cloud.aiplatform.v1.TensorboardTen"
+ + "sorH\000\022D\n\005blobs\030\005 \001(\01323.google.cloud.aipl"
+ + "atform.v1.TensorboardBlobSequenceH\000\022-\n\tw"
+ + "all_time\030\001 \001(\0132\032.google.protobuf.Timesta"
+ + "mp\022\014\n\004step\030\002 \001(\003B\007\n\005value\"\027\n\006Scalar\022\r\n\005v"
+ + "alue\030\001 \001(\001\"D\n\021TensorboardTensor\022\022\n\005value"
+ + "\030\001 \001(\014B\003\340A\002\022\033\n\016version_number\030\002 \001(\005B\003\340A\001"
+ + "\"V\n\027TensorboardBlobSequence\022;\n\006values\030\001 "
+ + "\003(\0132+.google.cloud.aiplatform.v1.Tensorb"
+ + "oardBlob\"5\n\017TensorboardBlob\022\017\n\002id\030\001 \001(\tB"
+ + "\003\340A\003\022\021\n\004data\030\002 \001(\014B\003\340A\001B\330\001\n\036com.google.c"
+ + "loud.aiplatform.v1B\024TensorboardDataProto"
+ + "P\001ZDgoogle.golang.org/genproto/googleapi"
+ + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl"
+ + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP"
+ + "latform\\V1\352\002\035Google::Cloud::AIPlatform::"
+ + "V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.cloud.aiplatform.v1.TensorboardTimeSeriesProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -153,7 +152,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.cloud.aiplatform.v1.TensorboardTimeSeriesProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java
index 8b7adf7a6..520f28621 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java
@@ -46,34 +46,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n7google/cloud/aiplatform/v1/tensorboard"
+ "_experiment.proto\022\032google.cloud.aiplatfo"
- + "rm.v1\032\034google/api/annotations.proto\032\037goo"
- + "gle/api/field_behavior.proto\032\031google/api"
- + "/resource.proto\032\037google/protobuf/timesta"
- + "mp.proto\"\367\003\n\025TensorboardExperiment\022\021\n\004na"
- + "me\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013d"
- + "escription\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032."
- + "google.protobuf.TimestampB\003\340A\003\0224\n\013update"
- + "_time\030\005 \001(\0132\032.google.protobuf.TimestampB"
- + "\003\340A\003\022M\n\006labels\030\006 \003(\0132=.google.cloud.aipl"
- + "atform.v1.TensorboardExperiment.LabelsEn"
- + "try\022\014\n\004etag\030\007 \001(\t\022\023\n\006source\030\010 \001(\tB\003\340A\005\032-"
- + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
- + "\t:\0028\001:\222\001\352A\216\001\n/aiplatform.googleapis.com/"
- + "TensorboardExperiment\022[projects/{project"
- + "}/locations/{location}/tensorboards/{ten"
- + "sorboard}/experiments/{experiment}B\336\001\n\036c"
- + "om.google.cloud.aiplatform.v1B\032Tensorboa"
- + "rdExperimentProtoP\001ZDgoogle.golang.org/g"
- + "enproto/googleapis/cloud/aiplatform/v1;a"
- + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002"
- + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl"
- + "oud::AIPlatform::V1b\006proto3"
+ + "rm.v1\032\037google/api/field_behavior.proto\032\031"
+ + "google/api/resource.proto\032\037google/protob"
+ + "uf/timestamp.proto\"\367\003\n\025TensorboardExperi"
+ + "ment\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030"
+ + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_tim"
+ + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
+ + "\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf."
+ + "TimestampB\003\340A\003\022M\n\006labels\030\006 \003(\0132=.google."
+ + "cloud.aiplatform.v1.TensorboardExperimen"
+ + "t.LabelsEntry\022\014\n\004etag\030\007 \001(\t\022\023\n\006source\030\010 "
+ + "\001(\tB\003\340A\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+ + "value\030\002 \001(\t:\0028\001:\222\001\352A\216\001\n/aiplatform.googl"
+ + "eapis.com/TensorboardExperiment\022[project"
+ + "s/{project}/locations/{location}/tensorb"
+ + "oards/{tensorboard}/experiments/{experim"
+ + "ent}B\336\001\n\036com.google.cloud.aiplatform.v1B"
+ + "\032TensorboardExperimentProtoP\001ZDgoogle.go"
+ + "lang.org/genproto/googleapis/cloud/aipla"
+ + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla"
+ + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035"
+ + "Google::Cloud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -109,7 +107,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java
index 04b28ffb6..a100bc82d 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java
@@ -45,37 +45,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n,google/cloud/aiplatform/v1/tensorboard"
- + ".proto\022\032google.cloud.aiplatform.v1\032\034goog"
- + "le/api/annotations.proto\032\037google/api/fie"
- + "ld_behavior.proto\032\031google/api/resource.p"
- + "roto\0320google/cloud/aiplatform/v1/encrypt"
- + "ion_spec.proto\032\037google/protobuf/timestam"
- + "p.proto\"\262\004\n\013Tensorboard\022\021\n\004name\030\001 \001(\tB\003\340"
- + "A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descrip"
- + "tion\030\003 \001(\t\022C\n\017encryption_spec\030\013 \001(\0132*.go"
- + "ogle.cloud.aiplatform.v1.EncryptionSpec\022"
- + "%\n\030blob_storage_path_prefix\030\n \001(\tB\003\340A\003\022\026"
- + "\n\trun_count\030\005 \001(\005B\003\340A\003\0224\n\013create_time\030\006 "
- + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013"
- + "update_time\030\007 \001(\0132\032.google.protobuf.Time"
- + "stampB\003\340A\003\022C\n\006labels\030\010 \003(\01323.google.clou"
- + "d.aiplatform.v1.Tensorboard.LabelsEntry\022"
- + "\014\n\004etag\030\t \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001("
- + "\t\022\r\n\005value\030\002 \001(\t:\0028\001:n\352Ak\n%aiplatform.go"
- + "ogleapis.com/Tensorboard\022Bprojects/{proj"
- + "ect}/locations/{location}/tensorboards/{"
- + "tensorboard}B\324\001\n\036com.google.cloud.aiplat"
- + "form.v1B\020TensorboardProtoP\001ZDgoogle.gola"
- + "ng.org/genproto/googleapis/cloud/aiplatf"
- + "orm/v1;aiplatform\252\002\032Google.Cloud.AIPlatf"
- + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go"
- + "ogle::Cloud::AIPlatform::V1b\006proto3"
+ + ".proto\022\032google.cloud.aiplatform.v1\032\037goog"
+ + "le/api/field_behavior.proto\032\031google/api/"
+ + "resource.proto\0320google/cloud/aiplatform/"
+ + "v1/encryption_spec.proto\032\037google/protobu"
+ + "f/timestamp.proto\"\262\004\n\013Tensorboard\022\021\n\004nam"
+ + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022"
+ + "\023\n\013description\030\003 \001(\t\022C\n\017encryption_spec\030"
+ + "\013 \001(\0132*.google.cloud.aiplatform.v1.Encry"
+ + "ptionSpec\022%\n\030blob_storage_path_prefix\030\n "
+ + "\001(\tB\003\340A\003\022\026\n\trun_count\030\005 \001(\005B\003\340A\003\0224\n\013crea"
+ + "te_time\030\006 \001(\0132\032.google.protobuf.Timestam"
+ + "pB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.google.pro"
+ + "tobuf.TimestampB\003\340A\003\022C\n\006labels\030\010 \003(\01323.g"
+ + "oogle.cloud.aiplatform.v1.Tensorboard.La"
+ + "belsEntry\022\014\n\004etag\030\t \001(\t\032-\n\013LabelsEntry\022\013"
+ + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:n\352Ak\n%aip"
+ + "latform.googleapis.com/Tensorboard\022Bproj"
+ + "ects/{project}/locations/{location}/tens"
+ + "orboards/{tensorboard}B\324\001\n\036com.google.cl"
+ + "oud.aiplatform.v1B\020TensorboardProtoP\001ZDg"
+ + "oogle.golang.org/genproto/googleapis/clo"
+ + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo"
+ + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo"
+ + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p"
+ + "roto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(),
@@ -112,7 +111,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java
index 0356e5228..3ff1ab1c8 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java
@@ -45,34 +45,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n0google/cloud/aiplatform/v1/tensorboard"
- + "_run.proto\022\032google.cloud.aiplatform.v1\032\034"
- + "google/api/annotations.proto\032\037google/api"
- + "/field_behavior.proto\032\031google/api/resour"
- + "ce.proto\032\037google/protobuf/timestamp.prot"
- + "o\"\335\003\n\016TensorboardRun\022\021\n\004name\030\001 \001(\tB\003\340A\003\022"
- + "\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descriptio"
- + "n\030\003 \001(\t\0224\n\013create_time\030\006 \001(\0132\032.google.pr"
- + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\007 \001"
- + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022F\n\006l"
- + "abels\030\010 \003(\01326.google.cloud.aiplatform.v1"
- + ".TensorboardRun.LabelsEntry\022\014\n\004etag\030\t \001("
- + "\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002"
- + " \001(\t:\0028\001:\226\001\352A\222\001\n(aiplatform.googleapis.c"
- + "om/TensorboardRun\022fprojects/{project}/lo"
- + "cations/{location}/tensorboards/{tensorb"
- + "oard}/experiments/{experiment}/runs/{run"
- + "}B\327\001\n\036com.google.cloud.aiplatform.v1B\023Te"
- + "nsorboardRunProtoP\001ZDgoogle.golang.org/g"
- + "enproto/googleapis/cloud/aiplatform/v1;a"
- + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002"
- + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl"
- + "oud::AIPlatform::V1b\006proto3"
+ + "_run.proto\022\032google.cloud.aiplatform.v1\032\037"
+ + "google/api/field_behavior.proto\032\031google/"
+ + "api/resource.proto\032\037google/protobuf/time"
+ + "stamp.proto\"\335\003\n\016TensorboardRun\022\021\n\004name\030\001"
+ + " \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013"
+ + "description\030\003 \001(\t\0224\n\013create_time\030\006 \001(\0132\032"
+ + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat"
+ + "e_time\030\007 \001(\0132\032.google.protobuf.Timestamp"
+ + "B\003\340A\003\022F\n\006labels\030\010 \003(\01326.google.cloud.aip"
+ + "latform.v1.TensorboardRun.LabelsEntry\022\014\n"
+ + "\004etag\030\t \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022"
+ + "\r\n\005value\030\002 \001(\t:\0028\001:\226\001\352A\222\001\n(aiplatform.go"
+ + "ogleapis.com/TensorboardRun\022fprojects/{p"
+ + "roject}/locations/{location}/tensorboard"
+ + "s/{tensorboard}/experiments/{experiment}"
+ + "/runs/{run}B\327\001\n\036com.google.cloud.aiplatf"
+ + "orm.v1B\023TensorboardRunProtoP\001ZDgoogle.go"
+ + "lang.org/genproto/googleapis/cloud/aipla"
+ + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla"
+ + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035"
+ + "Google::Cloud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -101,7 +99,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java
index e3850c369..8b78d6223 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java
@@ -46,42 +46,41 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n8google/cloud/aiplatform/v1/tensorboard"
+ "_time_series.proto\022\032google.cloud.aiplatf"
- + "orm.v1\032\034google/api/annotations.proto\032\037go"
- + "ogle/api/field_behavior.proto\032\031google/ap"
- + "i/resource.proto\032\037google/protobuf/timest"
- + "amp.proto\"\277\006\n\025TensorboardTimeSeries\022\021\n\004n"
- + "ame\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A"
- + "\002\022\023\n\013description\030\003 \001(\t\022W\n\nvalue_type\030\004 \001"
- + "(\0162;.google.cloud.aiplatform.v1.Tensorbo"
- + "ardTimeSeries.ValueTypeB\006\340A\002\340A\005\0224\n\013creat"
- + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp"
- + "B\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.prot"
- + "obuf.TimestampB\003\340A\003\022\014\n\004etag\030\007 \001(\t\022\030\n\013plu"
- + "gin_name\030\010 \001(\tB\003\340A\005\022\023\n\013plugin_data\030\t \001(\014"
- + "\022Q\n\010metadata\030\n \001(\0132:.google.cloud.aiplat"
- + "form.v1.TensorboardTimeSeries.MetadataB\003"
- + "\340A\003\032\200\001\n\010Metadata\022\025\n\010max_step\030\001 \001(\003B\003\340A\003\022"
- + "6\n\rmax_wall_time\030\002 \001(\0132\032.google.protobuf"
- + ".TimestampB\003\340A\003\022%\n\030max_blob_sequence_len"
- + "gth\030\003 \001(\003B\003\340A\003\"R\n\tValueType\022\032\n\026VALUE_TYP"
- + "E_UNSPECIFIED\020\000\022\n\n\006SCALAR\020\001\022\n\n\006TENSOR\020\002\022"
- + "\021\n\rBLOB_SEQUENCE\020\003:\266\001\352A\262\001\n/aiplatform.go"
- + "ogleapis.com/TensorboardTimeSeries\022\177proj"
- + "ects/{project}/locations/{location}/tens"
- + "orboards/{tensorboard}/experiments/{expe"
- + "riment}/runs/{run}/timeSeries/{time_seri"
- + "es}B\336\001\n\036com.google.cloud.aiplatform.v1B\032"
- + "TensorboardTimeSeriesProtoP\001ZDgoogle.gol"
- + "ang.org/genproto/googleapis/cloud/aiplat"
- + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat"
- + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G"
- + "oogle::Cloud::AIPlatform::V1b\006proto3"
+ + "orm.v1\032\037google/api/field_behavior.proto\032"
+ + "\031google/api/resource.proto\032\037google/proto"
+ + "buf/timestamp.proto\"\277\006\n\025TensorboardTimeS"
+ + "eries\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name"
+ + "\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022W\n\nvalu"
+ + "e_type\030\004 \001(\0162;.google.cloud.aiplatform.v"
+ + "1.TensorboardTimeSeries.ValueTypeB\006\340A\002\340A"
+ + "\005\0224\n\013create_time\030\005 \001(\0132\032.google.protobuf"
+ + ".TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.g"
+ + "oogle.protobuf.TimestampB\003\340A\003\022\014\n\004etag\030\007 "
+ + "\001(\t\022\030\n\013plugin_name\030\010 \001(\tB\003\340A\005\022\023\n\013plugin_"
+ + "data\030\t \001(\014\022Q\n\010metadata\030\n \001(\0132:.google.cl"
+ + "oud.aiplatform.v1.TensorboardTimeSeries."
+ + "MetadataB\003\340A\003\032\200\001\n\010Metadata\022\025\n\010max_step\030\001"
+ + " \001(\003B\003\340A\003\0226\n\rmax_wall_time\030\002 \001(\0132\032.googl"
+ + "e.protobuf.TimestampB\003\340A\003\022%\n\030max_blob_se"
+ + "quence_length\030\003 \001(\003B\003\340A\003\"R\n\tValueType\022\032\n"
+ + "\026VALUE_TYPE_UNSPECIFIED\020\000\022\n\n\006SCALAR\020\001\022\n\n"
+ + "\006TENSOR\020\002\022\021\n\rBLOB_SEQUENCE\020\003:\266\001\352A\262\001\n/aip"
+ + "latform.googleapis.com/TensorboardTimeSe"
+ + "ries\022\177projects/{project}/locations/{loca"
+ + "tion}/tensorboards/{tensorboard}/experim"
+ + "ents/{experiment}/runs/{run}/timeSeries/"
+ + "{time_series}B\336\001\n\036com.google.cloud.aipla"
+ + "tform.v1B\032TensorboardTimeSeriesProtoP\001ZD"
+ + "google.golang.org/genproto/googleapis/cl"
+ + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl"
+ + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf"
+ + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006"
+ + "proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -119,7 +118,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java
index 1fd4b96b3..ff8420903 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java
@@ -70,88 +70,82 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n2google/cloud/aiplatform/v1/training_pi"
+ "peline.proto\022\032google.cloud.aiplatform.v1"
- + "\032\034google/api/annotations.proto\032\037google/a"
- + "pi/field_behavior.proto\032\031google/api/reso"
- + "urce.proto\0320google/cloud/aiplatform/v1/e"
- + "ncryption_spec.proto\032#google/cloud/aipla"
- + "tform/v1/io.proto\0322google/cloud/aiplatfo"
- + "rm/v1/machine_resources.proto\032?google/cl"
- + "oud/aiplatform/v1/manual_batch_tuning_pa"
- + "rameters.proto\032&google/cloud/aiplatform/"
- + "v1/model.proto\032/google/cloud/aiplatform/"
- + "v1/pipeline_state.proto\032\034google/protobuf"
- + "/struct.proto\032\037google/protobuf/timestamp"
- + ".proto\032\027google/rpc/status.proto\"\334\007\n\020Trai"
- + "ningPipeline\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014displ"
- + "ay_name\030\002 \001(\tB\003\340A\002\022F\n\021input_data_config\030"
- + "\003 \001(\0132+.google.cloud.aiplatform.v1.Input"
- + "DataConfig\022%\n\030training_task_definition\030\004"
- + " \001(\tB\003\340A\002\0229\n\024training_task_inputs\030\005 \001(\0132"
- + "\026.google.protobuf.ValueB\003\340A\002\022;\n\026training"
- + "_task_metadata\030\006 \001(\0132\026.google.protobuf.V"
- + "alueB\003\340A\003\022:\n\017model_to_upload\030\007 \001(\0132!.goo"
- + "gle.cloud.aiplatform.v1.Model\022=\n\005state\030\t"
- + " \001(\0162).google.cloud.aiplatform.v1.Pipeli"
- + "neStateB\003\340A\003\022&\n\005error\030\n \001(\0132\022.google.rpc"
- + ".StatusB\003\340A\003\0224\n\013create_time\030\013 \001(\0132\032.goog"
- + "le.protobuf.TimestampB\003\340A\003\0223\n\nstart_time"
- + "\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
- + "1\n\010end_time\030\r \001(\0132\032.google.protobuf.Time"
- + "stampB\003\340A\003\0224\n\013update_time\030\016 \001(\0132\032.google"
- + ".protobuf.TimestampB\003\340A\003\022H\n\006labels\030\017 \003(\013"
- + "28.google.cloud.aiplatform.v1.TrainingPi"
- + "peline.LabelsEntry\022C\n\017encryption_spec\030\022 "
- + "\001(\0132*.google.cloud.aiplatform.v1.Encrypt"
- + "ionSpec\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
- + "alue\030\002 \001(\t:\0028\001:~\352A{\n*aiplatform.googleap"
- + "is.com/TrainingPipeline\022Mprojects/{proje"
- + "ct}/locations/{location}/trainingPipelin"
- + "es/{training_pipeline}\"\364\004\n\017InputDataConf"
- + "ig\022C\n\016fraction_split\030\002 \001(\0132).google.clou"
- + "d.aiplatform.v1.FractionSplitH\000\022?\n\014filte"
- + "r_split\030\003 \001(\0132\'.google.cloud.aiplatform."
- + "v1.FilterSplitH\000\022G\n\020predefined_split\030\004 \001"
- + "(\0132+.google.cloud.aiplatform.v1.Predefin"
- + "edSplitH\000\022E\n\017timestamp_split\030\005 \001(\0132*.goo"
- + "gle.cloud.aiplatform.v1.TimestampSplitH\000"
- + "\022G\n\020stratified_split\030\014 \001(\0132+.google.clou"
- + "d.aiplatform.v1.StratifiedSplitH\000\022E\n\017gcs"
- + "_destination\030\010 \001(\0132*.google.cloud.aiplat"
- + "form.v1.GcsDestinationH\001\022O\n\024bigquery_des"
- + "tination\030\n \001(\0132/.google.cloud.aiplatform"
- + ".v1.BigQueryDestinationH\001\022\027\n\ndataset_id\030"
- + "\001 \001(\tB\003\340A\002\022\032\n\022annotations_filter\030\006 \001(\t\022\035"
- + "\n\025annotation_schema_uri\030\t \001(\tB\007\n\005splitB\r"
- + "\n\013destination\"^\n\rFractionSplit\022\031\n\021traini"
- + "ng_fraction\030\001 \001(\001\022\033\n\023validation_fraction"
- + "\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\"e\n\013FilterS"
- + "plit\022\034\n\017training_filter\030\001 \001(\tB\003\340A\002\022\036\n\021va"
- + "lidation_filter\030\002 \001(\tB\003\340A\002\022\030\n\013test_filte"
- + "r\030\003 \001(\tB\003\340A\002\"#\n\017PredefinedSplit\022\020\n\003key\030\001"
- + " \001(\tB\003\340A\002\"q\n\016TimestampSplit\022\031\n\021training_"
- + "fraction\030\001 \001(\001\022\033\n\023validation_fraction\030\002 "
- + "\001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003key\030\004 \001(\tB"
- + "\003\340A\002\"r\n\017StratifiedSplit\022\031\n\021training_frac"
- + "tion\030\001 \001(\001\022\033\n\023validation_fraction\030\002 \001(\001\022"
- + "\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003key\030\004 \001(\tB\003\340A\002"
- + "B\331\001\n\036com.google.cloud.aiplatform.v1B\025Tra"
- + "iningPipelineProtoP\001ZDgoogle.golang.org/"
- + "genproto/googleapis/cloud/aiplatform/v1;"
- + "aiplatform\252\002\032Google.Cloud.AIPlatform.V1\312"
- + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C"
- + "loud::AIPlatform::V1b\006proto3"
+ + "\032\037google/api/field_behavior.proto\032\031googl"
+ + "e/api/resource.proto\0320google/cloud/aipla"
+ + "tform/v1/encryption_spec.proto\032#google/c"
+ + "loud/aiplatform/v1/io.proto\032&google/clou"
+ + "d/aiplatform/v1/model.proto\032/google/clou"
+ + "d/aiplatform/v1/pipeline_state.proto\032\034go"
+ + "ogle/protobuf/struct.proto\032\037google/proto"
+ + "buf/timestamp.proto\032\027google/rpc/status.p"
+ + "roto\"\334\007\n\020TrainingPipeline\022\021\n\004name\030\001 \001(\tB"
+ + "\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022F\n\021input"
+ + "_data_config\030\003 \001(\0132+.google.cloud.aiplat"
+ + "form.v1.InputDataConfig\022%\n\030training_task"
+ + "_definition\030\004 \001(\tB\003\340A\002\0229\n\024training_task_"
+ + "inputs\030\005 \001(\0132\026.google.protobuf.ValueB\003\340A"
+ + "\002\022;\n\026training_task_metadata\030\006 \001(\0132\026.goog"
+ + "le.protobuf.ValueB\003\340A\003\022:\n\017model_to_uploa"
+ + "d\030\007 \001(\0132!.google.cloud.aiplatform.v1.Mod"
+ + "el\022=\n\005state\030\t \001(\0162).google.cloud.aiplatf"
+ + "orm.v1.PipelineStateB\003\340A\003\022&\n\005error\030\n \001(\013"
+ + "2\022.google.rpc.StatusB\003\340A\003\0224\n\013create_time"
+ + "\030\013 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022"
+ + "3\n\nstart_time\030\014 \001(\0132\032.google.protobuf.Ti"
+ + "mestampB\003\340A\003\0221\n\010end_time\030\r \001(\0132\032.google."
+ + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\016"
+ + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n"
+ + "\006labels\030\017 \003(\01328.google.cloud.aiplatform."
+ + "v1.TrainingPipeline.LabelsEntry\022C\n\017encry"
+ + "ption_spec\030\022 \001(\0132*.google.cloud.aiplatfo"
+ + "rm.v1.EncryptionSpec\032-\n\013LabelsEntry\022\013\n\003k"
+ + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:~\352A{\n*aiplat"
+ + "form.googleapis.com/TrainingPipeline\022Mpr"
+ + "ojects/{project}/locations/{location}/tr"
+ + "ainingPipelines/{training_pipeline}\"\364\004\n\017"
+ + "InputDataConfig\022C\n\016fraction_split\030\002 \001(\0132"
+ + ").google.cloud.aiplatform.v1.FractionSpl"
+ + "itH\000\022?\n\014filter_split\030\003 \001(\0132\'.google.clou"
+ + "d.aiplatform.v1.FilterSplitH\000\022G\n\020predefi"
+ + "ned_split\030\004 \001(\0132+.google.cloud.aiplatfor"
+ + "m.v1.PredefinedSplitH\000\022E\n\017timestamp_spli"
+ + "t\030\005 \001(\0132*.google.cloud.aiplatform.v1.Tim"
+ + "estampSplitH\000\022G\n\020stratified_split\030\014 \001(\0132"
+ + "+.google.cloud.aiplatform.v1.StratifiedS"
+ + "plitH\000\022E\n\017gcs_destination\030\010 \001(\0132*.google"
+ + ".cloud.aiplatform.v1.GcsDestinationH\001\022O\n"
+ + "\024bigquery_destination\030\n \001(\0132/.google.clo"
+ + "ud.aiplatform.v1.BigQueryDestinationH\001\022\027"
+ + "\n\ndataset_id\030\001 \001(\tB\003\340A\002\022\032\n\022annotations_f"
+ + "ilter\030\006 \001(\t\022\035\n\025annotation_schema_uri\030\t \001"
+ + "(\tB\007\n\005splitB\r\n\013destination\"^\n\rFractionSp"
+ + "lit\022\031\n\021training_fraction\030\001 \001(\001\022\033\n\023valida"
+ + "tion_fraction\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001"
+ + "(\001\"e\n\013FilterSplit\022\034\n\017training_filter\030\001 \001"
+ + "(\tB\003\340A\002\022\036\n\021validation_filter\030\002 \001(\tB\003\340A\002\022"
+ + "\030\n\013test_filter\030\003 \001(\tB\003\340A\002\"#\n\017PredefinedS"
+ + "plit\022\020\n\003key\030\001 \001(\tB\003\340A\002\"q\n\016TimestampSplit"
+ + "\022\031\n\021training_fraction\030\001 \001(\001\022\033\n\023validatio"
+ + "n_fraction\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022"
+ + "\020\n\003key\030\004 \001(\tB\003\340A\002\"r\n\017StratifiedSplit\022\031\n\021"
+ + "training_fraction\030\001 \001(\001\022\033\n\023validation_fr"
+ + "action\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003k"
+ + "ey\030\004 \001(\tB\003\340A\002B\331\001\n\036com.google.cloud.aipla"
+ + "tform.v1B\025TrainingPipelineProtoP\001ZDgoogl"
+ + "e.golang.org/genproto/googleapis/cloud/a"
+ + "iplatform/v1;aiplatform\252\002\032Google.Cloud.A"
+ + "IPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\V"
+ + "1\352\002\035Google::Cloud::AIPlatform::V1b\006proto"
+ + "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(),
com.google.cloud.aiplatform.v1.IoProto.getDescriptor(),
- com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(),
- com.google.cloud.aiplatform.v1.ManualBatchTuningParametersProto.getDescriptor(),
com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(),
com.google.cloud.aiplatform.v1.PipelineStateProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
@@ -255,13 +249,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor();
com.google.cloud.aiplatform.v1.IoProto.getDescriptor();
- com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor();
- com.google.cloud.aiplatform.v1.ManualBatchTuningParametersProto.getDescriptor();
com.google.cloud.aiplatform.v1.ModelProto.getDescriptor();
com.google.cloud.aiplatform.v1.PipelineStateProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java
index a3f7154b5..57f91f283 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java
@@ -53,23 +53,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n&google/cloud/aiplatform/v1/types.proto"
- + "\022\032google.cloud.aiplatform.v1\032\034google/api"
- + "/annotations.proto\"\033\n\tBoolArray\022\016\n\006value"
- + "s\030\001 \003(\010\"\035\n\013DoubleArray\022\016\n\006values\030\001 \003(\001\"\034"
- + "\n\nInt64Array\022\016\n\006values\030\001 \003(\003\"\035\n\013StringAr"
- + "ray\022\016\n\006values\030\001 \003(\tB\316\001\n\036com.google.cloud"
- + ".aiplatform.v1B\nTypesProtoP\001ZDgoogle.gol"
- + "ang.org/genproto/googleapis/cloud/aiplat"
- + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat"
- + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G"
- + "oogle::Cloud::AIPlatform::V1b\006proto3"
+ + "\022\032google.cloud.aiplatform.v1\"\033\n\tBoolArra"
+ + "y\022\016\n\006values\030\001 \003(\010\"\035\n\013DoubleArray\022\016\n\006valu"
+ + "es\030\001 \003(\001\"\034\n\nInt64Array\022\016\n\006values\030\001 \003(\003\"\035"
+ + "\n\013StringArray\022\016\n\006values\030\001 \003(\tB\316\001\n\036com.go"
+ + "ogle.cloud.aiplatform.v1B\nTypesProtoP\001ZD"
+ + "google.golang.org/genproto/googleapis/cl"
+ + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl"
+ + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf"
+ + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006"
+ + "proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- });
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_aiplatform_v1_BoolArray_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_aiplatform_v1_BoolArray_fieldAccessorTable =
@@ -102,7 +99,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Values",
});
- com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java
index 7b62bf791..6ae962c2d 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java
@@ -42,26 +42,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n:google/cloud/aiplatform/v1/unmanaged_c"
+ "ontainer_model.proto\022\032google.cloud.aipla"
- + "tform.v1\032\034google/api/annotations.proto\032\037"
- + "google/api/field_behavior.proto\032&google/"
- + "cloud/aiplatform/v1/model.proto\"\303\001\n\027Unma"
- + "nagedContainerModel\022\024\n\014artifact_uri\030\001 \001("
- + "\t\022E\n\020predict_schemata\030\002 \001(\0132+.google.clo"
- + "ud.aiplatform.v1.PredictSchemata\022K\n\016cont"
- + "ainer_spec\030\003 \001(\0132..google.cloud.aiplatfo"
- + "rm.v1.ModelContainerSpecB\003\340A\004B\340\001\n\036com.go"
- + "ogle.cloud.aiplatform.v1B\034UnmanagedConta"
- + "inerModelProtoP\001ZDgoogle.golang.org/genp"
- + "roto/googleapis/cloud/aiplatform/v1;aipl"
- + "atform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Go"
- + "ogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud"
- + "::AIPlatform::V1b\006proto3"
+ + "tform.v1\032\037google/api/field_behavior.prot"
+ + "o\032&google/cloud/aiplatform/v1/model.prot"
+ + "o\"\303\001\n\027UnmanagedContainerModel\022\024\n\014artifac"
+ + "t_uri\030\001 \001(\t\022E\n\020predict_schemata\030\002 \001(\0132+."
+ + "google.cloud.aiplatform.v1.PredictSchema"
+ + "ta\022K\n\016container_spec\030\003 \001(\0132..google.clou"
+ + "d.aiplatform.v1.ModelContainerSpecB\003\340A\004B"
+ + "\340\001\n\036com.google.cloud.aiplatform.v1B\034Unma"
+ + "nagedContainerModelProtoP\001ZDgoogle.golan"
+ + "g.org/genproto/googleapis/cloud/aiplatfo"
+ + "rm/v1;aiplatform\252\002\032Google.Cloud.AIPlatfo"
+ + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo"
+ + "gle::Cloud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(),
});
@@ -78,7 +76,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
- com.google.api.AnnotationsProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.cloud.aiplatform.v1.ModelProto.getDescriptor();
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java
index 18ede5cf6..e60f29c94 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java
@@ -42,23 +42,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n6google/cloud/aiplatform/v1/user_action"
+ "_reference.proto\022\032google.cloud.aiplatfor"
- + "m.v1\032\034google/api/annotations.proto\"d\n\023Us"
- + "erActionReference\022\023\n\toperation\030\001 \001(\tH\000\022\033"
- + "\n\021data_labeling_job\030\002 \001(\tH\000\022\016\n\006method\030\003 "
- + "\001(\tB\013\n\treferenceB\334\001\n\036com.google.cloud.ai"
- + "platform.v1B\030UserActionReferenceProtoP\001Z"
- + "Dgoogle.golang.org/genproto/googleapis/c"
- + "loud/aiplatform/v1;aiplatform\252\002\032Google.C"
- + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat"
- + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b"
- + "\006proto3"
+ + "m.v1\"d\n\023UserActionReference\022\023\n\toperation"
+ + "\030\001 \001(\tH\000\022\033\n\021data_labeling_job\030\002 \001(\tH\000\022\016\n"
+ + "\006method\030\003 \001(\tB\013\n\treferenceB\334\001\n\036com.googl"
+ + "e.cloud.aiplatform.v1B\030UserActionReferen"
+ + "ceProtoP\001ZDgoogle.golang.org/genproto/go"
+ + "ogleapis/cloud/aiplatform/v1;aiplatform\252"
+ + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl"
+ + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla"
+ + "tform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- });
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_aiplatform_v1_UserActionReference_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_aiplatform_v1_UserActionReference_fieldAccessorTable =
@@ -67,7 +63,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Operation", "DataLabelingJob", "Method", "Reference",
});
- com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java
index d5ec60556..897740046 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java
@@ -41,23 +41,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n&google/cloud/aiplatform/v1/value.proto"
- + "\022\032google.cloud.aiplatform.v1\032\034google/api"
- + "/annotations.proto\"U\n\005Value\022\023\n\tint_value"
- + "\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001H\000\022\026\n\014stri"
- + "ng_value\030\003 \001(\tH\000B\007\n\005valueB\316\001\n\036com.google"
- + ".cloud.aiplatform.v1B\nValueProtoP\001ZDgoog"
- + "le.golang.org/genproto/googleapis/cloud/"
- + "aiplatform/v1;aiplatform\252\002\032Google.Cloud."
- + "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\"
- + "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot"
- + "o3"
+ + "\022\032google.cloud.aiplatform.v1\"U\n\005Value\022\023\n"
+ + "\tint_value\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001"
+ + "H\000\022\026\n\014string_value\030\003 \001(\tH\000B\007\n\005valueB\316\001\n\036"
+ + "com.google.cloud.aiplatform.v1B\nValuePro"
+ + "toP\001ZDgoogle.golang.org/genproto/googlea"
+ + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo"
+ + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A"
+ + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform"
+ + "::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- });
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_google_cloud_aiplatform_v1_Value_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_aiplatform_v1_Value_fieldAccessorTable =
@@ -66,7 +62,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"IntValue", "DoubleValue", "StringValue", "Value",
});
- com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto
index 6edf155d0..3a1048090 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto
@@ -16,10 +16,8 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
-
import "google/cloud/aiplatform/v1/user_action_reference.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto
index cf432778b..3082e3ee9 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto
index 426172496..d7ef997ad 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto
@@ -16,10 +16,8 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
-import "google/cloud/aiplatform/v1/value.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto
index 64d3ef3a8..fc92ff0bc 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/completion_stats.proto";
@@ -26,7 +25,6 @@ import "google/cloud/aiplatform/v1/io.proto";
import "google/cloud/aiplatform/v1/job_state.proto";
import "google/cloud/aiplatform/v1/machine_resources.proto";
import "google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto";
-import "google/cloud/aiplatform/v1/model_monitoring.proto";
import "google/cloud/aiplatform/v1/unmanaged_container_model.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto
index e71a72c31..16310ef83 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto
@@ -16,9 +16,7 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
-import "google/rpc/status.proto";
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto
index 2a714efa1..b602a5504 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto
@@ -16,10 +16,8 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
-import "google/cloud/aiplatform/v1/value.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
index 4e1b26720..c3c8643ba 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto
index c073351f4..10431e743 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto
@@ -16,10 +16,8 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
-
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto
index f9cce6e64..f136190ba 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto
@@ -16,13 +16,10 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
-import "google/cloud/aiplatform/v1/accelerator_type.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
import "google/cloud/aiplatform/v1/job_state.proto";
-import "google/cloud/aiplatform/v1/specialist_pool.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto
index 75a2f6089..6c686986a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto
index 0087b70a6..f9f82845b 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto
@@ -25,7 +25,6 @@ import "google/cloud/aiplatform/v1/annotation_spec.proto";
import "google/cloud/aiplatform/v1/data_item.proto";
import "google/cloud/aiplatform/v1/dataset.proto";
import "google/cloud/aiplatform/v1/operation.proto";
-import "google/cloud/aiplatform/v1/training_pipeline.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/field_mask.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto
index 7f89798a6..35c8b30c7 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto
index 8cc93ddfd..8a7b1eb79 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto
index 99c7b1fbe..15a799019 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto
@@ -16,7 +16,6 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto
index 681fed024..3ff9d693a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto
@@ -16,15 +16,12 @@ syntax = "proto3";
package google.cloud.aiplatform.v1;
-import "google/api/annotations.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/aiplatform/v1/encryption_spec.proto";
import "google/cloud/aiplatform/v1/explanation.proto";
import "google/cloud/aiplatform/v1/io.proto";
import "google/cloud/aiplatform/v1/machine_resources.proto";
-import "google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto";
-import "google/cloud/aiplatform/v1/model_monitoring.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
@@ -117,7 +114,7 @@ message Endpoint {
// Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or
// [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect],
// can be set.
- bool enable_private_service_connect = 17;
+ bool enable_private_service_connect = 17 [deprecated = true];
// Output only. Resource name of the Model Monitoring job associated with this Endpoint
// if monitoring is enabled by [CreateModelDeploymentMonitoringJob][].
@@ -129,6 +126,9 @@ message Endpoint {
type: "aiplatform.googleapis.com/ModelDeploymentMonitoringJob"
}
];
+
+ // Configures the request-response logging for online prediction.
+ PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
}
// A deployment of a Model. Endpoints contain one or more DeployedModels.
@@ -232,3 +232,21 @@ message PrivateEndpoints {
// connect is enabled.
string service_attachment = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
}
+
+// Configuration for logging request-response to a BigQuery table.
+message PredictRequestResponseLoggingConfig {
+ // If logging is enabled or not.
+ bool enabled = 1;
+
+ // Percentage of requests to be logged, expressed as a fraction in
+ // range(0,1].
+ double sampling_rate = 2;
+
+ // BigQuery table for logging.
+ // If only given project, a new dataset will be created with name
+ // `logging_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 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:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the monitoringConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasMonitoringConfig() {
+ return monitoringConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The monitoringConfig.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoringConfig() {
+ return monitoringConfig_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance()
+ : monitoringConfig_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder
+ getMonitoringConfigOrBuilder() {
+ return getMonitoringConfig();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -604,6 +697,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, etag_);
}
+ if (monitoringConfig_ != null) {
+ output.writeMessage(8, getMonitoringConfig());
+ }
unknownFields.writeTo(output);
}
@@ -638,6 +734,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, etag_);
}
+ if (monitoringConfig_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMonitoringConfig());
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -666,6 +765,10 @@ public boolean equals(final java.lang.Object obj) {
}
if (!internalGetLabels().equals(other.internalGetLabels())) return false;
if (!getEtag().equals(other.getEtag())) return false;
+ if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false;
+ if (hasMonitoringConfig()) {
+ if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -695,6 +798,10 @@ public int hashCode() {
}
hash = (37 * hash) + ETAG_FIELD_NUMBER;
hash = (53 * hash) + getEtag().hashCode();
+ if (hasMonitoringConfig()) {
+ hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getMonitoringConfig().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -881,6 +988,12 @@ public Builder clear() {
internalGetMutableLabels().clear();
etag_ = "";
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfig_ = null;
+ } else {
+ monitoringConfig_ = null;
+ monitoringConfigBuilder_ = null;
+ }
return this;
}
@@ -924,6 +1037,11 @@ public com.google.cloud.aiplatform.v1.EntityType buildPartial() {
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
result.etag_ = etag_;
+ if (monitoringConfigBuilder_ == null) {
+ result.monitoringConfig_ = monitoringConfig_;
+ } else {
+ result.monitoringConfig_ = monitoringConfigBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -992,6 +1110,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EntityType other) {
etag_ = other.etag_;
onChanged();
}
+ if (other.hasMonitoringConfig()) {
+ mergeMonitoringConfig(other.getMonitoringConfig());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1991,6 +2112,278 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoringConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig,
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder,
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder>
+ monitoringConfigBuilder_;
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the monitoringConfig field is set.
+ */
+ public boolean hasMonitoringConfig() {
+ return monitoringConfigBuilder_ != null || monitoringConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The monitoringConfig.
+ */
+ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoringConfig() {
+ if (monitoringConfigBuilder_ == null) {
+ return monitoringConfig_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance()
+ : monitoringConfig_;
+ } else {
+ return monitoringConfigBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMonitoringConfig(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig value) {
+ if (monitoringConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ monitoringConfig_ = value;
+ onChanged();
+ } else {
+ monitoringConfigBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMonitoringConfig(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder builderForValue) {
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ monitoringConfigBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeMonitoringConfig(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig value) {
+ if (monitoringConfigBuilder_ == null) {
+ if (monitoringConfig_ != null) {
+ monitoringConfig_ =
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.newBuilder(
+ monitoringConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ monitoringConfig_ = value;
+ }
+ onChanged();
+ } else {
+ monitoringConfigBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearMonitoringConfig() {
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfig_ = null;
+ onChanged();
+ } else {
+ monitoringConfig_ = null;
+ monitoringConfigBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder
+ getMonitoringConfigBuilder() {
+
+ onChanged();
+ return getMonitoringConfigFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder
+ getMonitoringConfigOrBuilder() {
+ if (monitoringConfigBuilder_ != null) {
+ return monitoringConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return monitoringConfig_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance()
+ : monitoringConfig_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig,
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder,
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder>
+ getMonitoringConfigFieldBuilder() {
+ if (monitoringConfigBuilder_ == null) {
+ monitoringConfigBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig,
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder,
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder>(
+ getMonitoringConfig(), getParentForChildren(), isClean());
+ monitoringConfig_ = null;
+ }
+ return monitoringConfigBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java
index eff9ecdae..16c30bd7a 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java
@@ -281,4 +281,67 @@ public interface EntityTypeOrBuilder
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the monitoringConfig field is set.
+ */
+ boolean hasMonitoringConfig();
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The monitoringConfig.
+ */
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoringConfig();
+ /**
+ *
+ *
+ *
+ * Optional. The default monitoring configuration for all Features with value
+ * type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ * STRING, DOUBLE or INT64 under this EntityType.
+ * If this is populated with
+ * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ * disabled.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder
+ getMonitoringConfigOrBuilder();
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java
index 1c55146ab..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
@@ -47,24 +47,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n,google/cloud/aiplatform/v1/entity_type"
+ ".proto\022\032google.cloud.aiplatform.v1\032\037goog"
+ "le/api/field_behavior.proto\032\031google/api/"
- + "resource.proto\032\037google/protobuf/timestam"
- + "p.proto\"\275\003\n\nEntityType\022\021\n\004name\030\001 \001(\tB\003\340A"
- + "\005\022\030\n\013description\030\002 \001(\tB\003\340A\001\0224\n\013create_ti"
- + "me\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A"
- + "\003\0224\n\013update_time\030\004 \001(\0132\032.google.protobuf"
- + ".TimestampB\003\340A\003\022G\n\006labels\030\006 \003(\01322.google"
- + ".cloud.aiplatform.v1.EntityType.LabelsEn"
- + "tryB\003\340A\001\022\021\n\004etag\030\007 \001(\tB\003\340A\001\032-\n\013LabelsEnt"
- + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\212\001\352A\206"
- + "\001\n$aiplatform.googleapis.com/EntityType\022"
- + "^projects/{project}/locations/{location}"
- + "/featurestores/{featurestore}/entityType"
- + "s/{entity_type}B\323\001\n\036com.google.cloud.aip"
- + "latform.v1B\017EntityTypeProtoP\001ZDgoogle.go"
- + "lang.org/genproto/googleapis/cloud/aipla"
- + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla"
- + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035"
- + "Google::Cloud::AIPlatform::V1b\006proto3"
+ + "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(
@@ -72,6 +76,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_aiplatform_v1_EntityType_descriptor =
@@ -80,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);
@@ -98,6 +109,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.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/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 782047c2b..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
@@ -47,30 +51,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n(google/cloud/aiplatform/v1/feature.pro"
+ "to\022\032google.cloud.aiplatform.v1\032\037google/a"
+ "pi/field_behavior.proto\032\031google/api/reso"
- + "urce.proto\032\037google/protobuf/timestamp.pr"
- + "oto\"\257\005\n\007Feature\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\023\n\013de"
- + "scription\030\002 \001(\t\022I\n\nvalue_type\030\003 \001(\0162-.go"
- + "ogle.cloud.aiplatform.v1.Feature.ValueTy"
- + "peB\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.protobuf.TimestampB\003\340A\003\022D"
- + "\n\006labels\030\006 \003(\0132/.google.cloud.aiplatform"
- + ".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\026VALUE_TYPE_UN"
- + "SPECIFIED\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_AR"
- + "RAY\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aiplatform.goog"
- + "leapis.com/Feature\022qprojects/{project}/l"
- + "ocations/{location}/featurestores/{featu"
- + "restore}/entityTypes/{entity_type}/featu"
- + "res/{feature}B\320\001\n\036com.google.cloud.aipla"
- + "tform.v1B\014FeatureProtoP\001ZDgoogle.golang."
- + "org/genproto/googleapis/cloud/aiplatform"
- + "/v1;aiplatform\252\002\032Google.Cloud.AIPlatform"
- + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl"
- + "e::Cloud::AIPlatform::V1b\006proto3"
+ + "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(
@@ -78,6 +95,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
+ com.google.cloud.aiplatform.v1.FeatureMonitoringStatsProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_aiplatform_v1_Feature_descriptor =
@@ -86,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,
@@ -104,6 +138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
+ com.google.cloud.aiplatform.v1.FeatureMonitoringStatsProto.getDescriptor();
com.google.protobuf.TimestampProto.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/FeaturestoreServiceProto.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java
index c4ffe77ec..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
@@ -243,7 +243,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf"
+ ".FieldMask\"h\n\031DeleteFeaturestoreRequest\022"
+ "<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.google"
- + "apis.com/Featurestore\022\r\n\005force\030\002 \001(\010\"\372\004\n"
+ + "apis.com/Featurestore\022\r\n\005force\030\002 \001(\010\"\236\005\n"
+ "\032ImportFeatureValuesRequest\022=\n\013avro_sour"
+ "ce\030\002 \001(\0132&.google.cloud.aiplatform.v1.Av"
+ "roSourceH\000\022E\n\017bigquery_source\030\003 \001(\0132*.go"
@@ -257,273 +257,274 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "feature_specs\030\010 \003(\0132B.google.cloud.aipla"
+ "tform.v1.ImportFeatureValuesRequest.Feat"
+ "ureSpecB\003\340A\002\022\036\n\026disable_online_serving\030\t"
- + " \001(\010\022\024\n\014worker_count\030\013 \001(\005\0324\n\013FeatureSpe"
- + "c\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001(\t"
- + "B\010\n\006sourceB\025\n\023feature_time_source\"}\n\033Imp"
- + "ortFeatureValuesResponse\022\035\n\025imported_ent"
- + "ity_count\030\001 \001(\003\022$\n\034imported_feature_valu"
- + "e_count\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003"
- + "\"\234\006\n\035BatchReadFeatureValuesRequest\022C\n\022cs"
- + "v_read_instances\030\003 \001(\0132%.google.cloud.ai"
- + "platform.v1.CsvSourceH\000\022M\n\027bigquery_read"
- + "_instances\030\005 \001(\0132*.google.cloud.aiplatfo"
- + "rm.v1.BigQuerySourceH\000\022D\n\014featurestore\030\001"
- + " \001(\tB.\340A\002\372A(\n&aiplatform.googleapis.com/"
- + "Featurestore\022M\n\013destination\030\004 \001(\01323.goog"
- + "le.cloud.aiplatform.v1.FeatureValueDesti"
- + "nationB\003\340A\002\022g\n\023pass_through_fields\030\010 \003(\013"
- + "2J.google.cloud.aiplatform.v1.BatchReadF"
- + "eatureValuesRequest.PassThroughField\022h\n\021"
- + "entity_type_specs\030\007 \003(\0132H.google.cloud.a"
- + "iplatform.v1.BatchReadFeatureValuesReque"
- + "st.EntityTypeSpecB\003\340A\002\032+\n\020PassThroughFie"
- + "ld\022\027\n\nfield_name\030\001 \001(\tB\003\340A\002\032\302\001\n\016EntityTy"
- + "peSpec\022\033\n\016entity_type_id\030\001 \001(\tB\003\340A\002\022J\n\020f"
- + "eature_selector\030\002 \001(\0132+.google.cloud.aip"
- + "latform.v1.FeatureSelectorB\003\340A\002\022G\n\010setti"
- + "ngs\030\003 \003(\01325.google.cloud.aiplatform.v1.D"
- + "estinationFeatureSettingB\r\n\013read_option\""
- + "\350\005\n\032ExportFeatureValuesRequest\022`\n\017snapsh"
- + "ot_export\030\003 \001(\0132E.google.cloud.aiplatfor"
- + "m.v1.ExportFeatureValuesRequest.Snapshot"
- + "ExportH\000\022X\n\013full_export\030\007 \001(\0132A.google.c"
- + "loud.aiplatform.v1.ExportFeatureValuesRe"
- + "quest.FullExportH\000\022A\n\013entity_type\030\001 \001(\tB"
+ + " \001(\010\022\024\n\014worker_count\030\013 \001(\005\022\"\n\032disable_in"
+ + "gestion_analysis\030\014 \001(\010\0324\n\013FeatureSpec\022\017\n"
+ + "\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001(\tB\010\n\006"
+ + "sourceB\025\n\023feature_time_source\"}\n\033ImportF"
+ + "eatureValuesResponse\022\035\n\025imported_entity_"
+ + "count\030\001 \001(\003\022$\n\034imported_feature_value_co"
+ + "unt\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"\234\006\n"
+ + "\035BatchReadFeatureValuesRequest\022C\n\022csv_re"
+ + "ad_instances\030\003 \001(\0132%.google.cloud.aiplat"
+ + "form.v1.CsvSourceH\000\022M\n\027bigquery_read_ins"
+ + "tances\030\005 \001(\0132*.google.cloud.aiplatform.v"
+ + "1.BigQuerySourceH\000\022D\n\014featurestore\030\001 \001(\t"
+ + "B.\340A\002\372A(\n&aiplatform.googleapis.com/Feat"
+ + "urestore\022M\n\013destination\030\004 \001(\01323.google.c"
+ + "loud.aiplatform.v1.FeatureValueDestinati"
+ + "onB\003\340A\002\022g\n\023pass_through_fields\030\010 \003(\0132J.g"
+ + "oogle.cloud.aiplatform.v1.BatchReadFeatu"
+ + "reValuesRequest.PassThroughField\022h\n\021enti"
+ + "ty_type_specs\030\007 \003(\0132H.google.cloud.aipla"
+ + "tform.v1.BatchReadFeatureValuesRequest.E"
+ + "ntityTypeSpecB\003\340A\002\032+\n\020PassThroughField\022\027"
+ + "\n\nfield_name\030\001 \001(\tB\003\340A\002\032\302\001\n\016EntityTypeSp"
+ + "ec\022\033\n\016entity_type_id\030\001 \001(\tB\003\340A\002\022J\n\020featu"
+ + "re_selector\030\002 \001(\0132+.google.cloud.aiplatf"
+ + "orm.v1.FeatureSelectorB\003\340A\002\022G\n\010settings\030"
+ + "\003 \003(\01325.google.cloud.aiplatform.v1.Desti"
+ + "nationFeatureSettingB\r\n\013read_option\"\350\005\n\032"
+ + "ExportFeatureValuesRequest\022`\n\017snapshot_e"
+ + "xport\030\003 \001(\0132E.google.cloud.aiplatform.v1"
+ + ".ExportFeatureValuesRequest.SnapshotExpo"
+ + "rtH\000\022X\n\013full_export\030\007 \001(\0132A.google.cloud"
+ + ".aiplatform.v1.ExportFeatureValuesReques"
+ + "t.FullExportH\000\022A\n\013entity_type\030\001 \001(\tB,\340A\002"
+ + "\372A&\n$aiplatform.googleapis.com/EntityTyp"
+ + "e\022M\n\013destination\030\004 \001(\01323.google.cloud.ai"
+ + "platform.v1.FeatureValueDestinationB\003\340A\002"
+ + "\022J\n\020feature_selector\030\005 \001(\0132+.google.clou"
+ + "d.aiplatform.v1.FeatureSelectorB\003\340A\002\022G\n\010"
+ + "settings\030\006 \003(\01325.google.cloud.aiplatform"
+ + ".v1.DestinationFeatureSetting\032s\n\016Snapsho"
+ + "tExport\0221\n\rsnapshot_time\030\001 \001(\0132\032.google."
+ + "protobuf.Timestamp\022.\n\nstart_time\030\002 \001(\0132\032"
+ + ".google.protobuf.Timestamp\032j\n\nFullExport"
+ + "\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf.T"
+ + "imestamp\022,\n\010end_time\030\001 \001(\0132\032.google.prot"
+ + "obuf.TimestampB\006\n\004mode\"O\n\031DestinationFea"
+ + "tureSetting\022\027\n\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021"
+ + "destination_field\030\002 \001(\t\"\221\002\n\027FeatureValue"
+ + "Destination\022O\n\024bigquery_destination\030\001 \001("
+ + "\0132/.google.cloud.aiplatform.v1.BigQueryD"
+ + "estinationH\000\022O\n\024tfrecord_destination\030\002 \001"
+ + "(\0132/.google.cloud.aiplatform.v1.TFRecord"
+ + "DestinationH\000\022E\n\017csv_destination\030\003 \001(\0132*"
+ + ".google.cloud.aiplatform.v1.CsvDestinati"
+ + "onH\000B\r\n\013destination\"\035\n\033ExportFeatureValu"
+ + "esResponse\" \n\036BatchReadFeatureValuesResp"
+ + "onse\"\263\001\n\027CreateEntityTypeRequest\022>\n\006pare"
+ + "nt\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis."
+ + "com/Featurestore\022;\n\013entity_type\030\002 \001(\0132&."
+ + "google.cloud.aiplatform.v1.EntityType\022\033\n"
+ + "\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEntityT"
+ + "ypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplat"
+ + "form.googleapis.com/EntityType\"\316\001\n\026ListE"
+ + "ntityTypesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A"
+ + "&\022$aiplatform.googleapis.com/EntityType\022"
+ + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa"
+ + "ge_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread"
+ + "_mask\030\006 \001(\0132\032.google.protobuf.FieldMask\""
+ + "p\n\027ListEntityTypesResponse\022<\n\014entity_typ"
+ + "es\030\001 \003(\0132&.google.cloud.aiplatform.v1.En"
+ + "tityType\022\027\n\017next_page_token\030\002 \001(\t\"\214\001\n\027Up"
+ + "dateEntityTypeRequest\022@\n\013entity_type\030\001 \001"
+ + "(\0132&.google.cloud.aiplatform.v1.EntityTy"
+ + "peB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr"
+ + "otobuf.FieldMask\"d\n\027DeleteEntityTypeRequ"
+ + "est\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.go"
+ + "ogleapis.com/EntityType\022\r\n\005force\030\002 \001(\010\"\250"
+ + "\001\n\024CreateFeatureRequest\022<\n\006parent\030\001 \001(\tB"
+ ",\340A\002\372A&\n$aiplatform.googleapis.com/Entit"
- + "yType\022M\n\013destination\030\004 \001(\01323.google.clou"
- + "d.aiplatform.v1.FeatureValueDestinationB"
- + "\003\340A\002\022J\n\020feature_selector\030\005 \001(\0132+.google."
- + "cloud.aiplatform.v1.FeatureSelectorB\003\340A\002"
- + "\022G\n\010settings\030\006 \003(\01325.google.cloud.aiplat"
- + "form.v1.DestinationFeatureSetting\032s\n\016Sna"
- + "pshotExport\0221\n\rsnapshot_time\030\001 \001(\0132\032.goo"
- + "gle.protobuf.Timestamp\022.\n\nstart_time\030\002 \001"
- + "(\0132\032.google.protobuf.Timestamp\032j\n\nFullEx"
- + "port\022.\n\nstart_time\030\002 \001(\0132\032.google.protob"
- + "uf.Timestamp\022,\n\010end_time\030\001 \001(\0132\032.google."
- + "protobuf.TimestampB\006\n\004mode\"O\n\031Destinatio"
- + "nFeatureSetting\022\027\n\nfeature_id\030\001 \001(\tB\003\340A\002"
- + "\022\031\n\021destination_field\030\002 \001(\t\"\221\002\n\027FeatureV"
- + "alueDestination\022O\n\024bigquery_destination\030"
- + "\001 \001(\0132/.google.cloud.aiplatform.v1.BigQu"
- + "eryDestinationH\000\022O\n\024tfrecord_destination"
- + "\030\002 \001(\0132/.google.cloud.aiplatform.v1.TFRe"
- + "cordDestinationH\000\022E\n\017csv_destination\030\003 \001"
- + "(\0132*.google.cloud.aiplatform.v1.CsvDesti"
- + "nationH\000B\r\n\013destination\"\035\n\033ExportFeature"
- + "ValuesResponse\" \n\036BatchReadFeatureValues"
- + "Response\"\263\001\n\027CreateEntityTypeRequest\022>\n\006"
- + "parent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googlea"
- + "pis.com/Featurestore\022;\n\013entity_type\030\002 \001("
- + "\0132&.google.cloud.aiplatform.v1.EntityTyp"
- + "e\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEnt"
- + "ityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$ai"
- + "platform.googleapis.com/EntityType\"\316\001\n\026L"
- + "istEntityTypesRequest\022<\n\006parent\030\001 \001(\tB,\340"
- + "A\002\372A&\022$aiplatform.googleapis.com/EntityT"
- + "ype\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022"
- + "\n\npage_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\t"
- + "read_mask\030\006 \001(\0132\032.google.protobuf.FieldM"
- + "ask\"p\n\027ListEntityTypesResponse\022<\n\014entity"
- + "_types\030\001 \003(\0132&.google.cloud.aiplatform.v"
- + "1.EntityType\022\027\n\017next_page_token\030\002 \001(\t\"\214\001"
- + "\n\027UpdateEntityTypeRequest\022@\n\013entity_type"
- + "\030\001 \001(\0132&.google.cloud.aiplatform.v1.Enti"
- + "tyTypeB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl"
- + "e.protobuf.FieldMask\"d\n\027DeleteEntityType"
- + "Request\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatfor"
- + "m.googleapis.com/EntityType\022\r\n\005force\030\002 \001"
- + "(\010\"\250\001\n\024CreateFeatureRequest\022<\n\006parent\030\001 "
- + "\001(\tB,\340A\002\372A&\n$aiplatform.googleapis.com/E"
- + "ntityType\0229\n\007feature\030\002 \001(\0132#.google.clou"
- + "d.aiplatform.v1.FeatureB\003\340A\002\022\027\n\nfeature_"
- + "id\030\003 \001(\tB\003\340A\002\"\243\001\n\032BatchCreateFeaturesReq"
- + "uest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform"
- + ".googleapis.com/EntityType\022G\n\010requests\030\002"
- + " \003(\01320.google.cloud.aiplatform.v1.Create"
- + "FeatureRequestB\003\340A\002\"T\n\033BatchCreateFeatur"
- + "esResponse\0225\n\010features\030\001 \003(\0132#.google.cl"
- + "oud.aiplatform.v1.Feature\"L\n\021GetFeatureR"
- + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform"
- + ".googleapis.com/Feature\"\344\001\n\023ListFeatures"
- + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatf"
- + "orm.googleapis.com/Feature\022\016\n\006filter\030\002 \001"
- + "(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001("
- + "\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032"
- + ".google.protobuf.FieldMask\022\032\n\022latest_sta"
- + "ts_count\030\007 \001(\005\"f\n\024ListFeaturesResponse\0225"
- + "\n\010features\030\001 \003(\0132#.google.cloud.aiplatfo"
- + "rm.v1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"\212"
- + "\001\n\025SearchFeaturesRequest\022;\n\010location\030\001 \001"
- + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc"
- + "ation\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022"
- + "\022\n\npage_token\030\005 \001(\t\"h\n\026SearchFeaturesRes"
- + "ponse\0225\n\010features\030\001 \003(\0132#.google.cloud.a"
- + "iplatform.v1.Feature\022\027\n\017next_page_token\030"
- + "\002 \001(\t\"\202\001\n\024UpdateFeatureRequest\0229\n\007featur"
- + "e\030\001 \001(\0132#.google.cloud.aiplatform.v1.Fea"
- + "tureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google."
- + "protobuf.FieldMask\"O\n\024DeleteFeatureReque"
+ + "yType\0229\n\007feature\030\002 \001(\0132#.google.cloud.ai"
+ + "platform.v1.FeatureB\003\340A\002\022\027\n\nfeature_id\030\003"
+ + " \001(\tB\003\340A\002\"\243\001\n\032BatchCreateFeaturesRequest"
+ + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goo"
+ + "gleapis.com/EntityType\022G\n\010requests\030\002 \003(\013"
+ + "20.google.cloud.aiplatform.v1.CreateFeat"
+ + "ureRequestB\003\340A\002\"T\n\033BatchCreateFeaturesRe"
+ + "sponse\0225\n\010features\030\001 \003(\0132#.google.cloud."
+ + "aiplatform.v1.Feature\"L\n\021GetFeatureReque"
+ "st\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.goo"
- + "gleapis.com/Feature\"u\n#CreateFeaturestor"
- + "eOperationMetadata\022N\n\020generic_metadata\030\001"
- + " \001(\01324.google.cloud.aiplatform.v1.Generi"
- + "cOperationMetadata\"u\n#UpdateFeaturestore"
- + "OperationMetadata\022N\n\020generic_metadata\030\001 "
- + "\001(\01324.google.cloud.aiplatform.v1.Generic"
- + "OperationMetadata\"\326\001\n$ImportFeatureValue"
- + "sOperationMetadata\022N\n\020generic_metadata\030\001"
- + " \001(\01324.google.cloud.aiplatform.v1.Generi"
- + "cOperationMetadata\022\035\n\025imported_entity_co"
- + "unt\030\002 \001(\003\022$\n\034imported_feature_value_coun"
- + "t\030\003 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"v\n$Ex"
- + "portFeatureValuesOperationMetadata\022N\n\020ge"
- + "neric_metadata\030\001 \001(\01324.google.cloud.aipl"
- + "atform.v1.GenericOperationMetadata\"y\n\'Ba"
- + "tchReadFeatureValuesOperationMetadata\022N\n"
- + "\020generic_metadata\030\001 \001(\01324.google.cloud.a"
- + "iplatform.v1.GenericOperationMetadata\"s\n"
- + "!CreateEntityTypeOperationMetadata\022N\n\020ge"
- + "neric_metadata\030\001 \001(\01324.google.cloud.aipl"
- + "atform.v1.GenericOperationMetadata\"p\n\036Cr"
- + "eateFeatureOperationMetadata\022N\n\020generic_"
- + "metadata\030\001 \001(\01324.google.cloud.aiplatform"
- + ".v1.GenericOperationMetadata\"v\n$BatchCre"
- + "ateFeaturesOperationMetadata\022N\n\020generic_"
- + "metadata\030\001 \001(\01324.google.cloud.aiplatform"
- + ".v1.GenericOperationMetadata2\273\'\n\023Feature"
- + "storeService\022\246\002\n\022CreateFeaturestore\0225.go"
- + "ogle.cloud.aiplatform.v1.CreateFeaturest"
- + "oreRequest\032\035.google.longrunning.Operatio"
- + "n\"\271\001\202\323\344\223\002A\"1/v1/{parent=projects/*/locat"
- + "ions/*}/featurestores:\014featurestore\332A\023pa"
- + "rent,featurestore\332A#parent,featurestore,"
- + "featurestore_id\312A3\n\014Featurestore\022#Create"
- + "FeaturestoreOperationMetadata\022\261\001\n\017GetFea"
- + "turestore\0222.google.cloud.aiplatform.v1.G"
- + "etFeaturestoreRequest\032(.google.cloud.aip"
- + "latform.v1.Featurestore\"@\202\323\344\223\0023\0221/v1/{na"
+ + "gleapis.com/Feature\"\344\001\n\023ListFeaturesRequ"
+ + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform."
+ + "googleapis.com/Feature\022\016\n\006filter\030\002 \001(\t\022\021"
+ + "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n"
+ + "\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.goo"
+ + "gle.protobuf.FieldMask\022\032\n\022latest_stats_c"
+ + "ount\030\007 \001(\005\"f\n\024ListFeaturesResponse\0225\n\010fe"
+ + "atures\030\001 \003(\0132#.google.cloud.aiplatform.v"
+ + "1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025S"
+ + "earchFeaturesRequest\022;\n\010location\030\001 \001(\tB)"
+ + "\340A\002\372A#\n!locations.googleapis.com/Locatio"
+ + "n\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\np"
+ + "age_token\030\005 \001(\t\"h\n\026SearchFeaturesRespons"
+ + "e\0225\n\010features\030\001 \003(\0132#.google.cloud.aipla"
+ + "tform.v1.Feature\022\027\n\017next_page_token\030\002 \001("
+ + "\t\"\202\001\n\024UpdateFeatureRequest\0229\n\007feature\030\001 "
+ + "\001(\0132#.google.cloud.aiplatform.v1.Feature"
+ + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot"
+ + "obuf.FieldMask\"O\n\024DeleteFeatureRequest\0227"
+ + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googlea"
+ + "pis.com/Feature\"u\n#CreateFeaturestoreOpe"
+ + "rationMetadata\022N\n\020generic_metadata\030\001 \001(\013"
+ + "24.google.cloud.aiplatform.v1.GenericOpe"
+ + "rationMetadata\"u\n#UpdateFeaturestoreOper"
+ + "ationMetadata\022N\n\020generic_metadata\030\001 \001(\0132"
+ + "4.google.cloud.aiplatform.v1.GenericOper"
+ + "ationMetadata\"\326\001\n$ImportFeatureValuesOpe"
+ + "rationMetadata\022N\n\020generic_metadata\030\001 \001(\013"
+ + "24.google.cloud.aiplatform.v1.GenericOpe"
+ + "rationMetadata\022\035\n\025imported_entity_count\030"
+ + "\002 \001(\003\022$\n\034imported_feature_value_count\030\003 "
+ + "\001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"v\n$Export"
+ + "FeatureValuesOperationMetadata\022N\n\020generi"
+ + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo"
+ + "rm.v1.GenericOperationMetadata\"y\n\'BatchR"
+ + "eadFeatureValuesOperationMetadata\022N\n\020gen"
+ + "eric_metadata\030\001 \001(\01324.google.cloud.aipla"
+ + "tform.v1.GenericOperationMetadata\"s\n!Cre"
+ + "ateEntityTypeOperationMetadata\022N\n\020generi"
+ + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo"
+ + "rm.v1.GenericOperationMetadata\"p\n\036Create"
+ + "FeatureOperationMetadata\022N\n\020generic_meta"
+ + "data\030\001 \001(\01324.google.cloud.aiplatform.v1."
+ + "GenericOperationMetadata\"v\n$BatchCreateF"
+ + "eaturesOperationMetadata\022N\n\020generic_meta"
+ + "data\030\001 \001(\01324.google.cloud.aiplatform.v1."
+ + "GenericOperationMetadata2\273\'\n\023Featurestor"
+ + "eService\022\246\002\n\022CreateFeaturestore\0225.google"
+ + ".cloud.aiplatform.v1.CreateFeaturestoreR"
+ + "equest\032\035.google.longrunning.Operation\"\271\001"
+ + "\202\323\344\223\002A\"1/v1/{parent=projects/*/locations"
+ + "/*}/featurestores:\014featurestore\332A\023parent"
+ + ",featurestore\332A#parent,featurestore,feat"
+ + "urestore_id\312A3\n\014Featurestore\022#CreateFeat"
+ + "urestoreOperationMetadata\022\261\001\n\017GetFeature"
+ + "store\0222.google.cloud.aiplatform.v1.GetFe"
+ + "aturestoreRequest\032(.google.cloud.aiplatf"
+ + "orm.v1.Featurestore\"@\202\323\344\223\0023\0221/v1/{name=p"
+ + "rojects/*/locations/*/featurestores/*}\332A"
+ + "\004name\022\304\001\n\021ListFeaturestores\0224.google.clo"
+ + "ud.aiplatform.v1.ListFeaturestoresReques"
+ + "t\0325.google.cloud.aiplatform.v1.ListFeatu"
+ + "restoresResponse\"B\202\323\344\223\0023\0221/v1/{parent=pr"
+ + "ojects/*/locations/*}/featurestores\332A\006pa"
+ + "rent\022\222\002\n\022UpdateFeaturestore\0225.google.clo"
+ + "ud.aiplatform.v1.UpdateFeaturestoreReque"
+ + "st\032\035.google.longrunning.Operation\"\245\001\202\323\344\223"
+ + "\002N2>/v1/{featurestore.name=projects/*/lo"
+ + "cations/*/featurestores/*}:\014featurestore"
+ + "\332A\030featurestore,update_mask\312A3\n\014Features"
+ + "tore\022#UpdateFeaturestoreOperationMetadat"
+ + "a\022\355\001\n\022DeleteFeaturestore\0225.google.cloud."
+ + "aiplatform.v1.DeleteFeaturestoreRequest\032"
+ + "\035.google.longrunning.Operation\"\200\001\202\323\344\223\0023*"
+ + "1/v1/{name=projects/*/locations/*/featur"
+ + "estores/*}\332A\004name\332A\nname,force\312A0\n\025googl"
+ + "e.protobuf.Empty\022\027DeleteOperationMetadat"
+ + "a\022\250\002\n\020CreateEntityType\0223.google.cloud.ai"
+ + "platform.v1.CreateEntityTypeRequest\032\035.go"
+ + "ogle.longrunning.Operation\"\277\001\202\323\344\223\002N\"?/v1"
+ + "/{parent=projects/*/locations/*/features"
+ + "tores/*}/entityTypes:\013entity_type\332A\022pare"
+ + "nt,entity_type\332A!parent,entity_type,enti"
+ + "ty_type_id\312A/\n\nEntityType\022!CreateEntityT"
+ + "ypeOperationMetadata\022\271\001\n\rGetEntityType\0220"
+ + ".google.cloud.aiplatform.v1.GetEntityTyp"
+ + "eRequest\032&.google.cloud.aiplatform.v1.En"
+ + "tityType\"N\202\323\344\223\002A\022?/v1/{name=projects/*/l"
+ + "ocations/*/featurestores/*/entityTypes/*"
+ + "}\332A\004name\022\314\001\n\017ListEntityTypes\0222.google.cl"
+ + "oud.aiplatform.v1.ListEntityTypesRequest"
+ + "\0323.google.cloud.aiplatform.v1.ListEntity"
+ + "TypesResponse\"P\202\323\344\223\002A\022?/v1/{parent=proje"
+ + "cts/*/locations/*/featurestores/*}/entit"
+ + "yTypes\332A\006parent\022\353\001\n\020UpdateEntityType\0223.g"
+ + "oogle.cloud.aiplatform.v1.UpdateEntityTy"
+ + "peRequest\032&.google.cloud.aiplatform.v1.E"
+ + "ntityType\"z\202\323\344\223\002Z2K/v1/{entity_type.name"
+ + "=projects/*/locations/*/featurestores/*/"
+ + "entityTypes/*}:\013entity_type\332A\027entity_typ"
+ + "e,update_mask\022\367\001\n\020DeleteEntityType\0223.goo"
+ + "gle.cloud.aiplatform.v1.DeleteEntityType"
+ + "Request\032\035.google.longrunning.Operation\"\216"
+ + "\001\202\323\344\223\002A*?/v1/{name=projects/*/locations/"
+ + "*/featurestores/*/entityTypes/*}\332A\004name\332"
+ + "A\nname,force\312A0\n\025google.protobuf.Empty\022\027"
+ + "DeleteOperationMetadata\022\227\002\n\rCreateFeatur"
+ + "e\0220.google.cloud.aiplatform.v1.CreateFea"
+ + "tureRequest\032\035.google.longrunning.Operati"
+ + "on\"\264\001\202\323\344\223\002U\"J/v1/{parent=projects/*/loca"
+ + "tions/*/featurestores/*/entityTypes/*}/f"
+ + "eatures:\007feature\332A\016parent,feature\332A\031pare"
+ + "nt,feature,feature_id\312A)\n\007Feature\022\036Creat"
+ + "eFeatureOperationMetadata\022\250\002\n\023BatchCreat"
+ + "eFeatures\0226.google.cloud.aiplatform.v1.B"
+ + "atchCreateFeaturesRequest\032\035.google.longr"
+ + "unning.Operation\"\271\001\202\323\344\223\002[\"V/v1/{parent=p"
+ + "rojects/*/locations/*/featurestores/*/en"
+ + "tityTypes/*}/features:batchCreate:\001*\332A\017p"
+ + "arent,requests\312AC\n\033BatchCreateFeaturesRe"
+ + "sponse\022$BatchCreateFeaturesOperationMeta"
+ + "data\022\273\001\n\nGetFeature\022-.google.cloud.aipla"
+ + "tform.v1.GetFeatureRequest\032#.google.clou"
+ + "d.aiplatform.v1.Feature\"Y\202\323\344\223\002L\022J/v1/{na"
+ "me=projects/*/locations/*/featurestores/"
- + "*}\332A\004name\022\304\001\n\021ListFeaturestores\0224.google"
- + ".cloud.aiplatform.v1.ListFeaturestoresRe"
- + "quest\0325.google.cloud.aiplatform.v1.ListF"
- + "eaturestoresResponse\"B\202\323\344\223\0023\0221/v1/{paren"
- + "t=projects/*/locations/*}/featurestores\332"
- + "A\006parent\022\222\002\n\022UpdateFeaturestore\0225.google"
- + ".cloud.aiplatform.v1.UpdateFeaturestoreR"
- + "equest\032\035.google.longrunning.Operation\"\245\001"
- + "\202\323\344\223\002N2>/v1/{featurestore.name=projects/"
- + "*/locations/*/featurestores/*}:\014features"
- + "tore\332A\030featurestore,update_mask\312A3\n\014Feat"
- + "urestore\022#UpdateFeaturestoreOperationMet"
- + "adata\022\355\001\n\022DeleteFeaturestore\0225.google.cl"
- + "oud.aiplatform.v1.DeleteFeaturestoreRequ"
- + "est\032\035.google.longrunning.Operation\"\200\001\202\323\344"
- + "\223\0023*1/v1/{name=projects/*/locations/*/fe"
- + "aturestores/*}\332A\004name\332A\nname,force\312A0\n\025g"
- + "oogle.protobuf.Empty\022\027DeleteOperationMet"
- + "adata\022\250\002\n\020CreateEntityType\0223.google.clou"
- + "d.aiplatform.v1.CreateEntityTypeRequest\032"
- + "\035.google.longrunning.Operation\"\277\001\202\323\344\223\002N\""
- + "?/v1/{parent=projects/*/locations/*/feat"
- + "urestores/*}/entityTypes:\013entity_type\332A\022"
- + "parent,entity_type\332A!parent,entity_type,"
- + "entity_type_id\312A/\n\nEntityType\022!CreateEnt"
- + "ityTypeOperationMetadata\022\271\001\n\rGetEntityTy"
- + "pe\0220.google.cloud.aiplatform.v1.GetEntit"
- + "yTypeRequest\032&.google.cloud.aiplatform.v"
- + "1.EntityType\"N\202\323\344\223\002A\022?/v1/{name=projects"
- + "/*/locations/*/featurestores/*/entityTyp"
- + "es/*}\332A\004name\022\314\001\n\017ListEntityTypes\0222.googl"
- + "e.cloud.aiplatform.v1.ListEntityTypesReq"
- + "uest\0323.google.cloud.aiplatform.v1.ListEn"
- + "tityTypesResponse\"P\202\323\344\223\002A\022?/v1/{parent=p"
- + "rojects/*/locations/*/featurestores/*}/e"
- + "ntityTypes\332A\006parent\022\353\001\n\020UpdateEntityType"
- + "\0223.google.cloud.aiplatform.v1.UpdateEnti"
- + "tyTypeRequest\032&.google.cloud.aiplatform."
- + "v1.EntityType\"z\202\323\344\223\002Z2K/v1/{entity_type."
- + "name=projects/*/locations/*/featurestore"
- + "s/*/entityTypes/*}:\013entity_type\332A\027entity"
- + "_type,update_mask\022\367\001\n\020DeleteEntityType\0223"
- + ".google.cloud.aiplatform.v1.DeleteEntity"
- + "TypeRequest\032\035.google.longrunning.Operati"
- + "on\"\216\001\202\323\344\223\002A*?/v1/{name=projects/*/locati"
- + "ons/*/featurestores/*/entityTypes/*}\332A\004n"
- + "ame\332A\nname,force\312A0\n\025google.protobuf.Emp"
- + "ty\022\027DeleteOperationMetadata\022\227\002\n\rCreateFe"
- + "ature\0220.google.cloud.aiplatform.v1.Creat"
- + "eFeatureRequest\032\035.google.longrunning.Ope"
- + "ration\"\264\001\202\323\344\223\002U\"J/v1/{parent=projects/*/"
- + "locations/*/featurestores/*/entityTypes/"
- + "*}/features:\007feature\332A\016parent,feature\332A\031"
- + "parent,feature,feature_id\312A)\n\007Feature\022\036C"
- + "reateFeatureOperationMetadata\022\250\002\n\023BatchC"
- + "reateFeatures\0226.google.cloud.aiplatform."
- + "v1.BatchCreateFeaturesRequest\032\035.google.l"
- + "ongrunning.Operation\"\271\001\202\323\344\223\002[\"V/v1/{pare"
- + "nt=projects/*/locations/*/featurestores/"
- + "*/entityTypes/*}/features:batchCreate:\001*"
- + "\332A\017parent,requests\312AC\n\033BatchCreateFeatur"
- + "esResponse\022$BatchCreateFeaturesOperation"
- + "Metadata\022\273\001\n\nGetFeature\022-.google.cloud.a"
- + "iplatform.v1.GetFeatureRequest\032#.google."
- + "cloud.aiplatform.v1.Feature\"Y\202\323\344\223\002L\022J/v1"
- + "/{name=projects/*/locations/*/featuresto"
- + "res/*/entityTypes/*/features/*}\332A\004name\022\316"
- + "\001\n\014ListFeatures\022/.google.cloud.aiplatfor"
- + "m.v1.ListFeaturesRequest\0320.google.cloud."
- + "aiplatform.v1.ListFeaturesResponse\"[\202\323\344\223"
- + "\002L\022J/v1/{parent=projects/*/locations/*/f"
- + "eaturestores/*/entityTypes/*}/features\332A"
- + "\006parent\022\341\001\n\rUpdateFeature\0220.google.cloud"
- + ".aiplatform.v1.UpdateFeatureRequest\032#.go"
- + "ogle.cloud.aiplatform.v1.Feature\"y\202\323\344\223\002]"
- + "2R/v1/{feature.name=projects/*/locations"
- + "/*/featurestores/*/entityTypes/*/feature"
- + "s/*}:\007feature\332A\023feature,update_mask\022\357\001\n\r"
- + "DeleteFeature\0220.google.cloud.aiplatform."
- + "v1.DeleteFeatureRequest\032\035.google.longrun"
- + "ning.Operation\"\214\001\202\323\344\223\002L*J/v1/{name=proje"
- + "cts/*/locations/*/featurestores/*/entity"
- + "Types/*/features/*}\332A\004name\312A0\n\025google.pr"
- + "otobuf.Empty\022\027DeleteOperationMetadata\022\250\002"
- + "\n\023ImportFeatureValues\0226.google.cloud.aip"
- + "latform.v1.ImportFeatureValuesRequest\032\035."
- + "google.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/"
- + "v1/{entity_type=projects/*/locations/*/f"
- + "eaturestores/*/entityTypes/*}:importFeat"
- + "ureValues:\001*\332A\013entity_type\312AC\n\033ImportFea"
- + "tureValuesResponse\022$ImportFeatureValuesO"
- + "perationMetadata\022\253\002\n\026BatchReadFeatureVal"
- + "ues\0229.google.cloud.aiplatform.v1.BatchRe"
- + "adFeatureValuesRequest\032\035.google.longrunn"
- + "ing.Operation\"\266\001\202\323\344\223\002U\"P/v1/{featurestor"
- + "e=projects/*/locations/*/featurestores/*"
- + "}:batchReadFeatureValues:\001*\332A\014featuresto"
- + "re\312AI\n\036BatchReadFeatureValuesResponse\022\'B"
- + "atchReadFeatureValuesOperationMetadata\022\250"
- + "\002\n\023ExportFeatureValues\0226.google.cloud.ai"
- + "platform.v1.ExportFeatureValuesRequest\032\035"
- + ".google.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z"
- + "/v1/{entity_type=projects/*/locations/*/"
- + "featurestores/*/entityTypes/*}:exportFea"
- + "tureValues:\001*\332A\013entity_type\312AC\n\033ExportFe"
- + "atureValuesResponse\022$ExportFeatureValues"
- + "OperationMetadata\022\337\001\n\016SearchFeatures\0221.g"
- + "oogle.cloud.aiplatform.v1.SearchFeatures"
- + "Request\0322.google.cloud.aiplatform.v1.Sea"
- + "rchFeaturesResponse\"f\202\323\344\223\002D\022B/v1/{locati"
- + "on=projects/*/locations/*}/featurestores"
- + ":searchFeatures\332A\010location\332A\016location,qu"
- + "ery\032M\312A\031aiplatform.googleapis.com\322A.http"
- + "s://www.googleapis.com/auth/cloud-platfo"
- + "rmB\334\001\n\036com.google.cloud.aiplatform.v1B\030F"
- + "eaturestoreServiceProtoP\001ZDgoogle.golang"
- + ".org/genproto/googleapis/cloud/aiplatfor"
- + "m/v1;aiplatform\252\002\032Google.Cloud.AIPlatfor"
- + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog"
- + "le::Cloud::AIPlatform::V1b\006proto3"
+ + "*/entityTypes/*/features/*}\332A\004name\022\316\001\n\014L"
+ + "istFeatures\022/.google.cloud.aiplatform.v1"
+ + ".ListFeaturesRequest\0320.google.cloud.aipl"
+ + "atform.v1.ListFeaturesResponse\"[\202\323\344\223\002L\022J"
+ + "/v1/{parent=projects/*/locations/*/featu"
+ + "restores/*/entityTypes/*}/features\332A\006par"
+ + "ent\022\341\001\n\rUpdateFeature\0220.google.cloud.aip"
+ + "latform.v1.UpdateFeatureRequest\032#.google"
+ + ".cloud.aiplatform.v1.Feature\"y\202\323\344\223\002]2R/v"
+ + "1/{feature.name=projects/*/locations/*/f"
+ + "eaturestores/*/entityTypes/*/features/*}"
+ + ":\007feature\332A\023feature,update_mask\022\357\001\n\rDele"
+ + "teFeature\0220.google.cloud.aiplatform.v1.D"
+ + "eleteFeatureRequest\032\035.google.longrunning"
+ + ".Operation\"\214\001\202\323\344\223\002L*J/v1/{name=projects/"
+ + "*/locations/*/featurestores/*/entityType"
+ + "s/*/features/*}\332A\004name\312A0\n\025google.protob"
+ + "uf.Empty\022\027DeleteOperationMetadata\022\250\002\n\023Im"
+ + "portFeatureValues\0226.google.cloud.aiplatf"
+ + "orm.v1.ImportFeatureValuesRequest\032\035.goog"
+ + "le.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/v1/{"
+ + "entity_type=projects/*/locations/*/featu"
+ + "restores/*/entityTypes/*}:importFeatureV"
+ + "alues:\001*\332A\013entity_type\312AC\n\033ImportFeature"
+ + "ValuesResponse\022$ImportFeatureValuesOpera"
+ + "tionMetadata\022\253\002\n\026BatchReadFeatureValues\022"
+ + "9.google.cloud.aiplatform.v1.BatchReadFe"
+ + "atureValuesRequest\032\035.google.longrunning."
+ + "Operation\"\266\001\202\323\344\223\002U\"P/v1/{featurestore=pr"
+ + "ojects/*/locations/*/featurestores/*}:ba"
+ + "tchReadFeatureValues:\001*\332A\014featurestore\312A"
+ + "I\n\036BatchReadFeatureValuesResponse\022\'Batch"
+ + "ReadFeatureValuesOperationMetadata\022\250\002\n\023E"
+ + "xportFeatureValues\0226.google.cloud.aiplat"
+ + "form.v1.ExportFeatureValuesRequest\032\035.goo"
+ + "gle.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/v1/"
+ + "{entity_type=projects/*/locations/*/feat"
+ + "urestores/*/entityTypes/*}:exportFeature"
+ + "Values:\001*\332A\013entity_type\312AC\n\033ExportFeatur"
+ + "eValuesResponse\022$ExportFeatureValuesOper"
+ + "ationMetadata\022\337\001\n\016SearchFeatures\0221.googl"
+ + "e.cloud.aiplatform.v1.SearchFeaturesRequ"
+ + "est\0322.google.cloud.aiplatform.v1.SearchF"
+ + "eaturesResponse\"f\202\323\344\223\002D\022B/v1/{location=p"
+ + "rojects/*/locations/*}/featurestores:sea"
+ + "rchFeatures\332A\010location\332A\016location,query\032"
+ + "M\312A\031aiplatform.googleapis.com\322A.https://"
+ + "www.googleapis.com/auth/cloud-platformB\334"
+ + "\001\n\036com.google.cloud.aiplatform.v1B\030Featu"
+ + "restoreServiceProtoP\001ZDgoogle.golang.org"
+ + "/genproto/googleapis/cloud/aiplatform/v1"
+ + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1"
+ + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::"
+ + "Cloud::AIPlatform::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -607,6 +608,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"FeatureSpecs",
"DisableOnlineServing",
"WorkerCount",
+ "DisableIngestionAnalysis",
"Source",
"FeatureTimeSource",
});
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java
index d156e8343..a9ce02c89 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequest.java
@@ -182,6 +182,11 @@ private ImportFeatureValuesRequest(
workerCount_ = input.readInt32();
break;
}
+ case 96:
+ {
+ disableIngestionAnalysis_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -1671,6 +1676,24 @@ public int getWorkerCount() {
return workerCount_;
}
+ public static final int DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER = 12;
+ private boolean disableIngestionAnalysis_;
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return The disableIngestionAnalysis.
+ */
+ @java.lang.Override
+ public boolean getDisableIngestionAnalysis() {
+ return disableIngestionAnalysis_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1715,6 +1738,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (workerCount_ != 0) {
output.writeInt32(11, workerCount_);
}
+ if (disableIngestionAnalysis_ != false) {
+ output.writeBool(12, disableIngestionAnalysis_);
+ }
unknownFields.writeTo(output);
}
@@ -1762,6 +1788,9 @@ public int getSerializedSize() {
if (workerCount_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, workerCount_);
}
+ if (disableIngestionAnalysis_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableIngestionAnalysis_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1783,6 +1812,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getFeatureSpecsList().equals(other.getFeatureSpecsList())) return false;
if (getDisableOnlineServing() != other.getDisableOnlineServing()) return false;
if (getWorkerCount() != other.getWorkerCount()) return false;
+ if (getDisableIngestionAnalysis() != other.getDisableIngestionAnalysis()) return false;
if (!getSourceCase().equals(other.getSourceCase())) return false;
switch (sourceCase_) {
case 2:
@@ -1831,6 +1861,8 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableOnlineServing());
hash = (37 * hash) + WORKER_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getWorkerCount();
+ hash = (37 * hash) + DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableIngestionAnalysis());
switch (sourceCase_) {
case 2:
hash = (37 * hash) + AVRO_SOURCE_FIELD_NUMBER;
@@ -2021,6 +2053,8 @@ public Builder clear() {
workerCount_ = 0;
+ disableIngestionAnalysis_ = false;
+
sourceCase_ = 0;
source_ = null;
featureTimeSourceCase_ = 0;
@@ -2097,6 +2131,7 @@ public com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest buildPartial()
}
result.disableOnlineServing_ = disableOnlineServing_;
result.workerCount_ = workerCount_;
+ result.disableIngestionAnalysis_ = disableIngestionAnalysis_;
result.sourceCase_ = sourceCase_;
result.featureTimeSourceCase_ = featureTimeSourceCase_;
onBuilt();
@@ -2190,6 +2225,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ImportFeatureValuesReque
if (other.getWorkerCount() != 0) {
setWorkerCount(other.getWorkerCount());
}
+ if (other.getDisableIngestionAnalysis() != false) {
+ setDisableIngestionAnalysis(other.getDisableIngestionAnalysis());
+ }
switch (other.getSourceCase()) {
case AVRO_SOURCE:
{
@@ -3879,6 +3917,58 @@ public Builder clearWorkerCount() {
return this;
}
+ private boolean disableIngestionAnalysis_;
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return The disableIngestionAnalysis.
+ */
+ @java.lang.Override
+ public boolean getDisableIngestionAnalysis() {
+ return disableIngestionAnalysis_;
+ }
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @param value The disableIngestionAnalysis to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisableIngestionAnalysis(boolean value) {
+
+ disableIngestionAnalysis_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisableIngestionAnalysis() {
+
+ disableIngestionAnalysis_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java
index 783ce05d3..dac490207 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesRequestOrBuilder.java
@@ -314,6 +314,19 @@ public interface ImportFeatureValuesRequestOrBuilder
*/
int getWorkerCount();
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return The disableIngestionAnalysis.
+ */
+ boolean getDisableIngestionAnalysis();
+
public com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest.SourceCase getSourceCase();
public com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureTimeSourceCase
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java
index 40bad0d6c..c7ecb2976 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequest.java
@@ -213,7 +213,12 @@ public com.google.cloud.aiplatform.v1.EntityTypeOrBuilder getEntityTypeOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -239,7 +244,12 @@ public boolean hasUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -265,7 +275,12 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -886,7 +901,12 @@ public com.google.cloud.aiplatform.v1.EntityTypeOrBuilder getEntityTypeOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -911,7 +931,12 @@ public boolean hasUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -942,7 +967,12 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -975,7 +1005,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1005,7 +1040,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1040,7 +1080,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1071,7 +1116,12 @@ public Builder clearUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1096,7 +1146,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1125,7 +1180,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java
index 69b74bac8..968995b5b 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateEntityTypeRequestOrBuilder.java
@@ -88,7 +88,12 @@ public interface UpdateEntityTypeRequestOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -111,7 +116,12 @@ public interface UpdateEntityTypeRequestOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -134,7 +144,12 @@ public interface UpdateEntityTypeRequestOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java
index 501eb088d..131230228 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequest.java
@@ -212,8 +212,7 @@ public com.google.cloud.aiplatform.v1.FeatureOrBuilder getFeatureOrBuilder() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -238,8 +237,7 @@ public boolean hasUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -264,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -883,8 +880,7 @@ public com.google.cloud.aiplatform.v1.FeatureOrBuilder getFeatureOrBuilder() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -908,8 +904,7 @@ public boolean hasUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -939,8 +934,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -972,8 +966,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1002,8 +995,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1037,8 +1029,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1068,8 +1059,7 @@ public Builder clearUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1093,8 +1083,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1122,8 +1111,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java
index b4f5ab54c..07efdb891 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateFeatureRequestOrBuilder.java
@@ -87,8 +87,7 @@ public interface UpdateFeatureRequestOrBuilder
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -110,8 +109,7 @@ public interface UpdateFeatureRequestOrBuilder
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -133,8 +131,7 @@ public interface UpdateFeatureRequestOrBuilder
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto
index 800c946f5..524c8e694 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto
@@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/cloud/aiplatform/v1/featurestore_monitoring.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
@@ -72,4 +73,16 @@ message EntityType {
// Optional. Used to perform a consistent read-modify-write updates. If not set, a blind
// "overwrite" update happens.
string etag = 7 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The default monitoring configuration for all Features with value
+ // type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ // STRING, DOUBLE or INT64 under this EntityType.
+ //
+ // If this is populated with
+ // [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
+ // analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
+ // disabled.
+ FeaturestoreMonitoringConfig monitoring_config = 8
+ [(google.api.field_behavior) = OPTIONAL];
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto
index 284ed55ff..47b1bc807 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto
@@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto";
import "google/protobuf/timestamp.proto";
option csharp_namespace = "Google.Cloud.AIPlatform.V1";
@@ -37,6 +38,36 @@ message Feature {
pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}"
};
+ // A list of historical [Snapshot
+ // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+ // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+ // requested by user, sorted by
+ // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time]
+ // descending.
+ message MonitoringStatsAnomaly {
+ // If the objective in the request is both
+ // Import Feature Analysis and Snapshot Analysis, this objective could be
+ // one of them. Otherwise, this objective should be the same as the
+ // objective in the request.
+ enum Objective {
+ // If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+ OBJECTIVE_UNSPECIFIED = 0;
+
+ // Stats are generated by Import Feature Analysis.
+ IMPORT_FEATURE_ANALYSIS = 1;
+
+ // Stats are generated by Snapshot Analysis.
+ SNAPSHOT_ANALYSIS = 2;
+ }
+
+ // Output only. The objective for each stats.
+ Objective objective = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The stats and anomalies generated at specific timestamp.
+ FeatureStatsAnomaly feature_stats_anomaly = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
// An enum representing the value type of a feature.
enum ValueType {
// The value type is unspecified.
@@ -111,4 +142,18 @@ message Feature {
// Used to perform a consistent read-modify-write updates. If not set, a blind
// "overwrite" update happens.
string etag = 7;
+
+ // Optional. If not set, use the monitoring_config defined for the EntityType
+ // this Feature belongs to. Only Features with type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL,
+ // STRING, DOUBLE or INT64 can enable monitoring.
+ //
+ // If set to true, all types of data monitoring are disabled despite the
+ // config on EntityType.
+ bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. The list of historical stats and anomalies with specified
+ // objectives.
+ repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto
new file mode 100644
index 000000000..071f6a246
--- /dev/null
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto
@@ -0,0 +1,153 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.aiplatform.v1;
+
+option csharp_namespace = "Google.Cloud.AIPlatform.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
+option java_multiple_files = true;
+option java_outer_classname = "FeaturestoreMonitoringProto";
+option java_package = "com.google.cloud.aiplatform.v1";
+option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
+option ruby_package = "Google::Cloud::AIPlatform::V1";
+
+// Configuration of how features in Featurestore are monitored.
+message FeaturestoreMonitoringConfig {
+ // Configuration of the Featurestore's Snapshot Analysis Based Monitoring.
+ // This type of analysis generates statistics for each Feature based on a
+ // snapshot of the latest feature value of each entities every
+ // monitoring_interval.
+ message SnapshotAnalysis {
+ // The monitoring schedule for snapshot analysis.
+ // For EntityType-level config:
+ // unset / disabled = true indicates disabled by
+ // default for Features under it; otherwise by default enable snapshot
+ // analysis monitoring with monitoring_interval for Features under it.
+ // Feature-level config:
+ // disabled = true indicates disabled regardless of the EntityType-level
+ // config; unset monitoring_interval indicates going with EntityType-level
+ // config; otherwise run snapshot analysis monitoring with
+ // monitoring_interval regardless of the EntityType-level config.
+ // Explicitly Disable the snapshot analysis based monitoring.
+ bool disabled = 1;
+
+ // Configuration of the snapshot analysis based monitoring pipeline
+ // running interval. The value indicates number of days.
+ // If both
+ // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+ // and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
+ // are set when creating/updating EntityTypes/Features,
+ // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
+ // will be used.
+ int32 monitoring_interval_days = 3;
+
+ // Customized export features time window for snapshot analysis. Unit is one
+ // day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ // 4000 days.
+ int32 staleness_days = 4;
+ }
+
+ // Configuration of the Featurestore's ImportFeature Analysis Based
+ // Monitoring. This type of analysis generates statistics for values of each
+ // Feature imported by every [ImportFeatureValues][] operation.
+ message ImportFeaturesAnalysis {
+ // The state defines whether to enable ImportFeature analysis.
+ enum State {
+ // Should not be used.
+ STATE_UNSPECIFIED = 0;
+
+ // The default behavior of whether to enable the monitoring.
+ // EntityType-level config: disabled.
+ // Feature-level config: inherited from the configuration of EntityType
+ // this Feature belongs to.
+ DEFAULT = 1;
+
+ // Explicitly enables import features analysis.
+ // EntityType-level config: by default enables import features analysis
+ // for all Features under it. Feature-level config: enables import
+ // features analysis regardless of the EntityType-level config.
+ ENABLED = 2;
+
+ // Explicitly disables import features analysis.
+ // EntityType-level config: by default disables import features analysis
+ // for all Features under it. Feature-level config: disables import
+ // features analysis regardless of the EntityType-level config.
+ DISABLED = 3;
+ }
+
+ // Defines the baseline to do anomaly detection for feature values imported
+ // by each [ImportFeatureValues][] operation.
+ enum Baseline {
+ // Should not be used.
+ BASELINE_UNSPECIFIED = 0;
+
+ // Choose the later one statistics generated by either most recent
+ // snapshot analysis or previous import features analysis. If non of them
+ // exists, skip anomaly detection and only generate a statistics.
+ LATEST_STATS = 1;
+
+ // Use the statistics generated by the most recent snapshot analysis if
+ // exists.
+ MOST_RECENT_SNAPSHOT_STATS = 2;
+
+ // Use the statistics generated by the previous import features analysis
+ // if exists.
+ PREVIOUS_IMPORT_FEATURES_STATS = 3;
+ }
+
+ // Whether to enable / disable / inherite default hebavior for import
+ // features analysis.
+ State state = 1;
+
+ // The baseline used to do anomaly detection for the statistics generated by
+ // import features analysis.
+ Baseline anomaly_detection_baseline = 2;
+ }
+
+ // The config for Featurestore Monitoring threshold.
+ message ThresholdConfig {
+ oneof threshold {
+ // Specify a threshold value that can trigger the alert.
+ // 1. For categorical feature, the distribution distance is calculated by
+ // L-inifinity norm.
+ // 2. For numerical feature, the distribution distance is calculated by
+ // Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ // if they need to be monitored. Otherwise no alert will be triggered for
+ // that feature.
+ double value = 1;
+ }
+ }
+
+ // The config for Snapshot Analysis Based Feature Monitoring.
+ SnapshotAnalysis snapshot_analysis = 1;
+
+ // The config for ImportFeatures Analysis Based Feature Monitoring.
+ ImportFeaturesAnalysis import_features_analysis = 2;
+
+ // Threshold for numerical features of anomaly detection.
+ // This is shared by all objectives of Featurestore Monitoring for numerical
+ // features (i.e. Features with type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE
+ // or INT64).
+ ThresholdConfig numerical_threshold_config = 3;
+
+ // Threshold for categorical features of anomaly detection.
+ // This is shared by all types of Featurestore Monitoring for categorical
+ // features (i.e. Features with type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or
+ // STRING).
+ ThresholdConfig categorical_threshold_config = 4;
+}
diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto
index 7b8bb5e23..706ee62dd 100644
--- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto
+++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto
@@ -505,6 +505,9 @@ message ImportFeatureValuesRequest {
// If not set, defaults to using 1 worker. The low count ensures minimal
// impact on online serving performance.
int32 worker_count = 11;
+
+ // If true, API doesn't start ingestion analysis pipeline.
+ bool disable_ingestion_analysis = 12;
}
// Response message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues].
@@ -846,7 +849,12 @@ message UpdateEntityTypeRequest {
// * `description`
// * `labels`
// * `monitoring_config.snapshot_analysis.disabled`
- // * `monitoring_config.snapshot_analysis.monitoring_interval`
+ // * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ // * `monitoring_config.snapshot_analysis.staleness_days`
+ // * `monitoring_config.import_features_analysis.state`
+ // * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ // * `monitoring_config.numerical_threshold_config.value`
+ // * `monitoring_config.categorical_threshold_config.value`
google.protobuf.FieldMask update_mask = 2;
}
@@ -1138,8 +1146,7 @@ message UpdateFeatureRequest {
//
// * `description`
// * `labels`
- // * `monitoring_config.snapshot_analysis.disabled`
- // * `monitoring_config.snapshot_analysis.monitoring_interval`
+ // * `disable_monitoring`
google.protobuf.FieldMask update_mask = 2;
}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java
index f62a8746b..6f2654b02 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Feature.java
@@ -45,6 +45,7 @@ private Feature() {
valueType_ = 0;
etag_ = "";
monitoringStats_ = java.util.Collections.emptyList();
+ monitoringStatsAnomalies_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -180,6 +181,25 @@ private Feature(
extensionRegistry));
break;
}
+ case 90:
+ {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ monitoringStatsAnomalies_ =
+ new java.util.ArrayList<
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly>();
+ mutable_bitField0_ |= 0x00000004;
+ }
+ monitoringStatsAnomalies_.add(
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.parser(),
+ extensionRegistry));
+ break;
+ }
+ case 96:
+ {
+ disableMonitoring_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -197,6 +217,10 @@ private Feature(
if (((mutable_bitField0_ & 0x00000002) != 0)) {
monitoringStats_ = java.util.Collections.unmodifiableList(monitoringStats_);
}
+ if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ monitoringStatsAnomalies_ =
+ java.util.Collections.unmodifiableList(monitoringStatsAnomalies_);
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -447,96 +471,1291 @@ public final int getNumber() {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
- return value;
- }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static ValueType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static ValueType forNumber(int value) {
+ switch (value) {
+ case 0:
+ return VALUE_TYPE_UNSPECIFIED;
+ case 1:
+ return BOOL;
+ case 2:
+ return BOOL_ARRAY;
+ case 3:
+ return DOUBLE;
+ case 4:
+ return DOUBLE_ARRAY;
+ case 9:
+ return INT64;
+ case 10:
+ return INT64_ARRAY;
+ case 11:
+ return STRING;
+ case 12:
+ return STRING_ARRAY;
+ case 13:
+ return BYTES;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for objective.
+ */
+ int getObjectiveValue();
+ /**
+ *
+ *
+ *
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The objective.
+ */
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective getObjective();
+
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the featureStatsAnomaly field is set.
+ */
+ boolean hasFeatureStatsAnomaly();
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The featureStatsAnomaly.
+ */
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getFeatureStatsAnomaly();
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder
+ getFeatureStatsAnomalyOrBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * A list of historical [Snapshot
+ * Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+ * Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+ * requested by user, sorted by
+ * [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time]
+ * descending.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly}
+ */
+ public static final class MonitoringStatsAnomaly extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly)
+ MonitoringStatsAnomalyOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use MonitoringStatsAnomaly.newBuilder() to construct.
+ private MonitoringStatsAnomaly(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private MonitoringStatsAnomaly() {
+ objective_ = 0;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new MonitoringStatsAnomaly();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private MonitoringStatsAnomaly(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ int rawValue = input.readEnum();
+
+ objective_ = rawValue;
+ break;
+ }
+ case 18:
+ {
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder subBuilder = null;
+ if (featureStatsAnomaly_ != null) {
+ subBuilder = featureStatsAnomaly_.toBuilder();
+ }
+ featureStatsAnomaly_ =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(featureStatsAnomaly_);
+ featureStatsAnomaly_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.FeatureProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.FeatureProto
+ .internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.class,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder.class);
+ }
+
+ /**
+ *
+ *
+ *
+ * If the objective in the request is both
+ * Import Feature Analysis and Snapshot Analysis, this objective could be
+ * one of them. Otherwise, this objective should be the same as the
+ * objective in the request.
+ *
+ *
+ * Protobuf enum {@code
+ * google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective}
+ */
+ public enum Objective implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+ *
+ *
+ * OBJECTIVE_UNSPECIFIED = 0;
+ */
+ OBJECTIVE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Stats are generated by Import Feature Analysis.
+ *
+ *
+ * IMPORT_FEATURE_ANALYSIS = 1;
+ */
+ IMPORT_FEATURE_ANALYSIS(1),
+ /**
+ *
+ *
+ *
+ * Stats are generated by Snapshot Analysis.
+ *
+ *
+ * SNAPSHOT_ANALYSIS = 2;
+ */
+ SNAPSHOT_ANALYSIS(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+ *
+ *
+ * OBJECTIVE_UNSPECIFIED = 0;
+ */
+ public static final int OBJECTIVE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * Stats are generated by Import Feature Analysis.
+ *
+ *
+ * IMPORT_FEATURE_ANALYSIS = 1;
+ */
+ public static final int IMPORT_FEATURE_ANALYSIS_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Stats are generated by Snapshot Analysis.
+ *
+ *
+ * SNAPSHOT_ANALYSIS = 2;
+ */
+ public static final int SNAPSHOT_ANALYSIS_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Objective valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Objective forNumber(int value) {
+ switch (value) {
+ case 0:
+ return OBJECTIVE_UNSPECIFIED;
+ case 1:
+ return IMPORT_FEATURE_ANALYSIS;
+ case 2:
+ return SNAPSHOT_ANALYSIS;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for objective.
+ */
+ @java.lang.Override
+ public int getObjectiveValue() {
+ return objective_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The objective.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective
+ getObjective() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective result =
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective.valueOf(
+ objective_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective
+ .UNRECOGNIZED
+ : result;
+ }
+
+ public static final int FEATURE_STATS_ANOMALY_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly featureStatsAnomaly_;
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the featureStatsAnomaly field is set.
+ */
+ @java.lang.Override
+ public boolean hasFeatureStatsAnomaly() {
+ return featureStatsAnomaly_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The featureStatsAnomaly.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getFeatureStatsAnomaly() {
+ return featureStatsAnomaly_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.getDefaultInstance()
+ : featureStatsAnomaly_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder
+ getFeatureStatsAnomalyOrBuilder() {
+ return getFeatureStatsAnomaly();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (objective_
+ != com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective
+ .OBJECTIVE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, objective_);
+ }
+ if (featureStatsAnomaly_ != null) {
+ output.writeMessage(2, getFeatureStatsAnomaly());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (objective_
+ != com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective
+ .OBJECTIVE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, objective_);
+ }
+ if (featureStatsAnomaly_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFeatureStatsAnomaly());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly other =
+ (com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) obj;
+
+ if (objective_ != other.objective_) return false;
+ if (hasFeatureStatsAnomaly() != other.hasFeatureStatsAnomaly()) return false;
+ if (hasFeatureStatsAnomaly()) {
+ if (!getFeatureStatsAnomaly().equals(other.getFeatureStatsAnomaly())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OBJECTIVE_FIELD_NUMBER;
+ hash = (53 * hash) + objective_;
+ if (hasFeatureStatsAnomaly()) {
+ hash = (37 * hash) + FEATURE_STATS_ANOMALY_FIELD_NUMBER;
+ hash = (53 * hash) + getFeatureStatsAnomaly().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * A list of historical [Snapshot
+ * Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+ * Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+ * requested by user, sorted by
+ * [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time]
+ * descending.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for objective.
+ */
+ @java.lang.Override
+ public int getObjectiveValue() {
+ return objective_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for objective to set.
+ * @return This builder for chaining.
+ */
+ public Builder setObjectiveValue(int value) {
+
+ objective_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The objective.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective
+ getObjective() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective result =
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective.valueOf(
+ objective_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective
+ .UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The objective to set.
+ * @return This builder for chaining.
+ */
+ public Builder setObjective(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static ValueType valueOf(int value) {
- return forNumber(value);
- }
+ objective_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The objective for each stats.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearObjective() {
+
+ objective_ = 0;
+ onChanged();
+ return this;
+ }
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- */
- public static ValueType forNumber(int value) {
- switch (value) {
- case 0:
- return VALUE_TYPE_UNSPECIFIED;
- case 1:
- return BOOL;
- case 2:
- return BOOL_ARRAY;
- case 3:
- return DOUBLE;
- case 4:
- return DOUBLE_ARRAY;
- case 9:
- return INT64;
- case 10:
- return INT64_ARRAY;
- case 11:
- return STRING;
- case 12:
- return STRING_ARRAY;
- case 13:
- return BYTES;
- default:
- return null;
+ private com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly featureStatsAnomaly_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly,
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder,
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder>
+ featureStatsAnomalyBuilder_;
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the featureStatsAnomaly field is set.
+ */
+ public boolean hasFeatureStatsAnomaly() {
+ return featureStatsAnomalyBuilder_ != null || featureStatsAnomaly_ != null;
}
- }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The featureStatsAnomaly.
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly getFeatureStatsAnomaly() {
+ if (featureStatsAnomalyBuilder_ == null) {
+ return featureStatsAnomaly_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.getDefaultInstance()
+ : featureStatsAnomaly_;
+ } else {
+ return featureStatsAnomalyBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setFeatureStatsAnomaly(
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly value) {
+ if (featureStatsAnomalyBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ featureStatsAnomaly_ = value;
+ onChanged();
+ } else {
+ featureStatsAnomalyBuilder_.setMessage(value);
+ }
- public static com.google.protobuf.Internal.EnumLiteMap
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setFeatureStatsAnomaly(
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder builderForValue) {
+ if (featureStatsAnomalyBuilder_ == null) {
+ featureStatsAnomaly_ = builderForValue.build();
+ onChanged();
+ } else {
+ featureStatsAnomalyBuilder_.setMessage(builderForValue.build());
+ }
- private static final com.google.protobuf.Internal.EnumLiteMap
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeFeatureStatsAnomaly(
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly value) {
+ if (featureStatsAnomalyBuilder_ == null) {
+ if (featureStatsAnomaly_ != null) {
+ featureStatsAnomaly_ =
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.newBuilder(
+ featureStatsAnomaly_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ featureStatsAnomaly_ = value;
}
- };
+ onChanged();
+ } else {
+ featureStatsAnomalyBuilder_.mergeFrom(value);
+ }
- public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
- if (this == UNRECOGNIZED) {
- throw new java.lang.IllegalStateException(
- "Can't get the descriptor of an unrecognized enum value.");
+ return this;
}
- return getDescriptor().getValues().get(ordinal());
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearFeatureStatsAnomaly() {
+ if (featureStatsAnomalyBuilder_ == null) {
+ featureStatsAnomaly_ = null;
+ onChanged();
+ } else {
+ featureStatsAnomaly_ = null;
+ featureStatsAnomalyBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder
+ getFeatureStatsAnomalyBuilder() {
+
+ onChanged();
+ return getFeatureStatsAnomalyFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder
+ getFeatureStatsAnomalyOrBuilder() {
+ if (featureStatsAnomalyBuilder_ != null) {
+ return featureStatsAnomalyBuilder_.getMessageOrBuilder();
+ } else {
+ return featureStatsAnomaly_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.getDefaultInstance()
+ : featureStatsAnomaly_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The stats and anomalies generated at specific timestamp.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly,
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder,
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder>
+ getFeatureStatsAnomalyFieldBuilder() {
+ if (featureStatsAnomalyBuilder_ == null) {
+ featureStatsAnomalyBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly,
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.Builder,
+ com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder>(
+ getFeatureStatsAnomaly(), getParentForChildren(), isClean());
+ featureStatsAnomaly_ = null;
+ }
+ return featureStatsAnomalyBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly)
}
- public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
- return getDescriptor();
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly)
+ private static final com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly();
}
- public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
- return com.google.cloud.aiplatform.v1beta1.Feature.getDescriptor().getEnumTypes().get(0);
+ public static com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
}
- private static final ValueType[] VALUES = values();
+ private static final com.google.protobuf.Parser
+ * Optional. If not set, use the monitoring_config defined for the EntityType
+ * this Feature belongs to. Only Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+ * If set to true, all types of data monitoring are disabled despite the
+ * config on EntityType.
+ *
+ *
+ * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableMonitoring.
+ */
+ @java.lang.Override
+ public boolean getDisableMonitoring() {
+ return disableMonitoring_;
+ }
+
public static final int MONITORING_STATS_FIELD_NUMBER = 10;
private java.util.List
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder>
+ getMonitoringStatsAnomaliesOrBuilderList() {
+ return monitoringStatsAnomalies_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getMonitoringStatsAnomaliesCount() {
+ return monitoringStatsAnomalies_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ getMonitoringStatsAnomalies(int index) {
+ return monitoringStatsAnomalies_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder
+ getMonitoringStatsAnomaliesOrBuilder(int index) {
+ return monitoringStatsAnomalies_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1190,6 +2521,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < monitoringStats_.size(); i++) {
output.writeMessage(10, monitoringStats_.get(i));
}
+ for (int i = 0; i < monitoringStatsAnomalies_.size(); i++) {
+ output.writeMessage(11, monitoringStatsAnomalies_.get(i));
+ }
+ if (disableMonitoring_ != false) {
+ output.writeBool(12, disableMonitoring_);
+ }
unknownFields.writeTo(output);
}
@@ -1235,6 +2572,14 @@ public int getSerializedSize() {
for (int i = 0; i < monitoringStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, monitoringStats_.get(i));
}
+ for (int i = 0; i < monitoringStatsAnomalies_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 11, monitoringStatsAnomalies_.get(i));
+ }
+ if (disableMonitoring_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableMonitoring_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1268,7 +2613,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasMonitoringConfig()) {
if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false;
}
+ if (getDisableMonitoring() != other.getDisableMonitoring()) return false;
if (!getMonitoringStatsList().equals(other.getMonitoringStatsList())) return false;
+ if (!getMonitoringStatsAnomaliesList().equals(other.getMonitoringStatsAnomaliesList()))
+ return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -1304,10 +2652,16 @@ public int hashCode() {
hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getMonitoringConfig().hashCode();
}
+ hash = (37 * hash) + DISABLE_MONITORING_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableMonitoring());
if (getMonitoringStatsCount() > 0) {
hash = (37 * hash) + MONITORING_STATS_FIELD_NUMBER;
hash = (53 * hash) + getMonitoringStatsList().hashCode();
}
+ if (getMonitoringStatsAnomaliesCount() > 0) {
+ hash = (37 * hash) + MONITORING_STATS_ANOMALIES_FIELD_NUMBER;
+ hash = (53 * hash) + getMonitoringStatsAnomaliesList().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -1471,6 +2825,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getMonitoringStatsFieldBuilder();
+ getMonitoringStatsAnomaliesFieldBuilder();
}
}
@@ -1504,12 +2859,20 @@ public Builder clear() {
monitoringConfig_ = null;
monitoringConfigBuilder_ = null;
}
+ disableMonitoring_ = false;
+
if (monitoringStatsBuilder_ == null) {
monitoringStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
monitoringStatsBuilder_.clear();
}
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ monitoringStatsAnomalies_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ monitoringStatsAnomaliesBuilder_.clear();
+ }
return this;
}
@@ -1559,6 +2922,7 @@ public com.google.cloud.aiplatform.v1beta1.Feature buildPartial() {
} else {
result.monitoringConfig_ = monitoringConfigBuilder_.build();
}
+ result.disableMonitoring_ = disableMonitoring_;
if (monitoringStatsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
monitoringStats_ = java.util.Collections.unmodifiableList(monitoringStats_);
@@ -1568,6 +2932,16 @@ public com.google.cloud.aiplatform.v1beta1.Feature buildPartial() {
} else {
result.monitoringStats_ = monitoringStatsBuilder_.build();
}
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
+ monitoringStatsAnomalies_ =
+ java.util.Collections.unmodifiableList(monitoringStatsAnomalies_);
+ bitField0_ = (bitField0_ & ~0x00000004);
+ }
+ result.monitoringStatsAnomalies_ = monitoringStatsAnomalies_;
+ } else {
+ result.monitoringStatsAnomalies_ = monitoringStatsAnomaliesBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -1642,6 +3016,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Feature other) {
if (other.hasMonitoringConfig()) {
mergeMonitoringConfig(other.getMonitoringConfig());
}
+ if (other.getDisableMonitoring() != false) {
+ setDisableMonitoring(other.getDisableMonitoring());
+ }
if (monitoringStatsBuilder_ == null) {
if (!other.monitoringStats_.isEmpty()) {
if (monitoringStats_.isEmpty()) {
@@ -1669,6 +3046,33 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Feature other) {
}
}
}
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ if (!other.monitoringStatsAnomalies_.isEmpty()) {
+ if (monitoringStatsAnomalies_.isEmpty()) {
+ monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ } else {
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.addAll(other.monitoringStatsAnomalies_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.monitoringStatsAnomalies_.isEmpty()) {
+ if (monitoringStatsAnomaliesBuilder_.isEmpty()) {
+ monitoringStatsAnomaliesBuilder_.dispose();
+ monitoringStatsAnomaliesBuilder_ = null;
+ monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ monitoringStatsAnomaliesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getMonitoringStatsAnomaliesFieldBuilder()
+ : null;
+ } else {
+ monitoringStatsAnomaliesBuilder_.addAllMessages(other.monitoringStatsAnomalies_);
+ }
+ }
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -3061,6 +4465,73 @@ public Builder clearMonitoringConfig() {
return monitoringConfigBuilder_;
}
+ private boolean disableMonitoring_;
+ /**
+ *
+ *
+ *
+ * Optional. If not set, use the monitoring_config defined for the EntityType
+ * this Feature belongs to. Only Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+ * If set to true, all types of data monitoring are disabled despite the
+ * config on EntityType.
+ *
+ *
+ * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableMonitoring.
+ */
+ @java.lang.Override
+ public boolean getDisableMonitoring() {
+ return disableMonitoring_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. If not set, use the monitoring_config defined for the EntityType
+ * this Feature belongs to. Only Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+ * If set to true, all types of data monitoring are disabled despite the
+ * config on EntityType.
+ *
+ *
+ * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The disableMonitoring to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisableMonitoring(boolean value) {
+
+ disableMonitoring_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. If not set, use the monitoring_config defined for the EntityType
+ * this Feature belongs to. Only Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+ * If set to true, all types of data monitoring are disabled despite the
+ * config on EntityType.
+ *
+ *
+ * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisableMonitoring() {
+
+ disableMonitoring_ = false;
+ onChanged();
+ return this;
+ }
+
private java.util.List
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getMonitoringStatsAnomaliesCount() {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ return monitoringStatsAnomalies_.size();
+ } else {
+ return monitoringStatsAnomaliesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ getMonitoringStatsAnomalies(int index) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ return monitoringStatsAnomalies_.get(index);
+ } else {
+ return monitoringStatsAnomaliesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setMonitoringStatsAnomalies(
+ int index, com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly value) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.set(index, value);
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setMonitoringStatsAnomalies(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder
+ builderForValue) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addMonitoringStatsAnomalies(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly value) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.add(value);
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addMonitoringStatsAnomalies(
+ int index, com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly value) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.add(index, value);
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addMonitoringStatsAnomalies(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder
+ builderForValue) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.add(builderForValue.build());
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addMonitoringStatsAnomalies(
+ int index,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder
+ builderForValue) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllMonitoringStatsAnomalies(
+ java.lang.Iterable<
+ ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly>
+ values) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ ensureMonitoringStatsAnomaliesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, monitoringStatsAnomalies_);
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearMonitoringStatsAnomalies() {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ monitoringStatsAnomalies_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removeMonitoringStatsAnomalies(int index) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ ensureMonitoringStatsAnomaliesIsMutable();
+ monitoringStatsAnomalies_.remove(index);
+ onChanged();
+ } else {
+ monitoringStatsAnomaliesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder
+ getMonitoringStatsAnomaliesBuilder(int index) {
+ return getMonitoringStatsAnomaliesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder
+ getMonitoringStatsAnomaliesOrBuilder(int index) {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ return monitoringStatsAnomalies_.get(index);
+ } else {
+ return monitoringStatsAnomaliesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder>
+ getMonitoringStatsAnomaliesOrBuilderList() {
+ if (monitoringStatsAnomaliesBuilder_ != null) {
+ return monitoringStatsAnomaliesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(monitoringStatsAnomalies_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder
+ addMonitoringStatsAnomaliesBuilder() {
+ return getMonitoringStatsAnomaliesFieldBuilder()
+ .addBuilder(
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder
+ addMonitoringStatsAnomaliesBuilder(int index) {
+ return getMonitoringStatsAnomaliesFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly
+ .getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List<
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder>
+ getMonitoringStatsAnomaliesBuilderList() {
+ return getMonitoringStatsAnomaliesFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder>
+ getMonitoringStatsAnomaliesFieldBuilder() {
+ if (monitoringStatsAnomaliesBuilder_ == null) {
+ monitoringStatsAnomaliesBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Builder,
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder>(
+ monitoringStatsAnomalies_,
+ ((bitField0_ & 0x00000004) != 0),
+ getParentForChildren(),
+ isClean());
+ monitoringStatsAnomalies_ = null;
+ }
+ return monitoringStatsAnomaliesBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java
index 4cc50345e..727285a30 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureOrBuilder.java
@@ -380,6 +380,24 @@ public interface FeatureOrBuilder
com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfigOrBuilder
getMonitoringConfigOrBuilder();
+ /**
+ *
+ *
+ *
+ * Optional. If not set, use the monitoring_config defined for the EntityType
+ * this Feature belongs to. Only Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+ * If set to true, all types of data monitoring are disabled despite the
+ * config on EntityType.
+ *
+ *
+ * bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The disableMonitoring.
+ */
+ boolean getDisableMonitoring();
+
/**
*
*
@@ -457,4 +475,75 @@ public interface FeatureOrBuilder
*/
com.google.cloud.aiplatform.v1beta1.FeatureStatsAnomalyOrBuilder getMonitoringStatsOrBuilder(
int index);
+
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly getMonitoringStatsAnomalies(
+ int index);
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getMonitoringStatsAnomaliesCount();
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List<
+ ? extends com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder>
+ getMonitoringStatsAnomaliesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Output only. The list of historical stats and anomalies with specified
+ * objectives.
+ *
+ *
+ *
+ * repeated .google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomalyOrBuilder
+ getMonitoringStatsAnomaliesOrBuilder(int index);
}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java
index 44b79a525..4dc91364c 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeatureProto.java
@@ -31,6 +31,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_Feature_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_Feature_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -52,7 +56,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ta1/feature_monitoring_stats.proto\032=goog"
+ "le/cloud/aiplatform/v1beta1/featurestore"
+ "_monitoring.proto\032\037google/protobuf/times"
- + "tamp.proto\"\355\006\n\007Feature\022\021\n\004name\030\001 \001(\tB\003\340A"
+ + "tamp.proto\"\254\n\n\007Feature\022\021\n\004name\030\001 \001(\tB\003\340A"
+ "\005\022\023\n\013description\030\002 \001(\t\022N\n\nvalue_type\030\003 \001"
+ "(\01622.google.cloud.aiplatform.v1beta1.Fea"
+ "ture.ValueTypeB\006\340A\002\340A\005\0224\n\013create_time\030\004 "
@@ -62,25 +66,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "d.aiplatform.v1beta1.Feature.LabelsEntry"
+ "B\003\340A\001\022\014\n\004etag\030\007 \001(\t\022]\n\021monitoring_config"
+ "\030\t \001(\0132=.google.cloud.aiplatform.v1beta1"
- + ".FeaturestoreMonitoringConfigB\003\340A\001\022S\n\020mo"
- + "nitoring_stats\030\n \003(\01324.google.cloud.aipl"
- + "atform.v1beta1.FeatureStatsAnomalyB\003\340A\003\032"
- + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001"
- + "(\t:\0028\001\"\244\001\n\tValueType\022\032\n\026VALUE_TYPE_UNSPE"
- + "CIFIED\020\000\022\010\n\004BOOL\020\001\022\016\n\nBOOL_ARRAY\020\002\022\n\n\006DO"
- + "UBLE\020\003\022\020\n\014DOUBLE_ARRAY\020\004\022\t\n\005INT64\020\t\022\017\n\013I"
- + "NT64_ARRAY\020\n\022\n\n\006STRING\020\013\022\020\n\014STRING_ARRAY"
- + "\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aiplatform.googlea"
- + "pis.com/Feature\022qprojects/{project}/loca"
- + "tions/{location}/featurestores/{features"
- + "tore}/entityTypes/{entity_type}/features"
- + "/{feature}B\351\001\n#com.google.cloud.aiplatfo"
- + "rm.v1beta1B\014FeatureProtoP\001ZIgoogle.golan"
- + "g.org/genproto/googleapis/cloud/aiplatfo"
- + "rm/v1beta1;aiplatform\252\002\037Google.Cloud.AIP"
- + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor"
- + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V"
- + "1beta1b\006proto3"
+ + ".FeaturestoreMonitoringConfigB\003\340A\001\022\037\n\022di"
+ + "sable_monitoring\030\014 \001(\010B\003\340A\001\022S\n\020monitorin"
+ + "g_stats\030\n \003(\01324.google.cloud.aiplatform."
+ + "v1beta1.FeatureStatsAnomalyB\003\340A\003\022h\n\032moni"
+ + "toring_stats_anomalies\030\013 \003(\0132?.google.cl"
+ + "oud.aiplatform.v1beta1.Feature.Monitorin"
+ + "gStatsAnomalyB\003\340A\003\032\261\002\n\026MonitoringStatsAn"
+ + "omaly\022a\n\tobjective\030\001 \001(\0162I.google.cloud."
+ + "aiplatform.v1beta1.Feature.MonitoringSta"
+ + "tsAnomaly.ObjectiveB\003\340A\003\022X\n\025feature_stat"
+ + "s_anomaly\030\002 \001(\01324.google.cloud.aiplatfor"
+ + "m.v1beta1.FeatureStatsAnomalyB\003\340A\003\"Z\n\tOb"
+ + "jective\022\031\n\025OBJECTIVE_UNSPECIFIED\020\000\022\033\n\027IM"
+ + "PORT_FEATURE_ANALYSIS\020\001\022\025\n\021SNAPSHOT_ANAL"
+ + "YSIS\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+ + "lue\030\002 \001(\t:\0028\001\"\244\001\n\tValueType\022\032\n\026VALUE_TYP"
+ + "E_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\016\n\nBOOL_ARRAY\020"
+ + "\002\022\n\n\006DOUBLE\020\003\022\020\n\014DOUBLE_ARRAY\020\004\022\t\n\005INT64"
+ + "\020\t\022\017\n\013INT64_ARRAY\020\n\022\n\n\006STRING\020\013\022\020\n\014STRIN"
+ + "G_ARRAY\020\014\022\t\n\005BYTES\020\r:\232\001\352A\226\001\n!aiplatform."
+ + "googleapis.com/Feature\022qprojects/{projec"
+ + "t}/locations/{location}/featurestores/{f"
+ + "eaturestore}/entityTypes/{entity_type}/f"
+ + "eatures/{feature}B\351\001\n#com.google.cloud.a"
+ + "iplatform.v1beta1B\014FeatureProtoP\001ZIgoogl"
+ + "e.golang.org/genproto/googleapis/cloud/a"
+ + "iplatform/v1beta1;aiplatform\252\002\037Google.Cl"
+ + "oud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AI"
+ + "Platform\\V1beta1\352\002\"Google::Cloud::AIPlat"
+ + "form::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -107,10 +122,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Labels",
"Etag",
"MonitoringConfig",
+ "DisableMonitoring",
"MonitoringStats",
+ "MonitoringStatsAnomalies",
});
- internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_Feature_descriptor.getNestedTypes().get(0);
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_MonitoringStatsAnomaly_descriptor,
+ new java.lang.String[] {
+ "Objective", "FeatureStatsAnomaly",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_Feature_descriptor.getNestedTypes().get(1);
internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_Feature_LabelsEntry_descriptor,
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java
index 3783bdd14..3ae963fc2 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfig.java
@@ -86,6 +86,66 @@ private FeaturestoreMonitoringConfig(
snapshotAnalysis_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 18:
+ {
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.Builder
+ subBuilder = null;
+ if (importFeaturesAnalysis_ != null) {
+ subBuilder = importFeaturesAnalysis_.toBuilder();
+ }
+ importFeaturesAnalysis_ =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(importFeaturesAnalysis_);
+ importFeaturesAnalysis_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 26:
+ {
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .Builder
+ subBuilder = null;
+ if (numericalThresholdConfig_ != null) {
+ subBuilder = numericalThresholdConfig_.toBuilder();
+ }
+ numericalThresholdConfig_ =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ThresholdConfig.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(numericalThresholdConfig_);
+ numericalThresholdConfig_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 34:
+ {
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .Builder
+ subBuilder = null;
+ if (categoricalThresholdConfig_ != null) {
+ subBuilder = categoricalThresholdConfig_.toBuilder();
+ }
+ categoricalThresholdConfig_ =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ThresholdConfig.parser(),
+ extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(categoricalThresholdConfig_);
+ categoricalThresholdConfig_ = subBuilder.buildPartial();
+ }
+
break;
}
default:
@@ -199,7 +259,8 @@ public interface SnapshotAnalysisOrBuilder
* running interval. The value indicates number of days.
* If both
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
- * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
+ * and
+ * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
* are set when creating/updating EntityTypes/Features,
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
* will be used.
@@ -210,6 +271,21 @@ public interface SnapshotAnalysisOrBuilder
* @return The monitoringIntervalDays.
*/
int getMonitoringIntervalDays();
+
+ /**
+ *
+ *
+ *
+ * Customized export features time window for snapshot analysis. Unit is one
+ * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ * 4000 days.
+ *
+ *
+ * int32 staleness_days = 4;
+ *
+ * @return The stalenessDays.
+ */
+ int getStalenessDays();
}
/**
*
@@ -290,6 +366,11 @@ private SnapshotAnalysis(
monitoringIntervalDays_ = input.readInt32();
break;
}
+ case 32:
+ {
+ stalenessDays_ = input.readInt32();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -418,7 +499,8 @@ public com.google.protobuf.DurationOrBuilder getMonitoringIntervalOrBuilder() {
* running interval. The value indicates number of days.
* If both
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
- * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
+ * and
+ * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
* are set when creating/updating EntityTypes/Features,
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
* will be used.
@@ -433,6 +515,26 @@ public int getMonitoringIntervalDays() {
return monitoringIntervalDays_;
}
+ public static final int STALENESS_DAYS_FIELD_NUMBER = 4;
+ private int stalenessDays_;
+ /**
+ *
+ *
+ *
+ * Customized export features time window for snapshot analysis. Unit is one
+ * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ * 4000 days.
+ *
+ *
+ * int32 staleness_days = 4;
+ *
+ * @return The stalenessDays.
+ */
+ @java.lang.Override
+ public int getStalenessDays() {
+ return stalenessDays_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -456,6 +558,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (monitoringIntervalDays_ != 0) {
output.writeInt32(3, monitoringIntervalDays_);
}
+ if (stalenessDays_ != 0) {
+ output.writeInt32(4, stalenessDays_);
+ }
unknownFields.writeTo(output);
}
@@ -475,6 +580,9 @@ public int getSerializedSize() {
if (monitoringIntervalDays_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, monitoringIntervalDays_);
}
+ if (stalenessDays_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, stalenessDays_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -499,6 +607,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMonitoringInterval().equals(other.getMonitoringInterval())) return false;
}
if (getMonitoringIntervalDays() != other.getMonitoringIntervalDays()) return false;
+ if (getStalenessDays() != other.getStalenessDays()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -518,6 +627,8 @@ public int hashCode() {
}
hash = (37 * hash) + MONITORING_INTERVAL_DAYS_FIELD_NUMBER;
hash = (53 * hash) + getMonitoringIntervalDays();
+ hash = (37 * hash) + STALENESS_DAYS_FIELD_NUMBER;
+ hash = (53 * hash) + getStalenessDays();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -690,6 +801,8 @@ public Builder clear() {
}
monitoringIntervalDays_ = 0;
+ stalenessDays_ = 0;
+
return this;
}
@@ -730,6 +843,7 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
result.monitoringInterval_ = monitoringIntervalBuilder_.build();
}
result.monitoringIntervalDays_ = monitoringIntervalDays_;
+ result.stalenessDays_ = stalenessDays_;
onBuilt();
return result;
}
@@ -797,6 +911,9 @@ public Builder mergeFrom(
if (other.getMonitoringIntervalDays() != 0) {
setMonitoringIntervalDays(other.getMonitoringIntervalDays());
}
+ if (other.getStalenessDays() != 0) {
+ setStalenessDays(other.getStalenessDays());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1122,7 +1239,8 @@ public com.google.protobuf.DurationOrBuilder getMonitoringIntervalOrBuilder() {
* running interval. The value indicates number of days.
* If both
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
- * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
+ * and
+ * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
* are set when creating/updating EntityTypes/Features,
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
* will be used.
@@ -1144,7 +1262,8 @@ public int getMonitoringIntervalDays() {
* running interval. The value indicates number of days.
* If both
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
- * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
+ * and
+ * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
* are set when creating/updating EntityTypes/Features,
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
* will be used.
@@ -1169,7 +1288,8 @@ public Builder setMonitoringIntervalDays(int value) {
* running interval. The value indicates number of days.
* If both
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
- * and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
+ * and
+ * [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
* are set when creating/updating EntityTypes/Features,
* [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
* will be used.
@@ -1186,6 +1306,64 @@ public Builder clearMonitoringIntervalDays() {
return this;
}
+ private int stalenessDays_;
+ /**
+ *
+ *
+ *
+ * Customized export features time window for snapshot analysis. Unit is one
+ * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ * 4000 days.
+ *
+ *
+ * int32 staleness_days = 4;
+ *
+ * @return The stalenessDays.
+ */
+ @java.lang.Override
+ public int getStalenessDays() {
+ return stalenessDays_;
+ }
+ /**
+ *
+ *
+ *
+ * Customized export features time window for snapshot analysis. Unit is one
+ * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ * 4000 days.
+ *
+ *
+ * int32 staleness_days = 4;
+ *
+ * @param value The stalenessDays to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStalenessDays(int value) {
+
+ stalenessDays_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Customized export features time window for snapshot analysis. Unit is one
+ * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ * 4000 days.
+ *
+ *
+ * int32 staleness_days = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearStalenessDays() {
+
+ stalenessDays_ = 0;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1243,469 +1421,3606 @@ public com.google.protobuf.Parser
- * The config for Snapshot Analysis Based Feature Monitoring.
- *
- *
- *
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
- *
- *
- * @return Whether the snapshotAnalysis field is set.
- */
- @java.lang.Override
- public boolean hasSnapshotAnalysis() {
- return snapshotAnalysis_ != null;
- }
- /**
- *
- *
- *
- * The config for Snapshot Analysis Based Feature Monitoring.
- *
- *
- *
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
- *
- *
- * @return The snapshotAnalysis.
- */
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
- getSnapshotAnalysis() {
- return snapshotAnalysis_ == null
- ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
- .getDefaultInstance()
- : snapshotAnalysis_;
+ public interface ImportFeaturesAnalysisOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return The state.
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State
+ getState();
+
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for anomalyDetectionBaseline.
+ */
+ int getAnomalyDetectionBaselineValue();
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return The anomalyDetectionBaseline.
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline
+ getAnomalyDetectionBaseline();
}
/**
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Configuration of the Featurestore's ImportFeature Analysis Based
+ * Monitoring. This type of analysis generates statistics for values of each
+ * Feature imported by every [ImportFeatureValues][] operation.
*
*
- *
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
- *
+ * Protobuf type {@code
+ * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis}
*/
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
- getSnapshotAnalysisOrBuilder() {
- return getSnapshotAnalysis();
- }
-
- private byte memoizedIsInitialized = -1;
-
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (snapshotAnalysis_ != null) {
- output.writeMessage(1, getSnapshotAnalysis());
+ public static final class ImportFeaturesAnalysis extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis)
+ ImportFeaturesAnalysisOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ImportFeaturesAnalysis.newBuilder() to construct.
+ private ImportFeaturesAnalysis(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
}
- unknownFields.writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
- size = 0;
- if (snapshotAnalysis_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotAnalysis());
+ private ImportFeaturesAnalysis() {
+ state_ = 0;
+ anomalyDetectionBaseline_ = 0;
}
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig)) {
- return super.equals(obj);
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ImportFeaturesAnalysis();
}
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other =
- (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) obj;
- if (hasSnapshotAnalysis() != other.hasSnapshotAnalysis()) return false;
- if (hasSnapshotAnalysis()) {
- if (!getSnapshotAnalysis().equals(other.getSnapshotAnalysis())) return false;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
}
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasSnapshotAnalysis()) {
- hash = (37 * hash) + SNAPSHOT_ANALYSIS_FIELD_NUMBER;
- hash = (53 * hash) + getSnapshotAnalysis().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ private ImportFeaturesAnalysis(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ int rawValue = input.readEnum();
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ state_ = rawValue;
+ break;
+ }
+ case 16:
+ {
+ int rawValue = input.readEnum();
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ anomalyDetectionBaseline_ = rawValue;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto
+ .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor;
+ }
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto
+ .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.class,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.Builder.class);
+ }
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ /**
+ *
+ *
+ *
+ * The state defines whether to enable ImportFeature analysis.
+ *
+ *
+ * Protobuf enum {@code
+ * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State}
+ */
+ public enum State implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Should not be used.
+ *
+ *
+ * STATE_UNSPECIFIED = 0;
+ */
+ STATE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * The default behavior of whether to enable the monitoring.
+ * EntityType-level config: disabled.
+ * Feature-level config: inherited from the configuration of EntityType
+ * this Feature belongs to.
+ *
+ *
+ * DEFAULT = 1;
+ */
+ DEFAULT(1),
+ /**
+ *
+ *
+ *
+ * Explicitly enables import features analysis.
+ * EntityType-level config: by default enables import features analysis
+ * for all Features under it. Feature-level config: enables import
+ * features analysis regardless of the EntityType-level config.
+ *
+ *
+ * ENABLED = 2;
+ */
+ ENABLED(2),
+ /**
+ *
+ *
+ *
+ * Explicitly disables import features analysis.
+ * EntityType-level config: by default disables import features analysis
+ * for all Features under it. Feature-level config: disables import
+ * features analysis regardless of the EntityType-level config.
+ *
+ *
+ * DISABLED = 3;
+ */
+ DISABLED(3),
+ UNRECOGNIZED(-1),
+ ;
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ /**
+ *
+ *
+ *
+ * Should not be used.
+ *
+ *
+ * STATE_UNSPECIFIED = 0;
+ */
+ public static final int STATE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * The default behavior of whether to enable the monitoring.
+ * EntityType-level config: disabled.
+ * Feature-level config: inherited from the configuration of EntityType
+ * this Feature belongs to.
+ *
+ *
+ * DEFAULT = 1;
+ */
+ public static final int DEFAULT_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Explicitly enables import features analysis.
+ * EntityType-level config: by default enables import features analysis
+ * for all Features under it. Feature-level config: enables import
+ * features analysis regardless of the EntityType-level config.
+ *
+ *
+ * ENABLED = 2;
+ */
+ public static final int ENABLED_VALUE = 2;
+ /**
+ *
+ *
+ *
+ * Explicitly disables import features analysis.
+ * EntityType-level config: by default disables import features analysis
+ * for all Features under it. Feature-level config: disables import
+ * features analysis regardless of the EntityType-level config.
+ *
+ *
+ * DISABLED = 3;
+ */
+ public static final int DISABLED_VALUE = 3;
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
- }
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static State valueOf(int value) {
+ return forNumber(value);
+ }
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseDelimitedFrom(
- java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
- }
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static State forNumber(int value) {
+ switch (value) {
+ case 0:
+ return STATE_UNSPECIFIED;
+ case 1:
+ return DEFAULT;
+ case 2:
+ return ENABLED;
+ case 3:
+ return DISABLED;
+ default:
+ return null;
+ }
+ }
- public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
+ public static com.google.protobuf.Internal.EnumLiteMap
- * Configuration of how features in Featurestore are monitored.
- *
- *
- * Protobuf type {@code google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig}
- */
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Defines the baseline to do anomaly detection for feature values imported
+ * by each [ImportFeatureValues][] operation.
+ *
+ *
+ * Protobuf enum {@code
+ * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline}
+ */
+ public enum Baseline implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Should not be used.
+ *
+ *
+ * BASELINE_UNSPECIFIED = 0;
+ */
+ BASELINE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Choose the later one statistics generated by either most recent
+ * snapshot analysis or previous import features analysis. If non of them
+ * exists, skip anomaly detection and only generate a statistics.
+ *
+ *
+ * LATEST_STATS = 1;
+ */
+ LATEST_STATS(1),
+ /**
+ *
+ *
+ *
+ * Use the statistics generated by the most recent snapshot analysis if
+ * exists.
+ *
+ *
+ * MOST_RECENT_SNAPSHOT_STATS = 2;
+ */
+ MOST_RECENT_SNAPSHOT_STATS(2),
+ /**
+ *
+ *
+ *
+ * Use the statistics generated by the previous import features analysis
+ * if exists.
+ *
+ *
+ * PREVIOUS_IMPORT_FEATURES_STATS = 3;
+ */
+ PREVIOUS_IMPORT_FEATURES_STATS(3),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Should not be used.
+ *
+ *
+ * BASELINE_UNSPECIFIED = 0;
+ */
+ public static final int BASELINE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * Choose the later one statistics generated by either most recent
+ * snapshot analysis or previous import features analysis. If non of them
+ * exists, skip anomaly detection and only generate a statistics.
+ *
+ *
+ * LATEST_STATS = 1;
+ */
+ public static final int LATEST_STATS_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Use the statistics generated by the most recent snapshot analysis if
+ * exists.
+ *
+ *
+ * MOST_RECENT_SNAPSHOT_STATS = 2;
+ */
+ public static final int MOST_RECENT_SNAPSHOT_STATS_VALUE = 2;
+ /**
+ *
+ *
+ *
+ * Use the statistics generated by the previous import features analysis
+ * if exists.
+ *
+ *
+ * PREVIOUS_IMPORT_FEATURES_STATS = 3;
+ */
+ public static final int PREVIOUS_IMPORT_FEATURES_STATS_VALUE = 3;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Baseline valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Baseline forNumber(int value) {
+ switch (value) {
+ case 0:
+ return BASELINE_UNSPECIFIED;
+ case 1:
+ return LATEST_STATS;
+ case 2:
+ return MOST_RECENT_SNAPSHOT_STATS;
+ case 3:
+ return PREVIOUS_IMPORT_FEATURES_STATS;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State
+ getState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State
+ result =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.State.valueOf(state_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int ANOMALY_DETECTION_BASELINE_FIELD_NUMBER = 2;
+ private int anomalyDetectionBaseline_;
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for anomalyDetectionBaseline.
+ */
+ @java.lang.Override
+ public int getAnomalyDetectionBaselineValue() {
+ return anomalyDetectionBaseline_;
+ }
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return The anomalyDetectionBaseline.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline
+ getAnomalyDetectionBaseline() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline
+ result =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.Baseline.valueOf(anomalyDetectionBaseline_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (state_
+ != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State.STATE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, state_);
+ }
+ if (anomalyDetectionBaseline_
+ != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline.BASELINE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(2, anomalyDetectionBaseline_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (state_
+ != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State.STATE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+ }
+ if (anomalyDetectionBaseline_
+ != com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline.BASELINE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, anomalyDetectionBaseline_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ other =
+ (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis)
+ obj;
+
+ if (state_ != other.state_) return false;
+ if (anomalyDetectionBaseline_ != other.anomalyDetectionBaseline_) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (37 * hash) + ANOMALY_DETECTION_BASELINE_FIELD_NUMBER;
+ hash = (53 * hash) + anomalyDetectionBaseline_;
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of the Featurestore's ImportFeature Analysis Based
+ * Monitoring. This type of analysis generates statistics for values of each
+ * Feature imported by every [ImportFeatureValues][] operation.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+
+ state_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State
+ getState() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State
+ result =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.State.valueOf(state_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.State.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .State
+ value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Whether to enable / disable / inherite default hebavior for import
+ * features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int anomalyDetectionBaseline_ = 0;
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for anomalyDetectionBaseline.
+ */
+ @java.lang.Override
+ public int getAnomalyDetectionBaselineValue() {
+ return anomalyDetectionBaseline_;
+ }
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @param value The enum numeric value on the wire for anomalyDetectionBaseline to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnomalyDetectionBaselineValue(int value) {
+
+ anomalyDetectionBaseline_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return The anomalyDetectionBaseline.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline
+ getAnomalyDetectionBaseline() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline
+ result =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.Baseline.valueOf(anomalyDetectionBaseline_);
+ return result == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.Baseline.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @param value The anomalyDetectionBaseline to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnomalyDetectionBaseline(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Baseline
+ value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ anomalyDetectionBaseline_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The baseline used to do anomaly detection for the statistics generated by
+ * import features analysis.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAnomalyDetectionBaseline() {
+
+ anomalyDetectionBaseline_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis)
+ private static final com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return Whether the value field is set.
+ */
+ boolean hasValue();
+ /**
+ *
+ *
+ *
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return The value.
+ */
+ double getValue();
+
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .ThresholdCase
+ getThresholdCase();
+ }
+ /**
+ *
+ *
+ *
+ * The config for Featurestore Monitoring threshold.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig}
+ */
+ public static final class ThresholdConfig extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig)
+ ThresholdConfigOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ThresholdConfig.newBuilder() to construct.
+ private ThresholdConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ThresholdConfig() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ThresholdConfig();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ThresholdConfig(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 9:
+ {
+ thresholdCase_ = 1;
+ threshold_ = input.readDouble();
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto
+ .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto
+ .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .class,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .Builder.class);
+ }
+
+ private int thresholdCase_ = 0;
+ private java.lang.Object threshold_;
+
+ public enum ThresholdCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ VALUE(1),
+ THRESHOLD_NOT_SET(0);
+ private final int value;
+
+ private ThresholdCase(int value) {
+ this.value = value;
+ }
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static ThresholdCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static ThresholdCase forNumber(int value) {
+ switch (value) {
+ case 1:
+ return VALUE;
+ case 0:
+ return THRESHOLD_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public ThresholdCase getThresholdCase() {
+ return ThresholdCase.forNumber(thresholdCase_);
+ }
+
+ public static final int VALUE_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ *
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return Whether the value field is set.
+ */
+ @java.lang.Override
+ public boolean hasValue() {
+ return thresholdCase_ == 1;
+ }
+ /**
+ *
+ *
+ *
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return The value.
+ */
+ @java.lang.Override
+ public double getValue() {
+ if (thresholdCase_ == 1) {
+ return (java.lang.Double) threshold_;
+ }
+ return 0D;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (thresholdCase_ == 1) {
+ output.writeDouble(1, (double) ((java.lang.Double) threshold_));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (thresholdCase_ == 1) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeDoubleSize(
+ 1, (double) ((java.lang.Double) threshold_));
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig other =
+ (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) obj;
+
+ if (!getThresholdCase().equals(other.getThresholdCase())) return false;
+ switch (thresholdCase_) {
+ case 1:
+ if (java.lang.Double.doubleToLongBits(getValue())
+ != java.lang.Double.doubleToLongBits(other.getValue())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ switch (thresholdCase_) {
+ case 1:
+ hash = (37 * hash) + VALUE_FIELD_NUMBER;
+ hash =
+ (53 * hash)
+ + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getValue()));
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Featurestore Monitoring threshold.
+ *
+ *
+ * Protobuf type {@code
+ * google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig}
+ */
+ public static final class Builder
+ extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return Whether the value field is set.
+ */
+ public boolean hasValue() {
+ return thresholdCase_ == 1;
+ }
+ /**
+ *
+ *
+ *
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return The value.
+ */
+ public double getValue() {
+ if (thresholdCase_ == 1) {
+ return (java.lang.Double) threshold_;
+ }
+ return 0D;
+ }
+ /**
+ *
+ *
+ *
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @param value The value to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValue(double value) {
+ thresholdCase_ = 1;
+ threshold_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Specify a threshold value that can trigger the alert.
+ * 1. For categorical feature, the distribution distance is calculated by
+ * L-inifinity norm.
+ * 2. For numerical feature, the distribution distance is calculated by
+ * Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ * if they need to be monitored. Otherwise no alert will be triggered for
+ * that feature.
+ *
+ *
+ * double value = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValue() {
+ if (thresholdCase_ == 1) {
+ thresholdCase_ = 0;
+ threshold_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig)
+ private static final com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ThresholdConfig
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ *
+ * @return Whether the snapshotAnalysis field is set.
+ */
+ @java.lang.Override
+ public boolean hasSnapshotAnalysis() {
+ return snapshotAnalysis_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ *
+ * @return The snapshotAnalysis.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ getSnapshotAnalysis() {
+ return snapshotAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .getDefaultInstance()
+ : snapshotAnalysis_;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
+ getSnapshotAnalysisOrBuilder() {
+ return getSnapshotAnalysis();
+ }
+
+ public static final int IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER = 2;
+ private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ importFeaturesAnalysis_;
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ *
+ * @return Whether the importFeaturesAnalysis field is set.
+ */
+ @java.lang.Override
+ public boolean hasImportFeaturesAnalysis() {
+ return importFeaturesAnalysis_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ *
+ * @return The importFeaturesAnalysis.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ getImportFeaturesAnalysis() {
+ return importFeaturesAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .getDefaultInstance()
+ : importFeaturesAnalysis_;
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysisOrBuilder
+ getImportFeaturesAnalysisOrBuilder() {
+ return getImportFeaturesAnalysis();
+ }
+
+ public static final int NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 3;
+ private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ numericalThresholdConfig_;
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ *
+ * @return Whether the numericalThresholdConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasNumericalThresholdConfig() {
+ return numericalThresholdConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ *
+ * @return The numericalThresholdConfig.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getNumericalThresholdConfig() {
+ return numericalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()
+ : numericalThresholdConfig_;
+ }
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
+ getNumericalThresholdConfigOrBuilder() {
+ return getNumericalThresholdConfig();
+ }
+
+ public static final int CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 4;
+ private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ categoricalThresholdConfig_;
+ /**
+ *
+ *
+ *
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
+ *
+ *
+ * @return Whether the categoricalThresholdConfig field is set.
+ */
+ @java.lang.Override
+ public boolean hasCategoricalThresholdConfig() {
+ return categoricalThresholdConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
+ *
+ *
+ * @return The categoricalThresholdConfig.
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getCategoricalThresholdConfig() {
+ return categoricalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()
+ : categoricalThresholdConfig_;
+ }
+ /**
+ *
+ *
+ *
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
+ getCategoricalThresholdConfigOrBuilder() {
+ return getCategoricalThresholdConfig();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (snapshotAnalysis_ != null) {
+ output.writeMessage(1, getSnapshotAnalysis());
+ }
+ if (importFeaturesAnalysis_ != null) {
+ output.writeMessage(2, getImportFeaturesAnalysis());
+ }
+ if (numericalThresholdConfig_ != null) {
+ output.writeMessage(3, getNumericalThresholdConfig());
+ }
+ if (categoricalThresholdConfig_ != null) {
+ output.writeMessage(4, getCategoricalThresholdConfig());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (snapshotAnalysis_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotAnalysis());
+ }
+ if (importFeaturesAnalysis_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(2, getImportFeaturesAnalysis());
+ }
+ if (numericalThresholdConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3, getNumericalThresholdConfig());
+ }
+ if (categoricalThresholdConfig_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4, getCategoricalThresholdConfig());
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other =
+ (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) obj;
+
+ if (hasSnapshotAnalysis() != other.hasSnapshotAnalysis()) return false;
+ if (hasSnapshotAnalysis()) {
+ if (!getSnapshotAnalysis().equals(other.getSnapshotAnalysis())) return false;
+ }
+ if (hasImportFeaturesAnalysis() != other.hasImportFeaturesAnalysis()) return false;
+ if (hasImportFeaturesAnalysis()) {
+ if (!getImportFeaturesAnalysis().equals(other.getImportFeaturesAnalysis())) return false;
+ }
+ if (hasNumericalThresholdConfig() != other.hasNumericalThresholdConfig()) return false;
+ if (hasNumericalThresholdConfig()) {
+ if (!getNumericalThresholdConfig().equals(other.getNumericalThresholdConfig())) return false;
+ }
+ if (hasCategoricalThresholdConfig() != other.hasCategoricalThresholdConfig()) return false;
+ if (hasCategoricalThresholdConfig()) {
+ if (!getCategoricalThresholdConfig().equals(other.getCategoricalThresholdConfig()))
+ return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasSnapshotAnalysis()) {
+ hash = (37 * hash) + SNAPSHOT_ANALYSIS_FIELD_NUMBER;
+ hash = (53 * hash) + getSnapshotAnalysis().hashCode();
+ }
+ if (hasImportFeaturesAnalysis()) {
+ hash = (37 * hash) + IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER;
+ hash = (53 * hash) + getImportFeaturesAnalysis().hashCode();
+ }
+ if (hasNumericalThresholdConfig()) {
+ hash = (37 * hash) + NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getNumericalThresholdConfig().hashCode();
+ }
+ if (hasCategoricalThresholdConfig()) {
+ hash = (37 * hash) + CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER;
+ hash = (53 * hash) + getCategoricalThresholdConfig().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Configuration of how features in Featurestore are monitored.
+ *
+ *
+ * Protobuf type {@code google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ *
+ * @return Whether the snapshotAnalysis field is set.
+ */
+ public boolean hasSnapshotAnalysis() {
+ return snapshotAnalysisBuilder_ != null || snapshotAnalysis_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ *
+ * @return The snapshotAnalysis.
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ getSnapshotAnalysis() {
+ if (snapshotAnalysisBuilder_ == null) {
+ return snapshotAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .getDefaultInstance()
+ : snapshotAnalysis_;
+ } else {
+ return snapshotAnalysisBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ public Builder setSnapshotAnalysis(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) {
+ if (snapshotAnalysisBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ snapshotAnalysis_ = value;
+ onChanged();
+ } else {
+ snapshotAnalysisBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ public Builder setSnapshotAnalysis(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
+ builderForValue) {
+ if (snapshotAnalysisBuilder_ == null) {
+ snapshotAnalysis_ = builderForValue.build();
+ onChanged();
+ } else {
+ snapshotAnalysisBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ public Builder mergeSnapshotAnalysis(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) {
+ if (snapshotAnalysisBuilder_ == null) {
+ if (snapshotAnalysis_ != null) {
+ snapshotAnalysis_ =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .newBuilder(snapshotAnalysis_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ snapshotAnalysis_ = value;
+ }
+ onChanged();
+ } else {
+ snapshotAnalysisBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ public Builder clearSnapshotAnalysis() {
+ if (snapshotAnalysisBuilder_ == null) {
+ snapshotAnalysis_ = null;
+ onChanged();
+ } else {
+ snapshotAnalysis_ = null;
+ snapshotAnalysisBuilder_ = null;
+ }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+ return this;
}
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
+ getSnapshotAnalysisBuilder() {
- @java.lang.Override
- public Builder clear() {
- super.clear();
+ onChanged();
+ return getSnapshotAnalysisFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .SnapshotAnalysisOrBuilder
+ getSnapshotAnalysisOrBuilder() {
+ if (snapshotAnalysisBuilder_ != null) {
+ return snapshotAnalysisBuilder_.getMessageOrBuilder();
+ } else {
+ return snapshotAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .getDefaultInstance()
+ : snapshotAnalysis_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The config for Snapshot Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .SnapshotAnalysisOrBuilder>
+ getSnapshotAnalysisFieldBuilder() {
if (snapshotAnalysisBuilder_ == null) {
+ snapshotAnalysisBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .SnapshotAnalysisOrBuilder>(
+ getSnapshotAnalysis(), getParentForChildren(), isClean());
snapshotAnalysis_ = null;
+ }
+ return snapshotAnalysisBuilder_;
+ }
+
+ private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ importFeaturesAnalysis_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysisOrBuilder>
+ importFeaturesAnalysisBuilder_;
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ *
+ * @return Whether the importFeaturesAnalysis field is set.
+ */
+ public boolean hasImportFeaturesAnalysis() {
+ return importFeaturesAnalysisBuilder_ != null || importFeaturesAnalysis_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ *
+ * @return The importFeaturesAnalysis.
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ getImportFeaturesAnalysis() {
+ if (importFeaturesAnalysisBuilder_ == null) {
+ return importFeaturesAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.getDefaultInstance()
+ : importFeaturesAnalysis_;
} else {
- snapshotAnalysis_ = null;
- snapshotAnalysisBuilder_ = null;
+ return importFeaturesAnalysisBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ public Builder setImportFeaturesAnalysis(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ value) {
+ if (importFeaturesAnalysisBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ importFeaturesAnalysis_ = value;
+ onChanged();
+ } else {
+ importFeaturesAnalysisBuilder_.setMessage(value);
}
+
return this;
}
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ public Builder setImportFeaturesAnalysis(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Builder
+ builderForValue) {
+ if (importFeaturesAnalysisBuilder_ == null) {
+ importFeaturesAnalysis_ = builderForValue.build();
+ onChanged();
+ } else {
+ importFeaturesAnalysisBuilder_.setMessage(builderForValue.build());
+ }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringProto
- .internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor;
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ public Builder mergeImportFeaturesAnalysis(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ value) {
+ if (importFeaturesAnalysisBuilder_ == null) {
+ if (importFeaturesAnalysis_ != null) {
+ importFeaturesAnalysis_ =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.newBuilder(importFeaturesAnalysis_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ importFeaturesAnalysis_ = value;
+ }
+ onChanged();
+ } else {
+ importFeaturesAnalysisBuilder_.mergeFrom(value);
+ }
+
+ return this;
}
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ public Builder clearImportFeaturesAnalysis() {
+ if (importFeaturesAnalysisBuilder_ == null) {
+ importFeaturesAnalysis_ = null;
+ onChanged();
+ } else {
+ importFeaturesAnalysis_ = null;
+ importFeaturesAnalysisBuilder_ = null;
+ }
- @java.lang.Override
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Builder
+ getImportFeaturesAnalysisBuilder() {
+
+ onChanged();
+ return getImportFeaturesAnalysisFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
- getDefaultInstanceForType() {
- return com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.getDefaultInstance();
+ .ImportFeaturesAnalysisOrBuilder
+ getImportFeaturesAnalysisOrBuilder() {
+ if (importFeaturesAnalysisBuilder_ != null) {
+ return importFeaturesAnalysisBuilder_.getMessageOrBuilder();
+ } else {
+ return importFeaturesAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.getDefaultInstance()
+ : importFeaturesAnalysis_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysisOrBuilder>
+ getImportFeaturesAnalysisFieldBuilder() {
+ if (importFeaturesAnalysisBuilder_ == null) {
+ importFeaturesAnalysisBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysisOrBuilder>(
+ getImportFeaturesAnalysis(), getParentForChildren(), isClean());
+ importFeaturesAnalysis_ = null;
+ }
+ return importFeaturesAnalysisBuilder_;
}
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig build() {
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
+ private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ numericalThresholdConfig_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ThresholdConfigOrBuilder>
+ numericalThresholdConfigBuilder_;
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ *
+ * @return Whether the numericalThresholdConfig field is set.
+ */
+ public boolean hasNumericalThresholdConfig() {
+ return numericalThresholdConfigBuilder_ != null || numericalThresholdConfig_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ *
+ * @return The numericalThresholdConfig.
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getNumericalThresholdConfig() {
+ if (numericalThresholdConfigBuilder_ == null) {
+ return numericalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()
+ : numericalThresholdConfig_;
+ } else {
+ return numericalThresholdConfigBuilder_.getMessage();
}
- return result;
}
-
- @java.lang.Override
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig buildPartial() {
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig result =
- new com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig(this);
- if (snapshotAnalysisBuilder_ == null) {
- result.snapshotAnalysis_ = snapshotAnalysis_;
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ public Builder setNumericalThresholdConfig(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) {
+ if (numericalThresholdConfigBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ numericalThresholdConfig_ = value;
+ onChanged();
} else {
- result.snapshotAnalysis_ = snapshotAnalysisBuilder_.build();
+ numericalThresholdConfigBuilder_.setMessage(value);
}
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
+ return this;
}
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ public Builder setNumericalThresholdConfig(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder
+ builderForValue) {
+ if (numericalThresholdConfigBuilder_ == null) {
+ numericalThresholdConfig_ = builderForValue.build();
+ onChanged();
+ } else {
+ numericalThresholdConfigBuilder_.setMessage(builderForValue.build());
+ }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
+ return this;
}
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ public Builder mergeNumericalThresholdConfig(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) {
+ if (numericalThresholdConfigBuilder_ == null) {
+ if (numericalThresholdConfig_ != null) {
+ numericalThresholdConfig_ =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .newBuilder(numericalThresholdConfig_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ numericalThresholdConfig_ = value;
+ }
+ onChanged();
+ } else {
+ numericalThresholdConfigBuilder_.mergeFrom(value);
+ }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
+ return this;
}
-
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) {
- return mergeFrom((com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig) other);
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ public Builder clearNumericalThresholdConfig() {
+ if (numericalThresholdConfigBuilder_ == null) {
+ numericalThresholdConfig_ = null;
+ onChanged();
} else {
- super.mergeFrom(other);
- return this;
+ numericalThresholdConfig_ = null;
+ numericalThresholdConfigBuilder_ = null;
}
- }
- public Builder mergeFrom(
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig other) {
- if (other
- == com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.getDefaultInstance())
- return this;
- if (other.hasSnapshotAnalysis()) {
- mergeSnapshotAnalysis(other.getSnapshotAnalysis());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
return this;
}
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder
+ getNumericalThresholdConfigBuilder() {
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
+ onChanged();
+ return getNumericalThresholdConfigFieldBuilder().getBuilder();
}
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage =
- (com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig)
- e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
+ getNumericalThresholdConfigOrBuilder() {
+ if (numericalThresholdConfigBuilder_ != null) {
+ return numericalThresholdConfigBuilder_.getMessageOrBuilder();
+ } else {
+ return numericalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()
+ : numericalThresholdConfig_;
}
- return this;
+ }
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ThresholdConfigOrBuilder>
+ getNumericalThresholdConfigFieldBuilder() {
+ if (numericalThresholdConfigBuilder_ == null) {
+ numericalThresholdConfigBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .Builder,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
+ .ThresholdConfigOrBuilder>(
+ getNumericalThresholdConfig(), getParentForChildren(), isClean());
+ numericalThresholdConfig_ = null;
+ }
+ return numericalThresholdConfigBuilder_;
}
- private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
- snapshotAnalysis_;
+ private com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ categoricalThresholdConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis,
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
.Builder,
com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
- .SnapshotAnalysisOrBuilder>
- snapshotAnalysisBuilder_;
+ .ThresholdConfigOrBuilder>
+ categoricalThresholdConfigBuilder_;
/**
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*
- * @return Whether the snapshotAnalysis field is set.
+ * @return Whether the categoricalThresholdConfig field is set.
*/
- public boolean hasSnapshotAnalysis() {
- return snapshotAnalysisBuilder_ != null || snapshotAnalysis_ != null;
+ public boolean hasCategoricalThresholdConfig() {
+ return categoricalThresholdConfigBuilder_ != null || categoricalThresholdConfig_ != null;
}
/**
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*
- * @return The snapshotAnalysis.
+ * @return The categoricalThresholdConfig.
*/
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
- getSnapshotAnalysis() {
- if (snapshotAnalysisBuilder_ == null) {
- return snapshotAnalysis_ == null
- ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getCategoricalThresholdConfig() {
+ if (categoricalThresholdConfigBuilder_ == null) {
+ return categoricalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
.getDefaultInstance()
- : snapshotAnalysis_;
+ : categoricalThresholdConfig_;
} else {
- return snapshotAnalysisBuilder_.getMessage();
+ return categoricalThresholdConfigBuilder_.getMessage();
}
}
/**
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
- public Builder setSnapshotAnalysis(
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) {
- if (snapshotAnalysisBuilder_ == null) {
+ public Builder setCategoricalThresholdConfig(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) {
+ if (categoricalThresholdConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
- snapshotAnalysis_ = value;
+ categoricalThresholdConfig_ = value;
onChanged();
} else {
- snapshotAnalysisBuilder_.setMessage(value);
+ categoricalThresholdConfigBuilder_.setMessage(value);
}
return this;
@@ -1714,21 +5029,25 @@ public Builder setSnapshotAnalysis(
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
- public Builder setSnapshotAnalysis(
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
+ public Builder setCategoricalThresholdConfig(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder
builderForValue) {
- if (snapshotAnalysisBuilder_ == null) {
- snapshotAnalysis_ = builderForValue.build();
+ if (categoricalThresholdConfigBuilder_ == null) {
+ categoricalThresholdConfig_ = builderForValue.build();
onChanged();
} else {
- snapshotAnalysisBuilder_.setMessage(builderForValue.build());
+ categoricalThresholdConfigBuilder_.setMessage(builderForValue.build());
}
return this;
@@ -1737,28 +5056,32 @@ public Builder setSnapshotAnalysis(
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
- public Builder mergeSnapshotAnalysis(
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) {
- if (snapshotAnalysisBuilder_ == null) {
- if (snapshotAnalysis_ != null) {
- snapshotAnalysis_ =
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
- .newBuilder(snapshotAnalysis_)
+ public Builder mergeCategoricalThresholdConfig(
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig value) {
+ if (categoricalThresholdConfigBuilder_ == null) {
+ if (categoricalThresholdConfig_ != null) {
+ categoricalThresholdConfig_ =
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .newBuilder(categoricalThresholdConfig_)
.mergeFrom(value)
.buildPartial();
} else {
- snapshotAnalysis_ = value;
+ categoricalThresholdConfig_ = value;
}
onChanged();
} else {
- snapshotAnalysisBuilder_.mergeFrom(value);
+ categoricalThresholdConfigBuilder_.mergeFrom(value);
}
return this;
@@ -1767,20 +5090,24 @@ public Builder mergeSnapshotAnalysis(
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
- public Builder clearSnapshotAnalysis() {
- if (snapshotAnalysisBuilder_ == null) {
- snapshotAnalysis_ = null;
+ public Builder clearCategoricalThresholdConfig() {
+ if (categoricalThresholdConfigBuilder_ == null) {
+ categoricalThresholdConfig_ = null;
onChanged();
} else {
- snapshotAnalysis_ = null;
- snapshotAnalysisBuilder_ = null;
+ categoricalThresholdConfig_ = null;
+ categoricalThresholdConfigBuilder_ = null;
}
return this;
@@ -1789,72 +5116,83 @@ public Builder clearSnapshotAnalysis() {
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
- getSnapshotAnalysisBuilder() {
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder
+ getCategoricalThresholdConfigBuilder() {
onChanged();
- return getSnapshotAnalysisFieldBuilder().getBuilder();
+ return getCategoricalThresholdConfigFieldBuilder().getBuilder();
}
/**
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
- public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
- .SnapshotAnalysisOrBuilder
- getSnapshotAnalysisOrBuilder() {
- if (snapshotAnalysisBuilder_ != null) {
- return snapshotAnalysisBuilder_.getMessageOrBuilder();
+ public com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
+ getCategoricalThresholdConfigOrBuilder() {
+ if (categoricalThresholdConfigBuilder_ != null) {
+ return categoricalThresholdConfigBuilder_.getMessageOrBuilder();
} else {
- return snapshotAnalysis_ == null
- ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ return categoricalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
.getDefaultInstance()
- : snapshotAnalysis_;
+ : categoricalThresholdConfig_;
}
}
/**
*
*
*
- * The config for Snapshot Analysis Based Feature Monitoring.
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
*
*
*
- * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1;
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis,
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
.Builder,
com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
- .SnapshotAnalysisOrBuilder>
- getSnapshotAnalysisFieldBuilder() {
- if (snapshotAnalysisBuilder_ == null) {
- snapshotAnalysisBuilder_ =
+ .ThresholdConfigOrBuilder>
+ getCategoricalThresholdConfigFieldBuilder() {
+ if (categoricalThresholdConfigBuilder_ == null) {
+ categoricalThresholdConfigBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis,
- com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig,
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
.Builder,
com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig
- .SnapshotAnalysisOrBuilder>(
- getSnapshotAnalysis(), getParentForChildren(), isClean());
- snapshotAnalysis_ = null;
+ .ThresholdConfigOrBuilder>(
+ getCategoricalThresholdConfig(), getParentForChildren(), isClean());
+ categoricalThresholdConfig_ = null;
}
- return snapshotAnalysisBuilder_;
+ return categoricalThresholdConfigBuilder_;
}
@java.lang.Override
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java
index 0c604320d..197903044 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringConfigOrBuilder.java
@@ -65,4 +65,157 @@ public interface FeaturestoreMonitoringConfigOrBuilder
*/
com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
getSnapshotAnalysisOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ *
+ * @return Whether the importFeaturesAnalysis field is set.
+ */
+ boolean hasImportFeaturesAnalysis();
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ *
+ * @return The importFeaturesAnalysis.
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ getImportFeaturesAnalysis();
+ /**
+ *
+ *
+ *
+ * The config for ImportFeatures Analysis Based Feature Monitoring.
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysisOrBuilder
+ getImportFeaturesAnalysisOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ *
+ * @return Whether the numericalThresholdConfig field is set.
+ */
+ boolean hasNumericalThresholdConfig();
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ *
+ * @return The numericalThresholdConfig.
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getNumericalThresholdConfig();
+ /**
+ *
+ *
+ *
+ * Threshold for numerical features of anomaly detection.
+ * This is shared by all objectives of Featurestore Monitoring for numerical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * DOUBLE or INT64).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
+ getNumericalThresholdConfigOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
+ *
+ *
+ * @return Whether the categoricalThresholdConfig field is set.
+ */
+ boolean hasCategoricalThresholdConfig();
+ /**
+ *
+ *
+ *
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
+ *
+ *
+ * @return The categoricalThresholdConfig.
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig
+ getCategoricalThresholdConfig();
+ /**
+ *
+ *
+ *
+ * Threshold for categorical features of anomaly detection.
+ * This is shared by all types of Featurestore Monitoring for categorical
+ * features (i.e. Features with type
+ * ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ * BOOL or STRING).
+ *
+ *
+ *
+ * .google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4;
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
+ getCategoricalThresholdConfigOrBuilder();
}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java
index 2452b8410..98aea9b48 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreMonitoringProto.java
@@ -35,6 +35,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -47,21 +55,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n=google/cloud/aiplatform/v1beta1/featur"
+ "estore_monitoring.proto\022\037google.cloud.ai"
+ "platform.v1beta1\032\034google/api/annotations"
- + ".proto\032\036google/protobuf/duration.proto\"\216"
- + "\002\n\034FeaturestoreMonitoringConfig\022i\n\021snaps"
+ + ".proto\032\036google/protobuf/duration.proto\"\205"
+ + "\t\n\034FeaturestoreMonitoringConfig\022i\n\021snaps"
+ "hot_analysis\030\001 \001(\0132N.google.cloud.aiplat"
+ "form.v1beta1.FeaturestoreMonitoringConfi"
- + "g.SnapshotAnalysis\032\202\001\n\020SnapshotAnalysis\022"
- + "\020\n\010disabled\030\001 \001(\010\022:\n\023monitoring_interval"
- + "\030\002 \001(\0132\031.google.protobuf.DurationB\002\030\001\022 \n"
- + "\030monitoring_interval_days\030\003 \001(\005B\370\001\n#com."
- + "google.cloud.aiplatform.v1beta1B\033Feature"
- + "storeMonitoringProtoP\001ZIgoogle.golang.or"
- + "g/genproto/googleapis/cloud/aiplatform/v"
- + "1beta1;aiplatform\252\002\037Google.Cloud.AIPlatf"
- + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1"
- + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet"
- + "a1b\006proto3"
+ + "g.SnapshotAnalysis\022v\n\030import_features_an"
+ + "alysis\030\002 \001(\0132T.google.cloud.aiplatform.v"
+ + "1beta1.FeaturestoreMonitoringConfig.Impo"
+ + "rtFeaturesAnalysis\022q\n\032numerical_threshol"
+ + "d_config\030\003 \001(\0132M.google.cloud.aiplatform"
+ + ".v1beta1.FeaturestoreMonitoringConfig.Th"
+ + "resholdConfig\022s\n\034categorical_threshold_c"
+ + "onfig\030\004 \001(\0132M.google.cloud.aiplatform.v1"
+ + "beta1.FeaturestoreMonitoringConfig.Thres"
+ + "holdConfig\032\232\001\n\020SnapshotAnalysis\022\020\n\010disab"
+ + "led\030\001 \001(\010\022:\n\023monitoring_interval\030\002 \001(\0132\031"
+ + ".google.protobuf.DurationB\002\030\001\022 \n\030monitor"
+ + "ing_interval_days\030\003 \001(\005\022\026\n\016staleness_day"
+ + "s\030\004 \001(\005\032\313\003\n\026ImportFeaturesAnalysis\022i\n\005st"
+ + "ate\030\001 \001(\0162Z.google.cloud.aiplatform.v1be"
+ + "ta1.FeaturestoreMonitoringConfig.ImportF"
+ + "eaturesAnalysis.State\022\201\001\n\032anomaly_detect"
+ + "ion_baseline\030\002 \001(\0162].google.cloud.aiplat"
+ + "form.v1beta1.FeaturestoreMonitoringConfi"
+ + "g.ImportFeaturesAnalysis.Baseline\"F\n\005Sta"
+ + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\013"
+ + "\n\007ENABLED\020\002\022\014\n\010DISABLED\020\003\"z\n\010Baseline\022\030\n"
+ + "\024BASELINE_UNSPECIFIED\020\000\022\020\n\014LATEST_STATS\020"
+ + "\001\022\036\n\032MOST_RECENT_SNAPSHOT_STATS\020\002\022\"\n\036PRE"
+ + "VIOUS_IMPORT_FEATURES_STATS\020\003\032/\n\017Thresho"
+ + "ldConfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthresholdB\370"
+ + "\001\n#com.google.cloud.aiplatform.v1beta1B\033"
+ + "FeaturestoreMonitoringProtoP\001ZIgoogle.go"
+ + "lang.org/genproto/googleapis/cloud/aipla"
+ + "tform/v1beta1;aiplatform\252\002\037Google.Cloud."
+ + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat"
+ + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform"
+ + "::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -77,6 +107,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor,
new java.lang.String[] {
"SnapshotAnalysis",
+ "ImportFeaturesAnalysis",
+ "NumericalThresholdConfig",
+ "CategoricalThresholdConfig",
});
internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor =
internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor
@@ -86,7 +119,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_SnapshotAnalysis_descriptor,
new java.lang.String[] {
- "Disabled", "MonitoringInterval", "MonitoringIntervalDays",
+ "Disabled", "MonitoringInterval", "MonitoringIntervalDays", "StalenessDays",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_descriptor,
+ new java.lang.String[] {
+ "State", "AnomalyDetectionBaseline",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_descriptor
+ .getNestedTypes()
+ .get(2);
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_FeaturestoreMonitoringConfig_ThresholdConfig_descriptor,
+ new java.lang.String[] {
+ "Value", "Threshold",
});
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java
index 96f55b679..c85a91169 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java
@@ -248,7 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"h\n\031"
+ "DeleteFeaturestoreRequest\022<\n\004name\030\001 \001(\tB"
+ ".\340A\002\372A(\n&aiplatform.googleapis.com/Featu"
- + "restore\022\r\n\005force\030\002 \001(\010\"\216\005\n\032ImportFeature"
+ + "restore\022\r\n\005force\030\002 \001(\010\"\262\005\n\032ImportFeature"
+ "ValuesRequest\022B\n\013avro_source\030\002 \001(\0132+.goo"
+ "gle.cloud.aiplatform.v1beta1.AvroSourceH"
+ "\000\022J\n\017bigquery_source\030\003 \001(\0132/.google.clou"
@@ -262,284 +262,285 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\rfeature_specs\030\010 \003(\0132G.google.cloud.aipl"
+ "atform.v1beta1.ImportFeatureValuesReques"
+ "t.FeatureSpecB\003\340A\002\022\036\n\026disable_online_ser"
- + "ving\030\t \001(\010\022\024\n\014worker_count\030\013 \001(\005\0324\n\013Feat"
- + "ureSpec\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field"
- + "\030\002 \001(\tB\010\n\006sourceB\025\n\023feature_time_source\""
- + "}\n\033ImportFeatureValuesResponse\022\035\n\025import"
- + "ed_entity_count\030\001 \001(\003\022$\n\034imported_featur"
- + "e_value_count\030\002 \001(\003\022\031\n\021invalid_row_count"
- + "\030\006 \001(\003\"\277\006\n\035BatchReadFeatureValuesRequest"
- + "\022H\n\022csv_read_instances\030\003 \001(\0132*.google.cl"
- + "oud.aiplatform.v1beta1.CsvSourceH\000\022R\n\027bi"
- + "gquery_read_instances\030\005 \001(\0132/.google.clo"
- + "ud.aiplatform.v1beta1.BigQuerySourceH\000\022D"
- + "\n\014featurestore\030\001 \001(\tB.\340A\002\372A(\n&aiplatform"
- + ".googleapis.com/Featurestore\022R\n\013destinat"
- + "ion\030\004 \001(\01328.google.cloud.aiplatform.v1be"
- + "ta1.FeatureValueDestinationB\003\340A\002\022l\n\023pass"
- + "_through_fields\030\010 \003(\0132O.google.cloud.aip"
- + "latform.v1beta1.BatchReadFeatureValuesRe"
- + "quest.PassThroughField\022m\n\021entity_type_sp"
- + "ecs\030\007 \003(\0132M.google.cloud.aiplatform.v1be"
- + "ta1.BatchReadFeatureValuesRequest.Entity"
- + "TypeSpecB\003\340A\002\032+\n\020PassThroughField\022\027\n\nfie"
- + "ld_name\030\001 \001(\tB\003\340A\002\032\314\001\n\016EntityTypeSpec\022\033\n"
- + "\016entity_type_id\030\001 \001(\tB\003\340A\002\022O\n\020feature_se"
- + "lector\030\002 \001(\01320.google.cloud.aiplatform.v"
- + "1beta1.FeatureSelectorB\003\340A\002\022L\n\010settings\030"
- + "\003 \003(\0132:.google.cloud.aiplatform.v1beta1."
- + "DestinationFeatureSettingB\r\n\013read_option"
- + "\"\201\006\n\032ExportFeatureValuesRequest\022e\n\017snaps"
- + "hot_export\030\003 \001(\0132J.google.cloud.aiplatfo"
- + "rm.v1beta1.ExportFeatureValuesRequest.Sn"
- + "apshotExportH\000\022]\n\013full_export\030\007 \001(\0132F.go"
- + "ogle.cloud.aiplatform.v1beta1.ExportFeat"
- + "ureValuesRequest.FullExportH\000\022A\n\013entity_"
- + "type\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapi"
- + "s.com/EntityType\022R\n\013destination\030\004 \001(\01328."
- + "google.cloud.aiplatform.v1beta1.FeatureV"
- + "alueDestinationB\003\340A\002\022O\n\020feature_selector"
- + "\030\005 \001(\01320.google.cloud.aiplatform.v1beta1"
- + ".FeatureSelectorB\003\340A\002\022L\n\010settings\030\006 \003(\0132"
- + ":.google.cloud.aiplatform.v1beta1.Destin"
- + "ationFeatureSetting\032s\n\016SnapshotExport\0221\n"
- + "\rsnapshot_time\030\001 \001(\0132\032.google.protobuf.T"
- + "imestamp\022.\n\nstart_time\030\002 \001(\0132\032.google.pr"
- + "otobuf.Timestamp\032j\n\nFullExport\022.\n\nstart_"
- + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\022,"
- + "\n\010end_time\030\001 \001(\0132\032.google.protobuf.Times"
- + "tampB\006\n\004mode\"O\n\031DestinationFeatureSettin"
- + "g\022\027\n\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021destinatio"
- + "n_field\030\002 \001(\t\"\240\002\n\027FeatureValueDestinatio"
- + "n\022T\n\024bigquery_destination\030\001 \001(\01324.google"
- + ".cloud.aiplatform.v1beta1.BigQueryDestin"
- + "ationH\000\022T\n\024tfrecord_destination\030\002 \001(\01324."
- + "google.cloud.aiplatform.v1beta1.TFRecord"
- + "DestinationH\000\022J\n\017csv_destination\030\003 \001(\0132/"
- + ".google.cloud.aiplatform.v1beta1.CsvDest"
- + "inationH\000B\r\n\013destination\"\035\n\033ExportFeatur"
- + "eValuesResponse\" \n\036BatchReadFeatureValue"
- + "sResponse\"\270\001\n\027CreateEntityTypeRequest\022>\n"
- + "\006parent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.google"
- + "apis.com/Featurestore\022@\n\013entity_type\030\002 \001"
- + "(\0132+.google.cloud.aiplatform.v1beta1.Ent"
- + "ityType\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024"
- + "GetEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372"
- + "A&\n$aiplatform.googleapis.com/EntityType"
- + "\"\316\001\n\026ListEntityTypesRequest\022<\n\006parent\030\001 "
- + "\001(\tB,\340A\002\372A&\022$aiplatform.googleapis.com/E"
- + "ntityType\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003"
- + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001"
- + "(\t\022-\n\tread_mask\030\006 \001(\0132\032.google.protobuf."
- + "FieldMask\"u\n\027ListEntityTypesResponse\022A\n\014"
- + "entity_types\030\001 \003(\0132+.google.cloud.aiplat"
- + "form.v1beta1.EntityType\022\027\n\017next_page_tok"
- + "en\030\002 \001(\t\"\221\001\n\027UpdateEntityTypeRequest\022E\n\013"
- + "entity_type\030\001 \001(\0132+.google.cloud.aiplatf"
- + "orm.v1beta1.EntityTypeB\003\340A\002\022/\n\013update_ma"
- + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"d\n\027"
- + "DeleteEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340"
+ + "ving\030\t \001(\010\022\024\n\014worker_count\030\013 \001(\005\022\"\n\032disa"
+ + "ble_ingestion_analysis\030\014 \001(\010\0324\n\013FeatureS"
+ + "pec\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001"
+ + "(\tB\010\n\006sourceB\025\n\023feature_time_source\"}\n\033I"
+ + "mportFeatureValuesResponse\022\035\n\025imported_e"
+ + "ntity_count\030\001 \001(\003\022$\n\034imported_feature_va"
+ + "lue_count\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001"
+ + "(\003\"\277\006\n\035BatchReadFeatureValuesRequest\022H\n\022"
+ + "csv_read_instances\030\003 \001(\0132*.google.cloud."
+ + "aiplatform.v1beta1.CsvSourceH\000\022R\n\027bigque"
+ + "ry_read_instances\030\005 \001(\0132/.google.cloud.a"
+ + "iplatform.v1beta1.BigQuerySourceH\000\022D\n\014fe"
+ + "aturestore\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.goo"
+ + "gleapis.com/Featurestore\022R\n\013destination\030"
+ + "\004 \001(\01328.google.cloud.aiplatform.v1beta1."
+ + "FeatureValueDestinationB\003\340A\002\022l\n\023pass_thr"
+ + "ough_fields\030\010 \003(\0132O.google.cloud.aiplatf"
+ + "orm.v1beta1.BatchReadFeatureValuesReques"
+ + "t.PassThroughField\022m\n\021entity_type_specs\030"
+ + "\007 \003(\0132M.google.cloud.aiplatform.v1beta1."
+ + "BatchReadFeatureValuesRequest.EntityType"
+ + "SpecB\003\340A\002\032+\n\020PassThroughField\022\027\n\nfield_n"
+ + "ame\030\001 \001(\tB\003\340A\002\032\314\001\n\016EntityTypeSpec\022\033\n\016ent"
+ + "ity_type_id\030\001 \001(\tB\003\340A\002\022O\n\020feature_select"
+ + "or\030\002 \001(\01320.google.cloud.aiplatform.v1bet"
+ + "a1.FeatureSelectorB\003\340A\002\022L\n\010settings\030\003 \003("
+ + "\0132:.google.cloud.aiplatform.v1beta1.Dest"
+ + "inationFeatureSettingB\r\n\013read_option\"\201\006\n"
+ + "\032ExportFeatureValuesRequest\022e\n\017snapshot_"
+ + "export\030\003 \001(\0132J.google.cloud.aiplatform.v"
+ + "1beta1.ExportFeatureValuesRequest.Snapsh"
+ + "otExportH\000\022]\n\013full_export\030\007 \001(\0132F.google"
+ + ".cloud.aiplatform.v1beta1.ExportFeatureV"
+ + "aluesRequest.FullExportH\000\022A\n\013entity_type"
+ + "\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.co"
+ + "m/EntityType\022R\n\013destination\030\004 \001(\01328.goog"
+ + "le.cloud.aiplatform.v1beta1.FeatureValue"
+ + "DestinationB\003\340A\002\022O\n\020feature_selector\030\005 \001"
+ + "(\01320.google.cloud.aiplatform.v1beta1.Fea"
+ + "tureSelectorB\003\340A\002\022L\n\010settings\030\006 \003(\0132:.go"
+ + "ogle.cloud.aiplatform.v1beta1.Destinatio"
+ + "nFeatureSetting\032s\n\016SnapshotExport\0221\n\rsna"
+ + "pshot_time\030\001 \001(\0132\032.google.protobuf.Times"
+ + "tamp\022.\n\nstart_time\030\002 \001(\0132\032.google.protob"
+ + "uf.Timestamp\032j\n\nFullExport\022.\n\nstart_time"
+ + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en"
+ + "d_time\030\001 \001(\0132\032.google.protobuf.Timestamp"
+ + "B\006\n\004mode\"O\n\031DestinationFeatureSetting\022\027\n"
+ + "\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021destination_fi"
+ + "eld\030\002 \001(\t\"\240\002\n\027FeatureValueDestination\022T\n"
+ + "\024bigquery_destination\030\001 \001(\01324.google.clo"
+ + "ud.aiplatform.v1beta1.BigQueryDestinatio"
+ + "nH\000\022T\n\024tfrecord_destination\030\002 \001(\01324.goog"
+ + "le.cloud.aiplatform.v1beta1.TFRecordDest"
+ + "inationH\000\022J\n\017csv_destination\030\003 \001(\0132/.goo"
+ + "gle.cloud.aiplatform.v1beta1.CsvDestinat"
+ + "ionH\000B\r\n\013destination\"\035\n\033ExportFeatureVal"
+ + "uesResponse\" \n\036BatchReadFeatureValuesRes"
+ + "ponse\"\270\001\n\027CreateEntityTypeRequest\022>\n\006par"
+ + "ent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis"
+ + ".com/Featurestore\022@\n\013entity_type\030\002 \001(\0132+"
+ + ".google.cloud.aiplatform.v1beta1.EntityT"
+ + "ype\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetE"
+ + "ntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$"
+ + "aiplatform.googleapis.com/EntityType\"\316\001\n"
+ + "\026ListEntityTypesRequest\022<\n\006parent\030\001 \001(\tB"
+ + ",\340A\002\372A&\022$aiplatform.googleapis.com/Entit"
+ + "yType\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005"
+ + "\022\022\n\npage_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-"
+ + "\n\tread_mask\030\006 \001(\0132\032.google.protobuf.Fiel"
+ + "dMask\"u\n\027ListEntityTypesResponse\022A\n\014enti"
+ + "ty_types\030\001 \003(\0132+.google.cloud.aiplatform"
+ + ".v1beta1.EntityType\022\027\n\017next_page_token\030\002"
+ + " \001(\t\"\221\001\n\027UpdateEntityTypeRequest\022E\n\013enti"
+ + "ty_type\030\001 \001(\0132+.google.cloud.aiplatform."
+ + "v1beta1.EntityTypeB\003\340A\002\022/\n\013update_mask\030\002"
+ + " \001(\0132\032.google.protobuf.FieldMask\"d\n\027Dele"
+ + "teEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A"
+ + "&\n$aiplatform.googleapis.com/EntityType\022"
+ + "\r\n\005force\030\002 \001(\010\"\255\001\n\024CreateFeatureRequest\022"
+ + "<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goog"
+ + "leapis.com/EntityType\022>\n\007feature\030\002 \001(\0132("
+ + ".google.cloud.aiplatform.v1beta1.Feature"
+ + "B\003\340A\002\022\027\n\nfeature_id\030\003 \001(\tB\003\340A\002\"\250\001\n\032Batch"
+ + "CreateFeaturesRequest\022<\n\006parent\030\001 \001(\tB,\340"
+ "A\002\372A&\n$aiplatform.googleapis.com/EntityT"
- + "ype\022\r\n\005force\030\002 \001(\010\"\255\001\n\024CreateFeatureRequ"
- + "est\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform."
- + "googleapis.com/EntityType\022>\n\007feature\030\002 \001"
- + "(\0132(.google.cloud.aiplatform.v1beta1.Fea"
- + "tureB\003\340A\002\022\027\n\nfeature_id\030\003 \001(\tB\003\340A\002\"\250\001\n\032B"
- + "atchCreateFeaturesRequest\022<\n\006parent\030\001 \001("
- + "\tB,\340A\002\372A&\n$aiplatform.googleapis.com/Ent"
- + "ityType\022L\n\010requests\030\002 \003(\01325.google.cloud"
- + ".aiplatform.v1beta1.CreateFeatureRequest"
- + "B\003\340A\002\"Y\n\033BatchCreateFeaturesResponse\022:\n\010"
- + "features\030\001 \003(\0132(.google.cloud.aiplatform"
- + ".v1beta1.Feature\"L\n\021GetFeatureRequest\0227\n"
- + "\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleap"
- + "is.com/Feature\"\344\001\n\023ListFeaturesRequest\0229"
- + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.googl"
- + "eapis.com/Feature\022\016\n\006filter\030\002 \001(\t\022\021\n\tpag"
- + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010orde"
- + "r_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.google.p"
- + "rotobuf.FieldMask\022\032\n\022latest_stats_count\030"
- + "\007 \001(\005\"k\n\024ListFeaturesResponse\022:\n\010feature"
- + "s\030\001 \003(\0132(.google.cloud.aiplatform.v1beta"
- + "1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025S"
- + "earchFeaturesRequest\022;\n\010location\030\001 \001(\tB)"
- + "\340A\002\372A#\n!locations.googleapis.com/Locatio"
- + "n\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\np"
- + "age_token\030\005 \001(\t\"m\n\026SearchFeaturesRespons"
- + "e\022:\n\010features\030\001 \003(\0132(.google.cloud.aipla"
- + "tform.v1beta1.Feature\022\027\n\017next_page_token"
- + "\030\002 \001(\t\"\207\001\n\024UpdateFeatureRequest\022>\n\007featu"
- + "re\030\001 \001(\0132(.google.cloud.aiplatform.v1bet"
- + "a1.FeatureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g"
- + "oogle.protobuf.FieldMask\"O\n\024DeleteFeatur"
- + "eRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatfo"
- + "rm.googleapis.com/Feature\"z\n#CreateFeatu"
+ + "ype\022L\n\010requests\030\002 \003(\01325.google.cloud.aip"
+ + "latform.v1beta1.CreateFeatureRequestB\003\340A"
+ + "\002\"Y\n\033BatchCreateFeaturesResponse\022:\n\010feat"
+ + "ures\030\001 \003(\0132(.google.cloud.aiplatform.v1b"
+ + "eta1.Feature\"L\n\021GetFeatureRequest\0227\n\004nam"
+ + "e\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.c"
+ + "om/Feature\"\344\001\n\023ListFeaturesRequest\0229\n\006pa"
+ + "rent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.googleapi"
+ + "s.com/Feature\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si"
+ + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010order_by"
+ + "\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.google.proto"
+ + "buf.FieldMask\022\032\n\022latest_stats_count\030\007 \001("
+ + "\005\"k\n\024ListFeaturesResponse\022:\n\010features\030\001 "
+ + "\003(\0132(.google.cloud.aiplatform.v1beta1.Fe"
+ + "ature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025Searc"
+ + "hFeaturesRequest\022;\n\010location\030\001 \001(\tB)\340A\002\372"
+ + "A#\n!locations.googleapis.com/Location\022\r\n"
+ + "\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_"
+ + "token\030\005 \001(\t\"m\n\026SearchFeaturesResponse\022:\n"
+ + "\010features\030\001 \003(\0132(.google.cloud.aiplatfor"
+ + "m.v1beta1.Feature\022\027\n\017next_page_token\030\002 \001"
+ + "(\t\"\207\001\n\024UpdateFeatureRequest\022>\n\007feature\030\001"
+ + " \001(\0132(.google.cloud.aiplatform.v1beta1.F"
+ + "eatureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl"
+ + "e.protobuf.FieldMask\"O\n\024DeleteFeatureReq"
+ + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.g"
+ + "oogleapis.com/Feature\"z\n#CreateFeaturest"
+ + "oreOperationMetadata\022S\n\020generic_metadata"
+ + "\030\001 \001(\01329.google.cloud.aiplatform.v1beta1"
+ + ".GenericOperationMetadata\"z\n#UpdateFeatu"
+ "restoreOperationMetadata\022S\n\020generic_meta"
+ "data\030\001 \001(\01329.google.cloud.aiplatform.v1b"
- + "eta1.GenericOperationMetadata\"z\n#UpdateF"
- + "eaturestoreOperationMetadata\022S\n\020generic_"
- + "metadata\030\001 \001(\01329.google.cloud.aiplatform"
- + ".v1beta1.GenericOperationMetadata\"\333\001\n$Im"
- + "portFeatureValuesOperationMetadata\022S\n\020ge"
- + "neric_metadata\030\001 \001(\01329.google.cloud.aipl"
- + "atform.v1beta1.GenericOperationMetadata\022"
- + "\035\n\025imported_entity_count\030\002 \001(\003\022$\n\034import"
- + "ed_feature_value_count\030\003 \001(\003\022\031\n\021invalid_"
- + "row_count\030\006 \001(\003\"{\n$ExportFeatureValuesOp"
- + "erationMetadata\022S\n\020generic_metadata\030\001 \001("
- + "\01329.google.cloud.aiplatform.v1beta1.Gene"
- + "ricOperationMetadata\"~\n\'BatchReadFeature"
- + "ValuesOperationMetadata\022S\n\020generic_metad"
- + "ata\030\001 \001(\01329.google.cloud.aiplatform.v1be"
- + "ta1.GenericOperationMetadata\"x\n!CreateEn"
- + "tityTypeOperationMetadata\022S\n\020generic_met"
+ + "eta1.GenericOperationMetadata\"\333\001\n$Import"
+ + "FeatureValuesOperationMetadata\022S\n\020generi"
+ + "c_metadata\030\001 \001(\01329.google.cloud.aiplatfo"
+ + "rm.v1beta1.GenericOperationMetadata\022\035\n\025i"
+ + "mported_entity_count\030\002 \001(\003\022$\n\034imported_f"
+ + "eature_value_count\030\003 \001(\003\022\031\n\021invalid_row_"
+ + "count\030\006 \001(\003\"{\n$ExportFeatureValuesOperat"
+ + "ionMetadata\022S\n\020generic_metadata\030\001 \001(\01329."
+ + "google.cloud.aiplatform.v1beta1.GenericO"
+ + "perationMetadata\"~\n\'BatchReadFeatureValu"
+ + "esOperationMetadata\022S\n\020generic_metadata\030"
+ + "\001 \001(\01329.google.cloud.aiplatform.v1beta1."
+ + "GenericOperationMetadata\"x\n!CreateEntity"
+ + "TypeOperationMetadata\022S\n\020generic_metadat"
+ + "a\030\001 \001(\01329.google.cloud.aiplatform.v1beta"
+ + "1.GenericOperationMetadata\"u\n\036CreateFeat"
+ + "ureOperationMetadata\022S\n\020generic_metadata"
+ + "\030\001 \001(\01329.google.cloud.aiplatform.v1beta1"
+ + ".GenericOperationMetadata\"{\n$BatchCreate"
+ + "FeaturesOperationMetadata\022S\n\020generic_met"
+ "adata\030\001 \001(\01329.google.cloud.aiplatform.v1"
- + "beta1.GenericOperationMetadata\"u\n\036Create"
- + "FeatureOperationMetadata\022S\n\020generic_meta"
- + "data\030\001 \001(\01329.google.cloud.aiplatform.v1b"
- + "eta1.GenericOperationMetadata\"{\n$BatchCr"
- + "eateFeaturesOperationMetadata\022S\n\020generic"
- + "_metadata\030\001 \001(\01329.google.cloud.aiplatfor"
- + "m.v1beta1.GenericOperationMetadata2\260)\n\023F"
- + "eaturestoreService\022\260\002\n\022CreateFeaturestor"
- + "e\022:.google.cloud.aiplatform.v1beta1.Crea"
- + "teFeaturestoreRequest\032\035.google.longrunni"
- + "ng.Operation\"\276\001\202\323\344\223\002F\"6/v1beta1/{parent="
- + "projects/*/locations/*}/featurestores:\014f"
- + "eaturestore\332A\023parent,featurestore\332A#pare"
- + "nt,featurestore,featurestore_id\312A3\n\014Feat"
- + "urestore\022#CreateFeaturestoreOperationMet"
- + "adata\022\300\001\n\017GetFeaturestore\0227.google.cloud"
- + ".aiplatform.v1beta1.GetFeaturestoreReque"
- + "st\032-.google.cloud.aiplatform.v1beta1.Fea"
- + "turestore\"E\202\323\344\223\0028\0226/v1beta1/{name=projec"
- + "ts/*/locations/*/featurestores/*}\332A\004name"
- + "\022\323\001\n\021ListFeaturestores\0229.google.cloud.ai"
- + "platform.v1beta1.ListFeaturestoresReques"
- + "t\032:.google.cloud.aiplatform.v1beta1.List"
- + "FeaturestoresResponse\"G\202\323\344\223\0028\0226/v1beta1/"
- + "{parent=projects/*/locations/*}/features"
- + "tores\332A\006parent\022\234\002\n\022UpdateFeaturestore\022:."
- + "google.cloud.aiplatform.v1beta1.UpdateFe"
+ + "beta1.GenericOperationMetadata2\260)\n\023Featu"
+ + "restoreService\022\260\002\n\022CreateFeaturestore\022:."
+ + "google.cloud.aiplatform.v1beta1.CreateFe"
+ "aturestoreRequest\032\035.google.longrunning.O"
- + "peration\"\252\001\202\323\344\223\002S2C/v1beta1/{featurestor"
- + "e.name=projects/*/locations/*/featuresto"
- + "res/*}:\014featurestore\332A\030featurestore,upda"
- + "te_mask\312A3\n\014Featurestore\022#UpdateFeatures"
- + "toreOperationMetadata\022\367\001\n\022DeleteFeatures"
- + "tore\022:.google.cloud.aiplatform.v1beta1.D"
- + "eleteFeaturestoreRequest\032\035.google.longru"
- + "nning.Operation\"\205\001\202\323\344\223\0028*6/v1beta1/{name"
- + "=projects/*/locations/*/featurestores/*}"
- + "\332A\004name\332A\nname,force\312A0\n\025google.protobuf"
- + ".Empty\022\027DeleteOperationMetadata\022\262\002\n\020Crea"
- + "teEntityType\0228.google.cloud.aiplatform.v"
- + "1beta1.CreateEntityTypeRequest\032\035.google."
- + "longrunning.Operation\"\304\001\202\323\344\223\002S\"D/v1beta1"
- + "/{parent=projects/*/locations/*/features"
- + "tores/*}/entityTypes:\013entity_type\332A\022pare"
- + "nt,entity_type\332A!parent,entity_type,enti"
- + "ty_type_id\312A/\n\nEntityType\022!CreateEntityT"
- + "ypeOperationMetadata\022\310\001\n\rGetEntityType\0225"
- + ".google.cloud.aiplatform.v1beta1.GetEnti"
- + "tyTypeRequest\032+.google.cloud.aiplatform."
- + "v1beta1.EntityType\"S\202\323\344\223\002F\022D/v1beta1/{na"
+ + "peration\"\276\001\202\323\344\223\002F\"6/v1beta1/{parent=proj"
+ + "ects/*/locations/*}/featurestores:\014featu"
+ + "restore\332A\023parent,featurestore\332A#parent,f"
+ + "eaturestore,featurestore_id\312A3\n\014Features"
+ + "tore\022#CreateFeaturestoreOperationMetadat"
+ + "a\022\300\001\n\017GetFeaturestore\0227.google.cloud.aip"
+ + "latform.v1beta1.GetFeaturestoreRequest\032-"
+ + ".google.cloud.aiplatform.v1beta1.Feature"
+ + "store\"E\202\323\344\223\0028\0226/v1beta1/{name=projects/*"
+ + "/locations/*/featurestores/*}\332A\004name\022\323\001\n"
+ + "\021ListFeaturestores\0229.google.cloud.aiplat"
+ + "form.v1beta1.ListFeaturestoresRequest\032:."
+ + "google.cloud.aiplatform.v1beta1.ListFeat"
+ + "urestoresResponse\"G\202\323\344\223\0028\0226/v1beta1/{par"
+ + "ent=projects/*/locations/*}/featurestore"
+ + "s\332A\006parent\022\234\002\n\022UpdateFeaturestore\022:.goog"
+ + "le.cloud.aiplatform.v1beta1.UpdateFeatur"
+ + "estoreRequest\032\035.google.longrunning.Opera"
+ + "tion\"\252\001\202\323\344\223\002S2C/v1beta1/{featurestore.na"
+ "me=projects/*/locations/*/featurestores/"
- + "*/entityTypes/*}\332A\004name\022\333\001\n\017ListEntityTy"
- + "pes\0227.google.cloud.aiplatform.v1beta1.Li"
- + "stEntityTypesRequest\0328.google.cloud.aipl"
- + "atform.v1beta1.ListEntityTypesResponse\"U"
- + "\202\323\344\223\002F\022D/v1beta1/{parent=projects/*/loca"
- + "tions/*/featurestores/*}/entityTypes\332A\006p"
- + "arent\022\372\001\n\020UpdateEntityType\0228.google.clou"
- + "d.aiplatform.v1beta1.UpdateEntityTypeReq"
- + "uest\032+.google.cloud.aiplatform.v1beta1.E"
- + "ntityType\"\177\202\323\344\223\002_2P/v1beta1/{entity_type"
- + ".name=projects/*/locations/*/featurestor"
- + "es/*/entityTypes/*}:\013entity_type\332A\027entit"
- + "y_type,update_mask\022\201\002\n\020DeleteEntityType\022"
- + "8.google.cloud.aiplatform.v1beta1.Delete"
- + "EntityTypeRequest\032\035.google.longrunning.O"
- + "peration\"\223\001\202\323\344\223\002F*D/v1beta1/{name=projec"
- + "ts/*/locations/*/featurestores/*/entityT"
- + "ypes/*}\332A\004name\332A\nname,force\312A0\n\025google.p"
- + "rotobuf.Empty\022\027DeleteOperationMetadata\022\241"
- + "\002\n\rCreateFeature\0225.google.cloud.aiplatfo"
- + "rm.v1beta1.CreateFeatureRequest\032\035.google"
- + ".longrunning.Operation\"\271\001\202\323\344\223\002Z\"O/v1beta"
- + "1/{parent=projects/*/locations/*/feature"
- + "stores/*/entityTypes/*}/features:\007featur"
- + "e\332A\016parent,feature\332A\031parent,feature,feat"
- + "ure_id\312A)\n\007Feature\022\036CreateFeatureOperati"
- + "onMetadata\022\262\002\n\023BatchCreateFeatures\022;.goo"
- + "gle.cloud.aiplatform.v1beta1.BatchCreate"
- + "FeaturesRequest\032\035.google.longrunning.Ope"
- + "ration\"\276\001\202\323\344\223\002`\"[/v1beta1/{parent=projec"
- + "ts/*/locations/*/featurestores/*/entityT"
- + "ypes/*}/features:batchCreate:\001*\332A\017parent"
- + ",requests\312AC\n\033BatchCreateFeaturesRespons"
- + "e\022$BatchCreateFeaturesOperationMetadata\022"
- + "\312\001\n\nGetFeature\0222.google.cloud.aiplatform"
- + ".v1beta1.GetFeatureRequest\032(.google.clou"
- + "d.aiplatform.v1beta1.Feature\"^\202\323\344\223\002Q\022O/v"
- + "1beta1/{name=projects/*/locations/*/feat"
- + "urestores/*/entityTypes/*/features/*}\332A\004"
- + "name\022\335\001\n\014ListFeatures\0224.google.cloud.aip"
- + "latform.v1beta1.ListFeaturesRequest\0325.go"
- + "ogle.cloud.aiplatform.v1beta1.ListFeatur"
- + "esResponse\"`\202\323\344\223\002Q\022O/v1beta1/{parent=pro"
+ + "*}:\014featurestore\332A\030featurestore,update_m"
+ + "ask\312A3\n\014Featurestore\022#UpdateFeaturestore"
+ + "OperationMetadata\022\367\001\n\022DeleteFeaturestore"
+ + "\022:.google.cloud.aiplatform.v1beta1.Delet"
+ + "eFeaturestoreRequest\032\035.google.longrunnin"
+ + "g.Operation\"\205\001\202\323\344\223\0028*6/v1beta1/{name=pro"
+ + "jects/*/locations/*/featurestores/*}\332A\004n"
+ + "ame\332A\nname,force\312A0\n\025google.protobuf.Emp"
+ + "ty\022\027DeleteOperationMetadata\022\262\002\n\020CreateEn"
+ + "tityType\0228.google.cloud.aiplatform.v1bet"
+ + "a1.CreateEntityTypeRequest\032\035.google.long"
+ + "running.Operation\"\304\001\202\323\344\223\002S\"D/v1beta1/{pa"
+ + "rent=projects/*/locations/*/featurestore"
+ + "s/*}/entityTypes:\013entity_type\332A\022parent,e"
+ + "ntity_type\332A!parent,entity_type,entity_t"
+ + "ype_id\312A/\n\nEntityType\022!CreateEntityTypeO"
+ + "perationMetadata\022\310\001\n\rGetEntityType\0225.goo"
+ + "gle.cloud.aiplatform.v1beta1.GetEntityTy"
+ + "peRequest\032+.google.cloud.aiplatform.v1be"
+ + "ta1.EntityType\"S\202\323\344\223\002F\022D/v1beta1/{name=p"
+ + "rojects/*/locations/*/featurestores/*/en"
+ + "tityTypes/*}\332A\004name\022\333\001\n\017ListEntityTypes\022"
+ + "7.google.cloud.aiplatform.v1beta1.ListEn"
+ + "tityTypesRequest\0328.google.cloud.aiplatfo"
+ + "rm.v1beta1.ListEntityTypesResponse\"U\202\323\344\223"
+ + "\002F\022D/v1beta1/{parent=projects/*/location"
+ + "s/*/featurestores/*}/entityTypes\332A\006paren"
+ + "t\022\372\001\n\020UpdateEntityType\0228.google.cloud.ai"
+ + "platform.v1beta1.UpdateEntityTypeRequest"
+ + "\032+.google.cloud.aiplatform.v1beta1.Entit"
+ + "yType\"\177\202\323\344\223\002_2P/v1beta1/{entity_type.nam"
+ + "e=projects/*/locations/*/featurestores/*"
+ + "/entityTypes/*}:\013entity_type\332A\027entity_ty"
+ + "pe,update_mask\022\201\002\n\020DeleteEntityType\0228.go"
+ + "ogle.cloud.aiplatform.v1beta1.DeleteEnti"
+ + "tyTypeRequest\032\035.google.longrunning.Opera"
+ + "tion\"\223\001\202\323\344\223\002F*D/v1beta1/{name=projects/*"
+ + "/locations/*/featurestores/*/entityTypes"
+ + "/*}\332A\004name\332A\nname,force\312A0\n\025google.proto"
+ + "buf.Empty\022\027DeleteOperationMetadata\022\241\002\n\rC"
+ + "reateFeature\0225.google.cloud.aiplatform.v"
+ + "1beta1.CreateFeatureRequest\032\035.google.lon"
+ + "grunning.Operation\"\271\001\202\323\344\223\002Z\"O/v1beta1/{p"
+ + "arent=projects/*/locations/*/featurestor"
+ + "es/*/entityTypes/*}/features:\007feature\332A\016"
+ + "parent,feature\332A\031parent,feature,feature_"
+ + "id\312A)\n\007Feature\022\036CreateFeatureOperationMe"
+ + "tadata\022\262\002\n\023BatchCreateFeatures\022;.google."
+ + "cloud.aiplatform.v1beta1.BatchCreateFeat"
+ + "uresRequest\032\035.google.longrunning.Operati"
+ + "on\"\276\001\202\323\344\223\002`\"[/v1beta1/{parent=projects/*"
+ + "/locations/*/featurestores/*/entityTypes"
+ + "/*}/features:batchCreate:\001*\332A\017parent,req"
+ + "uests\312AC\n\033BatchCreateFeaturesResponse\022$B"
+ + "atchCreateFeaturesOperationMetadata\022\312\001\n\n"
+ + "GetFeature\0222.google.cloud.aiplatform.v1b"
+ + "eta1.GetFeatureRequest\032(.google.cloud.ai"
+ + "platform.v1beta1.Feature\"^\202\323\344\223\002Q\022O/v1bet"
+ + "a1/{name=projects/*/locations/*/features"
+ + "tores/*/entityTypes/*/features/*}\332A\004name"
+ + "\022\335\001\n\014ListFeatures\0224.google.cloud.aiplatf"
+ + "orm.v1beta1.ListFeaturesRequest\0325.google"
+ + ".cloud.aiplatform.v1beta1.ListFeaturesRe"
+ + "sponse\"`\202\323\344\223\002Q\022O/v1beta1/{parent=project"
+ + "s/*/locations/*/featurestores/*/entityTy"
+ + "pes/*}/features\332A\006parent\022\360\001\n\rUpdateFeatu"
+ + "re\0225.google.cloud.aiplatform.v1beta1.Upd"
+ + "ateFeatureRequest\032(.google.cloud.aiplatf"
+ + "orm.v1beta1.Feature\"~\202\323\344\223\002b2W/v1beta1/{f"
+ + "eature.name=projects/*/locations/*/featu"
+ + "restores/*/entityTypes/*/features/*}:\007fe"
+ + "ature\332A\023feature,update_mask\022\371\001\n\rDeleteFe"
+ + "ature\0225.google.cloud.aiplatform.v1beta1."
+ + "DeleteFeatureRequest\032\035.google.longrunnin"
+ + "g.Operation\"\221\001\202\323\344\223\002Q*O/v1beta1/{name=pro"
+ "jects/*/locations/*/featurestores/*/enti"
- + "tyTypes/*}/features\332A\006parent\022\360\001\n\rUpdateF"
- + "eature\0225.google.cloud.aiplatform.v1beta1"
- + ".UpdateFeatureRequest\032(.google.cloud.aip"
- + "latform.v1beta1.Feature\"~\202\323\344\223\002b2W/v1beta"
- + "1/{feature.name=projects/*/locations/*/f"
- + "eaturestores/*/entityTypes/*/features/*}"
- + ":\007feature\332A\023feature,update_mask\022\371\001\n\rDele"
- + "teFeature\0225.google.cloud.aiplatform.v1be"
- + "ta1.DeleteFeatureRequest\032\035.google.longru"
- + "nning.Operation\"\221\001\202\323\344\223\002Q*O/v1beta1/{name"
- + "=projects/*/locations/*/featurestores/*/"
- + "entityTypes/*/features/*}\332A\004name\312A0\n\025goo"
- + "gle.protobuf.Empty\022\027DeleteOperationMetad"
- + "ata\022\262\002\n\023ImportFeatureValues\022;.google.clo"
- + "ud.aiplatform.v1beta1.ImportFeatureValue"
- + "sRequest\032\035.google.longrunning.Operation\""
- + "\276\001\202\323\344\223\002d\"_/v1beta1/{entity_type=projects"
- + "/*/locations/*/featurestores/*/entityTyp"
- + "es/*}:importFeatureValues:\001*\332A\013entity_ty"
- + "pe\312AC\n\033ImportFeatureValuesResponse\022$Impo"
- + "rtFeatureValuesOperationMetadata\022\265\002\n\026Bat"
- + "chReadFeatureValues\022>.google.cloud.aipla"
- + "tform.v1beta1.BatchReadFeatureValuesRequ"
- + "est\032\035.google.longrunning.Operation\"\273\001\202\323\344"
- + "\223\002Z\"U/v1beta1/{featurestore=projects/*/l"
- + "ocations/*/featurestores/*}:batchReadFea"
- + "tureValues:\001*\332A\014featurestore\312AI\n\036BatchRe"
- + "adFeatureValuesResponse\022\'BatchReadFeatur"
- + "eValuesOperationMetadata\022\262\002\n\023ExportFeatu"
- + "reValues\022;.google.cloud.aiplatform.v1bet"
- + "a1.ExportFeatureValuesRequest\032\035.google.l"
- + "ongrunning.Operation\"\276\001\202\323\344\223\002d\"_/v1beta1/"
- + "{entity_type=projects/*/locations/*/feat"
- + "urestores/*/entityTypes/*}:exportFeature"
- + "Values:\001*\332A\013entity_type\312AC\n\033ExportFeatur"
- + "eValuesResponse\022$ExportFeatureValuesOper"
- + "ationMetadata\022\356\001\n\016SearchFeatures\0226.googl"
- + "e.cloud.aiplatform.v1beta1.SearchFeature"
- + "sRequest\0327.google.cloud.aiplatform.v1bet"
- + "a1.SearchFeaturesResponse\"k\202\323\344\223\002I\022G/v1be"
- + "ta1/{location=projects/*/locations/*}/fe"
- + "aturestores:searchFeatures\332A\010location\332A\016"
- + "location,query\032M\312A\031aiplatform.googleapis"
- + ".com\322A.https://www.googleapis.com/auth/c"
- + "loud-platformB\365\001\n#com.google.cloud.aipla"
- + "tform.v1beta1B\030FeaturestoreServiceProtoP"
- + "\001ZIgoogle.golang.org/genproto/googleapis"
- + "/cloud/aiplatform/v1beta1;aiplatform\252\002\037G"
- + "oogle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\"
- + "Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cloud"
- + "::AIPlatform::V1beta1b\006proto3"
+ + "tyTypes/*/features/*}\332A\004name\312A0\n\025google."
+ + "protobuf.Empty\022\027DeleteOperationMetadata\022"
+ + "\262\002\n\023ImportFeatureValues\022;.google.cloud.a"
+ + "iplatform.v1beta1.ImportFeatureValuesReq"
+ + "uest\032\035.google.longrunning.Operation\"\276\001\202\323"
+ + "\344\223\002d\"_/v1beta1/{entity_type=projects/*/l"
+ + "ocations/*/featurestores/*/entityTypes/*"
+ + "}:importFeatureValues:\001*\332A\013entity_type\312A"
+ + "C\n\033ImportFeatureValuesResponse\022$ImportFe"
+ + "atureValuesOperationMetadata\022\265\002\n\026BatchRe"
+ + "adFeatureValues\022>.google.cloud.aiplatfor"
+ + "m.v1beta1.BatchReadFeatureValuesRequest\032"
+ + "\035.google.longrunning.Operation\"\273\001\202\323\344\223\002Z\""
+ + "U/v1beta1/{featurestore=projects/*/locat"
+ + "ions/*/featurestores/*}:batchReadFeature"
+ + "Values:\001*\332A\014featurestore\312AI\n\036BatchReadFe"
+ + "atureValuesResponse\022\'BatchReadFeatureVal"
+ + "uesOperationMetadata\022\262\002\n\023ExportFeatureVa"
+ + "lues\022;.google.cloud.aiplatform.v1beta1.E"
+ + "xportFeatureValuesRequest\032\035.google.longr"
+ + "unning.Operation\"\276\001\202\323\344\223\002d\"_/v1beta1/{ent"
+ + "ity_type=projects/*/locations/*/features"
+ + "tores/*/entityTypes/*}:exportFeatureValu"
+ + "es:\001*\332A\013entity_type\312AC\n\033ExportFeatureVal"
+ + "uesResponse\022$ExportFeatureValuesOperatio"
+ + "nMetadata\022\356\001\n\016SearchFeatures\0226.google.cl"
+ + "oud.aiplatform.v1beta1.SearchFeaturesReq"
+ + "uest\0327.google.cloud.aiplatform.v1beta1.S"
+ + "earchFeaturesResponse\"k\202\323\344\223\002I\022G/v1beta1/"
+ + "{location=projects/*/locations/*}/featur"
+ + "estores:searchFeatures\332A\010location\332A\016loca"
+ + "tion,query\032M\312A\031aiplatform.googleapis.com"
+ + "\322A.https://www.googleapis.com/auth/cloud"
+ + "-platformB\365\001\n#com.google.cloud.aiplatfor"
+ + "m.v1beta1B\030FeaturestoreServiceProtoP\001ZIg"
+ + "oogle.golang.org/genproto/googleapis/clo"
+ + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl"
+ + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou"
+ + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI"
+ + "Platform::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -625,6 +626,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"FeatureSpecs",
"DisableOnlineServing",
"WorkerCount",
+ "DisableIngestionAnalysis",
"Source",
"FeatureTimeSource",
});
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java
index e151bf80c..745cdf525 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequest.java
@@ -185,6 +185,11 @@ private ImportFeatureValuesRequest(
workerCount_ = input.readInt32();
break;
}
+ case 96:
+ {
+ disableIngestionAnalysis_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -1684,6 +1689,24 @@ public int getWorkerCount() {
return workerCount_;
}
+ public static final int DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER = 12;
+ private boolean disableIngestionAnalysis_;
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return The disableIngestionAnalysis.
+ */
+ @java.lang.Override
+ public boolean getDisableIngestionAnalysis() {
+ return disableIngestionAnalysis_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1728,6 +1751,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (workerCount_ != 0) {
output.writeInt32(11, workerCount_);
}
+ if (disableIngestionAnalysis_ != false) {
+ output.writeBool(12, disableIngestionAnalysis_);
+ }
unknownFields.writeTo(output);
}
@@ -1775,6 +1801,9 @@ public int getSerializedSize() {
if (workerCount_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, workerCount_);
}
+ if (disableIngestionAnalysis_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableIngestionAnalysis_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -1796,6 +1825,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getFeatureSpecsList().equals(other.getFeatureSpecsList())) return false;
if (getDisableOnlineServing() != other.getDisableOnlineServing()) return false;
if (getWorkerCount() != other.getWorkerCount()) return false;
+ if (getDisableIngestionAnalysis() != other.getDisableIngestionAnalysis()) return false;
if (!getSourceCase().equals(other.getSourceCase())) return false;
switch (sourceCase_) {
case 2:
@@ -1844,6 +1874,8 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableOnlineServing());
hash = (37 * hash) + WORKER_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getWorkerCount();
+ hash = (37 * hash) + DISABLE_INGESTION_ANALYSIS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableIngestionAnalysis());
switch (sourceCase_) {
case 2:
hash = (37 * hash) + AVRO_SOURCE_FIELD_NUMBER;
@@ -2034,6 +2066,8 @@ public Builder clear() {
workerCount_ = 0;
+ disableIngestionAnalysis_ = false;
+
sourceCase_ = 0;
source_ = null;
featureTimeSourceCase_ = 0;
@@ -2111,6 +2145,7 @@ public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest buildParti
}
result.disableOnlineServing_ = disableOnlineServing_;
result.workerCount_ = workerCount_;
+ result.disableIngestionAnalysis_ = disableIngestionAnalysis_;
result.sourceCase_ = sourceCase_;
result.featureTimeSourceCase_ = featureTimeSourceCase_;
onBuilt();
@@ -2205,6 +2240,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ImportFeatureValues
if (other.getWorkerCount() != 0) {
setWorkerCount(other.getWorkerCount());
}
+ if (other.getDisableIngestionAnalysis() != false) {
+ setDisableIngestionAnalysis(other.getDisableIngestionAnalysis());
+ }
switch (other.getSourceCase()) {
case AVRO_SOURCE:
{
@@ -3903,6 +3941,58 @@ public Builder clearWorkerCount() {
return this;
}
+ private boolean disableIngestionAnalysis_;
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return The disableIngestionAnalysis.
+ */
+ @java.lang.Override
+ public boolean getDisableIngestionAnalysis() {
+ return disableIngestionAnalysis_;
+ }
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @param value The disableIngestionAnalysis to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDisableIngestionAnalysis(boolean value) {
+
+ disableIngestionAnalysis_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDisableIngestionAnalysis() {
+
+ disableIngestionAnalysis_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java
index 78e0cda8b..ebe2607cc 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesRequestOrBuilder.java
@@ -316,6 +316,19 @@ com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec getFe
*/
int getWorkerCount();
+ /**
+ *
+ *
+ *
+ * If true, API doesn't start ingestion analysis pipeline.
+ *
+ *
+ * bool disable_ingestion_analysis = 12;
+ *
+ * @return The disableIngestionAnalysis.
+ */
+ boolean getDisableIngestionAnalysis();
+
public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.SourceCase getSourceCase();
public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureTimeSourceCase
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java
index f13f43dd2..5904ece2b 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequest.java
@@ -213,7 +213,12 @@ public com.google.cloud.aiplatform.v1beta1.EntityTypeOrBuilder getEntityTypeOrBu
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -239,7 +244,12 @@ public boolean hasUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -265,7 +275,12 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -886,7 +901,12 @@ public com.google.cloud.aiplatform.v1beta1.EntityTypeOrBuilder getEntityTypeOrBu
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -911,7 +931,12 @@ public boolean hasUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -942,7 +967,12 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -975,7 +1005,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1005,7 +1040,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1040,7 +1080,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1071,7 +1116,12 @@ public Builder clearUpdateMask() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1096,7 +1146,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1125,7 +1180,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java
index 18172db74..9cf0cad29 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateEntityTypeRequestOrBuilder.java
@@ -88,7 +88,12 @@ public interface UpdateEntityTypeRequestOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -111,7 +116,12 @@ public interface UpdateEntityTypeRequestOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -134,7 +144,12 @@ public interface UpdateEntityTypeRequestOrBuilder
* * `description`
* * `labels`
* * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ * * `monitoring_config.snapshot_analysis.staleness_days`
+ * * `monitoring_config.import_features_analysis.state`
+ * * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ * * `monitoring_config.numerical_threshold_config.value`
+ * * `monitoring_config.categorical_threshold_config.value`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java
index f1c945b09..3c1df03d8 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequest.java
@@ -212,8 +212,7 @@ public com.google.cloud.aiplatform.v1beta1.FeatureOrBuilder getFeatureOrBuilder(
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -238,8 +237,7 @@ public boolean hasUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -264,8 +262,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -884,8 +881,7 @@ public com.google.cloud.aiplatform.v1beta1.FeatureOrBuilder getFeatureOrBuilder(
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -909,8 +905,7 @@ public boolean hasUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -940,8 +935,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -973,8 +967,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1003,8 +996,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1038,8 +1030,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1069,8 +1060,7 @@ public Builder clearUpdateMask() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1094,8 +1084,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -1123,8 +1112,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java
index 7a05609fa..f5b769151 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UpdateFeatureRequestOrBuilder.java
@@ -87,8 +87,7 @@ public interface UpdateFeatureRequestOrBuilder
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -110,8 +109,7 @@ public interface UpdateFeatureRequestOrBuilder
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -133,8 +131,7 @@ public interface UpdateFeatureRequestOrBuilder
* Updatable fields:
* * `description`
* * `labels`
- * * `monitoring_config.snapshot_analysis.disabled`
- * * `monitoring_config.snapshot_analysis.monitoring_interval`
+ * * `disable_monitoring`
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto
index 5776bac6e..16a7558ea 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto
@@ -40,6 +40,36 @@ message Feature {
pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}"
};
+ // A list of historical [Snapshot
+ // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
+ // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
+ // requested by user, sorted by
+ // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time]
+ // descending.
+ message MonitoringStatsAnomaly {
+ // If the objective in the request is both
+ // Import Feature Analysis and Snapshot Analysis, this objective could be
+ // one of them. Otherwise, this objective should be the same as the
+ // objective in the request.
+ enum Objective {
+ // If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
+ OBJECTIVE_UNSPECIFIED = 0;
+
+ // Stats are generated by Import Feature Analysis.
+ IMPORT_FEATURE_ANALYSIS = 1;
+
+ // Stats are generated by Snapshot Analysis.
+ SNAPSHOT_ANALYSIS = 2;
+ }
+
+ // Output only. The objective for each stats.
+ Objective objective = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The stats and anomalies generated at specific timestamp.
+ FeatureStatsAnomaly feature_stats_anomaly = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+ }
+
// An enum representing the value type of a feature.
enum ValueType {
// The value type is unspecified.
@@ -128,9 +158,23 @@ message Feature {
// config is same as the EntityType's this Feature belongs to.
FeaturestoreMonitoringConfig monitoring_config = 9 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. If not set, use the monitoring_config defined for the EntityType
+ // this Feature belongs to. Only Features with type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ // BOOL, STRING, DOUBLE or INT64 can enable monitoring.
+ //
+ // If set to true, all types of data monitoring are disabled despite the
+ // config on EntityType.
+ bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL];
+
// Output only. A list of historical [Snapshot
// Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis]
// stats requested by user, sorted by [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time]
// descending.
repeated FeatureStatsAnomaly monitoring_stats = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The list of historical stats and anomalies with specified
+ // objectives.
+ repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto
index 90805eb89..9ef9b1f6b 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto
@@ -55,13 +55,107 @@ message FeaturestoreMonitoringConfig {
// running interval. The value indicates number of days.
// If both
// [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
- // and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
+ // and
+ // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval]
// are set when creating/updating EntityTypes/Features,
// [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days]
// will be used.
int32 monitoring_interval_days = 3;
+
+ // Customized export features time window for snapshot analysis. Unit is one
+ // day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
+ // 4000 days.
+ int32 staleness_days = 4;
+ }
+
+ // Configuration of the Featurestore's ImportFeature Analysis Based
+ // Monitoring. This type of analysis generates statistics for values of each
+ // Feature imported by every [ImportFeatureValues][] operation.
+ message ImportFeaturesAnalysis {
+ // The state defines whether to enable ImportFeature analysis.
+ enum State {
+ // Should not be used.
+ STATE_UNSPECIFIED = 0;
+
+ // The default behavior of whether to enable the monitoring.
+ // EntityType-level config: disabled.
+ // Feature-level config: inherited from the configuration of EntityType
+ // this Feature belongs to.
+ DEFAULT = 1;
+
+ // Explicitly enables import features analysis.
+ // EntityType-level config: by default enables import features analysis
+ // for all Features under it. Feature-level config: enables import
+ // features analysis regardless of the EntityType-level config.
+ ENABLED = 2;
+
+ // Explicitly disables import features analysis.
+ // EntityType-level config: by default disables import features analysis
+ // for all Features under it. Feature-level config: disables import
+ // features analysis regardless of the EntityType-level config.
+ DISABLED = 3;
+ }
+
+ // Defines the baseline to do anomaly detection for feature values imported
+ // by each [ImportFeatureValues][] operation.
+ enum Baseline {
+ // Should not be used.
+ BASELINE_UNSPECIFIED = 0;
+
+ // Choose the later one statistics generated by either most recent
+ // snapshot analysis or previous import features analysis. If non of them
+ // exists, skip anomaly detection and only generate a statistics.
+ LATEST_STATS = 1;
+
+ // Use the statistics generated by the most recent snapshot analysis if
+ // exists.
+ MOST_RECENT_SNAPSHOT_STATS = 2;
+
+ // Use the statistics generated by the previous import features analysis
+ // if exists.
+ PREVIOUS_IMPORT_FEATURES_STATS = 3;
+ }
+
+ // Whether to enable / disable / inherite default hebavior for import
+ // features analysis.
+ State state = 1;
+
+ // The baseline used to do anomaly detection for the statistics generated by
+ // import features analysis.
+ Baseline anomaly_detection_baseline = 2;
+ }
+
+ // The config for Featurestore Monitoring threshold.
+ message ThresholdConfig {
+ oneof threshold {
+ // Specify a threshold value that can trigger the alert.
+ // 1. For categorical feature, the distribution distance is calculated by
+ // L-inifinity norm.
+ // 2. For numerical feature, the distribution distance is calculated by
+ // Jensen–Shannon divergence. Each feature must have a non-zero threshold
+ // if they need to be monitored. Otherwise no alert will be triggered for
+ // that feature.
+ double value = 1;
+ }
}
// The config for Snapshot Analysis Based Feature Monitoring.
SnapshotAnalysis snapshot_analysis = 1;
+
+ // The config for ImportFeatures Analysis Based Feature Monitoring.
+ ImportFeaturesAnalysis import_features_analysis = 2;
+
+ // Threshold for numerical features of anomaly detection.
+ // This is shared by all objectives of Featurestore Monitoring for numerical
+ // features (i.e. Features with type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ // DOUBLE or INT64).
+ ThresholdConfig numerical_threshold_config = 3;
+
+ // Threshold for categorical features of anomaly detection.
+ // This is shared by all types of Featurestore Monitoring for categorical
+ // features (i.e. Features with type
+ // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType])
+ // BOOL or STRING).
+ ThresholdConfig categorical_threshold_config = 4;
}
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto
index 6b93be8b6..efaa15055 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto
@@ -507,6 +507,9 @@ message ImportFeatureValuesRequest {
// If not set, defaults to using 1 worker. The low count ensures minimal
// impact on online serving performance.
int32 worker_count = 11;
+
+ // If true, API doesn't start ingestion analysis pipeline.
+ bool disable_ingestion_analysis = 12;
}
// Response message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues].
@@ -848,7 +851,12 @@ message UpdateEntityTypeRequest {
// * `description`
// * `labels`
// * `monitoring_config.snapshot_analysis.disabled`
- // * `monitoring_config.snapshot_analysis.monitoring_interval`
+ // * `monitoring_config.snapshot_analysis.monitoring_interval_days`
+ // * `monitoring_config.snapshot_analysis.staleness_days`
+ // * `monitoring_config.import_features_analysis.state`
+ // * `monitoring_config.import_features_analysis.anomaly_detection_baseline`
+ // * `monitoring_config.numerical_threshold_config.value`
+ // * `monitoring_config.categorical_threshold_config.value`
google.protobuf.FieldMask update_mask = 2;
}
@@ -1140,8 +1148,7 @@ message UpdateFeatureRequest {
//
// * `description`
// * `labels`
- // * `monitoring_config.snapshot_analysis.disabled`
- // * `monitoring_config.snapshot_analysis.monitoring_interval`
+ // * `disable_monitoring`
google.protobuf.FieldMask update_mask = 2;
}
From cd1245213594655ed434f72901fa576da75a8f79 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Fri, 18 Mar 2022 20:02:13 +0000
Subject: [PATCH 06/12] feat: add `service_account` to `BatchPredictionJob` in
aiplatform `v1beta1` `batch_prediction_job.proto` (#831)
- [ ] Regenerate this pull request now.
PiperOrigin-RevId: 434935416
Source-Link: https://github.com/googleapis/googleapis/commit/dfdd5ee97b1f40bbeb2c188f30172a66437e7f4e
Source-Link: https://github.com/googleapis/googleapis-gen/commit/2774684c3b8b22639909688d297d4fa591fde9eb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjc3NDY4NGMzYjhiMjI2Mzk5MDk2ODhkMjk3ZDRmYTU5MWZkZTllYiJ9
---
.../v1beta1/JobServiceClientTest.java | 4 +
.../v1beta1/BatchPredictionJob.java | 214 ++++++++++++++++++
.../v1beta1/BatchPredictionJobOrBuilder.java | 35 +++
.../v1beta1/BatchPredictionJobProto.java | 106 ++++-----
.../v1beta1/batch_prediction_job.proto | 9 +
5 files changed, 316 insertions(+), 52 deletions(-)
diff --git a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java
index 9a15ae9c7..c45f82a5d 100644
--- a/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java
+++ b/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java
@@ -1530,6 +1530,7 @@ public void createBatchPredictionJobTest() throws Exception {
.setModelParameters(Value.newBuilder().build())
.setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build())
.setDedicatedResources(BatchDedicatedResources.newBuilder().build())
+ .setServiceAccount("serviceAccount1079137720")
.setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build())
.setGenerateExplanation(true)
.setExplanationSpec(ExplanationSpec.newBuilder().build())
@@ -1596,6 +1597,7 @@ public void createBatchPredictionJobTest2() throws Exception {
.setModelParameters(Value.newBuilder().build())
.setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build())
.setDedicatedResources(BatchDedicatedResources.newBuilder().build())
+ .setServiceAccount("serviceAccount1079137720")
.setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build())
.setGenerateExplanation(true)
.setExplanationSpec(ExplanationSpec.newBuilder().build())
@@ -1662,6 +1664,7 @@ public void getBatchPredictionJobTest() throws Exception {
.setModelParameters(Value.newBuilder().build())
.setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build())
.setDedicatedResources(BatchDedicatedResources.newBuilder().build())
+ .setServiceAccount("serviceAccount1079137720")
.setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build())
.setGenerateExplanation(true)
.setExplanationSpec(ExplanationSpec.newBuilder().build())
@@ -1727,6 +1730,7 @@ public void getBatchPredictionJobTest2() throws Exception {
.setModelParameters(Value.newBuilder().build())
.setOutputConfig(BatchPredictionJob.OutputConfig.newBuilder().build())
.setDedicatedResources(BatchDedicatedResources.newBuilder().build())
+ .setServiceAccount("serviceAccount1079137720")
.setManualBatchTuningParameters(ManualBatchTuningParameters.newBuilder().build())
.setGenerateExplanation(true)
.setExplanationSpec(ExplanationSpec.newBuilder().build())
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java
index 8783152d7..0743b1980 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java
@@ -44,6 +44,7 @@ private BatchPredictionJob() {
name_ = "";
displayName_ = "";
model_ = "";
+ serviceAccount_ = "";
state_ = 0;
partialFailures_ = java.util.Collections.emptyList();
}
@@ -395,6 +396,13 @@ private BatchPredictionJob(
unmanagedContainerModel_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 234:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ serviceAccount_ = s;
break;
}
default:
@@ -5793,6 +5801,65 @@ public com.google.cloud.aiplatform.v1beta1.BatchDedicatedResources getDedicatedR
return getDedicatedResources();
}
+ public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 29;
+ private volatile java.lang.Object serviceAccount_;
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return The serviceAccount.
+ */
+ @java.lang.Override
+ public java.lang.String getServiceAccount() {
+ java.lang.Object ref = serviceAccount_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccount_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return The bytes for serviceAccount.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getServiceAccountBytes() {
+ java.lang.Object ref = serviceAccount_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccount_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int MANUAL_BATCH_TUNING_PARAMETERS_FIELD_NUMBER = 8;
private com.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters
manualBatchTuningParameters_;
@@ -6761,6 +6828,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (unmanagedContainerModel_ != null) {
output.writeMessage(28, getUnmanagedContainerModel());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 29, serviceAccount_);
+ }
unknownFields.writeTo(output);
}
@@ -6850,6 +6920,9 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
28, getUnmanagedContainerModel());
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, serviceAccount_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -6889,6 +6962,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasDedicatedResources()) {
if (!getDedicatedResources().equals(other.getDedicatedResources())) return false;
}
+ if (!getServiceAccount().equals(other.getServiceAccount())) return false;
if (hasManualBatchTuningParameters() != other.hasManualBatchTuningParameters()) return false;
if (hasManualBatchTuningParameters()) {
if (!getManualBatchTuningParameters().equals(other.getManualBatchTuningParameters()))
@@ -6975,6 +7049,8 @@ public int hashCode() {
hash = (37 * hash) + DEDICATED_RESOURCES_FIELD_NUMBER;
hash = (53 * hash) + getDedicatedResources().hashCode();
}
+ hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getServiceAccount().hashCode();
if (hasManualBatchTuningParameters()) {
hash = (37 * hash) + MANUAL_BATCH_TUNING_PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getManualBatchTuningParameters().hashCode();
@@ -7238,6 +7314,8 @@ public Builder clear() {
dedicatedResources_ = null;
dedicatedResourcesBuilder_ = null;
}
+ serviceAccount_ = "";
+
if (manualBatchTuningParametersBuilder_ == null) {
manualBatchTuningParameters_ = null;
} else {
@@ -7371,6 +7449,7 @@ public com.google.cloud.aiplatform.v1beta1.BatchPredictionJob buildPartial() {
} else {
result.dedicatedResources_ = dedicatedResourcesBuilder_.build();
}
+ result.serviceAccount_ = serviceAccount_;
if (manualBatchTuningParametersBuilder_ == null) {
result.manualBatchTuningParameters_ = manualBatchTuningParameters_;
} else {
@@ -7516,6 +7595,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.BatchPredictionJob
if (other.hasDedicatedResources()) {
mergeDedicatedResources(other.getDedicatedResources());
}
+ if (!other.getServiceAccount().isEmpty()) {
+ serviceAccount_ = other.serviceAccount_;
+ onChanged();
+ }
if (other.hasManualBatchTuningParameters()) {
mergeManualBatchTuningParameters(other.getManualBatchTuningParameters());
}
@@ -9152,6 +9235,137 @@ public Builder clearDedicatedResources() {
return dedicatedResourcesBuilder_;
}
+ private java.lang.Object serviceAccount_ = "";
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return The serviceAccount.
+ */
+ public java.lang.String getServiceAccount() {
+ java.lang.Object ref = serviceAccount_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccount_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return The bytes for serviceAccount.
+ */
+ public com.google.protobuf.ByteString getServiceAccountBytes() {
+ java.lang.Object ref = serviceAccount_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccount_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @param value The serviceAccount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceAccount(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ serviceAccount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearServiceAccount() {
+
+ serviceAccount_ = getDefaultInstance().getServiceAccount();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @param value The bytes for serviceAccount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ serviceAccount_ = value;
+ onChanged();
+ return this;
+ }
+
private com.google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters
manualBatchTuningParameters_;
private com.google.protobuf.SingleFieldBuilderV3<
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java
index c9c8a46bc..22ddedd0b 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java
@@ -360,6 +360,41 @@ public interface BatchPredictionJobOrBuilder
com.google.cloud.aiplatform.v1beta1.BatchDedicatedResourcesOrBuilder
getDedicatedResourcesOrBuilder();
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return The serviceAccount.
+ */
+ java.lang.String getServiceAccount();
+ /**
+ *
+ *
+ *
+ * The service account that the DeployedModel's container runs as. If not
+ * specified, a system generated one will be used, which
+ * has minimal permissions and the custom container, if used, may not have
+ * enough permission to access other GCP resources.
+ * Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ * permission on this service account.
+ *
+ *
+ * string service_account = 29;
+ *
+ * @return The bytes for serviceAccount.
+ */
+ com.google.protobuf.ByteString getServiceAccountBytes();
+
/**
*
*
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java
index b4795cc61..e36f947e9 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java
@@ -75,7 +75,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "form/v1beta1/unmanaged_container_model.p"
+ "roto\032\034google/protobuf/struct.proto\032\037goog"
+ "le/protobuf/timestamp.proto\032\027google/rpc/"
- + "status.proto\"\352\021\n\022BatchPredictionJob\022\021\n\004n"
+ + "status.proto\"\203\022\n\022BatchPredictionJob\022\021\n\004n"
+ "ame\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A"
+ "\002\0223\n\005model\030\003 \001(\tB$\372A!\n\037aiplatform.google"
+ "apis.com/Model\022[\n\031unmanaged_container_mo"
@@ -88,57 +88,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "e.cloud.aiplatform.v1beta1.BatchPredicti"
+ "onJob.OutputConfigB\003\340A\002\022U\n\023dedicated_res"
+ "ources\030\007 \001(\01328.google.cloud.aiplatform.v"
- + "1beta1.BatchDedicatedResources\022i\n\036manual"
- + "_batch_tuning_parameters\030\010 \001(\0132<.google."
- + "cloud.aiplatform.v1beta1.ManualBatchTuni"
- + "ngParametersB\003\340A\005\022\034\n\024generate_explanatio"
- + "n\030\027 \001(\010\022J\n\020explanation_spec\030\031 \001(\01320.goog"
- + "le.cloud.aiplatform.v1beta1.ExplanationS"
- + "pec\022X\n\013output_info\030\t \001(\0132>.google.cloud."
- + "aiplatform.v1beta1.BatchPredictionJob.Ou"
- + "tputInfoB\003\340A\003\022=\n\005state\030\n \001(\0162).google.cl"
- + "oud.aiplatform.v1beta1.JobStateB\003\340A\003\022&\n\005"
- + "error\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\0221\n\020"
- + "partial_failures\030\014 \003(\0132\022.google.rpc.Stat"
- + "usB\003\340A\003\022S\n\022resources_consumed\030\r \001(\01322.go"
- + "ogle.cloud.aiplatform.v1beta1.ResourcesC"
- + "onsumedB\003\340A\003\022O\n\020completion_stats\030\016 \001(\01320"
- + ".google.cloud.aiplatform.v1beta1.Complet"
- + "ionStatsB\003\340A\003\0224\n\013create_time\030\017 \001(\0132\032.goo"
- + "gle.protobuf.TimestampB\003\340A\003\0223\n\nstart_tim"
- + "e\030\020 \001(\0132\032.google.protobuf.TimestampB\003\340A\003"
- + "\0221\n\010end_time\030\021 \001(\0132\032.google.protobuf.Tim"
- + "estampB\003\340A\003\0224\n\013update_time\030\022 \001(\0132\032.googl"
- + "e.protobuf.TimestampB\003\340A\003\022O\n\006labels\030\023 \003("
- + "\0132?.google.cloud.aiplatform.v1beta1.Batc"
- + "hPredictionJob.LabelsEntry\022H\n\017encryption"
- + "_spec\030\030 \001(\0132/.google.cloud.aiplatform.v1"
- + "beta1.EncryptionSpec\032\304\001\n\013InputConfig\022@\n\n"
- + "gcs_source\030\002 \001(\0132*.google.cloud.aiplatfo"
- + "rm.v1beta1.GcsSourceH\000\022J\n\017bigquery_sourc"
- + "e\030\003 \001(\0132/.google.cloud.aiplatform.v1beta"
- + "1.BigQuerySourceH\000\022\035\n\020instances_format\030\001"
- + " \001(\tB\003\340A\002B\010\n\006source\032\340\001\n\014OutputConfig\022J\n\017"
- + "gcs_destination\030\002 \001(\0132/.google.cloud.aip"
- + "latform.v1beta1.GcsDestinationH\000\022T\n\024bigq"
- + "uery_destination\030\003 \001(\01324.google.cloud.ai"
- + "platform.v1beta1.BigQueryDestinationH\000\022\037"
- + "\n\022predictions_format\030\001 \001(\tB\003\340A\002B\r\n\013desti"
- + "nation\032\220\001\n\nOutputInfo\022#\n\024gcs_output_dire"
- + "ctory\030\001 \001(\tB\003\340A\003H\000\022&\n\027bigquery_output_da"
- + "taset\030\002 \001(\tB\003\340A\003H\000\022\"\n\025bigquery_output_ta"
- + "ble\030\004 \001(\tB\003\340A\003B\021\n\017output_location\032-\n\013Lab"
- + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001"
- + ":\206\001\352A\202\001\n,aiplatform.googleapis.com/Batch"
- + "PredictionJob\022Rprojects/{project}/locati"
- + "ons/{location}/batchPredictionJobs/{batc"
- + "h_prediction_job}B\364\001\n#com.google.cloud.a"
- + "iplatform.v1beta1B\027BatchPredictionJobPro"
- + "toP\001ZIgoogle.golang.org/genproto/googlea"
- + "pis/cloud/aiplatform/v1beta1;aiplatform\252"
- + "\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goog"
- + "le\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cl"
- + "oud::AIPlatform::V1beta1b\006proto3"
+ + "1beta1.BatchDedicatedResources\022\027\n\017servic"
+ + "e_account\030\035 \001(\t\022i\n\036manual_batch_tuning_p"
+ + "arameters\030\010 \001(\0132<.google.cloud.aiplatfor"
+ + "m.v1beta1.ManualBatchTuningParametersB\003\340"
+ + "A\005\022\034\n\024generate_explanation\030\027 \001(\010\022J\n\020expl"
+ + "anation_spec\030\031 \001(\01320.google.cloud.aiplat"
+ + "form.v1beta1.ExplanationSpec\022X\n\013output_i"
+ + "nfo\030\t \001(\0132>.google.cloud.aiplatform.v1be"
+ + "ta1.BatchPredictionJob.OutputInfoB\003\340A\003\022="
+ + "\n\005state\030\n \001(\0162).google.cloud.aiplatform."
+ + "v1beta1.JobStateB\003\340A\003\022&\n\005error\030\013 \001(\0132\022.g"
+ + "oogle.rpc.StatusB\003\340A\003\0221\n\020partial_failure"
+ + "s\030\014 \003(\0132\022.google.rpc.StatusB\003\340A\003\022S\n\022reso"
+ + "urces_consumed\030\r \001(\01322.google.cloud.aipl"
+ + "atform.v1beta1.ResourcesConsumedB\003\340A\003\022O\n"
+ + "\020completion_stats\030\016 \001(\01320.google.cloud.a"
+ + "iplatform.v1beta1.CompletionStatsB\003\340A\003\0224"
+ + "\n\013create_time\030\017 \001(\0132\032.google.protobuf.Ti"
+ + "mestampB\003\340A\003\0223\n\nstart_time\030\020 \001(\0132\032.googl"
+ + "e.protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\021 "
+ + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013"
+ + "update_time\030\022 \001(\0132\032.google.protobuf.Time"
+ + "stampB\003\340A\003\022O\n\006labels\030\023 \003(\0132?.google.clou"
+ + "d.aiplatform.v1beta1.BatchPredictionJob."
+ + "LabelsEntry\022H\n\017encryption_spec\030\030 \001(\0132/.g"
+ + "oogle.cloud.aiplatform.v1beta1.Encryptio"
+ + "nSpec\032\304\001\n\013InputConfig\022@\n\ngcs_source\030\002 \001("
+ + "\0132*.google.cloud.aiplatform.v1beta1.GcsS"
+ + "ourceH\000\022J\n\017bigquery_source\030\003 \001(\0132/.googl"
+ + "e.cloud.aiplatform.v1beta1.BigQuerySourc"
+ + "eH\000\022\035\n\020instances_format\030\001 \001(\tB\003\340A\002B\010\n\006so"
+ + "urce\032\340\001\n\014OutputConfig\022J\n\017gcs_destination"
+ + "\030\002 \001(\0132/.google.cloud.aiplatform.v1beta1"
+ + ".GcsDestinationH\000\022T\n\024bigquery_destinatio"
+ + "n\030\003 \001(\01324.google.cloud.aiplatform.v1beta"
+ + "1.BigQueryDestinationH\000\022\037\n\022predictions_f"
+ + "ormat\030\001 \001(\tB\003\340A\002B\r\n\013destination\032\220\001\n\nOutp"
+ + "utInfo\022#\n\024gcs_output_directory\030\001 \001(\tB\003\340A"
+ + "\003H\000\022&\n\027bigquery_output_dataset\030\002 \001(\tB\003\340A"
+ + "\003H\000\022\"\n\025bigquery_output_table\030\004 \001(\tB\003\340A\003B"
+ + "\021\n\017output_location\032-\n\013LabelsEntry\022\013\n\003key"
+ + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A\202\001\n,aiplat"
+ + "form.googleapis.com/BatchPredictionJob\022R"
+ + "projects/{project}/locations/{location}/"
+ + "batchPredictionJobs/{batch_prediction_jo"
+ + "b}B\364\001\n#com.google.cloud.aiplatform.v1bet"
+ + "a1B\027BatchPredictionJobProtoP\001ZIgoogle.go"
+ + "lang.org/genproto/googleapis/cloud/aipla"
+ + "tform/v1beta1;aiplatform\252\002\037Google.Cloud."
+ + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat"
+ + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform"
+ + "::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -174,6 +175,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ModelParameters",
"OutputConfig",
"DedicatedResources",
+ "ServiceAccount",
"ManualBatchTuningParameters",
"GenerateExplanation",
"ExplanationSpec",
diff --git a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto
index 313c78746..487497c75 100644
--- a/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto
+++ b/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto
@@ -200,6 +200,15 @@ message BatchPredictionJob {
// must be provided.
BatchDedicatedResources dedicated_resources = 7;
+ // The service account that the DeployedModel's container runs as. If not
+ // specified, a system generated one will be used, which
+ // has minimal permissions and the custom container, if used, may not have
+ // enough permission to access other GCP resources.
+ //
+ // Users deploying the Model must have the `iam.serviceAccounts.actAs`
+ // permission on this service account.
+ string service_account = 29;
+
// Immutable. Parameters configuring the batch behavior. Currently only applicable when
// [dedicated_resources][google.cloud.aiplatform.v1beta1.BatchPredictionJob.dedicated_resources] are used (in other cases Vertex AI does
// the tuning itself).
From e720eccdae90bbe7d6841d3f858ddc25b45907a6 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 24 Mar 2022 10:08:24 -0700
Subject: [PATCH 07/12] feat: add ImportModelEvaluation in aiplatform v1
model_service.proto (#832)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* feat: add ImportModelEvaluation in aiplatform v1 model_service.proto
feat: add data_item_schema_uri, annotation_schema_uri, explanation_specs to ModelEvaluationExplanationSpec in aiplatform v1 model_evaluation.proto
feat: add ImportModelEvaluation in aiplatform v1beta1 model_service.proto
PiperOrigin-RevId: 436869915
Source-Link: https://github.com/googleapis/googleapis/commit/9ba488b28eb421592fdd827dba1a74519a7a1d8f
Source-Link: https://github.com/googleapis/googleapis-gen/commit/908e7f896f876da6a4d05cd0cc4f8eb19c3cc7a9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTA4ZTdmODk2Zjg3NmRhNmE0ZDA1Y2QwY2M0ZjhlYjE5YzNjYzdhOSJ9
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
Co-authored-by: Owl Bot {@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