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>)
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;
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)
Overrides
public ModelMonitoringConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides