Send feedback
Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig (3.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.16.0keyboard_arrow_down
public static final class ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfigOrBuilder
The config for Prediction data drift detection.
Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Static Fields
public static final int ATTRIBUTION_SCORE_DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DEFAULT_DRIFT_THRESHOLD_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder newBuilder ()
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder newBuilder ( ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig prototype )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseDelimitedFrom ( InputStream input )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( ByteString data )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( CodedInputStream input )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( InputStream input )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( ByteBuffer data )
public static ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig > parser ()
Methods
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
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
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Map<String , ThresholdConfig > getAttributionScoreDriftThresholds ()
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
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;
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;
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
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;
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;
public ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig getDefaultInstanceForType ()
public Map<String , ThresholdConfig > getDriftThresholds ()
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
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;
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;
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
public Parser<ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
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;
Returns
Type
Description
boolean
Whether the defaultDriftThreshold field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
public final boolean isInitialized ()
Overrides
public ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder newBuilderForType ()
protected ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-28 UTC."],[],[]]