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 TypeClassDescriptionclassAsyncPager<T extends JsonSerializable>AsyncPager class for handling paginated results asynchronously.classPager<T extends JsonSerializable>Pager class for iterating through paginated results.classResponseStream<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 TypeClassDescriptionclassMarks the end of user activity.classMarks the start of user activity.classThe generic reusable api auth config.classThe API secret.classConfig for authentication with API key.classThe audio transcription configuration in Setup.classAuth configuration to run the extension.classConfig for Google Service Account Authentication.classConfig for HTTP Basic Authentication.classConfig for user oauth.classConfig for user OIDC auth.classConfigures automatic detection of activity.classThe configuration for automatic function calling.classConfig for batches.create return value.classConfig for `des` parameter.classConfig for `src` parameter.classContent blob.classA resource used in LLM queries for users to explicitly specify what to cache.classMetadata on the usage of the cached content.classOptional parameters.classConfig for batches.cancel parameters.classOptional parameters for tunings.cancel method.classParameters for the cancel method.classA response candidate generated from the model.classDescribes the machine learning model version checkpoint.classSource attributions for content.classCitation information when the model quotes another source.classClient options to be used in the client instantiation.classResult of executing the [ExecutableCode].classTool to support computer use.classOptional parameters for computing tokens.classParameters for computing tokens.classResponse for computing tokens.classLocal tokenizer compute tokens result.classContains the multi-part content of a message.classThe embedding generated from an input content.classStatistics of the input text associated with the result of content embedding.classA content reference image.classEnables context window compression -- mechanism managing model context window so it does not exceed given length.classConfiguration for a Control reference image.classA control reference image.classConfig for the count_tokens method.classParameters for counting tokens.classResponse for counting tokens.classLocal tokenizer count tokens result.classConfig for optional parameters.classConfig for batches.create parameters.classOptional configuration for cached content creation.classParameters for caches.create method.classConfig for optional parameters.classConfig for batches.create parameters.classUsed to override the default configuration.classGenerates the parameters for the private _create method.classResponse for the create file method.classSupervised fine-tuning job creation request - optional fields.classSupervised fine-tuning job creation parameters - optional fields.classSupervised fine-tuning job creation parameters - optional fields.classDistribution computed over a tuning dataset.classDataset bucket used to create a histogram for the distribution given a population of values.classStatistics computed over a tuning dataset.classOptional parameters for models.get method.classConfig for batches.delete parameters.classOptional parameters for caches.delete method.classParameters for caches.delete method.classEmpty response for caches.delete method.classUsed to override the default configuration.classGenerates the parameters for the get method.classResponse for the delete file method.classConfiguration for deleting a tuned model.classParameters for deleting a tuned model.classNoneclassThe return value of delete operation.classStatistics computed for datasets used for distillation.classUsed to override the default configuration.classDescribes the options to customize dynamic retrieval.classConfiguration for editing an image.classParameters for the request to edit an image.classResponse for the request to edit an image.classParameters for the embed_content method.classOptional parameters for the embed_content method.classRequest-level metadata for the Vertex Embed Content API.classParameters for the embed_content method.classResponse for the embed_content method.classNoneclassRepresents a customer-managed encryption key spec that can be applied to a top-level resource.classAn endpoint where you deploy models.classTool to search public web data, powered by Vertex AI Search and Sec4 compliance.classAn entity representing the segmented area.classCode generated by the model that is meant to be executed, and the result returned to the model.classRetrieve from data source powered by external API for grounding.classThe search parameters to use for the ELASTIC_SEARCH spec.classThe search parameters to use for SIMPLE_SEARCH spec.classNoneclassParameters for the fetchPredictOperation method.classA file uploaded to the API.classURI based data.classStatus of a File that uses a common error model.classA function call.classFunction calling config.classDefines a function that the model can generate JSON inputs for.classA function response.classRaw media bytes for function response.classURI based data for function response.classA datatype containing media that is part of a `FunctionResponse` message.classInput example for preference optimization.classCompletion and its preference score.classOptional model configuration parameters.classConfig for models.generate_content parameters.classResponse message for PredictionService.GenerateContent.classContent filter results for a prompt sent in the request.classUsage metadata about response(s).classAn output image.classA generated image mask.classA generated video.classThe config for generating an images.classThe parameters for generating images.classThe output images response.classConfiguration for generating videos.classA video generation operation.classClass that represents the parameters for generating videos.classResponse with generated videos.classA set of source input(s) for video generation.classGeneration config.classThe configuration for routing the request to a specific model.classWhen automated routing is specified, the routing will be determined by the pretrained routing model and customer provided model routing preference.classWhen manual routing is set, the specified model will be used directly.classOptional parameters.classConfig for batches.get parameters.classOptional parameters for caches.get method.classParameters for caches.get method.classUsed to override the default configuration.classGenerates the parameters for the get method.classOptional parameters for models.get method.classNoneclassNoneclassParameters for the GET method.classOptional parameters for tunings.get method.classParameters for the get method.classTool to support Google Maps in Model.classThe `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.classGoogleSearch tool type.classTool to retrieve public web data for grounding, powered by Google.classRepresents a whole or partial calendar date, such as a birthday.classGrounding chunk.classChunk from Google Maps.classSources used to generate the place answer.classAuthor attribution for a photo or review.classEncapsulates a review snippet.classChunk from context retrieved by the retrieval tools.classChunk from the web.classMetadata returned to client when grounding is enabled.classSource content flagging uri for a place or review.classGrounding support.classHTTP options to be used in each of the requests.classA wrapper class for the http response.classHTTP retry options to be used in each of the requests.classAn image.classThe image generation configuration to be used in GenerateContentConfig.classConfig for `inlined_embedding_responses` parameter.classConfig for inlined request.classConfig for `inlined_responses` parameter.classRepresents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).classJob error.classAn object that represents a latitude/longitude pair.classConfig for optional parameters.classConfig for batches.list parameters.classConfig for batches.list return value.classConfig for caches.list method.classParameters for caches.list method.classNoneclassUsed to override the default configuration.classGenerates the parameters for the list method.classResponse for the list files method.classNoneclassNoneclassNoneclassConfiguration for the list tuning jobs method.classParameters for the list tuning jobs method.classResponse for the list tuning jobs method.classIncremental update of the current conversation delivered from the client.classMessages sent by the client in the API call.classUser input that is sent in real time.classMessage contains configuration that will apply for the duration of the streaming session.classClient generated response to a `ToolCall` received from the server.classSession config for the API connection.classParameters for connecting to the live API.classParameters for sending client content to the live API.classParameters for sending realtime input to the live API.classParameters for sending tool responses to the live API.classIncremental server update generated by the model in response to client messages.classServer will not be able to service client soon.classResponse message for API call.classUpdate of the session resumption state.classSent in response to a `LiveGenerateContentSetup` message from the client.classRequest for the client to execute the `function_calls` and return the responses with the matching `id`s.classNotification for the client that a previously issued `ToolCallMessage` with the specified `id`s should have been not executed and should be cancelled.classLogprobs ResultclassCandidate for the logprobs token and score.classCandidates with top log probabilities at each decoding step.classConfiguration for a Mask reference image.classA mask reference image.classRepresents token counting info for a single modality.classA trained machine learning model.classConfig for model selection.classThe configuration for the multi-speaker setup.classA datatype containing media content.classTuning spec for Partner models.classThe configuration for the prebuilt speaker to use.classStatistics computed for datasets used for preference optimization.classA pre-tuned model for continuous tuning.classConfig for proactivity features.classAn image of the product.classA RagChunk includes the content of a chunk of a RagFile, and associated metadata.classRepresents where the chunk starts and ends in the document.classSpecifies the context retrieval config.classConfig for filters.classConfig for Hybrid Search.classConfig for ranking and reranking.classConfig for LlmRanker.classConfig for Rank Service.classA raw reference image.classMarks the end of user activity.classConfiguration for recontextualizing an image.classThe parameters for recontextualizing an image.classThe output images response.classA set of source input(s) for image recontextualization.classPrivate class that represents a Reference image that is sent to API.classRepresents a recorded session.classRepresents a single interaction, request and response in a replay.classRepresents a single request in a replay.classRepresents a single response in a replay.classDefines a retrieval tool that model can call to access external knowledge.classRetrieval config.classMetadata related to retrieval in the grounding flow.classSafety attributes of a GeneratedImage or the user-provided prompt.classSafety rating corresponding to the generated content.classSafety settings.classSchema is used to define the format of input/output data.classAn image mask representing a brush scribble.classGoogle search entry point.classSegment of the content.classConfiguration for segmenting an image.classThe parameters for segmenting an image.classThe output images response.classA set of source input(s) for image segmentation.classConfiguration of session resumption mechanism.classConfig for `response` parameter.classContext window will be truncated by keeping only suffix of it.classThe configuration for a single speaker in a multi speaker setup.classThe speech generation config.classConfiguration for a Style reference image.classA style reference image.classConfiguration for a Subject reference image.classA subject reference image.classHyperparameters for SFT.classDataset distribution for Supervised Tuning.classDataset bucket used to create a histogram for the distribution given a population of values.classTuning data statistics for Supervised Tuning.classTuning Spec for Supervised Tuning for first party models.classNoneclassNoneclassThe thinking features configuration.classTokens info with a list of tokens and the corresponding list of token ids.classTool details of a tool that the model may use to generate a response.classTool that executes code generated by the model, and automatically returns the result to the model.classTool config.classAudio transcription in Server Conent.classTunedModel for the Tuned Model of a Tuning Job.classTunedModelCheckpoint for the Tuned Model of a Tuning Job.classA tuned machine learning model.classSupervised fine-tuning training dataset.classThe tuning data statistic values for TuningJob.classA single example for tuning.classA tuning job.classA long-running operation.classNoneclassOptional parameters for caches.update method.classNoneclassConfiguration for updating a tuned model.classConfiguration for updating a tuned model.classUsed to override the default configuration.classInternal API config for UpscaleImage.classAPI parameters for UpscaleImage.classConfiguration for upscaling an image.classUser-facing config UpscaleImageParameters.classNoneclassTool to support URL context.classMetadata related to url context retrieval tool.classContext for a single url retrieval.classUsage metadata about response(s).classHyperparameters for Veo.classTuning Spec for Veo Model Tuning.classRetrieve from Vertex AI Search datastore or engine for grounding.classDefine data stores within engine to filter on in a search call and configurations for those data stores.classRetrieve from Vertex RAG Store for grounding.classThe definition of the Rag resource.classA generated video.classA mask for video generation.classA reference image for video generation.classDescribes how the video in the Part should be used by the model.classThe configuration for the voice to use.