Class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder (3.45.0)

public static final class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder> implements ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder

The config for Training & Prediction data skew detection. It specifies the training dataset sources and the skew detection parameters.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAttributionScoreSkewThresholds()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearAttributionScoreSkewThresholds()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

clearDefaultSkewThreshold()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearDefaultSkewThreshold()

Skew 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_skew_threshold = 6;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkewThresholds()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearSkewThresholds()
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

clone()

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

containsAttributionScoreSkewThresholds(String key)

public boolean containsAttributionScoreSkewThresholds(String key)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

containsSkewThresholds(String key)

public boolean containsSkewThresholds(String key)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getAttributionScoreSkewThresholds() (deprecated)

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

getAttributionScoreSkewThresholdsCount()

public int getAttributionScoreSkewThresholdsCount()

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Returns
Type Description
int

getAttributionScoreSkewThresholdsMap()

public Map<String,ThresholdConfig> getAttributionScoreSkewThresholdsMap()

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Returns
Type Description
Map<String,ThresholdConfig>

getAttributionScoreSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue)

public ThresholdConfig getAttributionScoreSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameters
Name Description
key String
defaultValue ThresholdConfig
Returns
Type Description
ThresholdConfig

getAttributionScoreSkewThresholdsOrThrow(String key)

public ThresholdConfig getAttributionScoreSkewThresholdsOrThrow(String key)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

getDefaultInstanceForType()

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

getDefaultSkewThreshold()

public ThresholdConfig getDefaultSkewThreshold()

Skew 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_skew_threshold = 6;

Returns
Type Description
ThresholdConfig

The defaultSkewThreshold.

getDefaultSkewThresholdBuilder()

public ThresholdConfig.Builder getDefaultSkewThresholdBuilder()

Skew 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_skew_threshold = 6;

Returns
Type Description
ThresholdConfig.Builder

getDefaultSkewThresholdOrBuilder()

public ThresholdConfigOrBuilder getDefaultSkewThresholdOrBuilder()

Skew 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_skew_threshold = 6;

Returns
Type Description
ThresholdConfigOrBuilder

getDescriptorForType()

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

getMutableAttributionScoreSkewThresholds() (deprecated)

public Map<String,ThresholdConfig> getMutableAttributionScoreSkewThresholds()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ThresholdConfig>

getMutableSkewThresholds() (deprecated)

public Map<String,ThresholdConfig> getMutableSkewThresholds()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ThresholdConfig>

getSkewThresholds() (deprecated)

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

getSkewThresholdsCount()

public int getSkewThresholdsCount()

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Returns
Type Description
int

getSkewThresholdsMap()

public Map<String,ThresholdConfig> getSkewThresholdsMap()

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Returns
Type Description
Map<String,ThresholdConfig>

getSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue)

public ThresholdConfig getSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameters
Name Description
key String
defaultValue ThresholdConfig
Returns
Type Description
ThresholdConfig

getSkewThresholdsOrThrow(String key)

public ThresholdConfig getSkewThresholdsOrThrow(String key)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

hasDefaultSkewThreshold()

public boolean hasDefaultSkewThreshold()

Skew 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_skew_threshold = 6;

Returns
Type Description
boolean

Whether the defaultSkewThreshold 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

mergeDefaultSkewThreshold(ThresholdConfig value)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeDefaultSkewThreshold(ThresholdConfig value)

Skew 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_skew_threshold = 6;

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

mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllAttributionScoreSkewThresholds(Map<String,ThresholdConfig> values)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putAllAttributionScoreSkewThresholds(Map<String,ThresholdConfig> values)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameter
Name Description
values Map<String,ThresholdConfig>
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

putAllSkewThresholds(Map<String,ThresholdConfig> values)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putAllSkewThresholds(Map<String,ThresholdConfig> values)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameter
Name Description
values Map<String,ThresholdConfig>
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

putAttributionScoreSkewThresholds(String key, ThresholdConfig value)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putAttributionScoreSkewThresholds(String key, ThresholdConfig value)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameters
Name Description
key String
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

putAttributionScoreSkewThresholdsBuilderIfAbsent(String key)

public ThresholdConfig.Builder putAttributionScoreSkewThresholdsBuilderIfAbsent(String key)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig.Builder

putSkewThresholds(String key, ThresholdConfig value)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putSkewThresholds(String key, ThresholdConfig value)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameters
Name Description
key String
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

putSkewThresholdsBuilderIfAbsent(String key)

public ThresholdConfig.Builder putSkewThresholdsBuilderIfAbsent(String key)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig.Builder

removeAttributionScoreSkewThresholds(String key)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder removeAttributionScoreSkewThresholds(String key)

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

removeSkewThresholds(String key)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder removeSkewThresholds(String key)

Key is the feature name and value is the threshold. If a feature needs to be monitored for skew, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between the training and prediction feature.

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

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

setDefaultSkewThreshold(ThresholdConfig value)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setDefaultSkewThreshold(ThresholdConfig value)

Skew 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_skew_threshold = 6;

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

setDefaultSkewThreshold(ThresholdConfig.Builder builderForValue)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setDefaultSkewThreshold(ThresholdConfig.Builder builderForValue)

Skew 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_skew_threshold = 6;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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