Package com.google.genai.types
Enum AdapterSize.Known
- All Implemented Interfaces:
Serializable,Comparable<AdapterSize.Known>
- Enclosing class:
- AdapterSize
Enum representing the known values for AdapterSize.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdapter size 8.Adapter size 4.Adapter size 1.Adapter size 16.Adapter size 32.Adapter size 2.Adapter size is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdapterSize.KnownReturns the enum constant of this type with the specified name.static AdapterSize.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADAPTER_SIZE_UNSPECIFIED
Adapter size is unspecified. -
ADAPTER_SIZE_ONE
Adapter size 1. -
ADAPTER_SIZE_TWO
Adapter size 2. -
ADAPTER_SIZE_FOUR
Adapter size 4. -
ADAPTER_SIZE_EIGHT
Adapter size 8. -
ADAPTER_SIZE_SIXTEEN
Adapter size 16. -
ADAPTER_SIZE_THIRTY_TWO
Adapter size 32.
-
-
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
-