public static final class ModelMonitoringConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringConfig.Builder> implements ModelMonitoringConfigOrBuilder
Next ID: 5
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ModelMonitoringConfig.Builder addAllObjectiveConfigs(Iterable<? extends ModelMonitoringObjectiveConfig> values)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig>
|
Returns
public ModelMonitoringConfig.Builder addObjectiveConfigs(ModelMonitoringObjectiveConfig value)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public ModelMonitoringConfig.Builder addObjectiveConfigs(ModelMonitoringObjectiveConfig.Builder builderForValue)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public ModelMonitoringConfig.Builder addObjectiveConfigs(int index, ModelMonitoringObjectiveConfig value)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameters
Returns
public ModelMonitoringConfig.Builder addObjectiveConfigs(int index, ModelMonitoringObjectiveConfig.Builder builderForValue)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameters
Returns
public ModelMonitoringObjectiveConfig.Builder addObjectiveConfigsBuilder()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Returns
public ModelMonitoringObjectiveConfig.Builder addObjectiveConfigsBuilder(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public ModelMonitoringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringConfig build()
Returns
public ModelMonitoringConfig buildPartial()
Returns
public ModelMonitoringConfig.Builder clear()
Returns
Overrides
public ModelMonitoringConfig.Builder clearAlertConfig()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Returns
public ModelMonitoringConfig.Builder 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
public ModelMonitoringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelMonitoringConfig.Builder clearObjectiveConfigs()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Returns
public ModelMonitoringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelMonitoringConfig.Builder clone()
Returns
Overrides
public ModelMonitoringAlertConfig getAlertConfig()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Returns
public ModelMonitoringAlertConfig.Builder getAlertConfigBuilder()
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 Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ModelMonitoringObjectiveConfig getObjectiveConfigs(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public ModelMonitoringObjectiveConfig.Builder getObjectiveConfigsBuilder(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public List<ModelMonitoringObjectiveConfig.Builder> getObjectiveConfigsBuilderList()
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
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 boolean hasAlertConfig()
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Returns
Type | Description |
boolean | Whether the alertConfig field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringConfig.Builder mergeAlertConfig(ModelMonitoringAlertConfig value)
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Parameter
Returns
public ModelMonitoringConfig.Builder mergeFrom(ModelMonitoringConfig other)
Parameter
Returns
public ModelMonitoringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelMonitoringConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelMonitoringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ModelMonitoringConfig.Builder removeObjectiveConfigs(int index)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameter
Returns
public ModelMonitoringConfig.Builder setAlertConfig(ModelMonitoringAlertConfig value)
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Parameter
Returns
public ModelMonitoringConfig.Builder setAlertConfig(ModelMonitoringAlertConfig.Builder builderForValue)
Model monitoring alert config.
.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertConfig alert_config = 2;
Parameter
Returns
public ModelMonitoringConfig.Builder setAnalysisInstanceSchemaUri(String 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;
Parameter
Name | Description |
value | String
The analysisInstanceSchemaUri to set.
|
Returns
public ModelMonitoringConfig.Builder setAnalysisInstanceSchemaUriBytes(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;
Parameter
Name | Description |
value | ByteString
The bytes for analysisInstanceSchemaUri to set.
|
Returns
public ModelMonitoringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringConfig.Builder setObjectiveConfigs(int index, ModelMonitoringObjectiveConfig value)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameters
Returns
public ModelMonitoringConfig.Builder setObjectiveConfigs(int index, ModelMonitoringObjectiveConfig.Builder builderForValue)
Model monitoring objective config.
repeated .google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig objective_configs = 3;
Parameters
Returns
public ModelMonitoringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ModelMonitoringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides