Enum Delivery.Known

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

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

    • DELIVERY_UNSPECIFIED

      public static final Delivery.Known DELIVERY_UNSPECIFIED
      Default value. This value is unused.
    • INLINE

      public static final Delivery.Known INLINE
      Generated bytes are returned inline in the response.
    • URI

      public static final Delivery.Known URI
      Generated content is stored and a URI is returned.
  • Method Details

    • values

      public static Delivery.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 Delivery.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