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.
  • 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