Class ModelMonitoringConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig
-
- All Implemented Interfaces:
ModelMonitoringConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ModelMonitoringConfig extends com.google.protobuf.GeneratedMessageV3 implements ModelMonitoringConfigOrBuilder
The model monitoring configuration used for Batch Prediction Job.
Protobuf typegoogle.cloud.aiplatform.v1beta1.ModelMonitoringConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelMonitoringConfig.Builder
The model monitoring configuration used for Batch Prediction Job.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALERT_CONFIG_FIELD_NUMBER
static int
ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
static int
OBJECTIVE_CONFIGS_FIELD_NUMBER
static int
STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ModelMonitoringAlertConfig
getAlertConfig()
Model monitoring alert config.ModelMonitoringAlertConfigOrBuilder
getAlertConfigOrBuilder()
Model monitoring alert config.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.com.google.protobuf.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.static ModelMonitoringConfig
getDefaultInstance()
ModelMonitoringConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ModelMonitoringObjectiveConfig
getObjectiveConfigs(int index)
Model monitoring objective config.int
getObjectiveConfigsCount()
Model monitoring objective config.List<ModelMonitoringObjectiveConfig>
getObjectiveConfigsList()
Model monitoring objective config.ModelMonitoringObjectiveConfigOrBuilder
getObjectiveConfigsOrBuilder(int index)
Model monitoring objective config.List<? extends ModelMonitoringObjectiveConfigOrBuilder>
getObjectiveConfigsOrBuilderList()
Model monitoring objective config.com.google.protobuf.Parser<ModelMonitoringConfig>
getParserForType()
int
getSerializedSize()
GcsDestination
getStatsAnomaliesBaseDirectory()
A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.GcsDestinationOrBuilder
getStatsAnomaliesBaseDirectoryOrBuilder()
A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.boolean
hasAlertConfig()
Model monitoring alert config.int
hashCode()
boolean
hasStatsAnomaliesBaseDirectory()
A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ModelMonitoringConfig.Builder
newBuilder()
static ModelMonitoringConfig.Builder
newBuilder(ModelMonitoringConfig prototype)
ModelMonitoringConfig.Builder
newBuilderForType()
protected ModelMonitoringConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ModelMonitoringConfig
parseDelimitedFrom(InputStream input)
static ModelMonitoringConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringConfig
parseFrom(byte[] data)
static ModelMonitoringConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringConfig
parseFrom(com.google.protobuf.ByteString data)
static ModelMonitoringConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static ModelMonitoringConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringConfig
parseFrom(InputStream input)
static ModelMonitoringConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelMonitoringConfig
parseFrom(ByteBuffer data)
static ModelMonitoringConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ModelMonitoringConfig>
parser()
ModelMonitoringConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
OBJECTIVE_CONFIGS_FIELD_NUMBER
public static final int OBJECTIVE_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALERT_CONFIG_FIELD_NUMBER
public static final int ALERT_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
public static final int ANALYSIS_INSTANCE_SCHEMA_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
public static final int STATS_ANOMALIES_BASE_DIRECTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getObjectiveConfigsList
public List<ModelMonitoringObjectiveConfig> getObjectiveConfigsList()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
- Specified by:
getObjectiveConfigsList
in interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigsOrBuilderList
public List<? extends ModelMonitoringObjectiveConfigOrBuilder> getObjectiveConfigsOrBuilderList()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
- Specified by:
getObjectiveConfigsOrBuilderList
in interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigsCount
public int getObjectiveConfigsCount()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
- Specified by:
getObjectiveConfigsCount
in interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigs
public ModelMonitoringObjectiveConfig getObjectiveConfigs(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
- Specified by:
getObjectiveConfigs
in interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigsOrBuilder
public ModelMonitoringObjectiveConfigOrBuilder getObjectiveConfigsOrBuilder(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
- Specified by:
getObjectiveConfigsOrBuilder
in interfaceModelMonitoringConfigOrBuilder
-
hasAlertConfig
public boolean hasAlertConfig()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
- Specified by:
hasAlertConfig
in interfaceModelMonitoringConfigOrBuilder
- Returns:
- Whether the alertConfig field is set.
-
getAlertConfig
public ModelMonitoringAlertConfig getAlertConfig()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
- Specified by:
getAlertConfig
in interfaceModelMonitoringConfigOrBuilder
- Returns:
- The alertConfig.
-
getAlertConfigOrBuilder
public ModelMonitoringAlertConfigOrBuilder getAlertConfigOrBuilder()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
- Specified by:
getAlertConfigOrBuilder
in interfaceModelMonitoringConfigOrBuilder
-
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;
- Specified by:
getAnalysisInstanceSchemaUri
in interfaceModelMonitoringConfigOrBuilder
- Returns:
- The analysisInstanceSchemaUri.
-
getAnalysisInstanceSchemaUriBytes
public com.google.protobuf.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;
- Specified by:
getAnalysisInstanceSchemaUriBytes
in interfaceModelMonitoringConfigOrBuilder
- Returns:
- The bytes for analysisInstanceSchemaUri.
-
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;
- Specified by:
hasStatsAnomaliesBaseDirectory
in interfaceModelMonitoringConfigOrBuilder
- Returns:
- Whether the statsAnomaliesBaseDirectory field is set.
-
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;
- Specified by:
getStatsAnomaliesBaseDirectory
in interfaceModelMonitoringConfigOrBuilder
- Returns:
- 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;
- Specified by:
getStatsAnomaliesBaseDirectoryOrBuilder
in interfaceModelMonitoringConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelMonitoringConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelMonitoringConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelMonitoringConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelMonitoringConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelMonitoringConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelMonitoringConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelMonitoringConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ModelMonitoringConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ModelMonitoringConfig.Builder newBuilder()
-
newBuilder
public static ModelMonitoringConfig.Builder newBuilder(ModelMonitoringConfig prototype)
-
toBuilder
public ModelMonitoringConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelMonitoringConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ModelMonitoringConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ModelMonitoringConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ModelMonitoringConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelMonitoringConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-