Class ModelMonitoringObjectiveSpec.Builder (3.44.0)

public static final class ModelMonitoringObjectiveSpec.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveSpec.Builder> implements ModelMonitoringObjectiveSpecOrBuilder

Monitoring objectives spec.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitoringObjectiveSpec build()
Returns
Type Description
ModelMonitoringObjectiveSpec

buildPartial()

public ModelMonitoringObjectiveSpec buildPartial()
Returns
Type Description
ModelMonitoringObjectiveSpec

clear()

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

clearBaselineDataset()

public ModelMonitoringObjectiveSpec.Builder clearBaselineDataset()

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

clearExplanationSpec()

public ModelMonitoringObjectiveSpec.Builder clearExplanationSpec()

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearObjective()

public ModelMonitoringObjectiveSpec.Builder clearObjective()
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTabularObjective()

public ModelMonitoringObjectiveSpec.Builder clearTabularObjective()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

clearTargetDataset()

public ModelMonitoringObjectiveSpec.Builder clearTargetDataset()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

clone()

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

getBaselineDataset()

public ModelMonitoringInput getBaselineDataset()

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Returns
Type Description
ModelMonitoringInput

The baselineDataset.

getBaselineDatasetBuilder()

public ModelMonitoringInput.Builder getBaselineDatasetBuilder()

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Returns
Type Description
ModelMonitoringInput.Builder

getBaselineDatasetOrBuilder()

public ModelMonitoringInputOrBuilder getBaselineDatasetOrBuilder()

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Returns
Type Description
ModelMonitoringInputOrBuilder

getDefaultInstanceForType()

public ModelMonitoringObjectiveSpec getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringObjectiveSpec

getDescriptorForType()

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

getExplanationSpec()

public ExplanationSpec getExplanationSpec()

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Returns
Type Description
ExplanationSpec

The explanationSpec.

getExplanationSpecBuilder()

public ExplanationSpec.Builder getExplanationSpecBuilder()

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Returns
Type Description
ExplanationSpec.Builder

getExplanationSpecOrBuilder()

public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Returns
Type Description
ExplanationSpecOrBuilder

getObjectiveCase()

public ModelMonitoringObjectiveSpec.ObjectiveCase getObjectiveCase()
Returns
Type Description
ModelMonitoringObjectiveSpec.ObjectiveCase

getTabularObjective()

public ModelMonitoringObjectiveSpec.TabularObjective getTabularObjective()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.TabularObjective

The tabularObjective.

getTabularObjectiveBuilder()

public ModelMonitoringObjectiveSpec.TabularObjective.Builder getTabularObjectiveBuilder()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.TabularObjective.Builder

getTabularObjectiveOrBuilder()

public ModelMonitoringObjectiveSpec.TabularObjectiveOrBuilder getTabularObjectiveOrBuilder()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.TabularObjectiveOrBuilder

getTargetDataset()

public ModelMonitoringInput getTargetDataset()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
ModelMonitoringInput

The targetDataset.

getTargetDatasetBuilder()

public ModelMonitoringInput.Builder getTargetDatasetBuilder()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
ModelMonitoringInput.Builder

getTargetDatasetOrBuilder()

public ModelMonitoringInputOrBuilder getTargetDatasetOrBuilder()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
ModelMonitoringInputOrBuilder

hasBaselineDataset()

public boolean hasBaselineDataset()

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Returns
Type Description
boolean

Whether the baselineDataset field is set.

hasExplanationSpec()

public boolean hasExplanationSpec()

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Returns
Type Description
boolean

Whether the explanationSpec field is set.

hasTabularObjective()

public boolean hasTabularObjective()

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Returns
Type Description
boolean

Whether the tabularObjective field is set.

hasTargetDataset()

public boolean hasTargetDataset()

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Returns
Type Description
boolean

Whether the targetDataset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBaselineDataset(ModelMonitoringInput value)

public ModelMonitoringObjectiveSpec.Builder mergeBaselineDataset(ModelMonitoringInput value)

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Parameter
Name Description
value ModelMonitoringInput
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

mergeExplanationSpec(ExplanationSpec value)

public ModelMonitoringObjectiveSpec.Builder mergeExplanationSpec(ExplanationSpec value)

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Parameter
Name Description
value ExplanationSpec
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

mergeFrom(ModelMonitoringObjectiveSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTabularObjective(ModelMonitoringObjectiveSpec.TabularObjective value)

public ModelMonitoringObjectiveSpec.Builder mergeTabularObjective(ModelMonitoringObjectiveSpec.TabularObjective value)

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Parameter
Name Description
value ModelMonitoringObjectiveSpec.TabularObjective
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

mergeTargetDataset(ModelMonitoringInput value)

public ModelMonitoringObjectiveSpec.Builder mergeTargetDataset(ModelMonitoringInput value)

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Parameter
Name Description
value ModelMonitoringInput
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBaselineDataset(ModelMonitoringInput value)

public ModelMonitoringObjectiveSpec.Builder setBaselineDataset(ModelMonitoringInput value)

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Parameter
Name Description
value ModelMonitoringInput
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setBaselineDataset(ModelMonitoringInput.Builder builderForValue)

public ModelMonitoringObjectiveSpec.Builder setBaselineDataset(ModelMonitoringInput.Builder builderForValue)

Baseline dataset. It could be the training dataset or production serving dataset from a previous period.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput baseline_dataset = 4;

Parameter
Name Description
builderForValue ModelMonitoringInput.Builder
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setExplanationSpec(ExplanationSpec value)

public ModelMonitoringObjectiveSpec.Builder setExplanationSpec(ExplanationSpec value)

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Parameter
Name Description
value ExplanationSpec
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setExplanationSpec(ExplanationSpec.Builder builderForValue)

public ModelMonitoringObjectiveSpec.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)

The explanation spec. This spec is required when the objectives spec includes feature attribution objectives.

.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 3;

Parameter
Name Description
builderForValue ExplanationSpec.Builder
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTabularObjective(ModelMonitoringObjectiveSpec.TabularObjective value)

public ModelMonitoringObjectiveSpec.Builder setTabularObjective(ModelMonitoringObjectiveSpec.TabularObjective value)

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Parameter
Name Description
value ModelMonitoringObjectiveSpec.TabularObjective
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setTabularObjective(ModelMonitoringObjectiveSpec.TabularObjective.Builder builderForValue)

public ModelMonitoringObjectiveSpec.Builder setTabularObjective(ModelMonitoringObjectiveSpec.TabularObjective.Builder builderForValue)

Tabular monitoring objective.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec.TabularObjective tabular_objective = 1;

Parameter
Name Description
builderForValue ModelMonitoringObjectiveSpec.TabularObjective.Builder
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setTargetDataset(ModelMonitoringInput value)

public ModelMonitoringObjectiveSpec.Builder setTargetDataset(ModelMonitoringInput value)

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Parameter
Name Description
value ModelMonitoringInput
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setTargetDataset(ModelMonitoringInput.Builder builderForValue)

public ModelMonitoringObjectiveSpec.Builder setTargetDataset(ModelMonitoringInput.Builder builderForValue)

Target dataset.

.google.cloud.aiplatform.v1beta1.ModelMonitoringInput target_dataset = 5;

Parameter
Name Description
builderForValue ModelMonitoringInput.Builder
Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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