Class MutateDeployedModelRequest (3.40.0)

public final class MutateDeployedModelRequest extends GeneratedMessageV3 implements MutateDeployedModelRequestOrBuilder

Request message for EndpointService.MutateDeployedModel.

Protobuf type google.cloud.aiplatform.v1beta1.MutateDeployedModelRequest

Static Fields

DEPLOYED_MODEL_FIELD_NUMBER

public static final int DEPLOYED_MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MutateDeployedModelRequest getDefaultInstance()
Returns
TypeDescription
MutateDeployedModelRequest

getDescriptor()

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

newBuilder()

public static MutateDeployedModelRequest.Builder newBuilder()
Returns
TypeDescription
MutateDeployedModelRequest.Builder

newBuilder(MutateDeployedModelRequest prototype)

public static MutateDeployedModelRequest.Builder newBuilder(MutateDeployedModelRequest prototype)
Parameter
NameDescription
prototypeMutateDeployedModelRequest
Returns
TypeDescription
MutateDeployedModelRequest.Builder

parseDelimitedFrom(InputStream input)

public static MutateDeployedModelRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MutateDeployedModelRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MutateDeployedModelRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MutateDeployedModelRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MutateDeployedModelRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MutateDeployedModelRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MutateDeployedModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MutateDeployedModelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MutateDeployedModelRequest> parser()
Returns
TypeDescription
Parser<MutateDeployedModelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];

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

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

getParserForType()

public Parser<MutateDeployedModelRequest> getParserForType()
Returns
TypeDescription
Parser<MutateDeployedModelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.v1beta1.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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MutateDeployedModelRequest.Builder newBuilderForType()
Returns
TypeDescription
MutateDeployedModelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MutateDeployedModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MutateDeployedModelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MutateDeployedModelRequest.Builder toBuilder()
Returns
TypeDescription
MutateDeployedModelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException