Package com.google.adk.sessions
package com.google.adk.sessions
-
ClassDescriptionThe API response contains a response to a call to the GenAI APIs.FirestoreSessionService implements session management using Google Firestore as the backend storage.Configuration for getting a session.Builder for
GetSessionConfig.Base client for the HTTP APIs.Wraps a real HTTP response to expose the methods needed by the GenAI SDK.An in-memory implementation ofBaseSessionServiceassumingSessionobjects are mutable regarding their state map, events list, and last update time.WhatcreateSessiondoes whensessionIdis already in use.Response for listing events.Builder forListEventsResponse.Response for listing sessions.Builder forListSessionsResponse.Builder forSession.Represents a general error that occurred during session management operations.Key for a session, composed of appName, userId and session id.Indicates that a requested session could not be found.Utility functions for session service.Session state that also records each write made throughState.put(String, Object),State.remove(Object)and the other write methods in a delta.Thrown when a workflow's state schema rejects a state write: the schema does not declare the key, or the value does not match the key's schema.Signals a non-2xx, non-404 HTTP status from the Vertex AI Session API.Connects to the managed Vertex AI Session Service.