Package com.google.genai.types
Enum FunctionResponseScheduling.Known
java.lang.Object
java.lang.Enum<FunctionResponseScheduling.Known>
com.google.genai.types.FunctionResponseScheduling.Known
- All Implemented Interfaces:
Serializable
,Comparable<FunctionResponseScheduling.Known>
- Enclosing class:
- FunctionResponseScheduling
Enum representing the known values for FunctionResponseScheduling.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdd the result to the conversation context, interrupt ongoing generation and prompt to generate output.This value is unused.Only add the result to the conversation context, do not interrupt or trigger generation.Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static FunctionResponseScheduling.Known[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SCHEDULING_UNSPECIFIED
This value is unused. -
SILENT
Only add the result to the conversation context, do not interrupt or trigger generation. -
WHEN_IDLE
Add the result to the conversation context, and prompt to generate output without interrupting ongoing generation. -
INTERRUPT
Add the result to the conversation context, interrupt ongoing generation and prompt to generate output. -
FUNCTION_RESPONSE_SCHEDULING_UNSPECIFIED
-
-
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
-