Uses of Class
com.google.adk.sessions.SessionKey
Packages that use SessionKey
-
Uses of SessionKey in com.google.adk.artifacts
Methods in com.google.adk.artifacts with parameters of type SessionKeyModifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.CompletableBaseArtifactService.deleteArtifact(SessionKey sessionKey, String filename) default io.reactivex.rxjava3.core.Single<ListArtifactsResponse> BaseArtifactService.listArtifactKeys(SessionKey sessionKey) default io.reactivex.rxjava3.core.Single<com.google.common.collect.ImmutableList<Integer>> BaseArtifactService.listVersions(SessionKey sessionKey, String filename) default io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Part> BaseArtifactService.loadArtifact(SessionKey sessionKey, String filename) Loads the latest version of an artifact from the service.default io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Part> BaseArtifactService.loadArtifact(SessionKey sessionKey, String filename, int version) default io.reactivex.rxjava3.core.Single<com.google.genai.types.Part> BaseArtifactService.saveAndReloadArtifact(SessionKey sessionKey, String filename, com.google.genai.types.Part artifact) Saves an artifact and returns it with fileData if available.default io.reactivex.rxjava3.core.Single<Integer> BaseArtifactService.saveArtifact(SessionKey sessionKey, String filename, com.google.genai.types.Part artifact) Saves an artifact. -
Uses of SessionKey in com.google.adk.runner
Methods in com.google.adk.runner with parameters of type SessionKeyModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<Event> Runner.runAsync(SessionKey sessionKey, com.google.genai.types.Content newMessage) io.reactivex.rxjava3.core.Flowable<Event> Runner.runAsync(SessionKey sessionKey, com.google.genai.types.Content newMessage, RunConfig runConfig) io.reactivex.rxjava3.core.Flowable<Event> Runner.runAsync(SessionKey sessionKey, com.google.genai.types.Content newMessage, RunConfig runConfig, Map<String, Object> stateDelta) io.reactivex.rxjava3.core.Flowable<Event> Runner.runLive(SessionKey sessionKey, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Retrieves the session and runs the agent in live mode. -
Uses of SessionKey in com.google.adk.sessions
Methods in com.google.adk.sessions that return SessionKeyModifier and TypeMethodDescriptionstatic SessionKeySession.sessionKey()Returns the session key.Methods in com.google.adk.sessions with parameters of type SessionKeyModifier and TypeMethodDescriptionstatic Session.BuilderSession.builder(SessionKey sessionKey) Creates a newSession.Builderwith the given session key.default io.reactivex.rxjava3.core.Single<Session> BaseSessionService.createSession(SessionKey sessionKey) 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.default io.reactivex.rxjava3.core.Single<Session> BaseSessionService.createSession(SessionKey sessionKey, Map<String, Object> state) Creates a new session with the specified parameters.default io.reactivex.rxjava3.core.CompletableBaseSessionService.deleteSession(SessionKey sessionKey) Deletes a specific session.default io.reactivex.rxjava3.core.Maybe<Session> BaseSessionService.getSession(SessionKey sessionKey, GetSessionConfig config) Retrieves a specific session, optionally filtering the events included.default io.reactivex.rxjava3.core.Single<ListEventsResponse> BaseSessionService.listEvents(SessionKey sessionKey) Lists the events within a specific session.default io.reactivex.rxjava3.core.Single<ListSessionsResponse> BaseSessionService.listSessions(SessionKey sessionKey) Lists sessions associated with a specific application and user.Session.Builder.sessionKey(SessionKey sessionKey) Sets the session key.Constructors in com.google.adk.sessions with parameters of type SessionKeyModifierConstructorDescriptionBuilder(SessionKey sessionKey) Creates a newSession.Builderwith the given session key.