Package com.google.genai.types
Enum ServiceTier.Known
- All Implemented Interfaces:
Serializable,Comparable<ServiceTier.Known>
- Enclosing class:
- ServiceTier
Enum representing the known values for ServiceTier.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFlex service tier.Priority service tier.Standard service tier.Default service tier, which is standard. -
Method Summary
Modifier and TypeMethodDescriptiontoString()value()static ServiceTier.KnownReturns the enum constant of this type with the specified name.static ServiceTier.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Default service tier, which is standard. -
FLEX
Flex service tier. -
STANDARD
Standard service tier. -
PRIORITY
Priority service tier. -
SERVICE_TIER_UNSPECIFIED
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
-
toString
- Overrides:
toStringin classEnum<ServiceTier.Known>
-