Class MutateDeployedModelRequest.Builder (3.56.0)

public static final class MutateDeployedModelRequest.Builder extends GeneratedMessageV3.Builder<MutateDeployedModelRequest.Builder> implements MutateDeployedModelRequestOrBuilder

Request message for EndpointService.MutateDeployedModel.

Protobuf type google.cloud.aiplatform.v1beta1.MutateDeployedModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MutateDeployedModelRequest build()
Returns
Type Description
MutateDeployedModelRequest

buildPartial()

public MutateDeployedModelRequest buildPartial()
Returns
Type Description
MutateDeployedModelRequest

clear()

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

clearDeployedModel()

public MutateDeployedModelRequest.Builder clearDeployedModel()

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MutateDeployedModelRequest.Builder

clearEndpoint()

public MutateDeployedModelRequest.Builder clearEndpoint()

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
MutateDeployedModelRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public MutateDeployedModelRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MutateDeployedModelRequest.Builder

clone()

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

getDefaultInstanceForType()

public MutateDeployedModelRequest getDefaultInstanceForType()
Returns
Type Description
MutateDeployedModelRequest

getDeployedModel()

public DeployedModel getDeployedModel()

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedModel

The deployedModel.

getDeployedModelBuilder()

public DeployedModel.Builder getDeployedModelBuilder()

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedModel.Builder

getDeployedModelOrBuilder()

public DeployedModelOrBuilder getDeployedModelOrBuilder()

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedModelOrBuilder

getDescriptorForType()

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

getEndpoint()

public String getEndpoint()

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for endpoint.

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasDeployedModel()

public boolean hasDeployedModel()

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deployedModel field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeployedModel(DeployedModel value)

public MutateDeployedModelRequest.Builder mergeDeployedModel(DeployedModel value)

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DeployedModel
Returns
Type Description
MutateDeployedModelRequest.Builder

mergeFrom(MutateDeployedModelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public MutateDeployedModelRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
MutateDeployedModelRequest.Builder

setDeployedModel(DeployedModel value)

public MutateDeployedModelRequest.Builder setDeployedModel(DeployedModel value)

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DeployedModel
Returns
Type Description
MutateDeployedModelRequest.Builder

setDeployedModel(DeployedModel.Builder builderForValue)

public MutateDeployedModelRequest.Builder setDeployedModel(DeployedModel.Builder builderForValue)

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:

  • min_replica_count in either DedicatedResources or AutomaticResources
  • max_replica_count in either DedicatedResources or AutomaticResources
  • autoscaling_metric_specs
  • disable_container_logging (v1 only)
  • enable_container_logging (v1beta1 only)

.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DeployedModel.Builder
Returns
Type Description
MutateDeployedModelRequest.Builder

setEndpoint(String value)

public MutateDeployedModelRequest.Builder setEndpoint(String value)

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
MutateDeployedModelRequest.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public MutateDeployedModelRequest.Builder setEndpointBytes(ByteString value)

Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
MutateDeployedModelRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public MutateDeployedModelRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
MutateDeployedModelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public MutateDeployedModelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
MutateDeployedModelRequest.Builder