Send feedback
  
   
 
  
    
      Class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig (3.3.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 3.3.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.v1beta1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
 
  
  
  
  Static Fields
   
  
  
    
public   static   final   int   ATTRIBUTION_SCORE_DRIFT_THRESHOLDS_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   DEFAULT_DRIFT_THRESHOLD_FIELD_NUMBER  
   
  Field Value 
  
  
  
    
public   static   final   int   DRIFT_THRESHOLDS_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   getDefaultInstance ()  
   
  Returns 
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder   newBuilder ()  
   
  Returns 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder   newBuilder ( ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   Parser<ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig >  parser ()  
   
  Returns 
  
  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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
 
 
  Parameter 
  
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
 
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   Map<String , ThresholdConfig >  getAttributionScoreDriftThresholds ()  
   
  
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
 
 
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
 
 
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
 
 
  Parameters 
  
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
 
 
  Parameter 
  
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig default_drift_threshold = 5;
 
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig default_drift_threshold = 5;
 
  Returns 
  
   
  
  
    
public   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig   getDefaultInstanceForType ()  
   
  Returns 
  
   
  
  
    
public   Map<String , ThresholdConfig >  getDriftThresholds ()  
   
  
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
 
 
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
 
 
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
 
 
  Parameters 
  
  Returns 
  
   
  
  
    
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
 
 
  Parameter 
  
  Returns 
  
   
  
  
    
public   Parser<ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig >  getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  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.v1beta1.ThresholdConfig default_drift_threshold = 5;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the defaultDriftThreshold field is set.
 
       
     
  
   
  
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
protected   MapField   internalGetMapField ( int   number )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        number  
        int  
       
     
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  
  
    
public   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder   newBuilderForType ()  
   
  Returns 
  
   
  
  
    
protected   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  
  
    
public   ModelMonitoringObjectiveConfig . PredictionDriftDetectionConfig . Builder   toBuilder ()  
   
  Returns 
  
   
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    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-10-30 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-10-30 UTC."],[],[]]