Enum Class GeminiModel

java.lang.Object
java.lang.Enum<GeminiModel>
org.tavall.gemini.enums.GeminiModel
All Implemented Interfaces:
Serializable, Comparable<GeminiModel>, Constable

public enum GeminiModel extends Enum<GeminiModel>
  • Enum Constant Details

    • GEMINI_3_FLASH

      public static final GeminiModel GEMINI_3_FLASH
    • GEMINI_3_PRO

      public static final GeminiModel GEMINI_3_PRO
    • GEMINI_3_PRO_IMAGE_PREVIEW

      public static final GeminiModel GEMINI_3_PRO_IMAGE_PREVIEW
    • GEMINI_2_5_FLASH

      public static final GeminiModel GEMINI_2_5_FLASH
    • GEMINI_2_FLASH_LITE

      public static final GeminiModel GEMINI_2_FLASH_LITE
  • Method Details

    • values

      public static GeminiModel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GeminiModel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<GeminiModel>