Interface BatchDedicatedResourcesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchDedicatedResources,BatchDedicatedResources.Builder
@Generated
public interface BatchDedicatedResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Required.Required.intImmutable.booleangetSpot()Optional.intImmutable.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
hasFlexStart
boolean hasFlexStart()Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler)
.google.cloud.aiplatform.v1beta1.FlexStart flex_start = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the flexStart field is set.
-
getFlexStart
FlexStart getFlexStart()Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler)
.google.cloud.aiplatform.v1beta1.FlexStart flex_start = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The flexStart.
-
getFlexStartOrBuilder
FlexStartOrBuilder getFlexStartOrBuilder()Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler)
.google.cloud.aiplatform.v1beta1.FlexStart flex_start = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; -
getSpot
boolean getSpot()Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
bool spot = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The spot.
-