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.GeneratedMessage.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.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Skew anomaly detection threshold used by all features.booleanKey is the feature name and value is the threshold.booleanKey is the feature name and value is the threshold.Deprecated.intKey is the feature name and value is the threshold.Key is the feature name and value is the threshold.getAttributionScoreSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.Skew anomaly detection threshold used by all features.Skew anomaly detection threshold used by all features.Skew anomaly detection threshold used by all features.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.Deprecated.intKey is the feature name and value is the threshold.Key is the feature name and value is the threshold.getSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.booleanSkew anomaly detection threshold used by all features.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanSkew anomaly detection threshold used by all features.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Key is the feature name and value is the threshold.putAllSkewThresholds(Map<String, ThresholdConfig> values) Key is the feature name and value is the threshold.putAttributionScoreSkewThresholds(String key, ThresholdConfig value) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.putSkewThresholds(String key, ThresholdConfig value) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.Skew anomaly detection threshold used by all features.setDefaultSkewThreshold(ThresholdConfig.Builder builderForValue) Skew anomaly detection threshold used by all features.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>- Throws:
IOException
-
getSkewThresholdsCount
public int getSkewThresholdsCount()Description copied from interface:ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilderKey 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:
getSkewThresholdsCountin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
containsSkewThresholds
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:
containsSkewThresholdsin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholds
Deprecated.UsegetSkewThresholdsMap()instead.- Specified by:
getSkewThresholdsin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
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:
getSkewThresholdsMapin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholdsOrDefault
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:
getSkewThresholdsOrDefaultin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholdsOrThrow
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:
getSkewThresholdsOrThrowin 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.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; -
putSkewThresholdsBuilderIfAbsent
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.TrainingPredictionSkewDetectionConfigOrBuilderKey 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
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.UsegetAttributionScoreSkewThresholdsMap()instead.- Specified by:
getAttributionScoreSkewThresholdsin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
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
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.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; -
putAttributionScoreSkewThresholdsBuilderIfAbsent
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:
hasDefaultSkewThresholdin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder- Returns:
- Whether the defaultSkewThreshold field is set.
-
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:
getDefaultSkewThresholdin 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
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
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:
getDefaultSkewThresholdOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-