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.aiplatform.v1beta1.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchDedicatedResources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchDedicatedResources build()
public BatchDedicatedResources buildPartial()
public BatchDedicatedResources.Builder clear()
Overrides
public BatchDedicatedResources.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchDedicatedResources.Builder clearMachineSpec()
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
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];
public BatchDedicatedResources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public BatchDedicatedResources.Builder clone()
Overrides
public BatchDedicatedResources getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MachineSpec getMachineSpec()
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public MachineSpec.Builder getMachineSpecBuilder()
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public MachineSpecOrBuilder getMachineSpecOrBuilder()
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
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.
|
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.
|
public boolean hasMachineSpec()
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchDedicatedResources.Builder mergeFrom(BatchDedicatedResources other)
public BatchDedicatedResources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchDedicatedResources.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public BatchDedicatedResources.Builder mergeMachineSpec(MachineSpec value)
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public final BatchDedicatedResources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchDedicatedResources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchDedicatedResources.Builder setMachineSpec(MachineSpec value)
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
public BatchDedicatedResources.Builder setMachineSpec(MachineSpec.Builder builderForValue)
Required. Immutable. The specification of a single machine.
.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
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.
|
public BatchDedicatedResources.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.
|
public final BatchDedicatedResources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides