Enum AdapterSize.Known

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

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

    • ADAPTER_SIZE_UNSPECIFIED

      public static final AdapterSize.Known ADAPTER_SIZE_UNSPECIFIED
      Adapter size is unspecified.
    • ADAPTER_SIZE_ONE

      public static final AdapterSize.Known ADAPTER_SIZE_ONE
      Adapter size 1.
    • ADAPTER_SIZE_TWO

      public static final AdapterSize.Known ADAPTER_SIZE_TWO
      Adapter size 2.
    • ADAPTER_SIZE_FOUR

      public static final AdapterSize.Known ADAPTER_SIZE_FOUR
      Adapter size 4.
    • ADAPTER_SIZE_EIGHT

      public static final AdapterSize.Known ADAPTER_SIZE_EIGHT
      Adapter size 8.
    • ADAPTER_SIZE_SIXTEEN

      public static final AdapterSize.Known ADAPTER_SIZE_SIXTEEN
      Adapter size 16.
    • ADAPTER_SIZE_THIRTY_TWO

      public static final AdapterSize.Known ADAPTER_SIZE_THIRTY_TWO
      Adapter size 32.
  • Method Details

    • values

      public static AdapterSize.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 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.)
      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