Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder (3.44.0)

public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder> implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder

The config for Prediction data drift detection.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clear()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clearAttributionScoreDriftThresholds()

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

clearDefaultDriftThreshold()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDefaultDriftThreshold()

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
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

clearDriftThresholds()

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

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clone()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clone()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

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

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.

getDefaultDriftThresholdBuilder()

public ThresholdConfig.Builder getDefaultDriftThresholdBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getMutableAttributionScoreDriftThresholds() (deprecated)

public Map<String,ThresholdConfig> getMutableAttributionScoreDriftThresholds()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ThresholdConfig>

getMutableDriftThresholds() (deprecated)

public Map<String,ThresholdConfig> getMutableDriftThresholds()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ThresholdConfig>

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.

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDefaultDriftThreshold(ThresholdConfig value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeDefaultDriftThreshold(ThresholdConfig value)

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;

Parameter
Name Description
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)
Parameter
Name Description
other ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

putAllAttributionScoreDriftThresholds(Map<String,ThresholdConfig> values)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAllAttributionScoreDriftThresholds(Map<String,ThresholdConfig> values)

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
values Map<String,ThresholdConfig>
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putAllDriftThresholds(Map<String,ThresholdConfig> values)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAllDriftThresholds(Map<String,ThresholdConfig> values)

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
values Map<String,ThresholdConfig>
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putAttributionScoreDriftThresholds(String key, ThresholdConfig value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAttributionScoreDriftThresholds(String key, ThresholdConfig value)

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
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putAttributionScoreDriftThresholdsBuilderIfAbsent(String key)

public ThresholdConfig.Builder putAttributionScoreDriftThresholdsBuilderIfAbsent(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.Builder

putDriftThresholds(String key, ThresholdConfig value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putDriftThresholds(String key, ThresholdConfig value)

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
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putDriftThresholdsBuilderIfAbsent(String key)

public ThresholdConfig.Builder putDriftThresholdsBuilderIfAbsent(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.Builder

removeAttributionScoreDriftThresholds(String key)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder removeAttributionScoreDriftThresholds(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
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

removeDriftThresholds(String key)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder removeDriftThresholds(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
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

setDefaultDriftThreshold(ThresholdConfig value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setDefaultDriftThreshold(ThresholdConfig value)

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;

Parameter
Name Description
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

setDefaultDriftThreshold(ThresholdConfig.Builder builderForValue)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setDefaultDriftThreshold(ThresholdConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ThresholdConfig.Builder
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides