Class BatchDedicatedResources.Builder (1.0.0)

publicstaticfinalclass BatchDedicatedResources.BuilderextendsGeneratedMessageV3.Builder<BatchDedicatedResources.Builder>implementsBatchDedicatedResourcesOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicBatchDedicatedResources.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

build()

publicBatchDedicatedResourcesbuild()
Returns
Type Description
BatchDedicatedResources

buildPartial()

publicBatchDedicatedResourcesbuildPartial()
Returns
Type Description
BatchDedicatedResources

clear()

publicBatchDedicatedResources.Builderclear()
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicBatchDedicatedResources.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

clearMachineSpec()

publicBatchDedicatedResources.BuilderclearMachineSpec()

Required. Immutable. The specification of a single machine.

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

Returns
Type Description
BatchDedicatedResources.Builder

clearMaxReplicaCount()

publicBatchDedicatedResources.BuilderclearMaxReplicaCount()

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
BatchDedicatedResources.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicBatchDedicatedResources.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

clearStartingReplicaCount()

publicBatchDedicatedResources.BuilderclearStartingReplicaCount()

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
BatchDedicatedResources.Builder

This builder for chaining.

clone()

publicBatchDedicatedResources.Builderclone()
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

getDefaultInstanceForType()

publicBatchDedicatedResourcesgetDefaultInstanceForType()
Returns
Type Description
BatchDedicatedResources

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMachineSpec()

publicMachineSpecgetMachineSpec()

Required. Immutable. The specification of a single machine.

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

Returns
Type Description
MachineSpec

The machineSpec.

getMachineSpecBuilder()

publicMachineSpec.BuildergetMachineSpecBuilder()

Required. Immutable. The specification of a single machine.

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

Returns
Type Description
MachineSpec.Builder

getMachineSpecOrBuilder()

publicMachineSpecOrBuildergetMachineSpecOrBuilder()

Required. Immutable. The specification of a single machine.

.google.cloud.vertexai.v1.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.

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.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the machineSpec field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchDedicatedResources other)

publicBatchDedicatedResources.BuildermergeFrom(BatchDedicatedResourcesother)
Parameter
Name Description
other BatchDedicatedResources
Returns
Type Description
BatchDedicatedResources.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicBatchDedicatedResources.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDedicatedResources.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicBatchDedicatedResources.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

mergeMachineSpec(MachineSpec value)

publicBatchDedicatedResources.BuildermergeMachineSpec(MachineSpecvalue)

Required. Immutable. The specification of a single machine.

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

Parameter
Name Description
value MachineSpec
Returns
Type Description
BatchDedicatedResources.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalBatchDedicatedResources.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicBatchDedicatedResources.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

setMachineSpec(MachineSpec value)

publicBatchDedicatedResources.BuildersetMachineSpec(MachineSpecvalue)

Required. Immutable. The specification of a single machine.

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

Parameter
Name Description
value MachineSpec
Returns
Type Description
BatchDedicatedResources.Builder

setMachineSpec(MachineSpec.Builder builderForValue)

publicBatchDedicatedResources.BuildersetMachineSpec(MachineSpec.BuilderbuilderForValue)

Required. Immutable. The specification of a single machine.

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

Parameter
Name Description
builderForValue MachineSpec.Builder
Returns
Type Description
BatchDedicatedResources.Builder

setMaxReplicaCount(int value)

publicBatchDedicatedResources.BuildersetMaxReplicaCount(intvalue)

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];

Parameter
Name Description
value int

The maxReplicaCount to set.

Returns
Type Description
BatchDedicatedResources.Builder

This builder for chaining.

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

publicBatchDedicatedResources.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

setStartingReplicaCount(int value)

publicBatchDedicatedResources.BuildersetStartingReplicaCount(intvalue)

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];

Parameter
Name Description
value int

The startingReplicaCount to set.

Returns
Type Description
BatchDedicatedResources.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalBatchDedicatedResources.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchDedicatedResources.Builder
Overrides

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.