public final class ModelMonitoringConfig extends GeneratedMessageV3 implements ModelMonitoringConfigOrBuilder
The model monitoring configuration used for Batch Prediction Job.
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringConfig
Static Fields
public static final int ALERT_CONFIG_FIELD_NUMBER
Field Value
public static final int ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
Field Value
public static final int OBJECTIVE_CONFIGS_FIELD_NUMBER
Field Value
public static final int STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
Field Value
Static Methods
public static ModelMonitoringConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelMonitoringConfig.Builder newBuilder()
Returns
public static ModelMonitoringConfig.Builder newBuilder(ModelMonitoringConfig prototype)
Parameter
Returns
public static ModelMonitoringConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ModelMonitoringAlertConfig getAlertConfig()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Returns
public ModelMonitoringAlertConfigOrBuilder getAlertConfigOrBuilder()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Returns
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()
Returns
public ModelMonitoringObjectiveConfig getObjectiveConfigs(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public int getObjectiveConfigsCount()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Returns
public List<ModelMonitoringObjectiveConfig> getObjectiveConfigsList()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Returns
public ModelMonitoringObjectiveConfigOrBuilder getObjectiveConfigsOrBuilder(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
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()
Returns
Overrides
public int getSerializedSize()
Returns
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
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;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringConfig.Builder newBuilderForType()
Returns
protected ModelMonitoringConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelMonitoringConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions