Package com.google.genai.types
Enum TurnCompleteReason.Known
- All Implemented Interfaces:
Serializable
,Comparable<TurnCompleteReason.Known>
- Enclosing class:
- TurnCompleteReason
Enum representing the known values for TurnCompleteReason.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe function call generated by the model is invalid.Needs more input from the user.The response is rejected by the model.Default value. -
Method Summary
Modifier and TypeMethodDescriptionstatic TurnCompleteReason.Known
Returns the enum constant of this type with the specified name.static TurnCompleteReason.Known[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TURN_COMPLETE_REASON_UNSPECIFIED
Default value. Reason is unspecified. -
MALFORMED_FUNCTION_CALL
The function call generated by the model is invalid. -
RESPONSE_REJECTED
The response is rejected by the model. -
NEED_MORE_INPUT
Needs more input from the user.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-