public static final class ModelMonitoringObjectiveSpec.DataDriftSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder> implements ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilder
Data drift monitoring spec. Data drift measures the distribution distance between the current dataset and a baseline dataset. A typical use case is to detect data drift between the recent production serving dataset and the training dataset, or to compare the recent production dataset with a dataset from a previous period.Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.DataDriftSpecgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ModelMonitoringObjectiveSpec.DataDriftSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ModelMonitoringObjectiveSpec.DataDriftSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeFrom(ModelMonitoringObjectiveSpec.DataDriftSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getFeaturesList()
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;getFeaturesList in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic int getFeaturesCount()
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;getFeaturesCount in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic String getFeatures(int index)
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;getFeatures in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getFeaturesBytes(int index)
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;getFeaturesBytes in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderindex - The index of the value to return.public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setFeatures(int index, String value)
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;index - The index to set the value at.value - The features to set.public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addFeatures(String value)
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;value - The features to add.public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addAllFeatures(Iterable<String> values)
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;values - The features to add.public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearFeatures()
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder addFeaturesBytes(com.google.protobuf.ByteString value)
Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.
repeated string features = 1;value - The bytes of the features to add.public String getCategoricalMetricType()
Supported metrics type: * l_infinity * jensen_shannon_divergence
string categorical_metric_type = 2;getCategoricalMetricType in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic com.google.protobuf.ByteString getCategoricalMetricTypeBytes()
Supported metrics type: * l_infinity * jensen_shannon_divergence
string categorical_metric_type = 2;getCategoricalMetricTypeBytes in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setCategoricalMetricType(String value)
Supported metrics type: * l_infinity * jensen_shannon_divergence
string categorical_metric_type = 2;value - The categoricalMetricType to set.public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearCategoricalMetricType()
Supported metrics type: * l_infinity * jensen_shannon_divergence
string categorical_metric_type = 2;public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setCategoricalMetricTypeBytes(com.google.protobuf.ByteString value)
Supported metrics type: * l_infinity * jensen_shannon_divergence
string categorical_metric_type = 2;value - The bytes for categoricalMetricType to set.public String getNumericMetricType()
Supported metrics type: * jensen_shannon_divergence
string numeric_metric_type = 3;getNumericMetricType in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic com.google.protobuf.ByteString getNumericMetricTypeBytes()
Supported metrics type: * jensen_shannon_divergence
string numeric_metric_type = 3;getNumericMetricTypeBytes in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setNumericMetricType(String value)
Supported metrics type: * jensen_shannon_divergence
string numeric_metric_type = 3;value - The numericMetricType to set.public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearNumericMetricType()
Supported metrics type: * jensen_shannon_divergence
string numeric_metric_type = 3;public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setNumericMetricTypeBytes(com.google.protobuf.ByteString value)
Supported metrics type: * jensen_shannon_divergence
string numeric_metric_type = 3;value - The bytes for numericMetricType to set.public boolean hasDefaultCategoricalAlertCondition()
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
hasDefaultCategoricalAlertCondition in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringAlertCondition getDefaultCategoricalAlertCondition()
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
getDefaultCategoricalAlertCondition in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition value)
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue)
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeDefaultCategoricalAlertCondition(ModelMonitoringAlertCondition value)
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearDefaultCategoricalAlertCondition()
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
public ModelMonitoringAlertCondition.Builder getDefaultCategoricalAlertConditionBuilder()
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
public ModelMonitoringAlertConditionOrBuilder getDefaultCategoricalAlertConditionOrBuilder()
Default alert condition for all the categorical features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;
getDefaultCategoricalAlertConditionOrBuilder in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic boolean hasDefaultNumericAlertCondition()
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
hasDefaultNumericAlertCondition in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringAlertCondition getDefaultNumericAlertCondition()
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
getDefaultNumericAlertCondition in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultNumericAlertCondition(ModelMonitoringAlertCondition value)
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setDefaultNumericAlertCondition(ModelMonitoringAlertCondition.Builder builderForValue)
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeDefaultNumericAlertCondition(ModelMonitoringAlertCondition value)
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearDefaultNumericAlertCondition()
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
public ModelMonitoringAlertCondition.Builder getDefaultNumericAlertConditionBuilder()
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
public ModelMonitoringAlertConditionOrBuilder getDefaultNumericAlertConditionOrBuilder()
Default alert condition for all the numeric features.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;
getDefaultNumericAlertConditionOrBuilder in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic int getFeatureAlertConditionsCount()
ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderPer feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
getFeatureAlertConditionsCount in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic boolean containsFeatureAlertConditions(String key)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
containsFeatureAlertConditions in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilder@Deprecated public Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditions()
getFeatureAlertConditionsMap() instead.getFeatureAlertConditions in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditionsMap()
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
getFeatureAlertConditionsMap in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringAlertCondition getFeatureAlertConditionsOrDefault(String key, ModelMonitoringAlertCondition defaultValue)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
getFeatureAlertConditionsOrDefault in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringAlertCondition getFeatureAlertConditionsOrThrow(String key)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
getFeatureAlertConditionsOrThrow in interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilderpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder clearFeatureAlertConditions()
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder removeFeatureAlertConditions(String key)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
@Deprecated public Map<String,ModelMonitoringAlertCondition> getMutableFeatureAlertConditions()
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder putFeatureAlertConditions(String key, ModelMonitoringAlertCondition value)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder putAllFeatureAlertConditions(Map<String,ModelMonitoringAlertCondition> values)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
public ModelMonitoringAlertCondition.Builder putFeatureAlertConditionsBuilderIfAbsent(String key)
Per feature alert condition will override default alert condition.
map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;
public final ModelMonitoringObjectiveSpec.DataDriftSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>public final ModelMonitoringObjectiveSpec.DataDriftSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.DataDriftSpec.Builder>Copyright © 2024 Google LLC. All rights reserved.