public static final class ModelMonitoringObjectiveSpec.DataDriftSpec extends com.google.protobuf.GeneratedMessageV3 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.DataDriftSpec| Modifier and Type | Class and Description |
|---|---|
static class |
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder
Data drift monitoring spec.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CATEGORICAL_METRIC_TYPE_FIELD_NUMBER |
static int |
DEFAULT_CATEGORICAL_ALERT_CONDITION_FIELD_NUMBER |
static int |
DEFAULT_NUMERIC_ALERT_CONDITION_FIELD_NUMBER |
static int |
FEATURE_ALERT_CONDITIONS_FIELD_NUMBER |
static int |
FEATURES_FIELD_NUMBER |
static int |
NUMERIC_METRIC_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFeatureAlertConditions(String key)
Per feature alert condition will override default alert condition.
|
boolean |
equals(Object obj) |
String |
getCategoricalMetricType()
Supported metrics type:
* l_infinity
* jensen_shannon_divergence
string categorical_metric_type = 2; |
com.google.protobuf.ByteString |
getCategoricalMetricTypeBytes()
Supported metrics type:
* l_infinity
* jensen_shannon_divergence
string categorical_metric_type = 2; |
ModelMonitoringAlertCondition |
getDefaultCategoricalAlertCondition()
Default alert condition for all the categorical features.
|
ModelMonitoringAlertConditionOrBuilder |
getDefaultCategoricalAlertConditionOrBuilder()
Default alert condition for all the categorical features.
|
static ModelMonitoringObjectiveSpec.DataDriftSpec |
getDefaultInstance() |
ModelMonitoringObjectiveSpec.DataDriftSpec |
getDefaultInstanceForType() |
ModelMonitoringAlertCondition |
getDefaultNumericAlertCondition()
Default alert condition for all the numeric features.
|
ModelMonitoringAlertConditionOrBuilder |
getDefaultNumericAlertConditionOrBuilder()
Default alert condition for all the numeric features.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,ModelMonitoringAlertCondition> |
getFeatureAlertConditions()
Deprecated.
|
int |
getFeatureAlertConditionsCount()
Per feature alert condition will override default alert condition.
|
Map<String,ModelMonitoringAlertCondition> |
getFeatureAlertConditionsMap()
Per feature alert condition will override default alert condition.
|
ModelMonitoringAlertCondition |
getFeatureAlertConditionsOrDefault(String key,
ModelMonitoringAlertCondition defaultValue)
Per feature alert condition will override default alert condition.
|
ModelMonitoringAlertCondition |
getFeatureAlertConditionsOrThrow(String key)
Per feature alert condition will override default alert condition.
|
String |
getFeatures(int index)
Feature names / Prediction output names interested in monitoring.
|
com.google.protobuf.ByteString |
getFeaturesBytes(int index)
Feature names / Prediction output names interested in monitoring.
|
int |
getFeaturesCount()
Feature names / Prediction output names interested in monitoring.
|
com.google.protobuf.ProtocolStringList |
getFeaturesList()
Feature names / Prediction output names interested in monitoring.
|
String |
getNumericMetricType()
Supported metrics type:
* jensen_shannon_divergence
string numeric_metric_type = 3; |
com.google.protobuf.ByteString |
getNumericMetricTypeBytes()
Supported metrics type:
* jensen_shannon_divergence
string numeric_metric_type = 3; |
com.google.protobuf.Parser<ModelMonitoringObjectiveSpec.DataDriftSpec> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDefaultCategoricalAlertCondition()
Default alert condition for all the categorical features.
|
boolean |
hasDefaultNumericAlertCondition()
Default alert condition for all the numeric features.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static ModelMonitoringObjectiveSpec.DataDriftSpec.Builder |
newBuilder() |
static ModelMonitoringObjectiveSpec.DataDriftSpec.Builder |
newBuilder(ModelMonitoringObjectiveSpec.DataDriftSpec prototype) |
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder |
newBuilderForType() |
protected ModelMonitoringObjectiveSpec.DataDriftSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseDelimitedFrom(InputStream input) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(byte[] data) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(ByteBuffer data) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(com.google.protobuf.ByteString data) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(InputStream input) |
static ModelMonitoringObjectiveSpec.DataDriftSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ModelMonitoringObjectiveSpec.DataDriftSpec> |
parser() |
ModelMonitoringObjectiveSpec.DataDriftSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FEATURES_FIELD_NUMBER
public static final int CATEGORICAL_METRIC_TYPE_FIELD_NUMBER
public static final int NUMERIC_METRIC_TYPE_FIELD_NUMBER
public static final int DEFAULT_CATEGORICAL_ALERT_CONDITION_FIELD_NUMBER
public static final int DEFAULT_NUMERIC_ALERT_CONDITION_FIELD_NUMBER
public static final int FEATURE_ALERT_CONDITIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ModelMonitoringObjectiveSpec.DataDriftSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ModelMonitoringObjectiveSpec.DataDriftSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ModelMonitoringObjectiveSpec.DataDriftSpec.Builder newBuilder()
public static ModelMonitoringObjectiveSpec.DataDriftSpec.Builder newBuilder(ModelMonitoringObjectiveSpec.DataDriftSpec prototype)
public ModelMonitoringObjectiveSpec.DataDriftSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ModelMonitoringObjectiveSpec.DataDriftSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ModelMonitoringObjectiveSpec.DataDriftSpec getDefaultInstance()
public static com.google.protobuf.Parser<ModelMonitoringObjectiveSpec.DataDriftSpec> parser()
public com.google.protobuf.Parser<ModelMonitoringObjectiveSpec.DataDriftSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ModelMonitoringObjectiveSpec.DataDriftSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.