Enum EditMode.Known

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

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

    • EDIT_MODE_DEFAULT

      public static final EditMode.Known EDIT_MODE_DEFAULT
    • EDIT_MODE_INPAINT_REMOVAL

      public static final EditMode.Known EDIT_MODE_INPAINT_REMOVAL
    • EDIT_MODE_INPAINT_INSERTION

      public static final EditMode.Known EDIT_MODE_INPAINT_INSERTION
    • EDIT_MODE_OUTPAINT

      public static final EditMode.Known EDIT_MODE_OUTPAINT
    • EDIT_MODE_CONTROLLED_EDITING

      public static final EditMode.Known EDIT_MODE_CONTROLLED_EDITING
    • EDIT_MODE_STYLE

      public static final EditMode.Known EDIT_MODE_STYLE
    • EDIT_MODE_BGSWAP

      public static final EditMode.Known EDIT_MODE_BGSWAP
    • EDIT_MODE_PRODUCT_IMAGE

      public static final EditMode.Known EDIT_MODE_PRODUCT_IMAGE
    • EDIT_MODE_UNSPECIFIED

      public static final EditMode.Known EDIT_MODE_UNSPECIFIED
  • Method Details

    • values

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