Interface BatchDedicatedResourcesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchDedicatedResources
,BatchDedicatedResources.Builder
public interface BatchDedicatedResourcesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MachineSpec
getMachineSpec()
Required.MachineSpecOrBuilder
getMachineSpecOrBuilder()
Required.int
getMaxReplicaCount()
Immutable.int
getStartingReplicaCount()
Immutable.boolean
hasMachineSpec()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMachineSpec
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:
- Whether the machineSpec field is set.
-
getMachineSpec
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];
- Returns:
- The machineSpec.
-
getMachineSpecOrBuilder
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];
-
getStartingReplicaCount
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][google.cloud.aiplatform.v1beta1.BatchDedicatedResources.max_replica_count]
int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The startingReplicaCount.
-
getMaxReplicaCount
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:
- The maxReplicaCount.
-
-