# Uses of Class
com.google.adk.sessions.Session.Builder

Packages that use Session.Builder
Package
Description
com.google.adk.sessions

- ## Uses of Session.Builder in com.google.adk.sessions

  Methods in com.google.adk.sessions that return Session.Builder
  Modifier and Type
  Method
  Description
  `Session.Builder`
  Session.Builder.`appName(String appName)`
  `static Session.Builder`
  Session.`builder(SessionKey sessionKey)`
  Creates a new `Session.Builder` with the given session key.
  `static Session.Builder`
  Session.`builder(String id)`
  `Session.Builder`
  Session.Builder.`events(List<Event> events)`
  `Session.Builder`
  Session.Builder.`id(String id)`
  `Session.Builder`
  Session.Builder.`lastUpdateTime(Instant lastUpdateTime)`
  `Session.Builder`
  Session.Builder.`lastUpdateTimeSeconds(double seconds)`
  `Session.Builder`
  Session.Builder.`sessionKey(SessionKey sessionKey)`
  Sets the session key.
  `Session.Builder`
  Session.Builder.`state(State state)`
  `Session.Builder`
  Session.Builder.`state(Map<String,Object> state)`
  `Session.Builder`
  Session.Builder.`userId(String userId)`