Class ModelMonitoringSpec.Builder (3.55.0)

public static final class ModelMonitoringSpec.Builder extends GeneratedMessageV3.Builder<ModelMonitoringSpec.Builder> implements ModelMonitoringSpecOrBuilder

Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitoringSpec build()
Returns
Type Description
ModelMonitoringSpec

buildPartial()

public ModelMonitoringSpec buildPartial()
Returns
Type Description
ModelMonitoringSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotificationSpec()

public ModelMonitoringSpec.Builder clearNotificationSpec()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
ModelMonitoringSpec.Builder

clearObjectiveSpec()

public ModelMonitoringSpec.Builder clearObjectiveSpec()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
ModelMonitoringSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputSpec()

public ModelMonitoringSpec.Builder clearOutputSpec()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
ModelMonitoringSpec.Builder

clone()

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

getDefaultInstanceForType()

public ModelMonitoringSpec getDefaultInstanceForType()
Returns
Type Description
ModelMonitoringSpec

getDescriptorForType()

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

getNotificationSpec()

public ModelMonitoringNotificationSpec getNotificationSpec()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
ModelMonitoringNotificationSpec

The notificationSpec.

getNotificationSpecBuilder()

public ModelMonitoringNotificationSpec.Builder getNotificationSpecBuilder()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
ModelMonitoringNotificationSpec.Builder

getNotificationSpecOrBuilder()

public ModelMonitoringNotificationSpecOrBuilder getNotificationSpecOrBuilder()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
ModelMonitoringNotificationSpecOrBuilder

getObjectiveSpec()

public ModelMonitoringObjectiveSpec getObjectiveSpec()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec

The objectiveSpec.

getObjectiveSpecBuilder()

public ModelMonitoringObjectiveSpec.Builder getObjectiveSpecBuilder()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
ModelMonitoringObjectiveSpec.Builder

getObjectiveSpecOrBuilder()

public ModelMonitoringObjectiveSpecOrBuilder getObjectiveSpecOrBuilder()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
ModelMonitoringObjectiveSpecOrBuilder

getOutputSpec()

public ModelMonitoringOutputSpec getOutputSpec()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
ModelMonitoringOutputSpec

The outputSpec.

getOutputSpecBuilder()

public ModelMonitoringOutputSpec.Builder getOutputSpecBuilder()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
ModelMonitoringOutputSpec.Builder

getOutputSpecOrBuilder()

public ModelMonitoringOutputSpecOrBuilder getOutputSpecOrBuilder()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
ModelMonitoringOutputSpecOrBuilder

hasNotificationSpec()

public boolean hasNotificationSpec()

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Returns
Type Description
boolean

Whether the notificationSpec field is set.

hasObjectiveSpec()

public boolean hasObjectiveSpec()

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Returns
Type Description
boolean

Whether the objectiveSpec field is set.

hasOutputSpec()

public boolean hasOutputSpec()

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Returns
Type Description
boolean

Whether the outputSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitoringSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotificationSpec(ModelMonitoringNotificationSpec value)

public ModelMonitoringSpec.Builder mergeNotificationSpec(ModelMonitoringNotificationSpec value)

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Parameter
Name Description
value ModelMonitoringNotificationSpec
Returns
Type Description
ModelMonitoringSpec.Builder

mergeObjectiveSpec(ModelMonitoringObjectiveSpec value)

public ModelMonitoringSpec.Builder mergeObjectiveSpec(ModelMonitoringObjectiveSpec value)

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Parameter
Name Description
value ModelMonitoringObjectiveSpec
Returns
Type Description
ModelMonitoringSpec.Builder

mergeOutputSpec(ModelMonitoringOutputSpec value)

public ModelMonitoringSpec.Builder mergeOutputSpec(ModelMonitoringOutputSpec value)

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Parameter
Name Description
value ModelMonitoringOutputSpec
Returns
Type Description
ModelMonitoringSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotificationSpec(ModelMonitoringNotificationSpec value)

public ModelMonitoringSpec.Builder setNotificationSpec(ModelMonitoringNotificationSpec value)

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Parameter
Name Description
value ModelMonitoringNotificationSpec
Returns
Type Description
ModelMonitoringSpec.Builder

setNotificationSpec(ModelMonitoringNotificationSpec.Builder builderForValue)

public ModelMonitoringSpec.Builder setNotificationSpec(ModelMonitoringNotificationSpec.Builder builderForValue)

The model monitoring notification spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringNotificationSpec notification_spec = 2;

Parameter
Name Description
builderForValue ModelMonitoringNotificationSpec.Builder
Returns
Type Description
ModelMonitoringSpec.Builder

setObjectiveSpec(ModelMonitoringObjectiveSpec value)

public ModelMonitoringSpec.Builder setObjectiveSpec(ModelMonitoringObjectiveSpec value)

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

Parameter
Name Description
value ModelMonitoringObjectiveSpec
Returns
Type Description
ModelMonitoringSpec.Builder

setObjectiveSpec(ModelMonitoringObjectiveSpec.Builder builderForValue)

public ModelMonitoringSpec.Builder setObjectiveSpec(ModelMonitoringObjectiveSpec.Builder builderForValue)

The monitoring objective spec.

.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveSpec objective_spec = 1;

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

setOutputSpec(ModelMonitoringOutputSpec value)

public ModelMonitoringSpec.Builder setOutputSpec(ModelMonitoringOutputSpec value)

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Parameter
Name Description
value ModelMonitoringOutputSpec
Returns
Type Description
ModelMonitoringSpec.Builder

setOutputSpec(ModelMonitoringOutputSpec.Builder builderForValue)

public ModelMonitoringSpec.Builder setOutputSpec(ModelMonitoringOutputSpec.Builder builderForValue)

The Output destination spec for metrics, error logs, etc.

.google.cloud.aiplatform.v1beta1.ModelMonitoringOutputSpec output_spec = 3;

Parameter
Name Description
builderForValue ModelMonitoringOutputSpec.Builder
Returns
Type Description
ModelMonitoringSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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