Package com.google.genai
package com.google.genai
-
ClassesClassDescriptionInterface for an API client which issues HTTP requests to the GenAI APIs.The API response contains a response to a call to the GenAI APIs.Async module of
BatchesAsync module ofCachesAn async chat session with a generative model.A class for creating async chat sessions.Async module ofDocumentsAsync module ofFilesAsync module ofFileSearchStoresAsyncLive provides asynchronous access to a bidirectional GenAI live session.Async module ofModelsAsync module ofOperationsAsyncPager<T extends JsonSerializable>AsyncPager class for handling paginated results asynchronously.AsyncSession manages sending and receiving messages over a WebSocket connection for a live session.Async module ofAuthTokenAsync module ofTuningsProvides methods for managing the batch jobs.Provides methods for managing the cached content.A chat session with a generative model.A class for creating chat sessions.Client class for GenAI.Builder forClient.Common utility methods for the GenAI SDK.A class that holds the path, body, and http options of an API request.Provides methods for interacting with the available GenAI files.Base client for the HTTP APIs.A class that can be serialized to JSON and deserialized from JSON.[Experimental] Text Only Local Tokenizer.Provides methods for interacting with the available GenAI models.Provides methods for managing the long-running operations.Internal SDK converter functions.Pager<T extends JsonSerializable>Pager class for iterating through paginated results.Base client for the HTTP APIs.Provides a simulated HTTP response from a replay file.ResponseStream<T extends JsonSerializable>An iterable of datatype objects.Provides methods for managing the ephemeral auth tokens.Transformers for GenAI SDK.