Class ModelMonitoringConfig (3.15.0)

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

ALERT_CONFIG_FIELD_NUMBER

public static final int ALERT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER

public static final int ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTIVE_CONFIGS_FIELD_NUMBER

public static final int OBJECTIVE_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER

public static final int STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelMonitoringConfig getDefaultInstance()
Returns
TypeDescription
ModelMonitoringConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ModelMonitoringConfig.Builder newBuilder()
Returns
TypeDescription
ModelMonitoringConfig.Builder

newBuilder(ModelMonitoringConfig prototype)

public static ModelMonitoringConfig.Builder newBuilder(ModelMonitoringConfig prototype)
Parameter
NameDescription
prototypeModelMonitoringConfig
Returns
TypeDescription
ModelMonitoringConfig.Builder

parseDelimitedFrom(InputStream input)

public static ModelMonitoringConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelMonitoringConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelMonitoringConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelMonitoringConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelMonitoringConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelMonitoringConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelMonitoringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelMonitoringConfig> parser()
Returns
TypeDescription
Parser<ModelMonitoringConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAlertConfig()

public ModelMonitoringAlertConfig getAlertConfig()

Model monitoring alert config.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;

Returns
TypeDescription
ModelMonitoringAlertConfig

The alertConfig.

getAlertConfigOrBuilder()

public ModelMonitoringAlertConfigOrBuilder getAlertConfigOrBuilder()

Model monitoring alert config.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;

Returns
TypeDescription
ModelMonitoringAlertConfigOrBuilder

getAnalysisInstanceSchemaUri()

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
TypeDescription
String

The analysisInstanceSchemaUri.

getAnalysisInstanceSchemaUriBytes()

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
TypeDescription
ByteString

The bytes for analysisInstanceSchemaUri.

getDefaultInstanceForType()

public ModelMonitoringConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringConfig

getObjectiveConfigs(int index)

public ModelMonitoringObjectiveConfig getObjectiveConfigs(int index)

Model monitoring objective config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringObjectiveConfig

getObjectiveConfigsCount()

public int getObjectiveConfigsCount()

Model monitoring objective config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;

Returns
TypeDescription
int

getObjectiveConfigsList()

public List<ModelMonitoringObjectiveConfig> getObjectiveConfigsList()

Model monitoring objective config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;

Returns
TypeDescription
List<ModelMonitoringObjectiveConfig>

getObjectiveConfigsOrBuilder(int index)

public ModelMonitoringObjectiveConfigOrBuilder getObjectiveConfigsOrBuilder(int index)

Model monitoring objective config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelMonitoringObjectiveConfigOrBuilder

getObjectiveConfigsOrBuilderList()

public List<? extends ModelMonitoringObjectiveConfigOrBuilder> getObjectiveConfigsOrBuilderList()

Model monitoring objective config.

repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfigOrBuilder>

getParserForType()

public Parser<ModelMonitoringConfig> getParserForType()
Returns
TypeDescription
Parser<ModelMonitoringConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatsAnomaliesBaseDirectory()

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
TypeDescription
GcsDestination

The statsAnomaliesBaseDirectory.

getStatsAnomaliesBaseDirectoryOrBuilder()

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
TypeDescription
GcsDestinationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAlertConfig()

public boolean hasAlertConfig()

Model monitoring alert config.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;

Returns
TypeDescription
boolean

Whether the alertConfig field is set.

hasStatsAnomaliesBaseDirectory()

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
TypeDescription
boolean

Whether the statsAnomaliesBaseDirectory field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelMonitoringConfig.Builder newBuilderForType()
Returns
TypeDescription
ModelMonitoringConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelMonitoringConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelMonitoringConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelMonitoringConfig.Builder toBuilder()
Returns
TypeDescription
ModelMonitoringConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException