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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
setField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clearField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
clearOneof
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
addRepeatedField
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.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
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
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
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:
containsSkewThresholdsin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
getSkewThresholds
@Deprecated public Map<String,ThresholdConfig> getSkewThresholds()
Deprecated.UsegetSkewThresholdsMap()instead.- Specified by:
getSkewThresholdsin 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:
getSkewThresholdsMapin 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:
getSkewThresholdsOrDefaultin 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:
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 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.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
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:
getAttributionScoreSkewThresholdsin 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:
hasDefaultSkewThresholdin 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:
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
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:
getDefaultSkewThresholdOrBuilderin interfaceModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
-
setUnknownFields
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
mergeUnknownFields
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder>
-
-