Class Session
java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.sessions.Session
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionappName()static Session.Builderbuilder(SessionKey sessionKey) Creates a newSession.Builderwith the given session key.static Session.Builderevents()static Sessiondoubleid()voidlastUpdateTime(Instant lastUpdateTime) Returns the session key.state()toString()userId()Methods inherited from class JsonBaseModel
fromJsonNode, fromJsonString, getMapper, toJson, toJsonNode, toJsonString
-
Method Details
-
builder
-
builder
Creates a newSession.Builderwith the given session key. -
sessionKey
Returns the session key. -
id
-
state
-
events
-
appName
-
userId
-
lastUpdateTime
-
lastUpdateTime
-
getLastUpdateTimeAsDouble
public double getLastUpdateTimeAsDouble() -
toString
-
fromJson
-