Enum Scheduling.Strategy

java.lang.Object
java.lang.Enum<Scheduling.Strategy>
com.google.cloud.aiplatform.v1.Scheduling.Strategy
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Scheduling.Strategy>
Enclosing class:
Scheduling

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 Details

    • STRATEGY_UNSPECIFIED

      public static final Scheduling.Strategy STRATEGY_UNSPECIFIED
       Strategy will default to STANDARD.
       
      STRATEGY_UNSPECIFIED = 0;
    • ON_DEMAND

      @Deprecated public static final Scheduling.Strategy ON_DEMAND
      Deprecated.
       Deprecated. Regular on-demand provisioning strategy.
       
      ON_DEMAND = 1 [deprecated = true];
    • LOW_COST

      @Deprecated public static final Scheduling.Strategy LOW_COST
      Deprecated.
       Deprecated. Low cost by making potential use of spot resources.
       
      LOW_COST = 2 [deprecated = true];
    • STANDARD

      public static final Scheduling.Strategy STANDARD
       Standard provisioning strategy uses regular on-demand resources.
       
      STANDARD = 3;
    • SPOT

      public static final Scheduling.Strategy SPOT
       Spot provisioning strategy uses spot resources.
       
      SPOT = 4;
    • FLEX_START

      public static final Scheduling.Strategy FLEX_START
       Flex Start strategy uses DWS to queue for resources.
       
      FLEX_START = 6;
    • UNRECOGNIZED

      public static final Scheduling.Strategy UNRECOGNIZED
  • Field Details

    • STRATEGY_UNSPECIFIED_VALUE

      public static final int STRATEGY_UNSPECIFIED_VALUE
       Strategy will default to STANDARD.
       
      STRATEGY_UNSPECIFIED = 0;
      See Also:
    • ON_DEMAND_VALUE

      @Deprecated public static final int ON_DEMAND_VALUE
      Deprecated.
       Deprecated. Regular on-demand provisioning strategy.
       
      ON_DEMAND = 1 [deprecated = true];
      See Also:
    • LOW_COST_VALUE

      @Deprecated public static final int LOW_COST_VALUE
      Deprecated.
       Deprecated. Low cost by making potential use of spot resources.
       
      LOW_COST = 2 [deprecated = true];
      See Also:
    • STANDARD_VALUE

      public static final int STANDARD_VALUE
       Standard provisioning strategy uses regular on-demand resources.
       
      STANDARD = 3;
      See Also:
    • SPOT_VALUE

      public static final int SPOT_VALUE
       Spot provisioning strategy uses spot resources.
       
      SPOT = 4;
      See Also:
    • FLEX_START_VALUE

      public static final int FLEX_START_VALUE
       Flex Start strategy uses DWS to queue for resources.
       
      FLEX_START = 6;
      See Also:
  • Method Details

    • values

      public static Scheduling.Strategy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Scheduling.Strategy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Scheduling.Strategy valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Scheduling.Strategy forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Scheduling.Strategy> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Scheduling.Strategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null