Enum ServiceTier.Known

java.lang.Object
java.lang.Enum<ServiceTier.Known>
com.google.genai.types.ServiceTier.Known
All Implemented Interfaces:
Serializable, Comparable<ServiceTier.Known>
Enclosing class:
ServiceTier

public static enum ServiceTier.Known extends Enum<ServiceTier.Known>
Enum representing the known values for ServiceTier.
  • Enum Constant Details

    • UNSPECIFIED

      public static final ServiceTier.Known UNSPECIFIED
      Default service tier, which is standard.
    • FLEX

      public static final ServiceTier.Known FLEX
      Flex service tier.
    • STANDARD

      public static final ServiceTier.Known STANDARD
      Standard service tier.
    • PRIORITY

      public static final ServiceTier.Known PRIORITY
      Priority service tier.
    • SERVICE_TIER_UNSPECIFIED

      public static final ServiceTier.Known SERVICE_TIER_UNSPECIFIED
  • Method Details

    • values

      public static ServiceTier.Known[] 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 ServiceTier.Known 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
    • value

      public String value()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ServiceTier.Known>