Class ModelMonitoringObjectiveConfig.Builder (3.42.0)

public static final class ModelMonitoringObjectiveConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.Builder> implements ModelMonitoringObjectiveConfigOrBuilder

The objective configuration for model monitoring, including the information needed to detect anomalies for one particular model.

Protobuf type google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

build()

public ModelMonitoringObjectiveConfig build()
Returns
Type Description
ModelMonitoringObjectiveConfig

buildPartial()

public ModelMonitoringObjectiveConfig buildPartial()
Returns
Type Description
ModelMonitoringObjectiveConfig

clear()

public ModelMonitoringObjectiveConfig.Builder clear()
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

clearExplanationConfig()

public ModelMonitoringObjectiveConfig.Builder clearExplanationConfig()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringObjectiveConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

clearPredictionDriftDetectionConfig()

public ModelMonitoringObjectiveConfig.Builder clearPredictionDriftDetectionConfig()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

clearTrainingDataset()

public ModelMonitoringObjectiveConfig.Builder clearTrainingDataset()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

clearTrainingPredictionSkewDetectionConfig()

public ModelMonitoringObjectiveConfig.Builder clearTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

clone()

public ModelMonitoringObjectiveConfig.Builder clone()
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExplanationConfig()

public ModelMonitoringObjectiveConfig.ExplanationConfig getExplanationConfig()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
ModelMonitoringObjectiveConfig.ExplanationConfig

The explanationConfig.

getExplanationConfigBuilder()

public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder getExplanationConfigBuilder()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
ModelMonitoringObjectiveConfig.ExplanationConfig.Builder

getExplanationConfigOrBuilder()

public ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder getExplanationConfigOrBuilder()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder

getPredictionDriftDetectionConfig()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getPredictionDriftDetectionConfig()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

The predictionDriftDetectionConfig.

getPredictionDriftDetectionConfigBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder getPredictionDriftDetectionConfigBuilder()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

getPredictionDriftDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder getPredictionDriftDetectionConfigOrBuilder()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder

getTrainingDataset()

public ModelMonitoringObjectiveConfig.TrainingDataset getTrainingDataset()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset

The trainingDataset.

getTrainingDatasetBuilder()

public ModelMonitoringObjectiveConfig.TrainingDataset.Builder getTrainingDatasetBuilder()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDataset.Builder

getTrainingDatasetOrBuilder()

public ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder getTrainingDatasetOrBuilder()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder

getTrainingPredictionSkewDetectionConfig()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig

The trainingPredictionSkewDetectionConfig.

getTrainingPredictionSkewDetectionConfigBuilder()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder getTrainingPredictionSkewDetectionConfigBuilder()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

getTrainingPredictionSkewDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder getTrainingPredictionSkewDetectionConfigOrBuilder()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder

hasExplanationConfig()

public boolean hasExplanationConfig()

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Returns
Type Description
boolean

Whether the explanationConfig field is set.

hasPredictionDriftDetectionConfig()

public boolean hasPredictionDriftDetectionConfig()

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Returns
Type Description
boolean

Whether the predictionDriftDetectionConfig field is set.

hasTrainingDataset()

public boolean hasTrainingDataset()

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
Type Description
boolean

Whether the trainingDataset field is set.

hasTrainingPredictionSkewDetectionConfig()

public boolean hasTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Returns
Type Description
boolean

Whether the trainingPredictionSkewDetectionConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig value)

public ModelMonitoringObjectiveConfig.Builder mergeExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig value)

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.ExplanationConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

mergeFrom(ModelMonitoringObjectiveConfig other)

public ModelMonitoringObjectiveConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig other)
Parameter
Name Description
other ModelMonitoringObjectiveConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringObjectiveConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelMonitoringObjectiveConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

mergePredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

public ModelMonitoringObjectiveConfig.Builder mergePredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

mergeTrainingDataset(ModelMonitoringObjectiveConfig.TrainingDataset value)

public ModelMonitoringObjectiveConfig.Builder mergeTrainingDataset(ModelMonitoringObjectiveConfig.TrainingDataset value)

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.TrainingDataset
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

mergeTrainingPredictionSkewDetectionConfig(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig value)

public ModelMonitoringObjectiveConfig.Builder mergeTrainingPredictionSkewDetectionConfig(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig value)

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

setExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig value)

public ModelMonitoringObjectiveConfig.Builder setExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig value)

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.ExplanationConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig.Builder builderForValue)

public ModelMonitoringObjectiveConfig.Builder setExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig.Builder builderForValue)

The config for integrating with Vertex Explainable AI.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Parameter
Name Description
builderForValue ModelMonitoringObjectiveConfig.ExplanationConfig.Builder
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

setPredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

public ModelMonitoringObjectiveConfig.Builder setPredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setPredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder builderForValue)

public ModelMonitoringObjectiveConfig.Builder setPredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder builderForValue)

The config for drift of prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Parameter
Name Description
builderForValue ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelMonitoringObjectiveConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides

setTrainingDataset(ModelMonitoringObjectiveConfig.TrainingDataset value)

public ModelMonitoringObjectiveConfig.Builder setTrainingDataset(ModelMonitoringObjectiveConfig.TrainingDataset value)

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.TrainingDataset
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setTrainingDataset(ModelMonitoringObjectiveConfig.TrainingDataset.Builder builderForValue)

public ModelMonitoringObjectiveConfig.Builder setTrainingDataset(ModelMonitoringObjectiveConfig.TrainingDataset.Builder builderForValue)

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Parameter
Name Description
builderForValue ModelMonitoringObjectiveConfig.TrainingDataset.Builder
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setTrainingPredictionSkewDetectionConfig(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig value)

public ModelMonitoringObjectiveConfig.Builder setTrainingPredictionSkewDetectionConfig(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig value)

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Parameter
Name Description
value ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setTrainingPredictionSkewDetectionConfig(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder builderForValue)

public ModelMonitoringObjectiveConfig.Builder setTrainingPredictionSkewDetectionConfig(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder builderForValue)

The config for skew between training data and prediction data.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Parameter
Name Description
builderForValue ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitoringObjectiveConfig.Builder
Overrides