Class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder (3.59.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.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.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.TrainingPredictionSkewDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig build()

buildPartial()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig buildPartial()

clear()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clear()
Overrides

clearAttributionScoreSkewThresholds()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearAttributionScoreSkewThresholds()

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.v1.ThresholdConfig default_skew_threshold = 6;

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkewThresholds()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearSkewThresholds()

clone()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clone()
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()

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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.ThresholdConfig default_skew_threshold = 6;

Parameter
Name Description
value ThresholdConfig

mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;

Parameter
Name Description
values Map<String,ThresholdConfig>

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.v1.ThresholdConfig> skew_thresholds = 1;

Parameter
Name Description
values Map<String,ThresholdConfig>

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.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;

Parameters
Name Description
key String
value ThresholdConfig

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.v1.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.v1.ThresholdConfig> skew_thresholds = 1;

Parameters
Name Description
key String
value ThresholdConfig

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.v1.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.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;

Parameter
Name Description
key String

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.v1.ThresholdConfig> skew_thresholds = 1;

Parameter
Name Description
key String

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.v1.ThresholdConfig default_skew_threshold = 6;

Parameter
Name Description
value ThresholdConfig

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.v1.ThresholdConfig default_skew_threshold = 6;

Parameter
Name Description
builderForValue ThresholdConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.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.TrainingPredictionSkewDetectionConfig.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.TrainingPredictionSkewDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides