Package com.google.genai.types
Enum AdapterSize.Known
-
- All Implemented Interfaces:
public enum AdapterSize.KnownEnum representing the known values for AdapterSize.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTER_SIZE_UNSPECIFIEDAdapter size is unspecified.
ADAPTER_SIZE_ONEAdapter size 1.
ADAPTER_SIZE_TWOAdapter size 2.
ADAPTER_SIZE_FOURAdapter size 4.
ADAPTER_SIZE_EIGHTAdapter size 8.
ADAPTER_SIZE_SIXTEENAdapter size 16.
ADAPTER_SIZE_THIRTY_TWOAdapter size 32.
-
Method Summary
Modifier and Type Method Description static Array<AdapterSize.Known>values()Returns an array containing the constants of this enum type, in the order they're declared. static AdapterSize.KnownvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<AdapterSize.Known> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static AdapterSize.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.)
- Returns:
the enum constant with the specified name
-
-
-
-