Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig (3.55.0)

public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder

The config for Prediction data drift detection.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

Static Fields

ATTRIBUTION_SCORE_DRIFT_THRESHOLDS_FIELD_NUMBER

public static final int ATTRIBUTION_SCORE_DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_DRIFT_THRESHOLD_FIELD_NUMBER

public static final int DEFAULT_DRIFT_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

DRIFT_THRESHOLDS_FIELD_NUMBER

public static final int DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstance()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilder()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

newBuilder(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prototype)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilder(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prototype)
Parameter
Name Description
prototype ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig> parser()
Returns
Type Description
Parser<PredictionDriftDetectionConfig>

Methods

containsAttributionScoreDriftThresholds(String key)

public boolean containsAttributionScoreDriftThresholds(String key)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsDriftThresholds(String key)

public boolean containsDriftThresholds(String key)

Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> drift_thresholds = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttributionScoreDriftThresholds() (deprecated)

public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
Returns
Type Description
Map<String,ThresholdConfig>

getAttributionScoreDriftThresholdsCount()

public int getAttributionScoreDriftThresholdsCount()

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;

Returns
Type Description
int

getAttributionScoreDriftThresholdsMap()

public Map<String,ThresholdConfig> getAttributionScoreDriftThresholdsMap()

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;

Returns
Type Description
Map<String,ThresholdConfig>

getAttributionScoreDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)

public ThresholdConfig getAttributionScoreDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;

Parameters
Name Description
key String
defaultValue ThresholdConfig
Returns
Type Description
ThresholdConfig

getAttributionScoreDriftThresholdsOrThrow(String key)

public ThresholdConfig getAttributionScoreDriftThresholdsOrThrow(String key)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

getDefaultDriftThreshold()

public ThresholdConfig getDefaultDriftThreshold()

Drift anomaly detection threshold used by all features. When the per-feature thresholds are not set, this field can be used to specify a threshold for all features.

.google.cloud.aiplatform.v1beta1.ThresholdConfig default_drift_threshold = 5;

Returns
Type Description
ThresholdConfig

The defaultDriftThreshold.

getDefaultDriftThresholdOrBuilder()

public ThresholdConfigOrBuilder getDefaultDriftThresholdOrBuilder()

Drift anomaly detection threshold used by all features. When the per-feature thresholds are not set, this field can be used to specify a threshold for all features.

.google.cloud.aiplatform.v1beta1.ThresholdConfig default_drift_threshold = 5;

Returns
Type Description
ThresholdConfigOrBuilder

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

getDriftThresholds() (deprecated)

public Map<String,ThresholdConfig> getDriftThresholds()
Returns
Type Description
Map<String,ThresholdConfig>

getDriftThresholdsCount()

public int getDriftThresholdsCount()

Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> drift_thresholds = 1;

Returns
Type Description
int

getDriftThresholdsMap()

public Map<String,ThresholdConfig> getDriftThresholdsMap()

Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> drift_thresholds = 1;

Returns
Type Description
Map<String,ThresholdConfig>

getDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)

public ThresholdConfig getDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)

Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> drift_thresholds = 1;

Parameters
Name Description
key String
defaultValue ThresholdConfig
Returns
Type Description
ThresholdConfig

getDriftThresholdsOrThrow(String key)

public ThresholdConfig getDriftThresholdsOrThrow(String key)

Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.

map<string, .google.cloud.aiplatform.v1beta1.ThresholdConfig> drift_thresholds = 1;

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

getParserForType()

public Parser<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig> getParserForType()
Returns
Type Description
Parser<PredictionDriftDetectionConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDefaultDriftThreshold()

public boolean hasDefaultDriftThreshold()

Drift anomaly detection threshold used by all features. When the per-feature thresholds are not set, this field can be used to specify a threshold for all features.

.google.cloud.aiplatform.v1beta1.ThresholdConfig default_drift_threshold = 5;

Returns
Type Description
boolean

Whether the defaultDriftThreshold field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilderForType()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder toBuilder()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException