Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder (2.9.8)

public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder> implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder

The config for Prediction data drift detection.

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

build()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig build()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

buildPartial()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig buildPartial()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

clear()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clear()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clearAttributionScoreDriftThresholds()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearAttributionScoreDriftThresholds()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

clearDriftThresholds()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDriftThresholds()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clone()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clone()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

containsAttributionScoreDriftThresholds(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsDriftThresholds(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAttributionScoreDriftThresholds()

public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
Returns
Type Description
Map<String,ThresholdConfig>

getAttributionScoreDriftThresholdsCount()

public int getAttributionScoreDriftThresholdsCount()

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;

Returns
Type Description
int

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;

Returns
Type Description
Map<String,ThresholdConfig>

getAttributionScoreDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)

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;

Parameters
Name Description
key String
defaultValue ThresholdConfig
Returns
Type Description
ThresholdConfig

getAttributionScoreDriftThresholdsOrThrow(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDriftThresholds()

public Map<String,ThresholdConfig> getDriftThresholds()
Returns
Type Description
Map<String,ThresholdConfig>

getDriftThresholdsCount()

public int getDriftThresholdsCount()

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;

Returns
Type Description
int

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;

Returns
Type Description
Map<String,ThresholdConfig>

getDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)

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;

Parameters
Name Description
key String
defaultValue ThresholdConfig
Returns
Type Description
ThresholdConfig

getDriftThresholdsOrThrow(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
ThresholdConfig

getMutableAttributionScoreDriftThresholds()

public Map<String,ThresholdConfig> getMutableAttributionScoreDriftThresholds()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ThresholdConfig>

getMutableDriftThresholds()

public Map<String,ThresholdConfig> getMutableDriftThresholds()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ThresholdConfig>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)
Parameter
Name Description
other ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

putAllAttributionScoreDriftThresholds(Map<String,ThresholdConfig> values)

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;

Parameter
Name Description
values Map<String,ThresholdConfig>
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putAllDriftThresholds(Map<String,ThresholdConfig> values)

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;

Parameter
Name Description
values Map<String,ThresholdConfig>
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putAttributionScoreDriftThresholds(String key, ThresholdConfig value)

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;

Parameters
Name Description
key String
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

putDriftThresholds(String key, ThresholdConfig value)

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;

Parameters
Name Description
key String
value ThresholdConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

removeAttributionScoreDriftThresholds(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

removeDriftThresholds(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides