Send feedback
Class ModelMonitoringConfig (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
public final class ModelMonitoringConfig extends GeneratedMessageV3 implements ModelMonitoringConfigOrBuilder
The model monitoring configuration used for Batch Prediction Job.
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ALERT_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OBJECTIVE_CONFIGS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ModelMonitoringConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ModelMonitoringConfig . Builder newBuilder ()
public static ModelMonitoringConfig . Builder newBuilder ( ModelMonitoringConfig prototype )
public static ModelMonitoringConfig parseDelimitedFrom ( InputStream input )
public static ModelMonitoringConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ModelMonitoringConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringConfig parseFrom ( ByteString data )
public static ModelMonitoringConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringConfig parseFrom ( CodedInputStream input )
public static ModelMonitoringConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringConfig parseFrom ( InputStream input )
public static ModelMonitoringConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelMonitoringConfig parseFrom ( ByteBuffer data )
public static ModelMonitoringConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ModelMonitoringConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ModelMonitoringAlertConfig getAlertConfig ()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
public ModelMonitoringAlertConfigOrBuilder getAlertConfigOrBuilder ()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
public String getAnalysisInstanceSchemaUri ()
YAML schema file uri in Cloud Storage describing the format of a single
instance that you want Tensorflow Data Validation (TFDV) to analyze.
If there are any data type differences between predict instance and TFDV
instance, this field can be used to override the schema.
For models trained with Vertex AI, this field must be set as all the
fields in predict instance formatted as string.
string analysis_instance_schema_uri = 4;
Returns
Type
Description
String
The analysisInstanceSchemaUri.
public ByteString getAnalysisInstanceSchemaUriBytes ()
YAML schema file uri in Cloud Storage describing the format of a single
instance that you want Tensorflow Data Validation (TFDV) to analyze.
If there are any data type differences between predict instance and TFDV
instance, this field can be used to override the schema.
For models trained with Vertex AI, this field must be set as all the
fields in predict instance formatted as string.
string analysis_instance_schema_uri = 4;
Returns
Type
Description
ByteString
The bytes for analysisInstanceSchemaUri.
public ModelMonitoringConfig getDefaultInstanceForType ()
public ModelMonitoringObjectiveConfig getObjectiveConfigs ( int index )
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Name
Description
index
int
public int getObjectiveConfigsCount ()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Returns
Type
Description
int
public List<ModelMonitoringObjectiveConfig> getObjectiveConfigsList ()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
public ModelMonitoringObjectiveConfigOrBuilder getObjectiveConfigsOrBuilder ( int index )
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Name
Description
index
int
public List <? extends ModelMonitoringObjectiveConfigOrBuilder > getObjectiveConfigsOrBuilderList ()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Returns
Type
Description
List <? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfigOrBuilder >
public Parser<ModelMonitoringConfig> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public GcsDestination getStatsAnomaliesBaseDirectory ()
A Google Cloud Storage location for batch prediction model monitoring to
dump statistics and anomalies.
If not provided, a folder will be created in customer project to hold
statistics and anomalies.
.google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5;
Returns
Type
Description
GcsDestination
The statsAnomaliesBaseDirectory.
public GcsDestinationOrBuilder getStatsAnomaliesBaseDirectoryOrBuilder ()
A Google Cloud Storage location for batch prediction model monitoring to
dump statistics and anomalies.
If not provided, a folder will be created in customer project to hold
statistics and anomalies.
.google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5;
public boolean hasAlertConfig ()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Returns
Type
Description
boolean
Whether the alertConfig field is set.
public boolean hasStatsAnomaliesBaseDirectory ()
A Google Cloud Storage location for batch prediction model monitoring to
dump statistics and anomalies.
If not provided, a folder will be created in customer project to hold
statistics and anomalies.
.google.cloud.aiplatform.v1beta1.GcsDestination stats_anomalies_base_directory = 5;
Returns
Type
Description
boolean
Whether the statsAnomaliesBaseDirectory field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ModelMonitoringConfig . Builder newBuilderForType ()
protected ModelMonitoringConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ModelMonitoringConfig . 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-01-27 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-01-27 UTC."],[],[]]