public static enum Scheduling.Strategy extends Enum<Scheduling.Strategy> implements com.google.protobuf.ProtocolMessageEnum
Optional. This determines which type of scheduling strategy to use. Right now users have two options such as STANDARD which will use regular on demand resources to schedule the job, the other is SPOT which would leverage spot resources alongwith regular resources to schedule the job.Protobuf enum
google.cloud.aiplatform.v1.Scheduling.Strategy| Enum Constant and Description |
|---|
FLEX_START
Flex Start strategy uses DWS to queue for resources.
|
LOW_COST
Deprecated.
|
ON_DEMAND
Deprecated.
|
SPOT
Spot provisioning strategy uses spot resources.
|
STANDARD
Standard provisioning strategy uses regular on-demand resources.
|
STRATEGY_UNSPECIFIED
Strategy will default to STANDARD.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FLEX_START_VALUE
Flex Start strategy uses DWS to queue for resources.
|
static int |
LOW_COST_VALUE
Deprecated.
|
static int |
ON_DEMAND_VALUE
Deprecated.
|
static int |
SPOT_VALUE
Spot provisioning strategy uses spot resources.
|
static int |
STANDARD_VALUE
Standard provisioning strategy uses regular on-demand resources.
|
static int |
STRATEGY_UNSPECIFIED_VALUE
Strategy will default to STANDARD.
|
| Modifier and Type | Method and Description |
|---|---|
static Scheduling.Strategy |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Scheduling.Strategy> |
internalGetValueMap() |
static Scheduling.Strategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Scheduling.Strategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Scheduling.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scheduling.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduling.Strategy STRATEGY_UNSPECIFIED
Strategy will default to STANDARD.
STRATEGY_UNSPECIFIED = 0;@Deprecated public static final Scheduling.Strategy ON_DEMAND
Deprecated. Regular on-demand provisioning strategy.
ON_DEMAND = 1 [deprecated = true];@Deprecated public static final Scheduling.Strategy LOW_COST
Deprecated. Low cost by making potential use of spot resources.
LOW_COST = 2 [deprecated = true];public static final Scheduling.Strategy STANDARD
Standard provisioning strategy uses regular on-demand resources.
STANDARD = 3;public static final Scheduling.Strategy SPOT
Spot provisioning strategy uses spot resources.
SPOT = 4;public static final Scheduling.Strategy FLEX_START
Flex Start strategy uses DWS to queue for resources.
FLEX_START = 6;public static final Scheduling.Strategy UNRECOGNIZED
public static final int STRATEGY_UNSPECIFIED_VALUE
Strategy will default to STANDARD.
STRATEGY_UNSPECIFIED = 0;@Deprecated public static final int ON_DEMAND_VALUE
Deprecated. Regular on-demand provisioning strategy.
ON_DEMAND = 1 [deprecated = true];@Deprecated public static final int LOW_COST_VALUE
Deprecated. Low cost by making potential use of spot resources.
LOW_COST = 2 [deprecated = true];public static final int STANDARD_VALUE
Standard provisioning strategy uses regular on-demand resources.
STANDARD = 3;public static final int SPOT_VALUE
Spot provisioning strategy uses spot resources.
SPOT = 4;public static final int FLEX_START_VALUE
Flex Start strategy uses DWS to queue for resources.
FLEX_START = 6;public static Scheduling.Strategy[] values()
for (Scheduling.Strategy c : Scheduling.Strategy.values()) System.out.println(c);
public static Scheduling.Strategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Scheduling.Strategy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Scheduling.Strategy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Scheduling.Strategy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Scheduling.Strategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.