Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder (3.14.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.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAttributionScoreDriftThresholds()

public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueThresholdConfig
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ThresholdConfigOrBuilder

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDriftThresholds()

public Map<String,ThresholdConfig> getDriftThresholds()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueThresholdConfig
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ThresholdConfig

getMutableAttributionScoreDriftThresholds()

public Map<String,ThresholdConfig> getMutableAttributionScoreDriftThresholds()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,ThresholdConfig>

getMutableDriftThresholds()

public Map<String,ThresholdConfig> getMutableDriftThresholds()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
boolean

Whether the defaultDriftThreshold field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueThresholdConfig

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
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
valuesMap<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
NameDescription
valuesMap<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
NameDescription
keyString
valueThresholdConfig

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
NameDescription
keyString
valueThresholdConfig

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
NameDescription
keyString

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
NameDescription
keyString

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
NameDescription
valueThresholdConfig

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

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

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

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides