Class Session.Builder
java.lang.Object
com.google.adk.sessions.Session.Builder
- Enclosing class:
Session
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(SessionKey sessionKey) Creates a newSession.Builderwith the given session key. -
Method Summary
Modifier and TypeMethodDescriptionbuild()lastUpdateTime(Instant lastUpdateTime) lastUpdateTimeSeconds(double seconds) sessionKey(SessionKey sessionKey) Sets the session key.state(ConcurrentMap<String, Object> state)
-
Constructor Details
-
Builder
-
Builder
Creates a newSession.Builderwith the given session key.
-
-
Method Details
-
id
-
sessionKey
Sets the session key. -
state
-
state
-
appName
-
userId
-
events
-
lastUpdateTime
-
lastUpdateTimeSeconds
-
build
-