BidiGenerateContentToolResponse class final
Client generated response to a ToolCall received from the server.
Individual FunctionResponse objects are matched to the respective
FunctionCall objects by the id field.
Note that in the unary and server-streaming GenerateContent APIs function
calling happens by exchanging the Content parts, while in the bidi
GenerateContent APIs function calling happens over these dedicated set of
messages.
- Inheritance
-
- Object
- ProtoMessage
- BidiGenerateContentToolResponse
Constructors
-
BidiGenerateContentToolResponse({List<
FunctionResponse> functionResponses = const []}) - BidiGenerateContentToolResponse.fromJson(Object? j)
-
factory
Properties
-
functionResponses
→ List<
FunctionResponse> -
Optional. The response to the function calls.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String