Package com.google.cloud.aiplatform.v1
Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
com.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
- All Implemented Interfaces:
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
The config for Prediction data drift detection.Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Drift 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.getAttributionScoreDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.Drift anomaly detection threshold used by all features.Drift anomaly detection threshold used by all features.Drift anomaly detection threshold used by all features.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intKey is the feature name and value is the threshold.Key is the feature name and value is the threshold.getDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.Deprecated.Deprecated.booleanDrift 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 booleanDrift 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.putAllDriftThresholds(Map<String, ThresholdConfig> values) Key is the feature name and value is the threshold.putAttributionScoreDriftThresholds(String key, ThresholdConfig value) Key is the feature name and value is the threshold.Key is the feature name and value is the threshold.putDriftThresholds(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.Drift anomaly detection threshold used by all features.setDefaultDriftThreshold(ThresholdConfig.Builder builderForValue) Drift 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.PredictionDriftDetectionConfig.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
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.PredictionDriftDetectionConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>- Throws:
IOException
-
getDriftThresholdsCount
public int getDriftThresholdsCount()Description copied from interface:ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilderKey is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;- Specified by:
getDriftThresholdsCountin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
containsDriftThresholds
Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;- Specified by:
containsDriftThresholdsin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholds
Deprecated.UsegetDriftThresholdsMap()instead.- Specified by:
getDriftThresholdsin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholdsMap
Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;- Specified by:
getDriftThresholdsMapin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholdsOrDefault
Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;- Specified by:
getDriftThresholdsOrDefaultin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholdsOrThrow
Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;- Specified by:
getDriftThresholdsOrThrowin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
clearDriftThresholds
-
removeDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder removeDriftThresholds(String key) Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1; -
getMutableDriftThresholds
Deprecated.Use alternate mutation accessors instead. -
putDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putDriftThresholds(String key, ThresholdConfig value) Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1; -
putAllDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAllDriftThresholds(Map<String, ThresholdConfig> values) Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1; -
putDriftThresholdsBuilderIfAbsent
Key is the feature name and value is the threshold. If a feature needs to be monitored for drift, a value threshold must be configured for that feature. The threshold here is against feature distribution distance between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1; -
getAttributionScoreDriftThresholdsCount
public int getAttributionScoreDriftThresholdsCount()Description copied from interface:ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilderKey is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;- Specified by:
getAttributionScoreDriftThresholdsCountin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
containsAttributionScoreDriftThresholds
Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;- Specified by:
containsAttributionScoreDriftThresholdsin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getAttributionScoreDriftThresholds
Deprecated.UsegetAttributionScoreDriftThresholdsMap()instead.- Specified by:
getAttributionScoreDriftThresholdsin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getAttributionScoreDriftThresholdsMap
Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;- Specified by:
getAttributionScoreDriftThresholdsMapin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getAttributionScoreDriftThresholdsOrDefault
public ThresholdConfig getAttributionScoreDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue) Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2; -
getAttributionScoreDriftThresholdsOrThrow
Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;- Specified by:
getAttributionScoreDriftThresholdsOrThrowin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
clearAttributionScoreDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearAttributionScoreDriftThresholds() -
removeAttributionScoreDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder removeAttributionScoreDriftThresholds(String key) Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2; -
getMutableAttributionScoreDriftThresholds
Deprecated.Use alternate mutation accessors instead. -
putAttributionScoreDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAttributionScoreDriftThresholds(String key, ThresholdConfig value) Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2; -
putAllAttributionScoreDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAllAttributionScoreDriftThresholds(Map<String, ThresholdConfig> values) Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2; -
putAttributionScoreDriftThresholdsBuilderIfAbsent
Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2; -
hasDefaultDriftThreshold
public boolean hasDefaultDriftThreshold()Drift 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_drift_threshold = 5;- Specified by:
hasDefaultDriftThresholdin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder- Returns:
- Whether the defaultDriftThreshold field is set.
-
getDefaultDriftThreshold
Drift 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_drift_threshold = 5;- Specified by:
getDefaultDriftThresholdin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder- Returns:
- The defaultDriftThreshold.
-
setDefaultDriftThreshold
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setDefaultDriftThreshold(ThresholdConfig value) Drift 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_drift_threshold = 5; -
setDefaultDriftThreshold
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setDefaultDriftThreshold(ThresholdConfig.Builder builderForValue) Drift 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_drift_threshold = 5; -
mergeDefaultDriftThreshold
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeDefaultDriftThreshold(ThresholdConfig value) Drift 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_drift_threshold = 5; -
clearDefaultDriftThreshold
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDefaultDriftThreshold()Drift 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_drift_threshold = 5; -
getDefaultDriftThresholdBuilder
Drift 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_drift_threshold = 5; -
getDefaultDriftThresholdOrBuilder
Drift 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_drift_threshold = 5;- Specified by:
getDefaultDriftThresholdOrBuilderin interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-