Uses of Class
com.google.genai.JsonSerializable
Packages that use JsonSerializable
-
Uses of JsonSerializable in com.google.genai
Classes in com.google.genai with type parameters of type JsonSerializableModifier and TypeClassDescriptionclass
AsyncPager<T extends JsonSerializable>
AsyncPager class for handling paginated results asynchronously.class
Pager<T extends JsonSerializable>
Pager class for iterating through paginated results.class
ResponseStream<T extends JsonSerializable>
An iterable of datatype objects. -
Uses of JsonSerializable in com.google.genai.types
Subclasses of JsonSerializable in com.google.genai.typesModifier and TypeClassDescriptionclass
Marks the end of user activity.class
Marks the start of user activity.class
The generic reusable api auth config.class
The API secret.class
Config for authentication with API key.class
The audio transcription configuration in Setup.class
Auth configuration to run the extension.class
Config for Google Service Account Authentication.class
Config for HTTP Basic Authentication.class
Config for user oauth.class
Config for user OIDC auth.class
Configures automatic detection of activity.class
The configuration for automatic function calling.class
Config for batches.create return value.class
Config for `des` parameter.class
Config for `src` parameter.class
Content blob.class
A resource used in LLM queries for users to explicitly specify what to cache.class
Metadata on the usage of the cached content.class
Optional parameters.class
Config for batches.cancel parameters.class
Optional parameters for tunings.cancel method.class
Parameters for the cancel method.class
A response candidate generated from the model.class
Describes the machine learning model version checkpoint.class
Source attributions for content.class
Citation information when the model quotes another source.class
Client options to be used in the client instantiation.class
Result of executing the [ExecutableCode].class
Optional parameters for computing tokens.class
Parameters for computing tokens.class
Response for computing tokens.class
Local tokenizer compute tokens result.class
Contains the multi-part content of a message.class
The embedding generated from an input content.class
Statistics of the input text associated with the result of content embedding.class
A content reference image.class
Enables context window compression -- mechanism managing model context window so it does not exceed given length.class
Configuration for a Control reference image.class
A control reference image.class
Config for the count_tokens method.class
Parameters for counting tokens.class
Response for counting tokens.class
Local tokenizer count tokens result.class
Config for optional parameters.class
Config for batches.create parameters.class
Optional configuration for cached content creation.class
Parameters for caches.create method.class
Used to override the default configuration.class
Generates the parameters for the private _create method.class
Response for the create file method.class
Supervised fine-tuning job creation request - optional fields.class
Supervised fine-tuning job creation parameters - optional fields.class
Supervised fine-tuning job creation parameters - optional fields.class
Distribution computed over a tuning dataset.class
Dataset bucket used to create a histogram for the distribution given a population of values.class
Statistics computed over a tuning dataset.class
Optional parameters for models.get method.class
Config for batches.delete parameters.class
Optional parameters for caches.delete method.class
Parameters for caches.delete method.class
Empty response for caches.delete method.class
Used to override the default configuration.class
Generates the parameters for the get method.class
Response for the delete file method.class
Configuration for deleting a tuned model.class
Parameters for deleting a tuned model.class
Noneclass
The return value of delete operation.class
Statistics computed for datasets used for distillation.class
Used to override the default configuration.class
Describes the options to customize dynamic retrieval.class
Configuration for editing an image.class
Parameters for the request to edit an image.class
Response for the request to edit an image.class
Parameters for the embed_content method.class
Optional parameters for the embed_content method.class
Request-level metadata for the Vertex Embed Content API.class
Parameters for the embed_content method.class
Response for the embed_content method.class
Represents a customer-managed encryption key spec that can be applied to a top-level resource.class
An endpoint where you deploy models.class
Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.class
An entity representing the segmented area.class
Code generated by the model that is meant to be executed, and the result returned to the model.class
Retrieve from data source powered by external API for grounding.class
The search parameters to use for the ELASTIC_SEARCH spec.class
The search parameters to use for SIMPLE_SEARCH spec.class
Noneclass
Parameters for the fetchPredictOperation method.class
A file uploaded to the API.class
URI based data.class
Status of a File that uses a common error model.class
A function call.class
Function calling config.class
Defines a function that the model can generate JSON inputs for.class
A function response.class
Raw media bytes for function response.class
URI based data for function response.class
A datatype containing media that is part of a `FunctionResponse` message.class
Input example for preference optimization.class
Completion and its preference score.class
Optional model configuration parameters.class
Config for models.generate_content parameters.class
Response message for PredictionService.GenerateContent.class
Content filter results for a prompt sent in the request.class
Usage metadata about response(s).class
An output image.class
A generated image mask.class
A generated video.class
The config for generating an images.class
The parameters for generating images.class
The output images response.class
Configuration for generating videos.class
A video generation operation.class
Class that represents the parameters for generating videos.class
Response with generated videos.class
A set of source input(s) for video generation.class
Generation config.class
The configuration for routing the request to a specific model.class
When automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.class
When manual routing is set, the specified model will be used directly.class
Config for thinking features.class
Optional parameters.class
Config for batches.get parameters.class
Optional parameters for caches.get method.class
Parameters for caches.get method.class
Used to override the default configuration.class
Generates the parameters for the get method.class
Optional parameters for models.get method.class
Noneclass
Noneclass
Parameters for the GET method.class
Optional parameters for tunings.get method.class
Parameters for the get method.class
Tool to support Google Maps in Model.class
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.class
Tool to support Google Search in Model.class
Tool to retrieve public web data for grounding, powered by Google.class
Represents a whole or partial calendar date, such as a birthday.class
Grounding chunk.class
Chunk from Google Maps.class
Sources used to generate the place answer.class
Author attribution for a photo or review.class
Encapsulates a review snippet.class
Chunk from context retrieved by the retrieval tools.class
Chunk from the web.class
Metadata returned to client when grounding is enabled.class
Grounding support.class
HTTP options to be used in each of the requests.class
A wrapper class for the http response.class
An image.class
Config for `inlined_embedding_responses` parameter.class
Config for inlined request.class
Config for `inlined_responses` parameter.class
Represents a time interval, encoded as a start time (inclusive) and an end time (exclusive).class
Job error.class
An object that represents a latitude/longitude pair.class
Config for optional parameters.class
Config for batches.list parameters.class
Config for batches.list return value.class
Config for caches.list method.class
Parameters for caches.list method.class
Noneclass
Used to override the default configuration.class
Generates the parameters for the list method.class
Response for the list files method.class
Noneclass
Noneclass
Noneclass
Configuration for the list tuning jobs method.class
Parameters for the list tuning jobs method.class
Response for the list tuning jobs method.class
Incremental update of the current conversation delivered from the client.class
Messages sent by the client in the API call.class
User input that is sent in real time.class
Message contains configuration that will apply for the duration of the streaming session.class
Client generated response to a `ToolCall` received from the server.class
Session config for the API connection.class
Parameters for connecting to the live API.class
Parameters for sending client content to the live API.class
Parameters for sending realtime input to the live API.class
Parameters for sending tool responses to the live API.class
Incremental server update generated by the model in response to client messages.class
Server will not be able to service client soon.class
Response message for API call.class
Update of the session resumption state.class
Sent in response to a `LiveGenerateContentSetup` message from the client.class
Request for the client to execute the `function_calls` and return the responses with the matching `id`s.class
Notification for the client that a previously issued `ToolCallMessage` with the specified `id`s should have been not executed and should be cancelled.class
Logprobs Resultclass
Candidate for the logprobs token and score.class
Candidates with top log probabilities at each decoding step.class
Configuration for a Mask reference image.class
A mask reference image.class
Represents token counting info for a single modality.class
A trained machine learning model.class
Config for model selection.class
The configuration for the multi-speaker setup.class
A datatype containing media content.class
Tuning spec for Partner models.class
The configuration for the prebuilt speaker to use.class
Statistics computed for datasets used for preference optimization.class
A pre-tuned model for continuous tuning.class
Config for proactivity features.class
An image of the product.class
A RagChunk includes the content of a chunk of a RagFile, and associated metadata.class
Represents where the chunk starts and ends in the document.class
Specifies the context retrieval config.class
Config for filters.class
Config for Hybrid Search.class
Config for ranking and reranking.class
Config for LlmRanker.class
Config for Rank Service.class
A raw reference image.class
Marks the end of user activity.class
Configuration for recontextualizing an image.class
The parameters for recontextualizing an image.class
The output images response.class
A set of source input(s) for image recontextualization.class
Private class that represents a Reference image that is sent to API.class
Represents a recorded session.class
Represents a single interaction, request and response in a replay.class
Represents a single request in a replay.class
Represents a single response in a replay.class
Defines a retrieval tool that model can call to access external knowledge.class
Retrieval config.class
Metadata related to retrieval in the grounding flow.class
Safety attributes of a GeneratedImage or the user-provided prompt.class
Safety rating corresponding to the generated content.class
Safety settings.class
Schema is used to define the format of input/output data.class
An image mask representing a brush scribble.class
Google search entry point.class
Segment of the content.class
Configuration for segmenting an image.class
The parameters for segmenting an image.class
The output images response.class
A set of source input(s) for image segmentation.class
Configuration of session resumption mechanism.class
Config for `response` parameter.class
Context window will be truncated by keeping only suffix of it.class
The configuration for the speaker to use.class
The speech generation configuration.class
Configuration for a Style reference image.class
A style reference image.class
Configuration for a Subject reference image.class
A subject reference image.class
Hyperparameters for SFT.class
Dataset distribution for Supervised Tuning.class
Dataset bucket used to create a histogram for the distribution given a population of values.class
Tuning data statistics for Supervised Tuning.class
Tuning Spec for Supervised Tuning for first party models.class
Noneclass
Noneclass
The thinking features configuration.class
Tokens info with a list of tokens and the corresponding list of token ids.class
Tool details of a tool that the model may use to generate a response.class
Tool that executes code generated by the model, and automatically returns the result to the model.class
Tool to support computer use.class
Tool config.class
Audio transcription in Server Conent.class
Noneclass
TunedModelCheckpoint for the Tuned Model of a Tuning Job.class
A tuned machine learning model.class
Supervised fine-tuning training dataset.class
The tuning data statistic values for TuningJob.class
Noneclass
A tuning job.class
A long-running operation.class
Noneclass
Optional parameters for caches.update method.class
Noneclass
Configuration for updating a tuned model.class
Configuration for updating a tuned model.class
Used to override the default configuration.class
Internal API config for UpscaleImage.class
API parameters for UpscaleImage.class
Configuration for upscaling an image.class
User-facing config UpscaleImageParameters.class
Noneclass
Tool to support URL context retrieval.class
Metadata related to url context retrieval tool.class
Context for a single url retrieval.class
Usage metadata about response(s).class
Retrieve from Vertex AI Search datastore or engine for grounding.class
Define data stores within engine to filter on in a search call and configurations for those data stores.class
Retrieve from Vertex RAG Store for grounding.class
The definition of the Rag resource.class
A generated video.class
A mask for video generation.class
A reference image for video generation.class
Describes how the video in the Part should be used by the model.class
The configuration for the voice to use.