public static final class BatchDedicatedResources.Builder extends GeneratedMessageV3.Builder<BatchDedicatedResources.Builder> implements BatchDedicatedResourcesOrBuilder
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchDedicatedResources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchDedicatedResources build()
buildPartial()
public BatchDedicatedResources buildPartial()
clear()
public BatchDedicatedResources.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchDedicatedResources.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMachineSpec()
public BatchDedicatedResources.Builder clearMachineSpec()
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];
clearMaxReplicaCount()
public BatchDedicatedResources.Builder clearMaxReplicaCount()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchDedicatedResources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartingReplicaCount()
public BatchDedicatedResources.Builder clearStartingReplicaCount()
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];
clone()
public BatchDedicatedResources.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchDedicatedResources getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMachineSpec()
public MachineSpec getMachineSpec()
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];
getMachineSpecBuilder()
public MachineSpec.Builder getMachineSpecBuilder()
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];
getMachineSpecOrBuilder()
public MachineSpecOrBuilder getMachineSpecOrBuilder()
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];
getMaxReplicaCount()
public int getMaxReplicaCount()
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()
public int getStartingReplicaCount()
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()
public boolean hasMachineSpec()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchDedicatedResources other)
public BatchDedicatedResources.Builder mergeFrom(BatchDedicatedResources other)
public BatchDedicatedResources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchDedicatedResources.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMachineSpec(MachineSpec value)
public BatchDedicatedResources.Builder mergeMachineSpec(MachineSpec value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchDedicatedResources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BatchDedicatedResources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMachineSpec(MachineSpec value)
public BatchDedicatedResources.Builder setMachineSpec(MachineSpec value)
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];
setMachineSpec(MachineSpec.Builder builderForValue)
public BatchDedicatedResources.Builder setMachineSpec(MachineSpec.Builder builderForValue)
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];
setMaxReplicaCount(int value)
public BatchDedicatedResources.Builder setMaxReplicaCount(int value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchDedicatedResources.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStartingReplicaCount(int value)
public BatchDedicatedResources.Builder setStartingReplicaCount(int value)
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchDedicatedResources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides