Enum ProminentPeople.Known

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

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

    • PROMINENT_PEOPLE_UNSPECIFIED

      public static final ProminentPeople.Known PROMINENT_PEOPLE_UNSPECIFIED
      Unspecified value. The model will proceed with the default behavior, which is to allow generation of prominent people.
    • ALLOW_PROMINENT_PEOPLE

      public static final ProminentPeople.Known ALLOW_PROMINENT_PEOPLE
      Allows the model to generate images of prominent people.
    • BLOCK_PROMINENT_PEOPLE

      public static final ProminentPeople.Known BLOCK_PROMINENT_PEOPLE
      Prevents the model from generating images of prominent people.
  • Method Details

    • values

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