# Class GetSessionConfig

java.lang.Object
com.google.adk.sessions.GetSessionConfig

public abstract class GetSessionConfig extends Object
Configuration for getting a session.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `GetSessionConfig.Builder`
  Builder for `GetSessionConfig`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GetSessionConfig()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Optional<Instant>`
  `afterTimestamp()`
  `static GetSessionConfig.Builder`
  `builder()`
  `abstract Optional<Integer>`
  `numRecentEvents()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GetSessionConfig

    public GetSessionConfig()

- ## Method Details

  - ### numRecentEvents

    public abstract Optional<Integer> numRecentEvents()

  - ### afterTimestamp

    public abstract Optional<Instant> afterTimestamp()

  - ### builder

    public static GetSessionConfig.Builder builder()