Uses of Interface
com.google.adk.sessions.BaseSessionService
Packages that use BaseSessionService
-
Uses of BaseSessionService in com.google.adk.agents
Methods in com.google.adk.agents that return BaseSessionServiceMethods in com.google.adk.agents with parameters of type BaseSessionServiceModifier and TypeMethodDescriptionstatic InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, BaseAgent agent, Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Deprecated.static InvocationContextInvocationContext.create(BaseSessionService sessionService, BaseArtifactService artifactService, String invocationId, BaseAgent agent, Session session, com.google.genai.types.Content userContent, RunConfig runConfig) Deprecated.Constructors in com.google.adk.agents with parameters of type BaseSessionServiceModifierConstructorDescriptionInvocationContext(BaseSessionService sessionService, BaseArtifactService artifactService, BaseMemoryService memoryService, PluginManager pluginManager, Optional<LiveRequestQueue> liveRequestQueue, Optional<String> branch, String invocationId, BaseAgent agent, Session session, Optional<com.google.genai.types.Content> userContent, RunConfig runConfig, boolean endInvocation) InvocationContext(BaseSessionService sessionService, BaseArtifactService artifactService, BaseMemoryService memoryService, Optional<LiveRequestQueue> liveRequestQueue, Optional<String> branch, String invocationId, BaseAgent agent, Session session, Optional<com.google.genai.types.Content> userContent, RunConfig runConfig, boolean endInvocation) Deprecated.Use theInvocationContext(com.google.adk.sessions.BaseSessionService, com.google.adk.artifacts.BaseArtifactService, com.google.adk.memory.BaseMemoryService, java.util.Optional<com.google.adk.agents.LiveRequestQueue>, java.util.Optional<java.lang.String>, java.lang.String, com.google.adk.agents.BaseAgent, com.google.adk.sessions.Session, java.util.Optional<com.google.genai.types.Content>, com.google.adk.agents.RunConfig, boolean)constructor with PluginManager directly instead -
Uses of BaseSessionService in com.google.adk.runner
Methods in com.google.adk.runner that return BaseSessionServiceConstructors in com.google.adk.runner with parameters of type BaseSessionServiceModifierConstructorDescriptionRunner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService) Deprecated.Use the constructor withBaseMemoryServiceinstead even if with a null if you don't need the memory service.Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService) Creates a newRunner.Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, BaseMemoryService memoryService, List<BasePlugin> plugins) Creates a newRunnerwith a list of plugins. -
Uses of BaseSessionService in com.google.adk.sessions
Classes in com.google.adk.sessions that implement BaseSessionServiceModifier and TypeClassDescriptionfinal classAn in-memory implementation ofBaseSessionServiceassumingSessionobjects are mutable regarding their state map, events list, and last update time.final classConnects to the managed Vertex AI Session Service.
InvocationContext(com.google.adk.sessions.BaseSessionService, com.google.adk.artifacts.BaseArtifactService, com.google.adk.memory.BaseMemoryService, java.util.Optional<com.google.adk.agents.LiveRequestQueue>, java.util.Optional<java.lang.String>, java.lang.String, com.google.adk.agents.BaseAgent, com.google.adk.sessions.Session, java.util.Optional<com.google.genai.types.Content>, com.google.adk.agents.RunConfig, boolean)constructor directly instead