Uses of Class
com.google.adk.sessions.Session
Packages that use Session
-
Uses of Session in com.google.adk.agents
Methods in com.google.adk.agents that return SessionMethods in com.google.adk.agents with parameters of type SessionModifier and TypeMethodDescriptionstatic InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, BaseAgent agent, Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) static InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, String invocationId, BaseAgent agent, Session session, com.google.genai.types.Content userContent, RunConfig runConfig) -
Uses of Session in com.google.adk.runner
Methods in com.google.adk.runner with parameters of type Session -
Uses of Session in com.google.adk.sessions
Methods in com.google.adk.sessions that return SessionMethods in com.google.adk.sessions that return types with arguments of type SessionModifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single<Session> BaseSessionService.createSession(String appName, String userId) Creates a new session with the specified application name and user ID, using a default state (null) and allowing the service to generate a unique session ID.io.reactivex.rxjava3.core.Single<Session> BaseSessionService.createSession(String appName, String userId, ConcurrentMap<String, Object> state, String sessionId) Creates a new session with the specified parameters.io.reactivex.rxjava3.core.Single<Session> InMemorySessionService.createSession(String appName, String userId, @Nullable ConcurrentMap<String, Object> state, @Nullable String sessionId) io.reactivex.rxjava3.core.Single<Session> VertexAiSessionService.createSession(String appName, String userId, ConcurrentMap<String, Object> state, String sessionId) io.reactivex.rxjava3.core.Maybe<Session> BaseSessionService.getSession(String appName, String userId, String sessionId, Optional<GetSessionConfig> config) Retrieves a specific session, optionally filtering the events included.io.reactivex.rxjava3.core.Maybe<Session> InMemorySessionService.getSession(String appName, String userId, String sessionId, Optional<GetSessionConfig> configOpt) io.reactivex.rxjava3.core.Maybe<Session> VertexAiSessionService.getSession(String appName, String userId, String sessionId, Optional<GetSessionConfig> config) abstract com.google.common.collect.ImmutableList<Session> ListSessionsResponse.sessions()Methods in com.google.adk.sessions with parameters of type SessionModifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single<Event> BaseSessionService.appendEvent(Session session, Event event) Appends an event to an in-memory session object and updates the session's state based on the event's state delta, if applicable.io.reactivex.rxjava3.core.Single<Event> InMemorySessionService.appendEvent(Session session, Event event) io.reactivex.rxjava3.core.Single<Event> VertexAiSessionService.appendEvent(Session session, Event event) default io.reactivex.rxjava3.core.CompletableBaseSessionService.closeSession(Session session) Closes a session.Method parameters in com.google.adk.sessions with type arguments of type Session