Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder (2.4.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

build()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig build()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

buildPartial()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig buildPartial()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

clear()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clear()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clearAttributionScoreDriftThresholds()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearAttributionScoreDriftThresholds()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

clearDriftThresholds()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDriftThresholds()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

clone()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAttributionScoreDriftThresholds()

public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueThresholdConfig
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ThresholdConfig

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDriftThresholds()

public Map<String,ThresholdConfig> getDriftThresholds()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueThresholdConfig
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ThresholdConfig

getMutableAttributionScoreDriftThresholds()

public Map<String,ThresholdConfig> getMutableAttributionScoreDriftThresholds()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,ThresholdConfig>

getMutableDriftThresholds()

public Map<String,ThresholdConfig> getMutableDriftThresholds()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,ThresholdConfig>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)
Parameter
NameDescription
otherModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,ThresholdConfig>
Returns
TypeDescription
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
NameDescription
valuesMap<String,ThresholdConfig>
Returns
TypeDescription
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
NameDescription
keyString
valueThresholdConfig
Returns
TypeDescription
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
NameDescription
keyString
valueThresholdConfig
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Overrides