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

build()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig build()
Returns

buildPartial()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig buildPartial()
Returns

clear()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clear()
Returns Overrides

clearAttributionScoreSkewThresholds()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearAttributionScoreSkewThresholds()
Returns

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;

Returns

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearSkewThresholds()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearSkewThresholds()
Returns

clone()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clone()
Returns 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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAttributionScoreSkewThresholds()

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

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()
Returns

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableAttributionScoreSkewThresholds()

public Map<String,ThresholdConfig> getMutableAttributionScoreSkewThresholds()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,ThresholdConfig>

getMutableSkewThresholds()

public Map<String,ThresholdConfig> getMutableSkewThresholds()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,ThresholdConfig>

getSkewThresholds()

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

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

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

mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
NameDescription
valuesMap<String,ThresholdConfig>
Returns

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
NameDescription
valuesMap<String,ThresholdConfig>
Returns

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

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

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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