Class ModelMonitoringObjectiveConfig.Builder (3.33.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.v1beta1.ModelMonitoringObjectiveConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

build()

public ModelMonitoringObjectiveConfig build()
Returns
TypeDescription
ModelMonitoringObjectiveConfig

buildPartial()

public ModelMonitoringObjectiveConfig buildPartial()
Returns
TypeDescription
ModelMonitoringObjectiveConfig

clear()

public ModelMonitoringObjectiveConfig.Builder clear()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

clearExplanationConfig()

public ModelMonitoringObjectiveConfig.Builder clearExplanationConfig()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ModelMonitoringObjectiveConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitoringObjectiveConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

clearPredictionDriftDetectionConfig()

public ModelMonitoringObjectiveConfig.Builder clearPredictionDriftDetectionConfig()

The config for drift of prediction data.

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

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

clearTrainingPredictionSkewDetectionConfig()

public ModelMonitoringObjectiveConfig.Builder clearTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

clone()

public ModelMonitoringObjectiveConfig.Builder clone()
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

getDefaultInstanceForType()

public ModelMonitoringObjectiveConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelMonitoringObjectiveConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExplanationConfig()

public ModelMonitoringObjectiveConfig.ExplanationConfig getExplanationConfig()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.ExplanationConfig

The explanationConfig.

getExplanationConfigBuilder()

public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder getExplanationConfigBuilder()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.ExplanationConfig.Builder

getExplanationConfigOrBuilder()

public ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder getExplanationConfigOrBuilder()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder

getPredictionDriftDetectionConfig()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getPredictionDriftDetectionConfig()

The config for drift of prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

The predictionDriftDetectionConfig.

getPredictionDriftDetectionConfigBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder getPredictionDriftDetectionConfigBuilder()

The config for drift of prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder

getPredictionDriftDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder getPredictionDriftDetectionConfigOrBuilder()

The config for drift of prediction data.

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

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingDatasetOrBuilder

getTrainingPredictionSkewDetectionConfig()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig

The trainingPredictionSkewDetectionConfig.

getTrainingPredictionSkewDetectionConfigBuilder()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder getTrainingPredictionSkewDetectionConfigBuilder()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder

getTrainingPredictionSkewDetectionConfigOrBuilder()

public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder getTrainingPredictionSkewDetectionConfigOrBuilder()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder

hasExplanationConfig()

public boolean hasExplanationConfig()

The config for integrating with Vertex Explainable AI.

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

Returns
TypeDescription
boolean

Whether the explanationConfig field is set.

hasPredictionDriftDetectionConfig()

public boolean hasPredictionDriftDetectionConfig()

The config for drift of prediction data.

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

Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Returns
TypeDescription
boolean

Whether the trainingDataset field is set.

hasTrainingPredictionSkewDetectionConfig()

public boolean hasTrainingPredictionSkewDetectionConfig()

The config for skew between training data and prediction data.

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

Returns
TypeDescription
boolean

Whether the trainingPredictionSkewDetectionConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig value)

public ModelMonitoringObjectiveConfig.Builder mergeExplanationConfig(ModelMonitoringObjectiveConfig.ExplanationConfig value)

The config for integrating with Vertex Explainable AI.

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

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.ExplanationConfig
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

mergeFrom(ModelMonitoringObjectiveConfig other)

public ModelMonitoringObjectiveConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig other)
Parameter
NameDescription
otherModelMonitoringObjectiveConfig
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelMonitoringObjectiveConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModelMonitoringObjectiveConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

mergePredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

public ModelMonitoringObjectiveConfig.Builder mergePredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

The config for drift of prediction data.

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

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.TrainingDataset
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.ExplanationConfig
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

Parameter
NameDescription
builderForValueModelMonitoringObjectiveConfig.ExplanationConfig.Builder
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelMonitoringObjectiveConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides

setPredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

public ModelMonitoringObjectiveConfig.Builder setPredictionDriftDetectionConfig(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig value)

The config for drift of prediction data.

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

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

Parameter
NameDescription
builderForValueModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

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

public ModelMonitoringObjectiveConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.TrainingDataset
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

Parameter
NameDescription
builderForValueModelMonitoringObjectiveConfig.TrainingDataset.Builder
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
Returns
TypeDescription
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.v1beta1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

Parameter
NameDescription
builderForValueModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitoringObjectiveConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder
Overrides