Package com.google.genai.types
Class SessionResumptionConfig.Builder
java.lang.Object
com.google.genai.types.SessionResumptionConfig.Builder
- Enclosing class:
- SessionResumptionConfig
Builder for SessionResumptionConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SessionResumptionConfig
build()
abstract SessionResumptionConfig.Builder
Setter for handle.abstract SessionResumptionConfig.Builder
transparent
(boolean transparent) Setter for transparent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
handle
Setter for handle.handle: Session resumption handle of previous session (session to restore).
If not present new session will be started.
-
transparent
Setter for transparent.transparent: If set the server will send `last_consumed_client_message_index` in the `session_resumption_update` messages to allow for transparent reconnections.
-
build
-