Class BatchDedicatedResources (0.2.0)

publicfinalclass BatchDedicatedResourcesextendsGeneratedMessageV3implementsBatchDedicatedResourcesOrBuilder

A description of resources that are used for performing batch operations, are dedicated to a Model, and need manual configuration.

Protobuf type google.cloud.vertexai.v1beta1.BatchDedicatedResources

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

MACHINE_SPEC_FIELD_NUMBER

publicstaticfinalintMACHINE_SPEC_FIELD_NUMBER
Field Value
Type Description
int

MAX_REPLICA_COUNT_FIELD_NUMBER

publicstaticfinalintMAX_REPLICA_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STARTING_REPLICA_COUNT_FIELD_NUMBER

publicstaticfinalintSTARTING_REPLICA_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBatchDedicatedResourcesgetDefaultInstance()
Returns
Type Description
BatchDedicatedResources

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBatchDedicatedResources.BuildernewBuilder()
Returns
Type Description
BatchDedicatedResources.Builder

newBuilder(BatchDedicatedResources prototype)

publicstaticBatchDedicatedResources.BuildernewBuilder(BatchDedicatedResourcesprototype)
Parameter
Name Description
prototype BatchDedicatedResources
Returns
Type Description
BatchDedicatedResources.Builder

parseDelimitedFrom(InputStream input)

publicstaticBatchDedicatedResourcesparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchDedicatedResourcesparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticBatchDedicatedResourcesparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchDedicatedResourcesparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticBatchDedicatedResourcesparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchDedicatedResourcesparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticBatchDedicatedResourcesparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchDedicatedResourcesparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticBatchDedicatedResourcesparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchDedicatedResourcesparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticBatchDedicatedResourcesparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchDedicatedResourcesparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<BatchDedicatedResources>parser()
Returns
Type Description
Parser<BatchDedicatedResources>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicBatchDedicatedResourcesgetDefaultInstanceForType()
Returns
Type Description
BatchDedicatedResources

getMachineSpec()

publicMachineSpecgetMachineSpec()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineSpec

The machineSpec.

getMachineSpecOrBuilder()

publicMachineSpecOrBuildergetMachineSpecOrBuilder()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineSpecOrBuilder

getMaxReplicaCount()

publicintgetMaxReplicaCount()

Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10.

int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The maxReplicaCount.

getParserForType()

publicParser<BatchDedicatedResources>getParserForType()
Returns
Type Description
Parser<BatchDedicatedResources>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStartingReplicaCount()

publicintgetStartingReplicaCount()

Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count

int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The startingReplicaCount.

hasMachineSpec()

publicbooleanhasMachineSpec()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the machineSpec field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBatchDedicatedResources.BuildernewBuilderForType()
Returns
Type Description
BatchDedicatedResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBatchDedicatedResources.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicBatchDedicatedResources.BuildertoBuilder()
Returns
Type Description
BatchDedicatedResources.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.