Package com.google.genai.types
Class FunctionCall.Builder
java.lang.Object
com.google.genai.types.FunctionCall.Builder
- Enclosing class:
- FunctionCall
Builder for FunctionCall.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FunctionCall.Builder
Setter for args.abstract FunctionCall
build()
abstract FunctionCall.Builder
Setter for id.abstract FunctionCall.Builder
Setter for name.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Setter for id.id: The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`.
-
args
Setter for args.args: Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.
-
name
Setter for name.name: Required. The name of the function to call. Matches [FunctionDeclaration.name].
-
build
-