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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder> implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
The config for Prediction data drift detection.
Protobuf typegoogle.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
-
-
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.PredictionDriftDetectionConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
-
clear
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
getDefaultInstanceForType
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
setField
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
clearField
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
clearOneof
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
setRepeatedField
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
addRepeatedField
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder>
-
mergeFrom
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
- Throws:
IOException
-
getDriftThresholdsCount
public int getDriftThresholdsCount()
Description copied from interface:ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
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:
getDriftThresholdsCount
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
containsDriftThresholds
public boolean containsDriftThresholds(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;
- Specified by:
containsDriftThresholds
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholds
@Deprecated public Map<String,ThresholdConfig> getDriftThresholds()
Deprecated.UsegetDriftThresholdsMap()
instead.- Specified by:
getDriftThresholds
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholdsMap
public Map<String,ThresholdConfig> 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:
getDriftThresholdsMap
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholdsOrDefault
public ThresholdConfig getDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)
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:
getDriftThresholdsOrDefault
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getDriftThresholdsOrThrow
public ThresholdConfig getDriftThresholdsOrThrow(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;
- Specified by:
getDriftThresholdsOrThrow
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
clearDriftThresholds
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder 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 public Map<String,ThresholdConfig> 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;
-
getAttributionScoreDriftThresholdsCount
public int getAttributionScoreDriftThresholdsCount()
Description copied from interface:ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
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:
getAttributionScoreDriftThresholdsCount
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
containsAttributionScoreDriftThresholds
public boolean containsAttributionScoreDriftThresholds(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;
- Specified by:
containsAttributionScoreDriftThresholds
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getAttributionScoreDriftThresholds
@Deprecated public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
Deprecated.UsegetAttributionScoreDriftThresholdsMap()
instead.- Specified by:
getAttributionScoreDriftThresholds
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
getAttributionScoreDriftThresholdsMap
public Map<String,ThresholdConfig> 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:
getAttributionScoreDriftThresholdsMap
in 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
public ThresholdConfig getAttributionScoreDriftThresholdsOrThrow(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;
- Specified by:
getAttributionScoreDriftThresholdsOrThrow
in 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 public Map<String,ThresholdConfig> 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;
-
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:
hasDefaultDriftThreshold
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
- Returns:
- Whether the defaultDriftThreshold field is set.
-
getDefaultDriftThreshold
public ThresholdConfig 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:
getDefaultDriftThreshold
in 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
public ThresholdConfig.Builder 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
public ThresholdConfigOrBuilder 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:
getDefaultDriftThresholdOrBuilder
in interfaceModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
-
setUnknownFields
public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
mergeUnknownFields
public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.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.PredictionDriftDetectionConfig.Builder>
-
-