Class ModelMonitoringConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringConfig.Builder>
com.google.cloud.aiplatform.v1beta1.ModelMonitoringConfig.Builder
- All Implemented Interfaces:
ModelMonitoringConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ModelMonitoringConfig
public static final class ModelMonitoringConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringConfig.Builder>
implements ModelMonitoringConfigOrBuilder
The model monitoring configuration used for Batch Prediction Job.Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllObjectiveConfigs(Iterable<? extends ModelMonitoringObjectiveConfig> values) Model monitoring objective config.addObjectiveConfigs(int index, ModelMonitoringObjectiveConfig value) Model monitoring objective config.addObjectiveConfigs(int index, ModelMonitoringObjectiveConfig.Builder builderForValue) Model monitoring objective config.Model monitoring objective config.addObjectiveConfigs(ModelMonitoringObjectiveConfig.Builder builderForValue) Model monitoring objective config.Model monitoring objective config.addObjectiveConfigsBuilder(int index) Model monitoring objective config.build()clear()Model monitoring alert config.YAML schema file uri in Cloud Storage describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze.Model monitoring objective config.A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.Model monitoring alert config.Model monitoring alert config.Model monitoring alert config.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.ByteStringYAML schema file uri in Cloud Storage describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetObjectiveConfigs(int index) Model monitoring objective config.getObjectiveConfigsBuilder(int index) Model monitoring objective config.Model monitoring objective config.intModel monitoring objective config.Model monitoring objective config.getObjectiveConfigsOrBuilder(int index) Model monitoring objective config.List<? extends ModelMonitoringObjectiveConfigOrBuilder>Model monitoring objective config.A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.booleanModel monitoring alert config.booleanA Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanModel monitoring alert config.mergeFrom(ModelMonitoringConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.removeObjectiveConfigs(int index) Model monitoring objective config.Model monitoring alert config.setAlertConfig(ModelMonitoringAlertConfig.Builder builderForValue) Model monitoring alert config.YAML schema file uri in Cloud Storage describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze.setAnalysisInstanceSchemaUriBytes(com.google.protobuf.ByteString value) YAML schema file uri in Cloud Storage describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze.setObjectiveConfigs(int index, ModelMonitoringObjectiveConfig value) Model monitoring objective config.setObjectiveConfigs(int index, ModelMonitoringObjectiveConfig.Builder builderForValue) Model monitoring objective config.A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.setStatsAnomaliesBaseDirectory(GcsDestination.Builder builderForValue) A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ModelMonitoringConfig.Builder>
-
mergeFrom
public ModelMonitoringConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ModelMonitoringConfig.Builder>- Throws:
IOException
-
getObjectiveConfigsList
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;- Specified by:
getObjectiveConfigsListin interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigsCount
public int getObjectiveConfigsCount()Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;- Specified by:
getObjectiveConfigsCountin interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigs
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;- Specified by:
getObjectiveConfigsin interfaceModelMonitoringConfigOrBuilder
-
setObjectiveConfigs
public ModelMonitoringConfig.Builder setObjectiveConfigs(int index, ModelMonitoringObjectiveConfig value) Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
setObjectiveConfigs
public ModelMonitoringConfig.Builder setObjectiveConfigs(int index, ModelMonitoringObjectiveConfig.Builder builderForValue) Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
addObjectiveConfigs
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
addObjectiveConfigs
public ModelMonitoringConfig.Builder addObjectiveConfigs(int index, ModelMonitoringObjectiveConfig value) Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
addObjectiveConfigs
public ModelMonitoringConfig.Builder addObjectiveConfigs(ModelMonitoringObjectiveConfig.Builder builderForValue) Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
addObjectiveConfigs
public ModelMonitoringConfig.Builder addObjectiveConfigs(int index, ModelMonitoringObjectiveConfig.Builder builderForValue) Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
addAllObjectiveConfigs
public ModelMonitoringConfig.Builder addAllObjectiveConfigs(Iterable<? extends ModelMonitoringObjectiveConfig> values) Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
clearObjectiveConfigs
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
removeObjectiveConfigs
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
getObjectiveConfigsBuilder
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
getObjectiveConfigsOrBuilder
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;- Specified by:
getObjectiveConfigsOrBuilderin interfaceModelMonitoringConfigOrBuilder
-
getObjectiveConfigsOrBuilderList
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;- Specified by:
getObjectiveConfigsOrBuilderListin interfaceModelMonitoringConfigOrBuilder
-
addObjectiveConfigsBuilder
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
addObjectiveConfigsBuilder
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
getObjectiveConfigsBuilderList
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3; -
hasAlertConfig
public boolean hasAlertConfig()Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;- Specified by:
hasAlertConfigin interfaceModelMonitoringConfigOrBuilder- Returns:
- Whether the alertConfig field is set.
-
getAlertConfig
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;- Specified by:
getAlertConfigin interfaceModelMonitoringConfigOrBuilder- Returns:
- The alertConfig.
-
setAlertConfig
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2; -
setAlertConfig
public ModelMonitoringConfig.Builder setAlertConfig(ModelMonitoringAlertConfig.Builder builderForValue) Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2; -
mergeAlertConfig
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2; -
clearAlertConfig
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2; -
getAlertConfigBuilder
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2; -
getAlertConfigOrBuilder
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;- Specified by:
getAlertConfigOrBuilderin interfaceModelMonitoringConfigOrBuilder
-
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:
getAnalysisInstanceSchemaUriin 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:
getAnalysisInstanceSchemaUriBytesin interfaceModelMonitoringConfigOrBuilder- Returns:
- The bytes for analysisInstanceSchemaUri.
-
setAnalysisInstanceSchemaUri
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;- Parameters:
value- The analysisInstanceSchemaUri to set.- Returns:
- This builder for chaining.
-
clearAnalysisInstanceSchemaUri
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:
- This builder for chaining.
-
setAnalysisInstanceSchemaUriBytes
public ModelMonitoringConfig.Builder setAnalysisInstanceSchemaUriBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for analysisInstanceSchemaUri to set.- Returns:
- This builder for chaining.
-
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:
hasStatsAnomaliesBaseDirectoryin interfaceModelMonitoringConfigOrBuilder- Returns:
- Whether the statsAnomaliesBaseDirectory field is set.
-
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:
getStatsAnomaliesBaseDirectoryin interfaceModelMonitoringConfigOrBuilder- Returns:
- The statsAnomaliesBaseDirectory.
-
setStatsAnomaliesBaseDirectory
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; -
setStatsAnomaliesBaseDirectory
public ModelMonitoringConfig.Builder setStatsAnomaliesBaseDirectory(GcsDestination.Builder builderForValue) 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; -
mergeStatsAnomaliesBaseDirectory
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; -
clearStatsAnomaliesBaseDirectory
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; -
getStatsAnomaliesBaseDirectoryBuilder
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; -
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:
getStatsAnomaliesBaseDirectoryOrBuilderin interfaceModelMonitoringConfigOrBuilder
-