Enum TurnCompleteReason.Known

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

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

    • TURN_COMPLETE_REASON_UNSPECIFIED

      public static final TurnCompleteReason.Known TURN_COMPLETE_REASON_UNSPECIFIED
      Default value. Reason is unspecified.
    • MALFORMED_FUNCTION_CALL

      public static final TurnCompleteReason.Known MALFORMED_FUNCTION_CALL
      The function call generated by the model is invalid.
    • RESPONSE_REJECTED

      public static final TurnCompleteReason.Known RESPONSE_REJECTED
      The response is rejected by the model.
    • NEED_MORE_INPUT

      public static final TurnCompleteReason.Known NEED_MORE_INPUT
      Needs more input from the user.
    • PROHIBITED_INPUT_CONTENT

      public static final TurnCompleteReason.Known PROHIBITED_INPUT_CONTENT
      Input content is prohibited.
    • IMAGE_PROHIBITED_INPUT_CONTENT

      public static final TurnCompleteReason.Known IMAGE_PROHIBITED_INPUT_CONTENT
      Input image contains prohibited content.
    • INPUT_TEXT_CONTAIN_PROMINENT_PERSON_PROHIBITED

      public static final TurnCompleteReason.Known INPUT_TEXT_CONTAIN_PROMINENT_PERSON_PROHIBITED
      Input text contains prominent person reference.
    • INPUT_IMAGE_CELEBRITY

      public static final TurnCompleteReason.Known INPUT_IMAGE_CELEBRITY
      Input image contains celebrity.
    • INPUT_IMAGE_PHOTO_REALISTIC_CHILD_PROHIBITED

      public static final TurnCompleteReason.Known INPUT_IMAGE_PHOTO_REALISTIC_CHILD_PROHIBITED
      Input image contains photo realistic child.
    • INPUT_TEXT_NCII_PROHIBITED

      public static final TurnCompleteReason.Known INPUT_TEXT_NCII_PROHIBITED
      Input text contains NCII content.
    • INPUT_OTHER

      public static final TurnCompleteReason.Known INPUT_OTHER
      Other input safety issue.
    • INPUT_IP_PROHIBITED

      public static final TurnCompleteReason.Known INPUT_IP_PROHIBITED
      Input contains IP violation.
    • BLOCKLIST

      public static final TurnCompleteReason.Known BLOCKLIST
      Input matched blocklist.
    • UNSAFE_PROMPT_FOR_IMAGE_GENERATION

      public static final TurnCompleteReason.Known UNSAFE_PROMPT_FOR_IMAGE_GENERATION
      Input is unsafe for image generation.
    • GENERATED_IMAGE_SAFETY

      public static final TurnCompleteReason.Known GENERATED_IMAGE_SAFETY
      Generated image failed safety check.
    • GENERATED_CONTENT_SAFETY

      public static final TurnCompleteReason.Known GENERATED_CONTENT_SAFETY
      Generated content failed safety check.
    • GENERATED_AUDIO_SAFETY

      public static final TurnCompleteReason.Known GENERATED_AUDIO_SAFETY
      Generated audio failed safety check.
    • GENERATED_VIDEO_SAFETY

      public static final TurnCompleteReason.Known GENERATED_VIDEO_SAFETY
      Generated video failed safety check.
    • GENERATED_CONTENT_PROHIBITED

      public static final TurnCompleteReason.Known GENERATED_CONTENT_PROHIBITED
      Generated content is prohibited.
    • GENERATED_CONTENT_BLOCKLIST

      public static final TurnCompleteReason.Known GENERATED_CONTENT_BLOCKLIST
      Generated content matched blocklist.
    • GENERATED_IMAGE_PROHIBITED

      public static final TurnCompleteReason.Known GENERATED_IMAGE_PROHIBITED
      Generated image is prohibited.
    • GENERATED_IMAGE_CELEBRITY

      public static final TurnCompleteReason.Known GENERATED_IMAGE_CELEBRITY
      Generated image contains celebrity.
    • GENERATED_IMAGE_PROMINENT_PEOPLE_DETECTED_BY_REWRITER

      public static final TurnCompleteReason.Known GENERATED_IMAGE_PROMINENT_PEOPLE_DETECTED_BY_REWRITER
      Generated image contains prominent people detected by rewriter.
    • GENERATED_IMAGE_IDENTIFIABLE_PEOPLE

      public static final TurnCompleteReason.Known GENERATED_IMAGE_IDENTIFIABLE_PEOPLE
      Generated image contains identifiable people.
    • GENERATED_IMAGE_MINORS

      public static final TurnCompleteReason.Known GENERATED_IMAGE_MINORS
      Generated image contains minors.
    • OUTPUT_IMAGE_IP_PROHIBITED

      public static final TurnCompleteReason.Known OUTPUT_IMAGE_IP_PROHIBITED
      Generated image contains IP violation.
    • GENERATED_OTHER

      public static final TurnCompleteReason.Known GENERATED_OTHER
      Other generated content issue.
    • MAX_REGENERATION_REACHED

      public static final TurnCompleteReason.Known MAX_REGENERATION_REACHED
      Max regeneration attempts reached.
  • Method Details

    • values

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