Package com.google.genai.types
Enum InteractionStatus.Known
- All Implemented Interfaces:
Serializable,Comparable<InteractionStatus.Known>
- Enclosing class:
- InteractionStatus
Enum representing the known values for InteractionStatus.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe server has completed all processing and background reasoning.The server is still actively processing user input or running background reasoning.Unspecified interaction status.Deprecated: Use IDLE instead. -
Method Summary
Modifier and TypeMethodDescriptionstatic InteractionStatus.KnownReturns the enum constant of this type with the specified name.static InteractionStatus.Known[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INTERACTION_STATUS_UNSPECIFIED
Unspecified interaction status. -
IN_PROGRESS
The server is still actively processing user input or running background reasoning. More model output may follow. -
REQUIRES_ACTION
Deprecated: Use IDLE instead. -
IDLE
The server has completed all processing and background reasoning.
-
-
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
-