Class MutateDeployedModelRequest (3.43.0)

public final class MutateDeployedModelRequest extends GeneratedMessageV3 implements MutateDeployedModelRequestOrBuilder

Request message for EndpointService.MutateDeployedModel.

Protobuf type google.cloud.aiplatform.v1.MutateDeployedModelRequest

Static Fields

DEPLOYED_MODEL_FIELD_NUMBER

public static final int DEPLOYED_MODEL_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MutateDeployedModelRequest getDefaultInstance()
Returns
Type Description
MutateDeployedModelRequest

getDescriptor()

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

newBuilder()

public static MutateDeployedModelRequest.Builder newBuilder()
Returns
Type Description
MutateDeployedModelRequest.Builder

newBuilder(MutateDeployedModelRequest prototype)

public static MutateDeployedModelRequest.Builder newBuilder(MutateDeployedModelRequest prototype)
Parameter
Name Description
prototype MutateDeployedModelRequest
Returns
Type Description
MutateDeployedModelRequest.Builder

parseDelimitedFrom(InputStream input)

public static MutateDeployedModelRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MutateDeployedModelRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MutateDeployedModelRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MutateDeployedModelRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MutateDeployedModelRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MutateDeployedModelRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MutateDeployedModelRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MutateDeployedModelRequest> parser()
Returns
Type Description
Parser<MutateDeployedModelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedModel

The deployedModel.

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
Type Description
DeployedModelOrBuilder

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.

getParserForType()

public Parser<MutateDeployedModelRequest> getParserForType()
Returns
Type Description
Parser<MutateDeployedModelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v1.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MutateDeployedModelRequest.Builder newBuilderForType()
Returns
Type Description
MutateDeployedModelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MutateDeployedModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MutateDeployedModelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MutateDeployedModelRequest.Builder toBuilder()
Returns
Type Description
MutateDeployedModelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException