Class ModelDeploymentMonitoringObjectiveConfig.Builder (3.22.0)

public static final class ModelDeploymentMonitoringObjectiveConfig.Builder extends GeneratedMessageV3.Builder<ModelDeploymentMonitoringObjectiveConfig.Builder> implements ModelDeploymentMonitoringObjectiveConfigOrBuilder

ModelDeploymentMonitoringObjectiveConfig contains the pair of deployed_model_id to ModelMonitoringObjectiveConfig.

Protobuf type google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelDeploymentMonitoringObjectiveConfig build()
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig

buildPartial()

public ModelDeploymentMonitoringObjectiveConfig buildPartial()
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig

clear()

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

clearDeployedModelId()

public ModelDeploymentMonitoringObjectiveConfig.Builder clearDeployedModelId()

The DeployedModel ID of the objective config.

string deployed_model_id = 1;

Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearObjectiveConfig()

public ModelDeploymentMonitoringObjectiveConfig.Builder clearObjectiveConfig()

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ModelDeploymentMonitoringObjectiveConfig getDefaultInstanceForType()
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig

getDeployedModelId()

public String getDeployedModelId()

The DeployedModel ID of the objective config.

string deployed_model_id = 1;

Returns
TypeDescription
String

The deployedModelId.

getDeployedModelIdBytes()

public ByteString getDeployedModelIdBytes()

The DeployedModel ID of the objective config.

string deployed_model_id = 1;

Returns
TypeDescription
ByteString

The bytes for deployedModelId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getObjectiveConfig()

public ModelMonitoringObjectiveConfig getObjectiveConfig()

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Returns
TypeDescription
ModelMonitoringObjectiveConfig

The objectiveConfig.

getObjectiveConfigBuilder()

public ModelMonitoringObjectiveConfig.Builder getObjectiveConfigBuilder()

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Returns
TypeDescription
ModelMonitoringObjectiveConfig.Builder

getObjectiveConfigOrBuilder()

public ModelMonitoringObjectiveConfigOrBuilder getObjectiveConfigOrBuilder()

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Returns
TypeDescription
ModelMonitoringObjectiveConfigOrBuilder

hasObjectiveConfig()

public boolean hasObjectiveConfig()

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Returns
TypeDescription
boolean

Whether the objectiveConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelDeploymentMonitoringObjectiveConfig other)

public ModelDeploymentMonitoringObjectiveConfig.Builder mergeFrom(ModelDeploymentMonitoringObjectiveConfig other)
Parameter
NameDescription
otherModelDeploymentMonitoringObjectiveConfig
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeObjectiveConfig(ModelMonitoringObjectiveConfig value)

public ModelDeploymentMonitoringObjectiveConfig.Builder mergeObjectiveConfig(ModelMonitoringObjectiveConfig value)

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelDeploymentMonitoringObjectiveConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder
Overrides

setDeployedModelId(String value)

public ModelDeploymentMonitoringObjectiveConfig.Builder setDeployedModelId(String value)

The DeployedModel ID of the objective config.

string deployed_model_id = 1;

Parameter
NameDescription
valueString

The deployedModelId to set.

Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

This builder for chaining.

setDeployedModelIdBytes(ByteString value)

public ModelDeploymentMonitoringObjectiveConfig.Builder setDeployedModelIdBytes(ByteString value)

The DeployedModel ID of the objective config.

string deployed_model_id = 1;

Parameter
NameDescription
valueByteString

The bytes for deployedModelId to set.

Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setObjectiveConfig(ModelMonitoringObjectiveConfig value)

public ModelDeploymentMonitoringObjectiveConfig.Builder setObjectiveConfig(ModelMonitoringObjectiveConfig value)

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Parameter
NameDescription
valueModelMonitoringObjectiveConfig
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

setObjectiveConfig(ModelMonitoringObjectiveConfig.Builder builderForValue)

public ModelDeploymentMonitoringObjectiveConfig.Builder setObjectiveConfig(ModelMonitoringObjectiveConfig.Builder builderForValue)

The objective config of for the modelmonitoring job of this deployed model.

.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig objective_config = 2;

Parameter
NameDescription
builderForValueModelMonitoringObjectiveConfig.Builder
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder

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

public ModelDeploymentMonitoringObjectiveConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelDeploymentMonitoringObjectiveConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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