BidiGenerateContentServerMessage class final
Response message for the BidiGenerateContent call.
- Inheritance
-
- Object
- ProtoMessage
- BidiGenerateContentServerMessage
Constructors
- BidiGenerateContentServerMessage({BidiGenerateContentSetupComplete? setupComplete, BidiGenerateContentServerContent? serverContent, BidiGenerateContentToolCall? toolCall, BidiGenerateContentToolCallCancellation? toolCallCancellation, GoAway? goAway, SessionResumptionUpdate? sessionResumptionUpdate, UsageMetadata? usageMetadata})
-
BidiGenerateContentServerMessage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- goAway → GoAway?
-
Output only. A notice that the server will soon disconnect.
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
- serverContent → BidiGenerateContentServerContent?
-
Output only. Content generated by the model in response to client
messages.
final
- sessionResumptionUpdate → SessionResumptionUpdate?
-
Output only. Update of the session resumption state.
final
- setupComplete → BidiGenerateContentSetupComplete?
-
Output only. Sent in response to a
BidiGenerateContentSetupmessage from the client when setup is complete.final - toolCall → BidiGenerateContentToolCall?
-
Output only. Request for the client to execute the
function_callsand return the responses with the matchingids.final - toolCallCancellation → BidiGenerateContentToolCallCancellation?
-
Output only. Notification for the client that a previously issued
ToolCallMessagewith the specifiedids should be cancelled.final - usageMetadata → UsageMetadata?
-
Output only. Usage metadata about the response(s).
final
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