Package com.google.cloud.aiplatform.v1
Class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
- com.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder
-
- All Implemented Interfaces:
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
public static final class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder extends com.google.protobuf.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 typegoogle.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clear
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
setField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clearField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clearOneof
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
setRepeatedField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
addRepeatedField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
- Throws:
IOException
-
getSkewThresholdsCount
public int getSkewThresholdsCount()
Description copied from interface:ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
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;
- Specified by:
getSkewThresholdsCount
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
containsSkewThresholds
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;
- Specified by:
containsSkewThresholds
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholds
@Deprecated public Map<String,ThresholdConfig> getSkewThresholds()
Deprecated.UsegetSkewThresholdsMap()
instead.- Specified by:
getSkewThresholds
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
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;
- Specified by:
getSkewThresholdsMap
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholdsOrDefault
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;
- Specified by:
getSkewThresholdsOrDefault
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholdsOrThrow
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;
- Specified by:
getSkewThresholdsOrThrow
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
clearSkewThresholds
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearSkewThresholds()
-
removeSkewThresholds
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;
-
getMutableSkewThresholds
@Deprecated public Map<String,ThresholdConfig> getMutableSkewThresholds()
Deprecated.Use alternate mutation accessors instead.
-
putSkewThresholds
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;
-
putAllSkewThresholds
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;
-
getAttributionScoreSkewThresholdsCount
public int getAttributionScoreSkewThresholdsCount()
Description copied from interface:ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
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;
-
containsAttributionScoreSkewThresholds
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;
-
getAttributionScoreSkewThresholds
@Deprecated public Map<String,ThresholdConfig> getAttributionScoreSkewThresholds()
Deprecated.UsegetAttributionScoreSkewThresholdsMap()
instead.- Specified by:
getAttributionScoreSkewThresholds
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
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;
-
getAttributionScoreSkewThresholdsOrDefault
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;
-
getAttributionScoreSkewThresholdsOrThrow
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;
-
clearAttributionScoreSkewThresholds
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearAttributionScoreSkewThresholds()
-
removeAttributionScoreSkewThresholds
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;
-
getMutableAttributionScoreSkewThresholds
@Deprecated public Map<String,ThresholdConfig> getMutableAttributionScoreSkewThresholds()
Deprecated.Use alternate mutation accessors instead.
-
putAttributionScoreSkewThresholds
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;
-
putAllAttributionScoreSkewThresholds
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;
-
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;
- Specified by:
hasDefaultSkewThreshold
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
- Returns:
- Whether the defaultSkewThreshold field is set.
-
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;
- Specified by:
getDefaultSkewThreshold
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
- Returns:
- The defaultSkewThreshold.
-
setDefaultSkewThreshold
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;
-
setDefaultSkewThreshold
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;
-
mergeDefaultSkewThreshold
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;
-
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;
-
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;
-
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;
- Specified by:
getDefaultSkewThresholdOrBuilder
in interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
setUnknownFields
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeUnknownFields
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
-