Class MutateDeployedModelRequest.Builder (3.29.0)

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

Request message for EndpointService.MutateDeployedModel.

Protobuf type google.cloud.aiplatform.v1.MutateDeployedModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MutateDeployedModelRequest build()
Returns
TypeDescription
MutateDeployedModelRequest

buildPartial()

public MutateDeployedModelRequest buildPartial()
Returns
TypeDescription
MutateDeployedModelRequest

clear()

public MutateDeployedModelRequest.Builder clear()
Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
MutateDeployedModelRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MutateDeployedModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
MutateDeployedModelRequest.Builder

clone()

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

getDefaultInstanceForType()

public MutateDeployedModelRequest getDefaultInstanceForType()
Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeployedModelOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDeployedModel
Returns
TypeDescription
MutateDeployedModelRequest.Builder

mergeFrom(MutateDeployedModelRequest other)

public MutateDeployedModelRequest.Builder mergeFrom(MutateDeployedModelRequest other)
Parameter
NameDescription
otherMutateDeployedModelRequest
Returns
TypeDescription
MutateDeployedModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MutateDeployedModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDeployedModel
Returns
TypeDescription
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDeployedModel.Builder
Returns
TypeDescription
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
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
MutateDeployedModelRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final MutateDeployedModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
MutateDeployedModelRequest.Builder