SessionResumptionConfig class final
Session resumption configuration.
This message is included in the session configuration as
BidiGenerateContentSetup.session_resumption. If configured, the server
will send SessionResumptionUpdate messages.
- Inheritance
-
- Object
- ProtoMessage
- SessionResumptionConfig
Constructors
- SessionResumptionConfig({String? handle})
- SessionResumptionConfig.fromJson(Object? j)
-
factory
Properties
- handle → String?
-
The handle of a previous session. If not present then a new session is
created.
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