Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder (3.59.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig build()

buildPartial()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig buildPartial()

clear()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clear()
Overrides

clearAttributionScoreDriftThresholds()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearAttributionScoreDriftThresholds()

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;

clearDriftThresholds()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDriftThresholds()

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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>

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>

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

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

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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